2025-09-16 10:10.56: New job: test ocaml/opam-file-format https://github.com/ocaml/opam-file-format.git#refs/heads/master (59d9a6b585ac3fd141004f155a459e78f39993ac) (linux-riscv64:debian-13-5.3_riscv64_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-5.3@sha256:9ffbd4dce8556abb04e1b15c176a05adceba49b38691bce1367f35c8af127a52
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml/opam-file-format.git" -b "master" && cd "opam-file-format" && git reset --hard 59d9a6b5
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.3@sha256:9ffbd4dce8556abb04e1b15c176a05adceba49b38691bce1367f35c8af127a52
# debian-13-5.3_riscv64_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 opam-file-format.opam ./
RUN opam pin add -yn opam-file-format.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 dune.3.20.2 fmt.0.11.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.13.2 seq.base stdlib-shims.0.3.0 topkg.1.1.0 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y opam-file-format.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-09-16 10:10.56: Using cache hint "ocaml/opam-file-format-ocaml/opam:debian-13-ocaml-5.3@sha256:9ffbd4dce8556abb04e1b15c176a05adceba49b38691bce1367f35c8af127a52-debian-13-5.3_riscv64_opam-2.4-c14bf1ba0bdc0e4ab51930f5eecf70db"
2025-09-16 10:10.56: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.3@sha256:9ffbd4dce8556abb04e1b15c176a05adceba49b38691bce1367f35c8af127a52)
(comment debian-13-5.3_riscv64_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src opam-file-format.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn opam-file-format.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 dune.3.20.2 fmt.0.11.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.13.2 seq.base stdlib-shims.0.3.0 topkg.1.1.0 uutf.1.0.4")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.4 --depext-only -y opam-file-format.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-09-16 10:10.56: Waiting for resource in pool OCluster
2025-09-16 10:13.34: Waiting for worker…
2025-09-16 15:19.23: Got resource from pool OCluster
Building on riscv-bm-04.sw.ci.dev
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/opam-file-format.git-b0222dc27d0d339440c91bedba81d2e6eb978bac/.git/
HEAD is now at 59d9a6b Release 2.2.0
(from ocaml/opam:debian-13-ocaml-5.3@sha256:9ffbd4dce8556abb04e1b15c176a05adceba49b38691bce1367f35c8af127a52)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.3@sha256:9ffbd4dce8556abb04e1b15c176a05adceba49b38691bce1367f35c8af127a52' locally
docker.io/ocaml/opam@sha256:9ffbd4dce8556abb04e1b15c176a05adceba49b38691bce1367f35c8af127a52: Pulling from ocaml/opam
8f913be5ecad: Already exists
ce31ce67e69b: Already exists
0cf3a7789759: Already exists
9f0c6299278d: Already exists
e94bba55929b: Already exists
fa0712264263: Already exists
2e9048a7b53d: Already exists
9902de28c3f0: Already exists
ff517c358677: Already exists
383f060cda87: Already exists
b7a964b1a83b: Already exists
02ef0fd530dd: Already exists
3cec61b290e9: Already exists
2273bd2c4d4b: Already exists
c04c67aab9ae: Already exists
b43aac5e47f2: Already exists
fa01fc863b11: Already exists
70ce8722af9c: Already exists
d62c11b367a0: Already exists
e28d1e571478: Already exists
e4619c0fdd56: Already exists
4f4fb700ef54: Already exists
2642eb02d1cf: Already exists
17410ed193a2: Already exists
ea4027cf29ff: Already exists
2d1c149b33bc: Already exists
aa1fc2e76ba7: Already exists
198f02c9d8bb: Already exists
f3c530c1395c: Already exists
b4c1f20e76b0: Already exists
dabbe871c8f1: Already exists
07bc2850efcf: Already exists
c44cd4c1c616: Already exists
9bad6d1480ef: Already exists
9139b16fda07: Already exists
ddce8e624d6f: Already exists
cdd44d9ef1e0: Already exists
9745a1b41bc7: Already exists
926c04a38725: Already exists
33c611bdffe3: Already exists
2f12c3515d38: Pulling fs layer
b6435474c958: Pulling fs layer
e8d70e26e60a: Pulling fs layer
3f06fd691d22: Pulling fs layer
a5bdd4d4061a: Pulling fs layer
52f4f3aba300: Pulling fs layer
94f05428884b: Pulling fs layer
a5bdd4d4061a: Waiting
52f4f3aba300: Waiting
94f05428884b: Waiting
3f06fd691d22: Waiting
2f12c3515d38: Download complete
2f12c3515d38: Pull complete
e8d70e26e60a: Verifying Checksum
e8d70e26e60a: Download complete
b6435474c958: Download complete
b6435474c958: Pull complete
a5bdd4d4061a: Verifying Checksum
a5bdd4d4061a: Download complete
e8d70e26e60a: Pull complete
52f4f3aba300: Verifying Checksum
52f4f3aba300: Download complete
94f05428884b: Verifying Checksum
3f06fd691d22: Verifying Checksum
3f06fd691d22: Download complete
3f06fd691d22: Pull complete
a5bdd4d4061a: Pull complete
52f4f3aba300: Pull complete
94f05428884b: Pull complete
Digest: sha256:9ffbd4dce8556abb04e1b15c176a05adceba49b38691bce1367f35c8af127a52
Status: Downloaded newer image for ocaml/opam@sha256:9ffbd4dce8556abb04e1b15c176a05adceba49b38691bce1367f35c8af127a52
2025-09-16 15:19.25 ---> using "464544ceb3be86cede6394dc71749c8c9ab6bfb0d79ff9828158551739284e81" from cache
/: (comment debian-13-5.3_riscv64_opam-2.4)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-16 15:19.25 ---> using "75ffd3c83aa012bc8b093a0947a298655da91fffc49261aacbc27aca5478db37" from cache
/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [Y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-09-16 15:19.25 ---> using "bc4eabd090c5ab50b0842a159fc8bb3e4f2e48f604dc2d650850095378bf9911" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.10.113-scw1
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-16 15:19.25 ---> using "99413c80cfa038280775c5555702646b7ce4ef7d5db78f1ce48bc162e5d0c7bc" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-09-16 15:19.25 ---> using "e0356af4238671a0454b22b8ecc0eed962e0df3a67ab6c6f465f7818ddabe16e" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
bcac5d1731..7949ff40d8 master -> origin/master
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-09-16 15:19.25 ---> using "162459a534089309a1ea0f63b84b9a67ed9235bc3b164c2f8cec2abde9fd15ff" from cache
/src: (copy (src opam-file-format.opam) (dst ./))
2025-09-16 15:19.26 ---> saved as "99b22161d4118af91037c108cd75b4ecb2303f6433f556450ecae6457d5d863c"
/src: (run (network host)
(shell "opam pin add -yn opam-file-format.dev './'"))
[opam-file-format.dev] synchronised (file:///src)
opam-file-format is now pinned to file:///src (version dev)
2025-09-16 15:19.34 ---> saved as "5925d8bbe676311b09677f45a6e74ca8ce0f8325ca2291d66947f24715232080"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-16 15:19.34 ---> saved as "268c50262bcabbe7bc0c27466cbc9704adee5e8e501d66158e42308dc025f87e"
/src: (env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 dune.3.20.2 fmt.0.11.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.13.2 seq.base stdlib-shims.0.3.0 topkg.1.1.0 uutf.1.0.4")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.4 --depext-only -y opam-file-format.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main riscv64 Packages [36.6 kB]
- Fetched 127 kB in 0s (277 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-file-format.dev] synchronised (file:///src)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-09-16 15:20.17 ---> saved as "ff4605e5763f77e2a5b5e3b44749271de90b8b4f768d4fca74559ba60e21617b"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 17 packages
- install alcotest 1.9.0
- install astring 0.8.5
- install cmdliner 1.3.0
- install dune 3.20.2
- install fmt 0.11.0
- install menhir 20250912
- install menhirCST 20250912
- install menhirLib 20250912
- install menhirSdk 20250912
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install re 1.13.2
- install seq base
- install stdlib-shims 0.3.0
- install topkg 1.1.0
- install uutf 1.0.4
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912 (cached)
-> retrieved dune.3.20.2 (cached)
-> retrieved seq.base (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved re.1.13.2 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.1.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed seq.base
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed uutf.1.0.4
-> installed dune.3.20.2
-> installed menhirCST.20250912
-> installed menhirSdk.20250912
-> installed menhirLib.20250912
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.13.2
-> installed alcotest.1.9.0
-> installed menhir.20250912
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-16 15:27.16 ---> saved as "774c9a006c5318fcb621a15a66e12b84272018b7f0396672cc84a1680c0acae9"
/src: (copy (src .) (dst /src))
2025-09-16 15:27.16 ---> saved as "433a02b503b3f801eb6305c4f03e6f5f1002f5b6a31926d0f84eaad9c787e7f1"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/tests/simple && ./simple.exe)
Successfully loaded ./opam-file-format.opam
(cd _build/default/tests && ./tests.exe)
Testing `opam-file-format'.
This run has ID `1ITX3DNV'.
[OK] oldpos values 0 parser-printer simple.
[OK] oldpos values 1 parser-printer unop.
[OK] oldpos values 2 parser-printer binop.
[OK] oldpos values 3 parser-printer lists.
[OK] oldpos values 4 parser-printer and_or.
[OK] oldpos values 5 parser simple.
[OK] oldpos values 6 parser unop.
[OK] oldpos values 7 parser binop.
[OK] oldpos values 8 parser lists.
[OK] oldpos values 9 parser and_or.
[OK] oldpos values 10 printer simple.
[OK] oldpos values 11 printer unop.
[OK] oldpos values 12 printer binop.
[OK] oldpos values 13 printer lists.
[OK] oldpos values 14 printer and_or.
[OK] oldpos items 0 variable printer.
[OK] oldpos items 1 variable parser.
[OK] oldpos items 2 variable parser-printer.
[OK] oldpos items 3 section printer.
[OK] oldpos items 4 section parser.
[OK] oldpos items 5 section parser-printer.
[OK] oldpos opamfile 0 parser.
[OK] oldpos opamfile 1 printer.
[OK] oldpos opamfile 2 parser-printer.
[OK] oldpos opamfile 3 positions-file.
[OK] fullpos values 0 parser-printer simple.
[OK] fullpos values 1 parser-printer unop.
[OK] fullpos values 2 parser-printer binop.
[OK] fullpos values 3 parser-printer lists.
[OK] fullpos values 4 parser-printer and_or.
[OK] fullpos values 5 parser simple.
[OK] fullpos values 6 parser unop.
[OK] fullpos values 7 parser binop.
[OK] fullpos values 8 parser lists.
[OK] fullpos values 9 parser and_or.
[OK] fullpos values 10 printer simple.
[OK] fullpos values 11 printer unop.
[OK] fullpos values 12 printer binop.
[OK] fullpos values 13 printer lists.
[OK] fullpos values 14 printer and_or.
[OK] fullpos items 0 variable printer.
[OK] fullpos items 1 variable parser.
[OK] fullpos items 2 variable parser-printer.
[OK] fullpos items 3 section printer.
[OK] fullpos items 4 section parser.
[OK] fullpos items 5 section parser-printer.
[OK] fullpos opamfile 0 parser.
[OK] fullpos opamfile 1 printer.
[OK] fullpos opamfile 2 parser-printer.
[OK] fullpos opamfile 3 printer-preserved.
[OK] fullpos opamfile 4 positions-file.
[OK] opam-version 0 OpamPrinter.FullPos.opamfile.
[OK] opam-version 1 OpamPrinter.FullPos.Normalise.o...
[OK] opam-version 2 opam-version > 2.0 not at start 1.
[OK] opam-version 3 opam-version > 2.1 repeated.
[OK] opam-version 4 no opam-version and parsing error.
[OK] opam-version 5 opam-version 2.1 and lexing error.
[OK] opam-version 6 opam-version 2.1 and parsing er...
[OK] opam-version 7 opam-version 2.1 and immediate ...
[OK] opam-version 8 opam-version 4 and parsing error.
[OK] opam-version 9 opam-version 42.0 and parsing e...
[OK] opam-version 10 opam-version 42.0 and evil pars...
[OK] opam-version 11 opam-version 42.0 and immediate...
[OK] opam-version 12 opam-version 42.0 and lexing er...
Full test results in `/src/_build/default/tests/_build/_tests/opam-file-format'.
Test Successful in 1.197s. 64 tests run.
2025-09-16 15:27.28 ---> saved as "b332c752c182db73e7d225c136484c69750ced5bf7517aa46fdd30148c85a166"
Job succeeded
2025-09-16 15:27.28: Job succeeded