2025-07-17 18:27.14: New job: test ocaml-opam/opam-compiler https://github.com/ocaml-opam/opam-compiler.git#refs/heads/master (c09b015b7c4cbc0ffa2b1008b7dc148a4c88b2b4) (linux-s390x:debian-12-4.14_s390x_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:760bc7dca23e19ca79d4eb6d559285d22670c5e864229f47f6d3fe8aed327cf3
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-opam/opam-compiler.git" -b "master" && cd "opam-compiler" && git reset --hard c09b015b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:760bc7dca23e19ca79d4eb6d559285d22670c5e864229f47f6d3fe8aed327cf3
# debian-12-4.14_s390x_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 64169c3d1d6774ef4ce0fcc471269bb09cd215f5 || git fetch origin master) && git reset -q --hard 64169c3d1d6774ef4ce0fcc471269bb09cd215f5 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 opam-compiler.opam ./
RUN opam pin add -yn opam-compiler.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.0 astring.0.8.5 atd.2.16.0 atdgen.2.15.0 atdgen-runtime.2.16.0 base-bigarray.base base-threads.base base-unix.base biniou.1.2.2 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 curly.0.3.0 dune.3.19.1 easy-format.1.3.4 either.1.0.0 fmt.0.10.0 fpath.0.7.3 github-data.4.4.1 logs.0.9.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.13.2 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y opam-compiler.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-07-17 18:27.14: Using cache hint "ocaml-opam/opam-compiler-ocaml/opam:debian-12-ocaml-4.14@sha256:760bc7dca23e19ca79d4eb6d559285d22670c5e864229f47f6d3fe8aed327cf3-debian-12-4.14_s390x_opam-2.3-ec4a48bcfd731dc26eaa448d66b91cf8"
2025-07-17 18:27.14: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:760bc7dca23e19ca79d4eb6d559285d22670c5e864229f47f6d3fe8aed327cf3)
(comment debian-12-4.14_s390x_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 64169c3d1d6774ef4ce0fcc471269bb09cd215f5 || git fetch origin master) && git reset -q --hard 64169c3d1d6774ef4ce0fcc471269bb09cd215f5 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src opam-compiler.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn opam-compiler.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.0 astring.0.8.5 atd.2.16.0 atdgen.2.15.0 atdgen-runtime.2.16.0 base-bigarray.base base-threads.base base-unix.base biniou.1.2.2 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 curly.0.3.0 dune.3.19.1 easy-format.1.3.4 either.1.0.0 fmt.0.10.0 fpath.0.7.3 github-data.4.4.1 logs.0.9.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.13.2 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4 yojson.2.2.2")
(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.3 --depext-only -y opam-compiler.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-07-17 18:27.14: Waiting for resource in pool OCluster
2025-07-18 08:04.16: Waiting for worker…
2025-07-18 17:19.28: Got resource from pool OCluster
Building on s390x-worker-01.marist.ci.dev
All commits already cached
HEAD is now at c09b015 Prepare 0.2.0
(from ocaml/opam:debian-12-ocaml-4.14@sha256:760bc7dca23e19ca79d4eb6d559285d22670c5e864229f47f6d3fe8aed327cf3)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:760bc7dca23e19ca79d4eb6d559285d22670c5e864229f47f6d3fe8aed327cf3' locally
docker.io/ocaml/opam@sha256:760bc7dca23e19ca79d4eb6d559285d22670c5e864229f47f6d3fe8aed327cf3: Pulling from ocaml/opam
Digest: sha256:760bc7dca23e19ca79d4eb6d559285d22670c5e864229f47f6d3fe8aed327cf3
Status: Downloaded newer image for ocaml/opam@sha256:760bc7dca23e19ca79d4eb6d559285d22670c5e864229f47f6d3fe8aed327cf3
2025-07-18 17:19.28 ---> using "d42548e7645740def0fce1ec4ddc0a8dbd6d1be98da76a10f4e1158d815e3f83" from cache
/: (comment debian-12-4.14_s390x_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-18 17:19.28 ---> using "461f460f3980d4d9d2d2b713c0a8efee54e35a87d803eb6b53d3936aa05b0abd" 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 development 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-07-18 17:19.28 ---> using "51acc4348ad1eaf6a16b46055df07a4d34a8e3020b20ef36de1b21bc99e24037" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-55-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-07-18 17:19.28 ---> using "0402145e0ec4fee9412e27fea95d65145cca881a378e10e2e7da947f2e849bdf" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-18 17:19.28 ---> using "3d1667892a99f8282200b11c33f6c5ab64f38cda7a86190233de8373e48d0ad2" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 64169c3d1d6774ef4ce0fcc471269bb09cd215f5 || git fetch origin master) && git reset -q --hard 64169c3d1d6774ef4ce0fcc471269bb09cd215f5 && git log --no-decorate -n1 --oneline && opam update -u"))
64169c3d1d Merge pull request #28149 from dbuenzli/b0-publish-logs.0.9.0
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-07-18 17:19.28 ---> using "dee64f59f1c08b787d5e3bec8cc0639996e061f8744768f80e21a1ac9c3f8c21" from cache
/src: (copy (src opam-compiler.opam) (dst ./))
2025-07-18 17:19.30 ---> saved as "07b97d8bc0b5a869de8d6551c4e2b156861693a2a368d6f530aa07aba57c22de"
/src: (run (network host)
(shell "opam pin add -yn opam-compiler.dev './'"))
[opam-compiler.dev] synchronised (file:///src)
opam-compiler is now pinned to file:///src (version dev)
2025-07-18 17:19.37 ---> saved as "f4ff97a6b17e2cbbe2c96ee85db72147eb9d95d652fa18e6914b204f387b050a"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-18 17:19.39 ---> saved as "7d2d28002c3718af1bfcc01b10ee469c866d9d62f181a842ffcb4ae0ec4b19cd"
/src: (env DEPS "alcotest.1.9.0 astring.0.8.5 atd.2.16.0 atdgen.2.15.0 atdgen-runtime.2.16.0 base-bigarray.base base-threads.base base-unix.base biniou.1.2.2 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 curly.0.3.0 dune.3.19.1 easy-format.1.3.4 either.1.0.0 fmt.0.10.0 fpath.0.7.3 github-data.4.4.1 logs.0.9.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.13.2 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4 yojson.2.2.2")
/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.3 --depext-only -y opam-compiler.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main s390x Packages [241 kB]
- Fetched 344 kB in 1s (676 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-compiler.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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
2025-07-18 17:19.54 ---> saved as "3d51c6d4e0d2f6dbe1568d1a00134c7ae1dea52e55e8dd705319a8d8fe27c1ff"
/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 33 packages
- install alcotest 1.9.0
- install astring 0.8.5
- install atd 2.16.0
- install atdgen 2.15.0
- install atdgen-runtime 2.16.0
- install biniou 1.2.2
- install bos 0.2.1
- install camlp-streams 5.0.1
- install cmdliner 1.3.0
- install curly 0.3.0
- install dune 3.19.1
- install easy-format 1.3.4
- install either 1.0.0
- install fmt 0.10.0
- install fpath 0.7.3
- install github-data 4.4.1
- install logs 0.9.0
- install menhir 20240715
- install menhirCST 20240715
- install menhirLib 20240715
- install menhirSdk 20240715
- install ocaml-syntax-shims 1.0.0
- install ocaml-version 4.0.1
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install re 1.13.2
- install result 1.5
- install rresult 0.7.0
- install seq base
- install stdlib-shims 0.3.0
- install topkg 1.0.8
- install uutf 1.0.4
- install yojson 2.2.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved biniou.1.2.2 (cached)
-> retrieved bos.0.2.1 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved atd.2.16.0, atdgen-runtime.2.16.0 (cached)
-> retrieved atdgen.2.15.0 (cached)
-> retrieved curly.0.3.0 (cached)
-> retrieved easy-format.1.3.4 (cached)
-> retrieved either.1.0.0 (cached)
-> retrieved fmt.0.10.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved github-data.4.4.1 (cached)
-> retrieved logs.0.9.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.4.0.1 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved dune.3.19.1 (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved re.1.13.2 (cached)
-> retrieved seq.base (cached)
-> retrieved result.1.5 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.0.8 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved yojson.2.2.2 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed seq.base
-> installed ocamlfind.1.9.8
-> installed topkg.1.0.8
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed rresult.0.7.0
-> installed fpath.0.7.3
-> installed logs.0.9.0
-> installed uutf.1.0.4
-> installed bos.0.2.1
-> installed dune.3.19.1
-> installed easy-format.1.3.4
-> installed camlp-streams.5.0.1
-> installed either.1.0.0
-> installed menhirCST.20240715
-> installed menhirLib.20240715
-> installed biniou.1.2.2
-> installed menhirSdk.20240715
-> installed ocaml-version.4.0.1
-> installed ocaml-syntax-shims.1.0.0
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed curly.0.3.0
-> installed re.1.13.2
-> installed yojson.2.2.2
-> installed alcotest.1.9.0
-> installed atdgen-runtime.2.16.0
-> installed menhir.20240715
-> installed atd.2.16.0
-> installed atdgen.2.15.0
-> installed github-data.4.4.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-18 17:21.26 ---> saved as "4c1893dd535ccb656faa465db5d2275132ced430a20ab8d285dc969ac50e0d7c"
/src: (copy (src .) (dst /src))
2025-07-18 17:21.27 ---> saved as "8e6aaa827118e963c3866cf6abf4fd1a666b2d13fecef823c5214c35dc911204"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test/unit && ./test.exe --compact)
Testing `opam-compiler'.
This run has ID `NWMXMFW2'.
......................
2025-07-18 17:21.39 ---> saved as "879b04617d40807082866e4e8077fd639c4fc3ebd0a8d23c6817eb4508d2f71b"
Job succeeded
2025-07-18 17:21.39: Job succeeded