(not at the head of any monitored branch or PR)
2025-05-06 18:08.06: New job: build ocaml-unikraft-toolchain-x86_64.0.18.0, using opam 2.0
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27856/head (232285450638d122b7441a6f42923184e4a1835b)
                              on debian-12-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:debian-12-ocaml-5.3@sha256:1b8db2464075e045f2710c633c15ec40916e273f0dea1055c6f56c58e621387a
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn ocaml-unikraft-toolchain-x86_64.0.18.0 0.18.0
RUN opam depext ocaml-unikraft-toolchain-x86_64.0.18.0 && 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 "\"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-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.06: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:1b8db2464075e045f2710c633c15ec40916e273f0dea1055c6f56c58e621387a-ocaml-unikraft-toolchain-x86_64.0.18.0-232285450638d122b7441a6f42923184e4a1835b"
2025-05-06 18:08.06: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:1b8db2464075e045f2710c633c15ec40916e273f0dea1055c6f56c58e621387a)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "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 depext -u || 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 depext ocaml-unikraft-toolchain-x86_64.0.18.0 && 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 \"\\\"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-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.06: Waiting for resource in pool OCluster
2025-05-06 18:17.25: Waiting for worker…
2025-05-06 18:19.24: Got resource from pool OCluster
Building on x86-bm-c7.sw.ocaml.org
All commits already cached
Updating files:  88% (20364/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:debian-12-ocaml-5.3@sha256:1b8db2464075e045f2710c633c15ec40916e273f0dea1055c6f56c58e621387a)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:1b8db2464075e045f2710c633c15ec40916e273f0dea1055c6f56c58e621387a' locally
docker.io/ocaml/opam@sha256:1b8db2464075e045f2710c633c15ec40916e273f0dea1055c6f56c58e621387a: Pulling from ocaml/opam
ddbd326690dc: Pulling fs layer
ddbd326690dc: Verifying Checksum
ddbd326690dc: Download complete
ddbd326690dc: Pull complete
Digest: sha256:1b8db2464075e045f2710c633c15ec40916e273f0dea1055c6f56c58e621387a
Status: Downloaded newer image for ocaml/opam@sha256:1b8db2464075e045f2710c633c15ec40916e273f0dea1055c6f56c58e621387a
2025-05-06 18:19.26 ---> using "c27ab789c36f636d2f62a674e3eae2c305d73399092c4108cbaa52dc8a10012e" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2025-05-06 18:19.26 ---> using "ecec621c23bf21a9a3696f19ca1c00a80eae747019bee55bc58d9123f79a72e2" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.

[WARNING] Recommended dependencies -- most packages rely on these:
  - m4

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2025-05-06 18:19.26 ---> using "e859b841bac8e590b7528224571eb481079bafca0e8ac38510564715583e2489" from cache

/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version      2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b) 
# self-upgrade      no
# system            arch=x86_64 os=linux os-distribution=debian os-version=12
# solver            builtin-mccs+glpk
# install-criteria  -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria  -removed,-count[version-lag,solution],-new
# jobs              39
# repositories      1 (version-controlled)
# pinned            1 (version)
# current-switch    5.3
2025-05-06 18:19.26 ---> using "a9073a77c8811db15ca1e65acdfb1b136713beb32395a052ee42a1f625a3d28f" 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:19.26 ---> using "5005fae55fd7b490ffaf6d383925bad9f7c1a0c95ec1009cd0dac4917fb4179d" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-05-06 18:19.34 ---> saved as "ced5185cd9807a2a19dc4dcee01819937358e1fba3ce416d3229b8ffcd554dd2"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2025-05-06 18:19.49 ---> saved as "99aa83d9a1e45cc42b95bab3fd2d819839b028f6b4b644ce7a38ac9846267d13"

