Build:
- 0
2026-02-18 03:06.34: New job: test ambient-context.0.2, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29418/head (918be552fb423202b7bb8628e34edf8b9e4bffc5)
on debian-13-ocaml-4.14/s390x
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29418/head" && git reset --hard 918be552
git fetch origin master
git merge --no-edit 9e3a17040e4a64f2381eed061ca12fd2fde434c2
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:68f10dd39e49d591561c33aa69d59351b98e37ac63e63192e1bee906642a5c6c
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn ambient-context.0.2 0.2
RUN opam reinstall ambient-context.0.2; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ambient-context.0.2' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN (opam reinstall --with-test ambient-context.0.2) || true
RUN opam reinstall --with-test --verbose ambient-context.0.2; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ambient-context.0.2' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
END-OF-DOCKERFILE
docker build -f ../Dockerfile .
2026-02-18 03:06.34: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:68f10dd39e49d591561c33aa69d59351b98e37ac63e63192e1bee906642a5c6c-ambient-context.0.2-918be552fb423202b7bb8628e34edf8b9e4bffc5"
2026-02-18 03:06.34: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:68f10dd39e49d591561c33aa69d59351b98e37ac63e63192e1bee906642a5c6c)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "opam option solver=builtin-0install && opam config report"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMPRECISETRACKING 1)
(env CI true)
(env OPAM_REPO_CI true)
(run (shell "rm -rf opam-repository/"))
(copy (src .) (dst opam-repository/))
(run (shell "opam repository set-url --strict default opam-repository/"))
(run (network host)
(shell "opam update --depexts || true"))
(run (shell "opam pin add -k version -yn ambient-context.0.2 0.2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ambient-context.0.2;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ambient-context.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (network host)
(shell "(opam reinstall --with-test ambient-context.0.2) || true"))
(run (shell "opam reinstall --with-test --verbose ambient-context.0.2;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ambient-context.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-02-18 03:06.34: Waiting for resource in pool OCluster
2026-02-18 03:06.34: Waiting for worker…
2026-02-18 03:16.50: Got resource from pool OCluster
Building on s390x-worker-01.marist.ci.dev
All commits already cached
HEAD is now at 9e3a17040e Merge pull request #29406 from anentropic/opam-publish-oktree.0.2.4
Updating 9e3a17040e..918be552fb
Fast-forward
.../ambient-context-eio.0.2/opam | 42 +++++++++++++++++++
.../ambient-context-lwt.0.2/opam | 42 +++++++++++++++++++
packages/ambient-context/ambient-context.0.2/opam | 48 ++++++++++++++++++++++
3 files changed, 132 insertions(+)
create mode 100644 packages/ambient-context-eio/ambient-context-eio.0.2/opam
create mode 100644 packages/ambient-context-lwt/ambient-context-lwt.0.2/opam
create mode 100644 packages/ambient-context/ambient-context.0.2/opam
(from ocaml/opam:debian-13-ocaml-4.14@sha256:68f10dd39e49d591561c33aa69d59351b98e37ac63e63192e1bee906642a5c6c)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:68f10dd39e49d591561c33aa69d59351b98e37ac63e63192e1bee906642a5c6c' locally
docker.io/ocaml/opam@sha256:68f10dd39e49d591561c33aa69d59351b98e37ac63e63192e1bee906642a5c6c: Pulling from ocaml/opam
Digest: sha256:68f10dd39e49d591561c33aa69d59351b98e37ac63e63192e1bee906642a5c6c
Status: Downloaded newer image for ocaml/opam@sha256:68f10dd39e49d591561c33aa69d59351b98e37ac63e63192e1bee906642a5c6c
2026-02-18 03:16.52 ---> using "4d413909f132eff1351ca56b1192e7957e3658946b80832d99c51d49f08a3550" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-02-18 03:16.52 ---> using "77dcdba6a9aabd6dee4a1c4f12c8d1d487428913a0be8b977dc260db285ca5b4" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally 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
2026-02-18 03:16.52 ---> using "806a084394fd687621229d291641006272e283c074617ac14e95434136ffb06c" from cache
/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version 2.5.0
# self-upgrade no
# system arch=s390x os=linux os-distribution=debian os-version=13
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 3
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
# invariant ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2026-02-18 03:16.52 ---> using "8130c9a89432729e1ff5bf8bf37a5e40d9d49958fb71ebc53c5b19b3d4329670" from cache
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMPRECISETRACKING 1)
/home/opam: (env CI true)
/home/opam: (env OPAM_REPO_CI true)
/home/opam: (run (shell "rm -rf opam-repository/"))
2026-02-18 03:16.52 ---> using "094a07b65d7d81ffe22c10ac60bbc276eda8f8ac44af1de92e93ed255ddcd6cd" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-02-18 03:16.53 ---> using "815b55dab13004c541e22628f9a2c30c266eac18b6daccb8d6f62c9894a5df25" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-18 03:16.53 ---> using "3efa23ac1338f56099e2b611e12f44ca442fff091944cf3f3852aadf255863d7" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /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 s390x Packages [98.0 kB]
- Fetched 189 kB in 0s (439 kB/s)
- Reading package lists...
-
2026-02-18 03:16.53 ---> using "deee3e38b0cc909c38ce84416f642980b2e0ed3247c57a234e58eba4c5ae9e80" from cache
/home/opam: (run (shell "opam pin add -k version -yn ambient-context.0.2 0.2"))
ambient-context is now pinned to version 0.2
2026-02-18 03:16.53 ---> using "8d9f607ec34f250215cab53635e60dee1b28ccaaa30d916690bc30d82375894f" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ambient-context.0.2;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ambient-context.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ambient-context.0.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 6 packages
- install ambient-context 0.2 (pinned)
- install dune 3.21.1 [required by ambient-context]
- install hmap 0.8.1 [required by ambient-context]
- install ocamlbuild 0.16.1 [required by hmap]
- install ocamlfind 1.9.8 [required by hmap]
- install topkg 1.1.1 [required by hmap]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ambient-context.0.2 (cached)
-> retrieved dune.3.21.1 (cached)
-> retrieved hmap.0.8.1 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved topkg.1.1.1 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed hmap.0.8.1
-> installed dune.3.21.1
-> installed ambient-context.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-18 03:18.07 ---> saved as "a40cbb85aae0bfb0f28a13694b1e28b6e4932771e10c30bfd51a823d7fad3c97"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test ambient-context.0.2) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile ambient-context 0.2 (pinned)
=== install 13 packages
- install alcotest 1.9.1 [required by ambient-context]
- install astring 0.8.5 [required by alcotest]
- install bisect_ppx 2.8.3 [required by ambient-context]
- install cmdliner 1.3.0 [required by alcotest, bisect_ppx]
- install fmt 0.11.0 [required by alcotest]
- install ocaml-compiler-libs v0.12.4 [required by ppxlib]
- install ocaml-syntax-shims 1.0.0 [required by alcotest]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppxlib 0.35.0 [required by bisect_ppx]
- install re 1.14.0 [required by alcotest]
- install sexplib0 v0.17.0 [required by ppxlib]
- install stdlib-shims 0.3.0 [required by alcotest]
- install uutf 1.0.4 [required by alcotest]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1 (https://opam.ocaml.org/cache)
-> retrieved astring.0.8.5 (https://opam.ocaml.org/cache)
-> retrieved bisect_ppx.2.8.3 (https://opam.ocaml.org/cache)
-> retrieved cmdliner.1.3.0 (https://opam.ocaml.org/cache)
-> retrieved fmt.0.11.0 (https://opam.ocaml.org/cache)
-> installed astring.0.8.5
-> retrieved ocaml-compiler-libs.v0.12.4 (https://opam.ocaml.org/cache)
-> retrieved ocaml-syntax-shims.1.0.0 (https://opam.ocaml.org/cache)
-> retrieved ppx_derivers.1.2.1 (https://opam.ocaml.org/cache)
-> retrieved ppxlib.0.35.0 (https://opam.ocaml.org/cache)
-> retrieved re.1.14.0 (https://opam.ocaml.org/cache)
-> installed cmdliner.1.3.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocaml-syntax-shims.1.0.0
-> installed ppx_derivers.1.2.1
-> retrieved sexplib0.v0.17.0 (https://opam.ocaml.org/cache)
-> retrieved stdlib-shims.0.3.0 (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.4 (https://opam.ocaml.org/cache)
-> installed sexplib0.v0.17.0
-> installed fmt.0.11.0
-> installed stdlib-shims.0.3.0
-> removed ambient-context.0.2
-> installed re.1.14.0
-> installed uutf.1.0.4
-> installed alcotest.1.9.1
-> installed ppxlib.0.35.0
-> installed bisect_ppx.2.8.3
-> installed ambient-context.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-18 03:18.46 ---> saved as "f9a7eb20fb147d1d31b51ffb731191fad265d5884461a6121c169a1dfe0c2b6b"
/home/opam: (run (shell "opam reinstall --with-test --verbose ambient-context.0.2;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ambient-context.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
The following actions will be performed:
=== recompile 1 package
- recompile ambient-context 0.2 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [ambient-context: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ambient-context" "-j" "3" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ambient-context.0.2)
- (cd _build/default/test/unix && ./test_unix.exe)
- Testing `Unix'.
- This run has ID `43ZJ785K'.
-
- [OK] Basics 0 can create keys.
- [OK] Basics 1 can set, and get, keys.
- [OK] Basics 2 can unset keys.
-
- Full test results in `~/.opam/4.14/.opam-switch/build/ambient-context.0.2/_build/default/test/unix/_build/_tests/Unix'.
- Test Successful in 0.000s. 3 tests run.
-> compiled ambient-context.0.2
-> removed ambient-context.0.2
-> installed ambient-context.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-18 03:19.22 ---> saved as "67a9ec98670099523655017e51978dec5c897404c2b64d2523fe5c00844075ea"
Job succeeded
2026-02-18 03:19.27: Job succeeded