- github
- ocaml
- opam-repository
- 894535
- distributions,alpine-3.21-ocaml-4.14,mirage-crypto-rng.2.0.2
(not at the head of any monitored branch or PR)
2025-08-22 08:35.54: New job: build mirage-crypto-rng.2.0.2, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/28382/head (8945350a625968bb53e2ea5eb75fb5fc600556eb)
on alpine-3.21-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:alpine-3.21-ocaml-4.14@sha256:f150d0ff3306a1eca83d9903df1fb2a938d68e2473334dc0bc014aca30f071e8
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-rng.2.0.2 2.0.2
RUN 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 "\"alpine-3.21\""; 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:alpine-3.21-ocaml-4.14@sha256:f150d0ff3306a1eca83d9903df1fb2a938d68e2473334dc0bc014aca30f071e8-mirage-crypto-rng.2.0.2-8945350a625968bb53e2ea5eb75fb5fc600556eb"
2025-08-22 08:35.54: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:f150d0ff3306a1eca83d9903df1fb2a938d68e2473334dc0bc014aca30f071e8)
(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-rng.2.0.2 2.0.2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "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 \"\\\"alpine-3.21\\\"\"; 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.01: Waiting for worker…
2025-08-22 08:38.52: 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:alpine-3.21-ocaml-4.14@sha256:f150d0ff3306a1eca83d9903df1fb2a938d68e2473334dc0bc014aca30f071e8)
2025-08-22 08:38.58 ---> using "43d61cfc6f489c2c1e9266cce6616416a55ec10ea493569cf90c9474932d48c5" from cache
/: (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:38.58 ---> using "a67543308c5e2cbed11c1bdd28f6c451d57024b910b15a3a108c8dd6e137aca4" 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 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.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-08-22 08:38.58 ---> using "eef2e2ee548572bc60b0fb2217d5b712bea83171588fd7e9223c5d528ab50b8a" 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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=alpine os-version=3.21.4
# 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 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:38.58 ---> using "7d78d8f1245bb88186a273032c1b545596c478cab125fdd72847eb2e9ac331ad" 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/"))
2025-08-22 08:38.58 ---> using "90bee84f7cced883e7156ff756c6ed2eabc1d55abbfb1b2415d99f7e3a88aa77" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-08-22 08:38.59 ---> saved as "9207d6f5ee08dc0efafac19430e8981a44e0c6bce88287a45ab18a323f0b7f23"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-08-22 08:39.16 ---> saved as "227a6b520079c1aa7e3118916e9546fcd987b140e2fe1317f15ff04020178b51"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.21.4-66-gdc5b4aa05cf [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.4-66-gdc5b4aa05cf [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v3.23.0_alpha20250612-4927-g59366da97b1 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-4927-g59366da97b1 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-4927-g59366da97b1 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 59369 distinct packages available
2025-08-22 08:39.17 ---> saved as "594f6817694a4d4622de42980059550f9a14a48b3432e37c2b782b2c7a12af97"
/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:39.18 ---> saved as "da7513f04f7d89c58bc66eee223c9816a763a85cf85f4df523d9e2bd8061e700"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "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 \"\\\"alpine-3.21\\\"\"; 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"))
mirage-crypto-rng.2.0.2 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.20.0 [required by mirage-crypto-rng]
- install dune-configurator 3.20.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.9.0 [required by mirage-crypto-rng]
- install mirage-crypto 2.0.2 [required by mirage-crypto-rng]
- install mirage-crypto-rng 2.0.2 (pinned)
- install ocamlbuild 0.16.1 [required by logs]
- install ocamlfind 1.9.8 [required by logs]
- install topkg 1.1.0 [required by logs]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2 (cached)
-> retrieved digestif.1.3.0 (cached)
-> retrieved dune.3.20.0, dune-configurator.3.20.0 (cached)
-> retrieved duration.0.2.1 (cached)
-> retrieved eqaf.0.10 (cached)
-> retrieved logs.0.9.0 (cached)
-> retrieved mirage-crypto.2.0.2, mirage-crypto-rng.2.0.2 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved topkg.1.1.0 (cached)
-> 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.
# To update the current shell environment, run: eval $(opam env)
2025-08-22 08:39.48 ---> saved as "139c93d9d639d8276f2c4efcf585b75b152137e25f826c460b78e8a2733ae634"
Job succeeded
2025-08-22 08:40.02: Job succeeded