(for PR #29248)
2026-01-19 18:14.36: New job: test ambient-context.0.1.1, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29248/head (9d61e8a449aa2436cbd9b390c4afa6b47e8ed0ba)
on debian-13-ocaml-5.3/amd64
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29248/head" && git reset --hard 9d61e8a4
git fetch origin master
git merge --no-edit 39960ffbaf3e5b50a1e354d4c99bfecc01e358ca
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.3@sha256:f7d5712872801e33acc37a376560745e09b28d883d5a07e7f8d9d8825960dc5e
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.1.1 0.1.1
RUN opam reinstall ambient-context.0.1.1; \
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.1.1' && 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.1.1) || true
RUN opam reinstall --with-test --verbose ambient-context.0.1.1; \
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.1.1' && 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-01-19 18:14.36: Using cache hint "ocaml/opam:debian-13-ocaml-5.3@sha256:f7d5712872801e33acc37a376560745e09b28d883d5a07e7f8d9d8825960dc5e-ambient-context.0.1.1-9d61e8a449aa2436cbd9b390c4afa6b47e8ed0ba"
2026-01-19 18:14.36: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.3@sha256:f7d5712872801e33acc37a376560745e09b28d883d5a07e7f8d9d8825960dc5e)
(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.1.1 0.1.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ambient-context.0.1.1;\
\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.1.1' && 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.1.1) || true"))
(run (shell "opam reinstall --with-test --verbose ambient-context.0.1.1;\
\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.1.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-01-19 18:14.36: Waiting for resource in pool OCluster
2026-01-19 18:14.37: Waiting for worker…
2026-01-19 18:14.39: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 39960ffbaf Merge pull request #29193 from recoules/release-binsec-0.11.0
Updating 39960ffbaf..9d61e8a449
Fast-forward
.../ambient-context-eio.0.1.1/opam | 42 +++++++++++++++++++++
.../ambient-context-lwt.0.1.1/opam | 42 +++++++++++++++++++++
.../ambient-context/ambient-context.0.1.1/opam | 43 ++++++++++++++++++++++
3 files changed, 127 insertions(+)
create mode 100644 packages/ambient-context-eio/ambient-context-eio.0.1.1/opam
create mode 100644 packages/ambient-context-lwt/ambient-context-lwt.0.1.1/opam
create mode 100644 packages/ambient-context/ambient-context.0.1.1/opam
(from ocaml/opam:debian-13-ocaml-5.3@sha256:f7d5712872801e33acc37a376560745e09b28d883d5a07e7f8d9d8825960dc5e)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.3@sha256:f7d5712872801e33acc37a376560745e09b28d883d5a07e7f8d9d8825960dc5e' locally
docker.io/ocaml/opam@sha256:f7d5712872801e33acc37a376560745e09b28d883d5a07e7f8d9d8825960dc5e: Pulling from ocaml/opam
Digest: sha256:f7d5712872801e33acc37a376560745e09b28d883d5a07e7f8d9d8825960dc5e
Status: Downloaded newer image for ocaml/opam@sha256:f7d5712872801e33acc37a376560745e09b28d883d5a07e7f8d9d8825960dc5e
2026-01-19 18:15.59 ---> saved as "07632f0f0004677ee97cf654b949d054e33bb0e4be378e9834219b15d00ab1a1"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-01-19 18:15.59 ---> saved as "4e72a288de2b4ca1e3a110f86611ca9a1d99177dbb8ad6de1cf40d36d03cbee8"
/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
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=71 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-19 18:16.22 ---> saved as "cc6eabccd8aee6daf2fc9d0d36a3b2bb959f1c6c4bb06c8f56639966a9c69fb7"
/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=x86_64 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 255
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.3
# invariant ["ocaml-base-compiler" {= "5.3.0"}]
# compiler-packages ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.3.0
2026-01-19 18:16.23 ---> saved as "dd057c1b098d7f4e43f3cddced70f8dbd60a97e7b9ce83d035a14011b813f1aa"
/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-01-19 18:16.35 ---> saved as "5444f5c83add7fea8db5008c0d589487aeb4c148a98d07c83888d26e4950caee"
/home/opam: (copy (src .) (dst opam-repository/))
2026-01-19 18:17.01 ---> saved as "a4d39a8264e19d4a7d2548a9f686fe5ea5eac9fc92a18d6e9be417cb031d9da5"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-19 18:17.22 ---> saved as "c093ed384666da2b2a0e1b173a0d0c67654b3f7a0ddf53150b04abe41a52eafd"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- 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 trixie/main amd64 Packages [9670 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [96.1 kB]
- Fetched 9998 kB in 6s (1620 kB/s)
- Reading package lists...
2026-01-19 18:17.29 ---> saved as "b8b38f4bd682340501ff4e9e33cd0b687a3905c71694c8317bce97be656c6370"
/home/opam: (run (shell "opam pin add -k version -yn ambient-context.0.1.1 0.1.1"))
ambient-context is now pinned to version 0.1.1
2026-01-19 18:17.30 ---> saved as "8d80511dd64433ac72010459cffdceceac1238eb5dbd59cc582838c0c8c184f2"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ambient-context.0.1.1;\
\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.1.1' && 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.1.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
- install ambient-context 0.1.1 (pinned)
- install dune 3.21.0 [required by ambient-context]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ambient-context.0.1.1 (cached)
-> retrieved dune.3.21.0 (cached)
-> installed dune.3.21.0
-> installed ambient-context.0.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-19 18:17.59 ---> saved as "e25aef075f8b4c7db85083a83b43e2e13df0610ca8c04e8b297fdcc63510ccde"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test ambient-context.0.1.1) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile ambient-context 0.1.1 (pinned)
=== install 16 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.17.0 [required by ppxlib]
- install ocaml-syntax-shims 1.0.0 [required by alcotest]
- install ocamlbuild 0.16.1 [required by fmt, astring, uutf]
- install ocamlfind 1.9.8 [required by fmt, astring, uutf]
- 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 topkg 1.1.1 [required by fmt, astring, uutf]
- 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)
-> retrieved ocaml-compiler-libs.v0.17.0 (https://opam.ocaml.org/cache)
-> retrieved ocaml-syntax-shims.1.0.0 (https://opam.ocaml.org/cache)
-> retrieved ocamlbuild.0.16.1 (https://opam.ocaml.org/cache)
-> retrieved ocamlfind.1.9.8 (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)
-> installed ppx_derivers.1.2.1
-> retrieved re.1.14.0 (https://opam.ocaml.org/cache)
-> retrieved sexplib0.v0.17.0 (https://opam.ocaml.org/cache)
-> retrieved stdlib-shims.0.3.0 (https://opam.ocaml.org/cache)
-> installed ocaml-syntax-shims.1.0.0
-> retrieved topkg.1.1.1 (https://opam.ocaml.org/cache)
-> installed ocaml-compiler-libs.v0.17.0
-> retrieved uutf.1.0.4 (https://opam.ocaml.org/cache)
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed re.1.14.0
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> removed ambient-context.0.1.1
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed alcotest.1.9.1
-> installed ppxlib.0.35.0
-> installed bisect_ppx.2.8.3
-> installed ambient-context.0.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-19 18:18.23 ---> saved as "a32a9f8a249ff32225a96167c90fc86a4ff335fa6c839bf1a8c26412c231d6aa"
/home/opam: (run (shell "opam reinstall --with-test --verbose ambient-context.0.1.1;\
\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.1.1' && 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.1.1 (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" "255" "@install" "@runtest" (CWD=/home/opam/.opam/5.3/.opam-switch/build/ambient-context.0.1.1)
- (cd _build/default/test/unix && ./test_unix.exe)
- Testing `Unix'.
- This run has ID `H3VLMH45'.
-
- [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/5.3/.opam-switch/build/ambient-context.0.1.1/_build/default/test/unix/_build/_tests/Unix'.
- Test Successful in 0.000s. 3 tests run.
-> compiled ambient-context.0.1.1
-> removed ambient-context.0.1.1
-> installed ambient-context.0.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-19 18:18.27 ---> saved as "a4e5222a56552dc08ac0c3aa15d67d76dc969253e0aea883f46c322a6fff825d"
Job succeeded
2026-01-19 18:19.31: Job succeeded