/home/opam: (run (network host)
                 (shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "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]
Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [258 kB]
Fetched 361 kB in 0s (1308 kB/s)
Reading package lists...
# OS package update successful
2025-05-06 18:19.51 ---> saved as "dffcdd382e620b589eb9ac87a69f60b9a83018f36a5e3c59cef3be8997d8fe18"

/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:19.52 ---> saved as "60a13fe95179319a748fab7e0b2a09bdc9882e38cda4c252f77d47c3c06eeee4"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext ocaml-unikraft-toolchain-x86_64.0.18.0 && 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 \"\\\"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-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"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
bison
flex
python3
# The following system packages are needed:
The following command needs to be run through "sudo":
    apt-get install -qq -yy bison flex python3
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package m4.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18778 files and directories currently installed.)
Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
Unpacking m4 (1.4.19-3) ...
Selecting previously unselected package flex.
Preparing to unpack .../flex_2.6.4-8.2_amd64.deb ...
Unpacking flex (2.6.4-8.2) ...
Selecting previously unselected package libpython3.11-minimal:amd64.
Preparing to unpack .../libpython3.11-minimal_3.11.2-6+deb12u5_amd64.deb ...
Unpacking libpython3.11-minimal:amd64 (3.11.2-6+deb12u5) ...
Selecting previously unselected package python3.11-minimal.
Preparing to unpack .../python3.11-minimal_3.11.2-6+deb12u5_amd64.deb ...
Unpacking python3.11-minimal (3.11.2-6+deb12u5) ...
Setting up libpython3.11-minimal:amd64 (3.11.2-6+deb12u5) ...
Setting up python3.11-minimal (3.11.2-6+deb12u5) ...
Selecting previously unselected package python3-minimal.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 19267 files and directories currently installed.)
Preparing to unpack .../python3-minimal_3.11.2-1+b1_amd64.deb ...
Unpacking python3-minimal (3.11.2-1+b1) ...
Selecting previously unselected package media-types.
Preparing to unpack .../media-types_10.0.0_all.deb ...
Unpacking media-types (10.0.0) ...
Selecting previously unselected package libpython3.11-stdlib:amd64.
Preparing to unpack .../libpython3.11-stdlib_3.11.2-6+deb12u5_amd64.deb ...
Unpacking libpython3.11-stdlib:amd64 (3.11.2-6+deb12u5) ...
Selecting previously unselected package python3.11.
Preparing to unpack .../python3.11_3.11.2-6+deb12u5_amd64.deb ...
Unpacking python3.11 (3.11.2-6+deb12u5) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../libpython3-stdlib_3.11.2-1+b1_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.11.2-1+b1) ...
Setting up python3-minimal (3.11.2-1+b1) ...
Selecting previously unselected package python3.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 19677 files and directories currently installed.)
Preparing to unpack .../python3_3.11.2-1+b1_amd64.deb ...
Unpacking python3 (3.11.2-1+b1) ...
Selecting previously unselected package bison.
Preparing to unpack .../bison_2%3a3.8.2+dfsg-1+b1_amd64.deb ...
Unpacking bison (2:3.8.2+dfsg-1+b1) ...
Selecting previously unselected package libfl2:amd64.
Preparing to unpack .../libfl2_2.6.4-8.2_amd64.deb ...
Unpacking libfl2:amd64 (2.6.4-8.2) ...
Selecting previously unselected package libfl-dev:amd64.
Preparing to unpack .../libfl-dev_2.6.4-8.2_amd64.deb ...
Unpacking libfl-dev:amd64 (2.6.4-8.2) ...
Setting up media-types (10.0.0) ...
Setting up libpython3.11-stdlib:amd64 (3.11.2-6+deb12u5) ...
Setting up m4 (1.4.19-3) ...
Setting up libfl2:amd64 (2.6.4-8.2) ...
Setting up bison (2:3.8.2+dfsg-1+b1) ...
update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode
Setting up libpython3-stdlib:amd64 (3.11.2-1+b1) ...
Setting up python3.11 (3.11.2-6+deb12u5) ...
Setting up flex (2.6.4-8.2) ...
Setting up python3 (3.11.2-1+b1) ...
running python rtupdate hooks for python3.11...
running python post-rtupdate hooks for python3.11...
Setting up libfl-dev:amd64 (2.6.4-8.2) ...
Processing triggers for libc-bin (2.36-9+deb12u10) ...
# OS packages installation successful
ocaml-unikraft-toolchain-x86_64.0.18.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install conf-python-3                             9.0.0   [required by unikraft]
  - install conf-bison                                2       [required by unikraft]
  - install conf-flex                                 2       [required by unikraft]
  - install unikraft                                  0.18.0  [required by ocaml-unikraft-backend-firecracker-x86_64]
  - install ocaml-unikraft-backend-firecracker-x86_64 0.18.0  [required by ocaml-unikraft-toolchain-x86_64]
  - install ocaml-unikraft-toolchain-x86_64           0.18.0*
===== 6 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-unikraft-backend-firecracker-x86_64.0.18.0] found in cache
[ocaml-unikraft-toolchain-x86_64.0.18.0] found in cache
[unikraft.0.18.0] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-bison.2
-> installed conf-flex.2
-> installed conf-python-3.9.0.0
-> installed unikraft.0.18.0
-> installed ocaml-unikraft-backend-firecracker-x86_64.0.18.0
-> installed ocaml-unikraft-toolchain-x86_64.0.18.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-05-06 18:20.53 ---> saved as "386036659906c58ffee21084e91ab0680d6a7963bfc759fb1bedadc5a92002f4"
Job succeeded
2025-05-06 18:21.04: Job succeeded