- github
- ocaml
- opam-repository
- 894535
- distributions,ubuntu-24.04-ocaml-4.14,mirage-crypto.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.2.0.2, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/28382/head (8945350a625968bb53e2ea5eb75fb5fc600556eb)
on ubuntu-24.04-ocaml-4.14/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:ubuntu-24.04-ocaml-4.14@sha256:62d15a778ff9f5dcd222b22dc34521a70643870f44b0a6a9cd3a8502603ecd7e
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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.2.0.2 2.0.2
RUN opam reinstall mirage-crypto.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 "\"ubuntu-24.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'mirage-crypto.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 reinstall --with-test mirage-crypto.2.0.2) || true
RUN opam reinstall --with-test --verbose mirage-crypto.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 "\"ubuntu-24.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'mirage-crypto.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:ubuntu-24.04-ocaml-4.14@sha256:62d15a778ff9f5dcd222b22dc34521a70643870f44b0a6a9cd3a8502603ecd7e-mirage-crypto.2.0.2-8945350a625968bb53e2ea5eb75fb5fc600556eb"
2025-08-22 08:35.54: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:62d15a778ff9f5dcd222b22dc34521a70643870f44b0a6a9cd3a8502603ecd7e)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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.2.0.2 2.0.2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mirage-crypto.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 \"\\\"ubuntu-24.04\\\"\"; 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.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 reinstall --with-test mirage-crypto.2.0.2) || true"))
(run (shell "opam reinstall --with-test --verbose mirage-crypto.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 \"\\\"ubuntu-24.04\\\"\"; 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.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:35.56: Waiting for worker…
2025-08-22 08:37.51: Got resource from pool OCluster
Building on eumache
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:ubuntu-24.04-ocaml-4.14@sha256:62d15a778ff9f5dcd222b22dc34521a70643870f44b0a6a9cd3a8502603ecd7e)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:62d15a778ff9f5dcd222b22dc34521a70643870f44b0a6a9cd3a8502603ecd7e' locally
docker.io/ocaml/opam@sha256:62d15a778ff9f5dcd222b22dc34521a70643870f44b0a6a9cd3a8502603ecd7e: Pulling from ocaml/opam
5de63a95c922: Already exists
Digest: sha256:62d15a778ff9f5dcd222b22dc34521a70643870f44b0a6a9cd3a8502603ecd7e
Status: Downloaded newer image for ocaml/opam@sha256:62d15a778ff9f5dcd222b22dc34521a70643870f44b0a6a9cd3a8502603ecd7e
2025-08-22 08:46.34 ---> saved as "58d87426012233e59f1da13a3e19f1682dc85c650c29414fa40c61c0fab7b85b"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-08-22 08:46.34 ---> saved as "b30e636465e9a4015442fe394366497ab18495e88b448749c9cf4584b70fda68"
/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 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.
[NOTE] The 'jobs' option was reset, its value was 255 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=255 --global
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-08-22 08:47.03 ---> saved as "2b99a01be338e67c31a962202df36b93049a9076ff2939f4b4194ea46bd941f9"
/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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=ubuntu os-version=24.04
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# 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
2025-08-22 08:47.05 ---> saved as "ec4771bb9253567595d8d95982be72bbd4bd86370f826eab891731a61f006664"
/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:47.11 ---> saved as "9ee9d3b491ffae69f53418304fb638039fff7ca14b3fa1823e0a9428aabe5d57"
/home/opam: (copy (src .) (dst opam-repository/))
2025-08-22 08:47.26 ---> saved as "55bc7f0c4e87e75ce2f21045462f77c2dd76a8ad01d89ff16c3f17a9ba6adc03"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-08-22 08:47.56 ---> saved as "78c57c63554474473b90556ec38996bec0644e6e128259deec74ece9ec37391c"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:2 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1363 kB]
- Get:3 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1137 kB]
- Get:4 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [2066 kB]
- Hit:5 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1458 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [2183 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1711 kB]
- Fetched 10.3 MB in 3s (3049 kB/s)
- Reading package lists...
-
2025-08-22 08:48.04 ---> saved as "ce1a513270e37946c36e8891852a18778a034cdd37a8ef8af4b2001016ce161c"
/home/opam: (run (shell "opam pin add -k version -yn mirage-crypto.2.0.2 2.0.2"))
mirage-crypto is now pinned to version 2.0.2
2025-08-22 08:48.06 ---> saved as "9dcb4b8980351f2d3d2dab92c7d555a9786f13d6803eba7f98032c7ae935fdb9"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mirage-crypto.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 \"\\\"ubuntu-24.04\\\"\"; 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.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"))
mirage-crypto.2.0.2 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 5 packages
- install csexp 1.5.2 [required by dune-configurator]
- install dune 3.20.0 [required by mirage-crypto]
- install dune-configurator 3.20.0 [required by mirage-crypto]
- install eqaf 0.10 [required by mirage-crypto]
- install mirage-crypto 2.0.2 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2 (cached)
-> retrieved dune.3.20.0, dune-configurator.3.20.0 (cached)
-> retrieved eqaf.0.10 (cached)
-> retrieved mirage-crypto.2.0.2 (cached)
-> installed dune.3.20.0
-> installed csexp.1.5.2
-> installed eqaf.0.10
-> installed dune-configurator.3.20.0
-> installed mirage-crypto.2.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-22 08:48.48 ---> saved as "543bba9ca7a474a3980421b1db204b1c5f8918c0280de41d84e46160242a2413"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test mirage-crypto.2.0.2) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile mirage-crypto 2.0.2 (pinned)
=== install 4 packages
- install ohex 0.2.0 [required by mirage-crypto]
- install ounit2 2.2.7 [required by mirage-crypto]
- 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)
-> installed ohex.0.2.0
-> retrieved seq.base (2 extra sources)
-> retrieved seq.base (2 extra sources)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0 (https://opam.ocaml.org/cache)
-> removed mirage-crypto.2.0.2
-> installed stdlib-shims.0.3.0
-> installed ounit2.2.2.7
-> installed mirage-crypto.2.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-22 08:48.59 ---> saved as "2f9f3a4e355d4f42dafed049ab3d2b00b2f8ac02445c4a455c931afaef919103"
/home/opam: (run (shell "opam reinstall --with-test --verbose mirage-crypto.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 \"\\\"ubuntu-24.04\\\"\"; 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.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"))
The following actions will be performed:
=== recompile 1 package
- recompile mirage-crypto 2.0.2 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [mirage-crypto: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "mirage-crypto" "-j" "71" (CWD=/home/opam/.opam/4.14/.opam-switch/build/mirage-crypto.2.0.2)
Processing 2/4: [mirage-crypto: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "mirage-crypto" "-j" "71" (CWD=/home/opam/.opam/4.14/.opam-switch/build/mirage-crypto.2.0.2)
- (cd _build/default/tests && ./test_symmetric_runner.exe)
- accel: XOR AES GHASH
- ................................................................
- Ran: 64 tests in: 0.11 seconds.
- OK
-> compiled mirage-crypto.2.0.2
-> removed mirage-crypto.2.0.2
-> installed mirage-crypto.2.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-22 08:49.07 ---> saved as "a4dc7c8b669d40e33e15f7b2debe5d4b26c0bfcad3ebf867eafddcd041e5c013"
Job succeeded
2025-08-22 08:49.13: Job succeeded