- github
- ocaml
- opam-repository
- 894535
- extras,opam-2.0-ocaml-5.3,mirage-crypto-rng.2.0.2,tests
(not at the head of any monitored branch or PR)
2025-08-22 08:35.54: New job: test mirage-crypto-rng.2.0.2, using opam 2.0
from https://github.com/ocaml/opam-repository.git#refs/pull/28382/head (8945350a625968bb53e2ea5eb75fb5fc600556eb)
on debian-12-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/28382/head" && git reset --hard 8945350a
git fetch origin master
git merge --no-edit 4bae7ec4df49df4454ea492c8d7a1196aeae04e0
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:ea4d070703e4c16aa9fe1cdf0b1a22c669ee514080881d205b570783be9040da
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn mirage-crypto-rng.2.0.2 2.0.2
RUN opam depext mirage-crypto-rng.2.0.2 && opam reinstall mirage-crypto-rng.2.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-12\""; 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.2' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN (opam depext --with-test mirage-crypto-rng.2.0.2 && opam reinstall --with-test mirage-crypto-rng.2.0.2) || true
RUN opam depext --with-test mirage-crypto-rng.2.0.2 && opam reinstall --with-test --verbose mirage-crypto-rng.2.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-12\""; 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.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 .
2025-08-22 08:35.54: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:ea4d070703e4c16aa9fe1cdf0b1a22c669ee514080881d205b570783be9040da-mirage-crypto-rng.2.0.2-8945350a625968bb53e2ea5eb75fb5fc600556eb"
2025-08-22 08:35.54: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:ea4d070703e4c16aa9fe1cdf0b1a22c669ee514080881d205b570783be9040da)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "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 depext -u || true"))
(run (shell "opam pin add -k version -yn mirage-crypto-rng.2.0.2 2.0.2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext mirage-crypto-rng.2.0.2 && opam reinstall mirage-crypto-rng.2.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-12\\\"\"; 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.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 depext --with-test mirage-crypto-rng.2.0.2 && opam reinstall --with-test mirage-crypto-rng.2.0.2) || true"))
(run (shell "opam depext --with-test mirage-crypto-rng.2.0.2 && opam reinstall --with-test --verbose mirage-crypto-rng.2.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-12\\\"\"; 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.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-08-22 08:35.54: Waiting for resource in pool OCluster
2025-08-22 08:36.03: Waiting for worker…
2025-08-22 08:39.04: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 4bae7ec4df Merge pull request #28375 from jmid/opam-compiler-re-bounds
Updating 4bae7ec4df..8945350a62
Fast-forward
.../mirage-crypto-ec/mirage-crypto-ec.2.0.2/opam | 62 ++++++++++++++++++++++
.../mirage-crypto-pk/mirage-crypto-pk.2.0.2/opam | 43 +++++++++++++++
.../mirage-crypto-rng-miou-unix.2.0.2/opam | 39 ++++++++++++++
.../mirage-crypto-rng-mirage.2.0.2/opam | 40 ++++++++++++++
.../mirage-crypto-rng/mirage-crypto-rng.2.0.2/opam | 42 +++++++++++++++
packages/mirage-crypto/mirage-crypto.2.0.2/opam | 39 ++++++++++++++
6 files changed, 265 insertions(+)
create mode 100644 packages/mirage-crypto-ec/mirage-crypto-ec.2.0.2/opam
create mode 100644 packages/mirage-crypto-pk/mirage-crypto-pk.2.0.2/opam
create mode 100644 packages/mirage-crypto-rng-miou-unix/mirage-crypto-rng-miou-unix.2.0.2/opam
create mode 100644 packages/mirage-crypto-rng-mirage/mirage-crypto-rng-mirage.2.0.2/opam
create mode 100644 packages/mirage-crypto-rng/mirage-crypto-rng.2.0.2/opam
create mode 100644 packages/mirage-crypto/mirage-crypto.2.0.2/opam
(from ocaml/opam:debian-12-ocaml-5.3@sha256:ea4d070703e4c16aa9fe1cdf0b1a22c669ee514080881d205b570783be9040da)
2025-08-22 08:39.04 ---> using "7b3e7b3709bbd37e599e66041e6848f5fe2736f92dc6c0cdd0ce7e7e3b68a5fe" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2025-08-22 08:39.04 ---> using "41a3bacb03235da4fa245f295fd0674176277d216ed8e0820333a2b0205a2f30" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.
[WARNING] Recommended dependencies -- most packages rely on these:
- m4
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-08-22 08:39.48 ---> saved as "f5e2555a027c08b20d630b107b9ae9a386d8151f1064fcd2ab3bdc2da6d29601"
/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version 2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# solver builtin-mccs+glpk
# install-criteria -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria -removed,-count[version-lag,solution],-new
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.3
2025-08-22 08:39.48 ---> saved as "8ddf3ce7a53d686a7f0853831ee61d2034273a42fa518b457052043013c37db8"
/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/"))
2025-08-22 08:39.58 ---> saved as "123d55b980ccb56241c87b3555dd5b06b8d7c1503e86f807b931711a83a5ee4f"
/home/opam: (copy (src .) (dst opam-repository/))
2025-08-22 08:40.06 ---> saved as "a4b868442a45e86204a015e89f9fbd3fdcd7d136317b44af1054a5c078b3aba3"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-08-22 08:40.19 ---> saved as "4167df6e2cf7f4a606261e68afcda4499c3dacfaac162c34ca0b29153cdaf7a7"
/home/opam: (run (network host)
(shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "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 amd64 Packages [274 kB]
Fetched 378 kB in 0s (1098 kB/s)
Reading package lists...
# OS package update successful
2025-08-22 08:40.20 ---> saved as "53dc210290561ee6601eb773afa301a01ed36b94e7e52b059d427216df3e493c"
/home/opam: (run (shell "opam pin add -k version -yn mirage-crypto-rng.2.0.2 2.0.2"))
mirage-crypto-rng is now pinned to version 2.0.2
2025-08-22 08:40.21 ---> saved as "a65f04589c01fa546bb5b89b522d6e86c6bedebd70907e1b1c08dfab912616c2"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext mirage-crypto-rng.2.0.2 && opam reinstall mirage-crypto-rng.2.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-12\\\"\"; 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.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
mirage-crypto-rng.2.0.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
- install ocamlbuild 0.16.1 [required by logs]
- install ocamlfind 1.9.8 [required by logs]
- install dune 3.20.0 [required by mirage-crypto-rng]
- install topkg 1.1.0 [required by logs]
- install eqaf 0.10 [required by digestif, mirage-crypto]
- install duration 0.2.1 [required by mirage-crypto-rng]
- install csexp 1.5.2 [required by dune-configurator]
- install logs 0.9.0 [required by mirage-crypto-rng]
- install digestif 1.3.0 [required by mirage-crypto-rng]
- install dune-configurator 3.20.0 [required by mirage-crypto-rng]
- install mirage-crypto 2.0.2 [required by mirage-crypto-rng]
- install mirage-crypto-rng 2.0.2*
===== 12 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[csexp.1.5.2] found in cache
[digestif.1.3.0] found in cache
[dune.3.20.0] found in cache
[dune-configurator.3.20.0] found in cache
[duration.0.2.1] found in cache
[eqaf.0.10] found in cache
[logs.0.9.0] found in cache
[mirage-crypto.2.0.2] found in cache
[mirage-crypto-rng.2.0.2] found in cache
[ocamlbuild.0.16.1] found in cache
[ocamlfind.1.9.8] found in cache
[topkg.1.1.0] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed logs.0.9.0
-> installed dune.3.20.0
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed eqaf.0.10
-> installed digestif.1.3.0
-> installed dune-configurator.3.20.0
-> installed mirage-crypto.2.0.2
-> installed mirage-crypto-rng.2.0.2
Done.
# Run eval $(opam env) to update the current shell environment
2025-08-22 08:40.51 ---> saved as "87ce0d8c64511234573e6a2c83a26f6c3030dadd88de21eb8ca8ccd8c946cdf8"
/home/opam: (run (network host)
(shell "(opam depext --with-test mirage-crypto-rng.2.0.2 && opam reinstall --with-test mirage-crypto-rng.2.0.2) || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following actions will be performed:
- install randomconv 0.2.0 [required by mirage-crypto-rng]
- install seq base [required by ounit2]
- install ohex 0.2.0 [required by mirage-crypto-rng]
- install stdlib-shims 0.3.0 [required by ounit2]
- install ounit2 2.2.7 [required by mirage-crypto-rng]
- recompile mirage-crypto-rng 2.0.2*
===== 5 to install | 1 to recompile =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ohex.0.2.0] downloaded from cache at https://opam.ocaml.org/cache
[ounit2.2.2.7] downloaded from cache at https://opam.ocaml.org/cache
[randomconv.0.2.0] downloaded from cache at https://opam.ocaml.org/cache
[seq.base/META.seq] downloaded from https://opam.ocaml.org/cache
[seq.base/seq.install] downloaded from https://opam.ocaml.org/cache
[stdlib-shims.0.3.0] downloaded from cache at https://opam.ocaml.org/cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed seq.base
-> installed ohex.0.2.0
-> installed randomconv.0.2.0
-> removed mirage-crypto-rng.2.0.2
-> installed stdlib-shims.0.3.0
-> installed ounit2.2.2.7
-> installed mirage-crypto-rng.2.0.2
Done.
# Run eval $(opam env) to update the current shell environment
2025-08-22 08:41.02 ---> saved as "4105a1c058e2af0d13ca69d669d4b2d63ded34bea3cf95aa22d9ff61a7e333b9"
/home/opam: (run (shell "opam depext --with-test mirage-crypto-rng.2.0.2 && opam reinstall --with-test --verbose mirage-crypto-rng.2.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-12\\\"\"; 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.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following actions will be performed:
- recompile mirage-crypto-rng 2.0.2*
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/3: [mirage-crypto-rng: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "mirage-crypto-rng" "-j" "71" (CWD=/home/opam/.opam/5.3/.opam-switch/build/mirage-crypto-rng.2.0.2)
Processing 1/3: [mirage-crypto-rng: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "mirage-crypto-rng" "-j" "71" (CWD=/home/opam/.opam/5.3/.opam-switch/build/mirage-crypto-rng.2.0.2)
- (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.2
-> removed mirage-crypto-rng.2.0.2
-> installed mirage-crypto-rng.2.0.2
Done.
# Run eval $(opam env) to update the current shell environment
2025-08-22 08:41.09 ---> saved as "d6cb924c708ed494e943928f2107e521e083365b3df202d958ae0ba4f8d4a859"
Job succeeded
2025-08-22 08:41.16: Job succeeded