- github
- ocaml
- opam-repository
- 232285
- extras,s390x-ocaml-5.3,ocaml-unikraft-x86_64.1.0.0
(not at the head of any monitored branch or PR)
2025-05-06 18:08.07: New job: build ocaml-unikraft-x86_64.1.0.0, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/27856/head (232285450638d122b7441a6f42923184e4a1835b)
on debian-12-ocaml-5.3/s390x
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:debian-12-ocaml-5.3@sha256:79cf383a3f962334cd40196e1ab01e7be12ee3087125924dd51f6a5a981881b6
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-x86_64.1.0.0 1.0.0
RUN opam reinstall ocaml-unikraft-x86_64.1.0.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 "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ocaml-unikraft-x86_64.1.0.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.07: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:79cf383a3f962334cd40196e1ab01e7be12ee3087125924dd51f6a5a981881b6-ocaml-unikraft-x86_64.1.0.0-232285450638d122b7441a6f42923184e4a1835b"
2025-05-06 18:08.07: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:79cf383a3f962334cd40196e1ab01e7be12ee3087125924dd51f6a5a981881b6)
(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-x86_64.1.0.0 1.0.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocaml-unikraft-x86_64.1.0.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 \"\\\"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\" != 'ocaml-unikraft-x86_64.1.0.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.07: Waiting for resource in pool OCluster
2025-05-06 18:08.09: Waiting for worker…
2025-05-06 18:11.15: Got resource from pool OCluster
Building on s390x-worker-01.marist.ci.dev
All commits already cached
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:debian-12-ocaml-5.3@sha256:79cf383a3f962334cd40196e1ab01e7be12ee3087125924dd51f6a5a981881b6)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:79cf383a3f962334cd40196e1ab01e7be12ee3087125924dd51f6a5a981881b6' locally
docker.io/ocaml/opam@sha256:79cf383a3f962334cd40196e1ab01e7be12ee3087125924dd51f6a5a981881b6: Pulling from ocaml/opam
Digest: sha256:79cf383a3f962334cd40196e1ab01e7be12ee3087125924dd51f6a5a981881b6
Status: Downloaded newer image for ocaml/opam@sha256:79cf383a3f962334cd40196e1ab01e7be12ee3087125924dd51f6a5a981881b6
2025-05-06 18:11.17 ---> using "491891959db966101dcf416ea25e6f09d9dc9ecee46bbb62f0c6adf578d1f872" 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:11.17 ---> using "26553bf4657c23f5726f0c76712bbee8c044135fe766c221420dfceac29409ca" 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:11.17 ---> using "0ca9fef23e512e8516c7cc718f74d7dd7c59cad022b2d75b6690315dae9ee3b7" 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=s390x os=linux os-distribution=debian os-version=12
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 3
# 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:11.17 ---> using "9765ac3ecfbfbe86de5b9daf646a02b571c6900d980a0fe0a90df656f964be88" 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:11.17 ---> using "783d814e53d89f7c3502b3acda855de2df660bb81fbe768604ff3aa527b169e5" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-05-06 18:11.18 ---> using "e7804217b65f900086e0b2042232798c453ea345693d0bd9d510a562b0f79972" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-05-06 18:11.18 ---> using "293014c0d42a0ec94c939838b724591decf73a043a0427cca953b6b7dcda3f8e" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/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]
- Fetched 103 kB in 1s (204 kB/s)
- Reading package lists...
2025-05-06 18:11.18 ---> using "918ccab2acf437f533d1fee0708205a47a2964531acc7b28bf03227426756a23" from cache
/home/opam: (run (shell "opam pin add -k version -yn ocaml-unikraft-x86_64.1.0.0 1.0.0"))
ocaml-unikraft-x86_64 is now pinned to version 1.0.0
2025-05-06 18:11.29 ---> saved as "2316a2a0eac99a55effe49337a6d2f3fc2f1ad02f876d560f91b9f1e18f22518"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocaml-unikraft-x86_64.1.0.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 \"\\\"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\" != 'ocaml-unikraft-x86_64.1.0.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-x86_64.1.0.0 is not installed. Install it? [y/n] y
* Missing dependency:
- ocaml-unikraft-x86_64 -> ocaml-unikraft-toolchain-x86_64 -> ocaml-unikraft-backend-firecracker-x86_64 | ocaml-unikraft-backend-qemu-x86_64
depends on the unavailable system package 'gcc-x86_64-linux-gnu'. Use `--no-depexts' to attempt installation anyway, or it is possible that a depext package name in the opam file is incorrect.
depends on the unavailable system package 'gcc-x86_64-linux-gnu'. Use `--no-depexts' to attempt installation anyway, or it is possible that a depext package name in the opam file is incorrect.
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall ocaml-unikraft-x86_64.1.0.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 "\"debian-12\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'ocaml-unikraft-x86_64.1.0.0' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1" failed with exit status 20
2025-05-06 18:12.01: Job failed: Failed: Build failed
2025-05-06 18:12.01: Log analysis:
2025-05-06 18:12.01: >>>
No solution found, exiting
(score = 100)
2025-05-06 18:12.01: [SKIP] Package not available