(not at the head of any monitored branch or PR)
2025-05-06 18:08.06: New job: build ocaml-unikraft-backend-qemu-arm64.0.18.0, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27856/head (232285450638d122b7441a6f42923184e4a1835b)
                              on archlinux-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:archlinux-ocaml-4.14@sha256:421fe429e0e737e76780332a96ff16fa786542d0c016419796ce20de1e0552b6
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-backend-qemu-arm64.0.18.0 0.18.0
RUN opam reinstall ocaml-unikraft-backend-qemu-arm64.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 "\"archlinux\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'ocaml-unikraft-backend-qemu-arm64.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:archlinux-ocaml-4.14@sha256:421fe429e0e737e76780332a96ff16fa786542d0c016419796ce20de1e0552b6-ocaml-unikraft-backend-qemu-arm64.0.18.0-232285450638d122b7441a6f42923184e4a1835b"
2025-05-06 18:08.06: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-4.14@sha256:421fe429e0e737e76780332a96ff16fa786542d0c016419796ce20de1e0552b6)
 (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-backend-qemu-arm64.0.18.0 0.18.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ocaml-unikraft-backend-qemu-arm64.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 \"\\\"archlinux\\\"\"; 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-backend-qemu-arm64.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:16.54: Waiting for worker…
2025-05-06 18:19.02: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
Updating files:  89% (20568/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:archlinux-ocaml-4.14@sha256:421fe429e0e737e76780332a96ff16fa786542d0c016419796ce20de1e0552b6)
Unable to find image 'ocaml/opam:archlinux-ocaml-4.14@sha256:421fe429e0e737e76780332a96ff16fa786542d0c016419796ce20de1e0552b6' locally
docker.io/ocaml/opam@sha256:421fe429e0e737e76780332a96ff16fa786542d0c016419796ce20de1e0552b6: Pulling from ocaml/opam
8d75cd018ad1: Pulling fs layer
8d75cd018ad1: Waiting
8d75cd018ad1: Verifying Checksum
8d75cd018ad1: Download complete
8d75cd018ad1: Pull complete
Digest: sha256:421fe429e0e737e76780332a96ff16fa786542d0c016419796ce20de1e0552b6
Status: Downloaded newer image for ocaml/opam@sha256:421fe429e0e737e76780332a96ff16fa786542d0c016419796ce20de1e0552b6
2025-05-06 18:20.52 ---> using "d1994adeabf600a1d5197b213c155cd2370f0366114747987f0f9bbabdfa9e32" 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:20.52 ---> using "a34f4745e8139f6633df78ef467e7c837243242ac4d9d38d7b249be5e37740bb" 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
[NOTE] The 'jobs' option was reset, its value was 31 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=31 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-05-06 18:20.52 ---> using "0cda2dce9a52cfff8a324bfa08f28a088f35c41fbbb584ea2953d6d2ad7c5a66" 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=arch os-version=20250427.0.341977
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# 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:20.52 ---> using "61eefd0850c7308eacbd717cee015157520df4480e36bc4a3718b135e66f1b03" 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:20.52 ---> using "c769c61afd54b8aa80778235e81eededd7c49476445a4f4c1746882e13e1b3b6" from cache

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

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-05-06 18:21.41 ---> saved as "40b9a6a26708fdf405992f32d0fd171abf46ffc899b2347c733d199d405d1e3c"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
-  core downloading...
-  extra downloading...
2025-05-06 18:21.43 ---> saved as "02e7be60b0206222f03308daffd706f5f05f4833fd43b7a91ae0875269b914d9"

/home/opam: (run (shell "opam pin add -k version -yn ocaml-unikraft-backend-qemu-arm64.0.18.0 0.18.0"))
ocaml-unikraft-backend-qemu-arm64 is now pinned to version 0.18.0
2025-05-06 18:21.44 ---> saved as "a8b40092236023d1f88fd4d5335299e344b9662965df9f48fb5ee27a04423ade"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ocaml-unikraft-backend-qemu-arm64.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 \"\\\"archlinux\\\"\"; 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-backend-qemu-arm64.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-backend-qemu-arm64.0.18.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 5 packages
  ∗ conf-bison                        2               [required by unikraft]
  ∗ conf-flex                         2               [required by unikraft]
  ∗ conf-python-3                     9.0.0           [required by unikraft]
  ∗ ocaml-unikraft-backend-qemu-arm64 0.18.0 (pinned)
  ∗ unikraft                          0.18.0          [required by ocaml-unikraft-backend-qemu-arm64]

The following system packages will first need to be installed:
    aarch64-linux-gnu-gcc bison flex python

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run pacman to install them (may need root/sudo access)
  2. Display the recommended pacman command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/sbin/sudo "pacman" "-Su" "--noconfirm" "aarch64-linux-gnu-gcc" "bison" "flex" "python"
- :: Starting full system upgrade...
- resolving dependencies...
- looking for conflicting packages...
- warning: dependency cycle detected:
- warning: aarch64-linux-gnu-glibc will be installed before its aarch64-linux-gnu-gcc dependency
- 
- Package (13)                               Old Version  New Version  Net Change  Download Size
- 
- extra/aarch64-linux-gnu-binutils                        2.43-1        39.94 MiB       5.30 MiB
- extra/aarch64-linux-gnu-glibc                           2.41-1        33.65 MiB       3.57 MiB
- extra/aarch64-linux-gnu-linux-api-headers               6.12-1         6.34 MiB       1.38 MiB
- core/bash                                  5.2.037-2    5.2.037-3     -0.02 MiB       1.80 MiB
- core/device-mapper                         2.03.31-1    2.03.32-1      0.01 MiB       0.27 MiB
- core/gettext                               0.24-3       0.24.1-1       0.12 MiB       2.33 MiB
- core/m4                                                 1.4.19-3       0.47 MiB       0.24 MiB
- core/mpdecimal                                          4.0.0-2        0.32 MiB       0.10 MiB
- core/pacman-mirrorlist                     20250311-1   20250503-1     0.00 MiB       0.01 MiB
- extra/aarch64-linux-gnu-gcc                             14.2.0-1     353.44 MiB      77.33 MiB
- core/bison                                              3.8.2-8        2.52 MiB       0.75 MiB
- core/flex                                               2.6.4-5        0.93 MiB       0.30 MiB
- core/python                                             3.13.3-1      67.42 MiB      12.25 MiB
- 
- Total Download Size:   105.62 MiB
- Total Installed Size:  523.97 MiB
- Net Upgrade Size:      505.15 MiB
- 
- :: Proceed with installation? [Y/n] 
- :: Retrieving packages...
-  aarch64-linux-gnu-gcc-14.2.0-1-x86_64 downloading...
-  python-3.13.3-1-x86_64 downloading...
-  aarch64-linux-gnu-binutils-2.43-1-x86_64 downloading...
-  aarch64-linux-gnu-glibc-2.41-1-any downloading...
-  gettext-0.24.1-1-x86_64 downloading...
-  bash-5.2.037-3-x86_64 downloading...
-  aarch64-linux-gnu-linux-api-headers-6.12-1-any downloading...
-  bison-3.8.2-8-x86_64 downloading...
-  flex-2.6.4-5-x86_64 downloading...
-  device-mapper-2.03.32-1-x86_64 downloading...
-  m4-1.4.19-3-x86_64 downloading...
-  mpdecimal-4.0.0-2-x86_64 downloading...
-  pacman-mirrorlist-20250503-1-any downloading...
- checking keyring...
- checking package integrity...
- loading package files...
- checking for file conflicts...
- :: Processing package changes...
- upgrading bash...
- installing aarch64-linux-gnu-binutils...
- installing aarch64-linux-gnu-linux-api-headers...
- installing aarch64-linux-gnu-glibc...
- installing aarch64-linux-gnu-gcc...
- upgrading gettext...
- New optional dependencies for gettext
-     appstream-glib: for appstream support
- installing m4...
- installing bison...
- installing flex...
- installing mpdecimal...
- installing python...
- Optional dependencies for python
-     python-setuptools: for building Python packages using tooling that is usually bundled with Python
-     python-pip: for installing Python packages using tooling that is usually bundled with Python
-     python-pipx: for installing Python software not packaged on Arch Linux
-     sqlite: for a default database integration [installed]
-     xz: for lzma [installed]
-     tk: for tkinter
- upgrading device-mapper...
- upgrading pacman-mirrorlist...
- :: Running post-transaction hooks...
- (1/4) Reloading system manager configuration...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- (2/4) Restarting marked services...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- (3/4) Reloading device manager configuration...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Device manager is not running.
- (4/4) Arming ConditionNeedsUpdate...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved conf-python-3.9.0.0  (cached)
⬇ retrieved ocaml-unikraft-backend-qemu-arm64.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-arm64.0.18.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-06 18:22.52 ---> saved as "098ea0a4cea8b1ca238fd52ef6e83c90013c7b05cd617241a378ac048a9aed5c"
Job succeeded
2025-05-06 18:23.08: Job succeeded