- github
- ocaml
- opam-repository
- 232285
- distributions,fedora-41-ocaml-4.14,ocaml-unikraft-x86_64.1.0.0
(not at the head of any monitored branch or PR)
2025-05-06 18:08.06: 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 fedora-41-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/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-4.14@sha256:5f7e85e8433bbeaa7d6d5950f953411f3bda6c29c0ad25421de1d7e7b3e1c5b5
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 "\"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-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.06: Using cache hint "ocaml/opam:fedora-41-ocaml-4.14@sha256:5f7e85e8433bbeaa7d6d5950f953411f3bda6c29c0ad25421de1d7e7b3e1c5b5-ocaml-unikraft-x86_64.1.0.0-232285450638d122b7441a6f42923184e4a1835b"
2025-05-06 18:08.06: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-4.14@sha256:5f7e85e8433bbeaa7d6d5950f953411f3bda6c29c0ad25421de1d7e7b3e1c5b5)
(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 \"\\\"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-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.06: Waiting for resource in pool OCluster
2025-05-06 18:14.50: Waiting for worker…
2025-05-06 18:17.17: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
Updating files: 88% (20460/23006)
Updating files: 89% (20476/23006)
Updating files: 90% (20706/23006)
Updating files: 91% (20936/23006)
Updating files: 92% (21166/23006)
Updating files: 93% (21396/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-4.14@sha256:5f7e85e8433bbeaa7d6d5950f953411f3bda6c29c0ad25421de1d7e7b3e1c5b5)
Unable to find image 'ocaml/opam:fedora-41-ocaml-4.14@sha256:5f7e85e8433bbeaa7d6d5950f953411f3bda6c29c0ad25421de1d7e7b3e1c5b5' locally
docker.io/ocaml/opam@sha256:5f7e85e8433bbeaa7d6d5950f953411f3bda6c29c0ad25421de1d7e7b3e1c5b5: Pulling from ocaml/opam
93e3f450083f: Pulling fs layer
93e3f450083f: Verifying Checksum
93e3f450083f: Download complete
93e3f450083f: Pull complete
Digest: sha256:5f7e85e8433bbeaa7d6d5950f953411f3bda6c29c0ad25421de1d7e7b3e1c5b5
Status: Downloaded newer image for ocaml/opam@sha256:5f7e85e8433bbeaa7d6d5950f953411f3bda6c29c0ad25421de1d7e7b3e1c5b5
2025-05-06 18:18.40 ---> using "f2220bfff49e12c90a8675a40659ad73b0d25bd7e8915f672671703631cced57" 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:18.40 ---> using "258c583c29277e63d69b1cd0a999d5aa0c835df3063e50f4ccfd82accb4e79a4" 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:18.40 ---> using "e9f37f0f2a90c8227a80ca19737c52d1974b10f6c187a0cc3b8b2a4325401409" 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 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-05-06 18:18.40 ---> using "25b019b3aaa767a05388426ea24aa3abc46982b7fb00ba4de9b7f7c299a9186d" 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:18.40 ---> using "c1b4c064c315e68f6b8fd288be8d5ed10181fcc00caf4cdcf36e0850458bc993" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-05-06 18:18.51 ---> saved as "96ff2846ae8c97dc88b2edf6cda0b9f803bef435d86016ea9df5915e5e41f4f2"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-05-06 18:19.14 ---> saved as "7b3842dd575882293917c82a16a66157e1823c137945cab42f176b4377b8099c"
/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% | 133.4 KiB/s | 23.2 KiB | 00m00s
- Fedora 41 - x86_64 - Updates 100% | 6.0 MiB/s | 3.5 MiB | 00m01s
- Repositories loaded.
- Metadata cache created.
2025-05-06 18:19.18 ---> saved as "5d105a6bb137c4f188a7bcf30766b12c806164607550b8847d1f8bdd88baf9a8"
/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:19.19 ---> saved as "c6ff292e9d3ee686bdeba96a871e4f8aeacd07b5276af8540c9132ee8c1792c6"
/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 \"\\\"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-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
* No agreement on the version of ocaml:
- (invariant) -> ocaml-base-compiler = 4.14.2 -> ocaml = 4.14.2
- ocaml-unikraft-x86_64 -> ocaml = 5.3.0
You can temporarily relax the switch invariant with `--update-invariant'
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 "\"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-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:20.05: Job failed: Failed: Build failed
2025-05-06 18:20.05: Log analysis:
2025-05-06 18:20.05: >>>
No solution found, exiting
(score = 100)
2025-05-06 18:20.05: [SKIP] Package not available