(for PR #29368)
2026-02-10 15:24.04: New job: test mirage-crypto-rng.2.0.3, using opam 2.5
from https://github.com/ocaml/opam-repository.git#refs/pull/29368/head (66e177c9ccf11298b53a7c2c24dada57dd487d9b)
on debian-13-ocaml-5.4/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/29368/head" && git reset --hard 66e177c9
git fetch origin master
git merge --no-edit f4c12add9cacd610d7ec6cc9fcb057902ca0a0f6
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.5 /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 mirage-crypto-rng.2.0.3 2.0.3
RUN opam reinstall mirage-crypto-rng.2.0.3; \
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" != 'mirage-crypto-rng.2.0.3' && 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 mirage-crypto-rng.2.0.3) || true
RUN opam reinstall --with-test --verbose mirage-crypto-rng.2.0.3; \
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" != 'mirage-crypto-rng.2.0.3' && 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-10 15:24.04: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c-mirage-crypto-rng.2.0.3-66e177c9ccf11298b53a7c2c24dada57dd487d9b"
2026-02-10 15:24.04: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.5 /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 mirage-crypto-rng.2.0.3 2.0.3"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mirage-crypto-rng.2.0.3;\
\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\" != 'mirage-crypto-rng.2.0.3' && 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 mirage-crypto-rng.2.0.3) || true"))
(run (shell "opam reinstall --with-test --verbose mirage-crypto-rng.2.0.3;\
\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\" != 'mirage-crypto-rng.2.0.3' && 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-10 15:24.04: Waiting for resource in pool OCluster
2026-02-10 15:35.57: Waiting for worker…
2026-02-10 15:39.07: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at f4c12add9c Merge pull request #29362 from xvw/fix-primavera-ownership
Updating f4c12add9c..66e177c9cc
Fast-forward
.../mirage-crypto-ec/mirage-crypto-ec.2.0.3/opam | 62 ++++++++++++++++++++++
.../mirage-crypto-pk/mirage-crypto-pk.2.0.3/opam | 43 +++++++++++++++
.../mirage-crypto-rng-miou-unix.2.0.3/opam | 39 ++++++++++++++
.../mirage-crypto-rng-mirage.2.0.3/opam | 40 ++++++++++++++
.../mirage-crypto-rng-mkernel.2.0.3/opam | 38 +++++++++++++
.../mirage-crypto-rng/mirage-crypto-rng.2.0.3/opam | 42 +++++++++++++++
packages/mirage-crypto/mirage-crypto.2.0.3/opam | 39 ++++++++++++++
7 files changed, 303 insertions(+)
create mode 100644 packages/mirage-crypto-ec/mirage-crypto-ec.2.0.3/opam
create mode 100644 packages/mirage-crypto-pk/mirage-crypto-pk.2.0.3/opam
create mode 100644 packages/mirage-crypto-rng-miou-unix/mirage-crypto-rng-miou-unix.2.0.3/opam
create mode 100644 packages/mirage-crypto-rng-mirage/mirage-crypto-rng-mirage.2.0.3/opam
create mode 100644 packages/mirage-crypto-rng-mkernel/mirage-crypto-rng-mkernel.2.0.3/opam
create mode 100644 packages/mirage-crypto-rng/mirage-crypto-rng.2.0.3/opam
create mode 100644 packages/mirage-crypto/mirage-crypto.2.0.3/opam
(from ocaml/opam:debian-13-ocaml-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c)
2026-02-10 15:39.28 ---> using "3c18c9e472a4f76bc128dc0a5a1e21158ba3dbd0d6773ace6ec33f0cfe6fac9b" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-02-10 15:39.28 ---> using "a1a16d3bcca5ec2c487e5da9c0ef22796b801b15a082bfd5d342e014eb700951" 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
[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-02-10 15:39.28 ---> using "147e4a6075e84aa50a4b5bbc9bfbfc9b39084b7efe940fea2932f64fa1ed9db4" 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=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.4
# invariant ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.0
2026-02-10 15:39.28 ---> using "037fd55889d4e56dec1fd7566809ff0fbdb609761c1ffe4526d704fd1685e0b6" 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-10 15:39.28 ---> using "8110ac6c1668fce10e70a8f9857e8e13943d4956cf120b8ea076f1da3242a6a3" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-02-10 15:39.29 ---> using "0237e74eed422592f734779e18e01098357d8f68e30ffb2edeac2844a95524c1" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-10 15:39.48 ---> saved as "6a5abe92cf42e8254dc8a928a44d9921119dd369b67e1aaa30466fc65773eeed"
/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 amd64 Packages [104 kB]
- Fetched 195 kB in 0s (1716 kB/s)
- Reading package lists...
2026-02-10 15:39.50 ---> saved as "ef9233581aa37370bdcfcd18842943daf8a59f9a0d746f964a3db2b6094053da"
/home/opam: (run (shell "opam pin add -k version -yn mirage-crypto-rng.2.0.3 2.0.3"))
mirage-crypto-rng is now pinned to version 2.0.3
2026-02-10 15:39.51 ---> saved as "ca09b91e83328765c61591e0e16064a7022bea7817f288620cba6b87b28aa187"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mirage-crypto-rng.2.0.3;\
\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\" != 'mirage-crypto-rng.2.0.3' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
mirage-crypto-rng.2.0.3 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 12 packages
- install csexp 1.5.2 [required by dune-configurator]
- install digestif 1.3.0 [required by mirage-crypto-rng]
- install dune 3.21.0 [required by mirage-crypto-rng]
- install dune-configurator 3.21.0 [required by mirage-crypto-rng]
- install duration 0.2.1 [required by mirage-crypto-rng]
- install eqaf 0.10 [required by digestif, mirage-crypto]
- install logs 0.10.0 [required by mirage-crypto-rng]
- install mirage-crypto 2.0.3 [required by mirage-crypto-rng]
- install mirage-crypto-rng 2.0.3 (pinned)
- install ocamlbuild 0.16.1 [required by logs]
- install ocamlfind 1.9.8 [required by logs]
- install topkg 1.1.1 [required by logs]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2 (cached)
-> retrieved digestif.1.3.0 (cached)
-> retrieved dune.3.21.0, dune-configurator.3.21.0 (cached)
-> retrieved duration.0.2.1 (cached)
-> retrieved eqaf.0.10 (cached)
-> retrieved logs.0.10.0 (cached)
-> retrieved mirage-crypto.2.0.3, mirage-crypto-rng.2.0.3 (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 logs.0.10.0
-> installed dune.3.21.0
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed eqaf.0.10
-> installed digestif.1.3.0
-> installed dune-configurator.3.21.0
-> installed mirage-crypto.2.0.3
-> installed mirage-crypto-rng.2.0.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-10 15:40.30 ---> saved as "3c83fecb45a23a44dfdf7a224d52fa18a1a3075275a80b60eb1d6ae2a0b519a0"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test mirage-crypto-rng.2.0.3) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile mirage-crypto-rng 2.0.3 (pinned)
=== install 5 packages
- install ohex 0.2.0 [required by mirage-crypto-rng]
- install ounit2 2.2.7 [required by mirage-crypto-rng]
- install randomconv 0.2.0 [required by mirage-crypto-rng]
- install seq base [required by ounit2]
- install stdlib-shims 0.3.0 [required by ounit2]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ohex.0.2.0 (https://opam.ocaml.org/cache)
-> retrieved ounit2.2.2.7 (https://opam.ocaml.org/cache)
-> retrieved randomconv.0.2.0 (https://opam.ocaml.org/cache)
-> installed ohex.0.2.0
-> retrieved seq.base (2 extra sources)
-> retrieved seq.base (2 extra sources)
-> installed seq.base
-> installed randomconv.0.2.0
-> retrieved stdlib-shims.0.3.0 (https://opam.ocaml.org/cache)
-> removed mirage-crypto-rng.2.0.3
-> installed stdlib-shims.0.3.0
-> installed ounit2.2.2.7
-> installed mirage-crypto-rng.2.0.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-10 15:40.37 ---> saved as "196f0962db3fa3282e38a4b8378b0f168cc76457fdceacd538e3d602496e8735"
/home/opam: (run (shell "opam reinstall --with-test --verbose mirage-crypto-rng.2.0.3;\
\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\" != 'mirage-crypto-rng.2.0.3' && 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 mirage-crypto-rng 2.0.3 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [mirage-crypto-rng: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "mirage-crypto-rng" "-j" "255" (CWD=/home/opam/.opam/5.4/.opam-switch/build/mirage-crypto-rng.2.0.3)
Processing 2/4: [mirage-crypto-rng: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "mirage-crypto-rng" "-j" "255" (CWD=/home/opam/.opam/5.4/.opam-switch/build/mirage-crypto-rng.2.0.3)
- (cd _build/default/tests && ./test_entropy.exe)
- test entropy OK
- (cd _build/default/tests && ./test_random_runner.exe)
- .........
- Ran: 9 tests in: 0.11 seconds.
- OK
-> compiled mirage-crypto-rng.2.0.3
-> removed mirage-crypto-rng.2.0.3
-> installed mirage-crypto-rng.2.0.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-10 15:40.42 ---> saved as "1055c6cb077790b3433cbcf3351ca291a2c7817f7444268201c353adb9c5eeb6"
Job succeeded
2026-02-10 15:41.20: Job succeeded