- github
- ocaml
- opam-repository
- 6f0fc6
- distributions,centos-10-ocaml-4.14,mirage-runtime.4.10.4
(not at the head of any monitored branch or PR)
2025-11-21 11:27.13: New job: build mirage-runtime.4.10.4, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28942/head (6f0fc6a951253ffe47c1572d3ded0aa67df3d990)
on centos-10-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/28942/head" && git reset --hard 6f0fc6a9
git fetch origin master
git merge --no-edit ee3428377a13c3c9716b6f791c33441cfb542498
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:centos-10-ocaml-4.14@sha256:5d531be08818b220b8f4f43e2a8b8afee7ccd6bd899b4b33146dc7953241ae61
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 mirage-runtime.4.10.4 4.10.4
RUN opam reinstall mirage-runtime.4.10.4; \
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 "\"centos-10\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'mirage-runtime.4.10.4' && 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-11-21 11:27.13: Using cache hint "ocaml/opam:centos-10-ocaml-4.14@sha256:5d531be08818b220b8f4f43e2a8b8afee7ccd6bd899b4b33146dc7953241ae61-mirage-runtime.4.10.4-6f0fc6a951253ffe47c1572d3ded0aa67df3d990"
2025-11-21 11:27.13: Using OBuilder spec:
((from ocaml/opam:centos-10-ocaml-4.14@sha256:5d531be08818b220b8f4f43e2a8b8afee7ccd6bd899b4b33146dc7953241ae61)
(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 mirage-runtime.4.10.4 4.10.4"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mirage-runtime.4.10.4;\
\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 \"\\\"centos-10\\\"\"; 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-runtime.4.10.4' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-11-21 11:27.13: Waiting for resource in pool OCluster
2025-11-21 11:27.14: Waiting for worker…
2025-11-21 11:33.30: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at ee3428377a Merge pull request #28925 from edwintorok/rocky
Updating ee3428377a..6f0fc6a951
Fast-forward
packages/mirage-runtime/mirage-runtime.4.10.4/opam | 45 +++++++++++++++
packages/mirage/mirage.4.10.4/opam | 64 ++++++++++++++++++++++
2 files changed, 109 insertions(+)
create mode 100644 packages/mirage-runtime/mirage-runtime.4.10.4/opam
create mode 100644 packages/mirage/mirage.4.10.4/opam
(from ocaml/opam:centos-10-ocaml-4.14@sha256:5d531be08818b220b8f4f43e2a8b8afee7ccd6bd899b4b33146dc7953241ae61)
2025-11-21 11:34.03 ---> saved as "06e93e5ebdb7e4eaa5afcc7e15fa75c75975ecaad6823b8caee1b45b25c6f0f2"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-11-21 11:34.03 ---> saved as "b876d43cfc609eda76bab2d516dccdbfe80e5f0012edf94bbc9276b1173d205a"
/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
2025-11-21 11:34.23 ---> saved as "0b508fc5a9acc012d40a8144df7343a9d4ffcc4f7c17bf390735fe901d1547e4"
/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~beta1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=centos os-version=10
# 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-11-21 11:34.24 ---> saved as "8b23c051038837c71d53c18b1f3b3442f5bc19a4d78382ac2265e5c6b2caf346"
/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-11-21 11:34.34 ---> saved as "99fc643c4ff22cf2ab9275b138fde5ced16b486376dd9d2125290409703c3dba"
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-21 11:34.41 ---> saved as "a8719bb248bb0c60f88342993a681dc5ab4e8100bdb2906707533ebaad24eb48"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-21 11:34.58 ---> saved as "9583e1ff2b9fb0a41023cf0c34939c716e6b0c1c2cf16bed04e1121021dbf7de"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 10 - BaseOS 89 kB/s | 14 kB 00:00
- CentOS Stream 10 - BaseOS 11 MB/s | 6.8 MB 00:00
- CentOS Stream 10 - AppStream 123 kB/s | 15 kB 00:00
- CentOS Stream 10 - AppStream 7.3 MB/s | 3.4 MB 00:00
- CentOS Stream 10 - CRB 115 kB/s | 14 kB 00:00
- CentOS Stream 10 - CRB 3.5 MB/s | 763 kB 00:00
- CentOS Stream 10 - Extras packages 136 kB/s | 16 kB 00:00
- Metadata cache created.
2025-11-21 11:35.02 ---> saved as "47fc078b9c4afb27ee368fdee7afeec7ab32046f6eaeaeeb9c08e01f41be9841"
/home/opam: (run (shell "opam pin add -k version -yn mirage-runtime.4.10.4 4.10.4"))
mirage-runtime is now pinned to version 4.10.4
2025-11-21 11:35.02 ---> saved as "c02a143e9b9706070f4330b606031787d893bcf5ae3ff8510be45b17cf1ad47f"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mirage-runtime.4.10.4;\
\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 \"\\\"centos-10\\\"\"; 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-runtime.4.10.4' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
mirage-runtime.4.10.4 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 16 packages
- install base-bytes base [required by ocplib-endian]
- install cmdliner 2.0.0 [required by mirage-runtime]
- install cppo 1.8.0 [required by lwt]
- install csexp 1.5.2 [required by dune-configurator]
- install domain-name 0.5.0 [required by ipaddr]
- install dune 3.20.2 [required by mirage-runtime]
- install dune-configurator 3.20.2 [required by lwt]
- install ipaddr 5.6.1 [required by mirage-runtime]
- install logs 0.10.0 [required by mirage-runtime]
- install lwt 5.9.2 [required by mirage-runtime]
- install macaddr 5.6.1 [required by ipaddr]
- install mirage-runtime 4.10.4 (pinned)
- install ocamlbuild 0.16.1 [required by logs]
- install ocamlfind 1.9.8 [required by logs]
- install ocplib-endian 1.2 [required by lwt]
- install topkg 1.1.1 [required by logs]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.2.0.0 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved domain-name.0.5.0 (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> retrieved ipaddr.5.6.1, macaddr.5.6.1 (cached)
-> retrieved logs.0.10.0 (cached)
-> retrieved lwt.5.9.2 (cached)
-> retrieved mirage-runtime.4.10.4 (cached)
-> installed cmdliner.2.0.0
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved topkg.1.1.1 (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed domain-name.0.5.0
-> installed macaddr.5.6.1
-> installed ocplib-endian.1.2
-> installed ipaddr.5.6.1
-> installed dune-configurator.3.20.2
-> installed lwt.5.9.2
-> installed logs.0.10.0
-> installed mirage-runtime.4.10.4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-21 11:35.29 ---> saved as "e22fbc41092186bf4423c46cc6bce4d50018baac1c5da432afd7dfe108cae16e"
Job succeeded
2025-11-21 11:35.34: Job succeeded