- github
- ocaml
- opam-repository
- 232285
- distributions,fedora-41-ocaml-5.3,ocaml-unikraft-toolchain-x86_64.0.18.0
(not at the head of any monitored branch or PR)
2025-05-06 18:08.05: New job: build ocaml-unikraft-toolchain-x86_64.0.18.0, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/27856/head (232285450638d122b7441a6f42923184e4a1835b)
on fedora-41-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/27856/head" && git reset --hard 23228545
git fetch origin master
git merge --no-edit 8ae853b39e5c409b481d0d5d9318e0d8e6eee41d
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-41-ocaml-5.3@sha256:abc80c782e7acbd09ffd49defcb056c2fc402593e57bcb537add09330e2c3992
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 ocaml-unikraft-toolchain-x86_64.0.18.0 0.18.0
RUN opam reinstall ocaml-unikraft-toolchain-x86_64.0.18.0; \
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 "\"fedora-41\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ocaml-unikraft-toolchain-x86_64.0.18.0' && 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-05-06 18:08.05: Using cache hint "ocaml/opam:fedora-41-ocaml-5.3@sha256:abc80c782e7acbd09ffd49defcb056c2fc402593e57bcb537add09330e2c3992-ocaml-unikraft-toolchain-x86_64.0.18.0-232285450638d122b7441a6f42923184e4a1835b"
2025-05-06 18:08.05: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-5.3@sha256:abc80c782e7acbd09ffd49defcb056c2fc402593e57bcb537add09330e2c3992)
(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 ocaml-unikraft-toolchain-x86_64.0.18.0 0.18.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocaml-unikraft-toolchain-x86_64.0.18.0;\
\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 \"\\\"fedora-41\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ocaml-unikraft-toolchain-x86_64.0.18.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-05-06 18:08.05: Waiting for resource in pool OCluster
2025-05-06 18:10.40: Waiting for worker…
2025-05-06 18:12.23: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
Updating files: 93% (21595/23006)
Updating files: 94% (21626/23006)
Updating files: 95% (21856/23006)
Updating files: 96% (22086/23006)
Updating files: 97% (22316/23006)
Updating files: 98% (22546/23006)
Updating files: 99% (22776/23006)
Updating files: 100% (23006/23006)
Updating files: 100% (23006/23006), done.
HEAD is now at 8ae853b39e Merge pull request #27847 from yallop/charset-0.2.0
Updating 8ae853b39e..2322854506
Fast-forward
.../ocaml-unikraft-arm64.1.0.0/opam | 40 +++++++++++++
.../opam | 68 ++++++++++++++++++++++
.../opam | 67 +++++++++++++++++++++
.../ocaml-unikraft-backend-firecracker.0.18.0/opam | 18 ++++++
.../ocaml-unikraft-backend-qemu-arm64.0.18.0/opam | 68 ++++++++++++++++++++++
.../ocaml-unikraft-backend-qemu-x86_64.0.18.0/opam | 67 +++++++++++++++++++++
.../ocaml-unikraft-backend-qemu.0.18.0/opam | 18 ++++++
.../ocaml-unikraft-default-arm64.1.0.0/opam | 24 ++++++++
.../ocaml-unikraft-default-x86_64.1.0.0/opam | 24 ++++++++
.../ocaml-unikraft-option-debug.0.18.0/opam | 11 ++++
.../ocaml-unikraft-toolchain-arm64.0.18.0/opam | 32 ++++++++++
.../ocaml-unikraft-toolchain-x86_64.0.18.0/opam | 32 ++++++++++
.../ocaml-unikraft-x86_64.1.0.0/opam | 40 +++++++++++++
packages/ocaml-unikraft/ocaml-unikraft.1.0.0/opam | 14 +++++
packages/unikraft/unikraft.0.18.0/opam | 40 +++++++++++++
15 files changed, 563 insertions(+)
create mode 100644 packages/ocaml-unikraft-arm64/ocaml-unikraft-arm64.1.0.0/opam
create mode 100644 packages/ocaml-unikraft-backend-firecracker-arm64/ocaml-unikraft-backend-firecracker-arm64.0.18.0/opam
create mode 100644 packages/ocaml-unikraft-backend-firecracker-x86_64/ocaml-unikraft-backend-firecracker-x86_64.0.18.0/opam
create mode 100644 packages/ocaml-unikraft-backend-firecracker/ocaml-unikraft-backend-firecracker.0.18.0/opam
create mode 100644 packages/ocaml-unikraft-backend-qemu-arm64/ocaml-unikraft-backend-qemu-arm64.0.18.0/opam
create mode 100644 packages/ocaml-unikraft-backend-qemu-x86_64/ocaml-unikraft-backend-qemu-x86_64.0.18.0/opam
create mode 100644 packages/ocaml-unikraft-backend-qemu/ocaml-unikraft-backend-qemu.0.18.0/opam
create mode 100644 packages/ocaml-unikraft-default-arm64/ocaml-unikraft-default-arm64.1.0.0/opam
create mode 100644 packages/ocaml-unikraft-default-x86_64/ocaml-unikraft-default-x86_64.1.0.0/opam
create mode 100644 packages/ocaml-unikraft-option-debug/ocaml-unikraft-option-debug.0.18.0/opam
create mode 100644 packages/ocaml-unikraft-toolchain-arm64/ocaml-unikraft-toolchain-arm64.0.18.0/opam
create mode 100644 packages/ocaml-unikraft-toolchain-x86_64/ocaml-unikraft-toolchain-x86_64.0.18.0/opam
create mode 100644 packages/ocaml-unikraft-x86_64/ocaml-unikraft-x86_64.1.0.0/opam
create mode 100644 packages/ocaml-unikraft/ocaml-unikraft.1.0.0/opam
create mode 100644 packages/unikraft/unikraft.0.18.0/opam
(from ocaml/opam:fedora-41-ocaml-5.3@sha256:abc80c782e7acbd09ffd49defcb056c2fc402593e57bcb537add09330e2c3992)
Unable to find image 'ocaml/opam:fedora-41-ocaml-5.3@sha256:abc80c782e7acbd09ffd49defcb056c2fc402593e57bcb537add09330e2c3992' locally
docker.io/ocaml/opam@sha256:abc80c782e7acbd09ffd49defcb056c2fc402593e57bcb537add09330e2c3992: Pulling from ocaml/opam
e0caea583fc1: Pulling fs layer
e0caea583fc1: Waiting
e0caea583fc1: Verifying Checksum
e0caea583fc1: Download complete
e0caea583fc1: Pull complete
Digest: sha256:abc80c782e7acbd09ffd49defcb056c2fc402593e57bcb537add09330e2c3992
Status: Downloaded newer image for ocaml/opam@sha256:abc80c782e7acbd09ffd49defcb056c2fc402593e57bcb537add09330e2c3992
2025-05-06 18:15.21 ---> using "da0437edefc3074e740b2380711421a58ad6af000252c27345a9c063faf0cc10" 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-05-06 18:15.21 ---> using "e833ac3457899ccaae15fb853ecba4205a061c03c99d3b56cfc9dca5fdfd41fe" 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-05-06 18:15.21 ---> using "5b9378c4368654a1e42c0b58a1b1b855d77697c967ba417f4988054492006ce4" 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=fedora os-version=41
# 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.3
# invariant ["ocaml-base-compiler" {>= "5.3.0"}]
# compiler-packages ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.3.0
2025-05-06 18:15.21 ---> using "8c5eb5242251e81437c14d007cf8da5cd6a9ff40f0aedf6a46c93dbaa06635e7" 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-05-06 18:15.21 ---> using "fa4e1a05d14195bedfc69d489958d269fa2e804160a92530b9f0c5df587b19e3" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-05-06 18:15.32 ---> saved as "3eecd258420ac4277452c79bcb9b91130044e63414654824d084ed90f75485a0"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-05-06 18:15.58 ---> saved as "6d9f53807b003164dbc664eb0d28926125729a67b5e5a5cd193d3b4578f34ed3"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- Updating and loading repositories:
- Fedora 41 - x86_64 - Updates 100% | 177.1 KiB/s | 23.2 KiB | 00m00s
- Fedora 41 - x86_64 - Updates 100% | 5.7 MiB/s | 3.5 MiB | 00m01s
- Repositories loaded.
- Metadata cache created.
2025-05-06 18:16.01 ---> saved as "ed2dd0fb6255caf9eb8fdd8aa0eda02bcc4462580b28f095b55c5b3f754bfac1"
/home/opam: (run (shell "opam pin add -k version -yn ocaml-unikraft-toolchain-x86_64.0.18.0 0.18.0"))
ocaml-unikraft-toolchain-x86_64 is now pinned to version 0.18.0
2025-05-06 18:16.02 ---> saved as "215d71e721d3bffde6d4477ead75946c5ee9120bea7a53e7c8a8c9bb3abd5278"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocaml-unikraft-toolchain-x86_64.0.18.0;\
\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 \"\\\"fedora-41\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ocaml-unikraft-toolchain-x86_64.0.18.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ocaml-unikraft-toolchain-x86_64.0.18.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 6 packages
- install conf-bison 2 [required by unikraft]
- install conf-flex 2 [required by unikraft]
- install conf-python-3 9.0.0 [required by unikraft]
- install ocaml-unikraft-backend-qemu-x86_64 0.18.0 [required by ocaml-unikraft-toolchain-x86_64]
- install ocaml-unikraft-toolchain-x86_64 0.18.0 (pinned)
- install unikraft 0.18.0 [required by ocaml-unikraft-backend-qemu-x86_64]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-python-3.9.0.0 (cached)
-> retrieved ocaml-unikraft-backend-qemu-x86_64.0.18.0, ocaml-unikraft-toolchain-x86_64.0.18.0 (cached)
-> installed conf-bison.2
-> installed conf-flex.2
-> installed conf-python-3.9.0.0
-> retrieved unikraft.0.18.0 (cached)
-> installed unikraft.0.18.0
-> installed ocaml-unikraft-backend-qemu-x86_64.0.18.0
-> installed ocaml-unikraft-toolchain-x86_64.0.18.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-06 18:16.41 ---> saved as "e49d1891c37f9f390b46bc795019aac0b1f0572f9d980300d88953a3f6b1c786"
Job succeeded
2025-05-06 18:17.19: Job succeeded