2025-03-05 21:25.48: New job: test mirage/mirage-net-xen https://github.com/mirage/mirage-net-xen.git#refs/heads/main (11815dcad78e039df8656e4802f82198fe5630b3) (linux-x86_64:ubuntu-22.04-4.14_opam-2.3)
Base: ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:dde8f937ea1913c8d9d3d3b31fb86940343e4f6064faa28acc4947bc28d19158
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/mirage-net-xen.git" -b "main" && cd "mirage-net-xen" && git reset --hard 11815dca
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:dde8f937ea1913c8d9d3d3b31fb86940343e4f6064faa28acc4947bc28d19158
# ubuntu-22.04-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 91d74cddbf72d811a49b9630c97f596a1cff1b01 || git fetch origin master) && git reset -q --hard 91d74cddbf72d811a49b9630c97f596a1cff1b01 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-net-xen.opam ./
RUN opam pin add -yn mirage-net-xen.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base bheap.2.0.0 cmdliner.1.3.0 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.1 dune.3.17.2 dune-configurator.3.17.2 duration.0.2.1 fmt.0.9.0 io-page.3.0.0 ipaddr.5.6.0 logs.0.7.0 lwt.5.9.0 lwt-dllist.1.0.1 macaddr.5.6.0 metrics.0.4.1 metrics-lwt.0.4.1 mirage-net.4.0.0 mirage-runtime.4.9.0 mirage-sleep.4.0.0 mirage-xen.9.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 shared-memory-ring.3.2.1 shared-memory-ring-lwt.3.2.1 topkg.1.0.7 xenstore.2.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y mirage-net-xen.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-03-05 21:25.48: Using cache hint "mirage/mirage-net-xen-ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:dde8f937ea1913c8d9d3d3b31fb86940343e4f6064faa28acc4947bc28d19158-ubuntu-22.04-4.14_opam-2.3-9ed7509e73da0f1c3164469f17268f29"
2025-03-05 21:25.48: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:dde8f937ea1913c8d9d3d3b31fb86940343e4f6064faa28acc4947bc28d19158)
(comment ubuntu-22.04-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 91d74cddbf72d811a49b9630c97f596a1cff1b01 || git fetch origin master) && git reset -q --hard 91d74cddbf72d811a49b9630c97f596a1cff1b01 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mirage-net-xen.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn mirage-net-xen.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base bheap.2.0.0 cmdliner.1.3.0 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.1 dune.3.17.2 dune-configurator.3.17.2 duration.0.2.1 fmt.0.9.0 io-page.3.0.0 ipaddr.5.6.0 logs.0.7.0 lwt.5.9.0 lwt-dllist.1.0.1 macaddr.5.6.0 metrics.0.4.1 metrics-lwt.0.4.1 mirage-net.4.0.0 mirage-runtime.4.9.0 mirage-sleep.4.0.0 mirage-xen.9.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 shared-memory-ring.3.2.1 shared-memory-ring-lwt.3.2.1 topkg.1.0.7 xenstore.2.3.0")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y mirage-net-xen.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-03-05 21:25.48: Waiting for resource in pool OCluster
2025-03-05 21:35.07: Waiting for worker…
2025-03-05 21:37.42: Got resource from pool OCluster
Building on x86-bm-c8.sw.ocaml.org
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/mirage-net-xen.git-03f9924caf5725bcc4bb1f8c2d58dae33c0989d8/.git/
HEAD is now at 11815dc changes for 2.1.5
(from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:dde8f937ea1913c8d9d3d3b31fb86940343e4f6064faa28acc4947bc28d19158)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:dde8f937ea1913c8d9d3d3b31fb86940343e4f6064faa28acc4947bc28d19158' locally
docker.io/ocaml/opam@sha256:dde8f937ea1913c8d9d3d3b31fb86940343e4f6064faa28acc4947bc28d19158: Pulling from ocaml/opam
10d69286caee: Pulling fs layer
10d69286caee: Verifying Checksum
10d69286caee: Download complete
10d69286caee: Pull complete
Digest: sha256:dde8f937ea1913c8d9d3d3b31fb86940343e4f6064faa28acc4947bc28d19158
Status: Downloaded newer image for ocaml/opam@sha256:dde8f937ea1913c8d9d3d3b31fb86940343e4f6064faa28acc4947bc28d19158
2025-03-05 21:39.44 ---> saved as "3876891a3262e12317fc2c0c1c18b02258ee0abf5223e4b834eb0623ec1eafc3"
/: (comment ubuntu-22.04-4.14_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-03-05 21:39.44 ---> saved as "cf17b3cf0193d01b5d87b6958b67898c2b8db52b228401b069b6275b3f49aac2"
/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then 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 255 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=255 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-03-05 21:41.10 ---> saved as "97e3688876b56c58a3d98277256270fd8ab7b243ffbf3c567469e3f9d7293f31"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-03-05 21:41.10 ---> saved as "5cb9119df828b04147daa6c17585dfd1008ec275d1123f958730e8c2d7bbe83d"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-03-05 21:41.10 ---> saved as "fc994d33f50f8cff1ab79beb366747dbfb1112cbd8543bffef30427c4ebf430f"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 91d74cddbf72d811a49b9630c97f596a1cff1b01 || git fetch origin master) && git reset -q --hard 91d74cddbf72d811a49b9630c97f596a1cff1b01 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
94514fa0d0..91d74cddbf master -> origin/master
91d74cddbf Merge pull request #27551 from hannesm/release-mirage-v4.9.0
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-03-05 21:42.15 ---> saved as "8da0f799a98390a5a586c837fe3d2dbeb0b20d66f2d848fadae5fe05e785b7c5"
/src: (copy (src mirage-net-xen.opam) (dst ./))
2025-03-05 21:42.15 ---> saved as "101e1ad13516d845e1ba280b8c9d36761c3696b6b45c43aa450e8e2f8dcf1035"
/src: (run (network host)
(shell "opam pin add -yn mirage-net-xen.dev './'"))
[mirage-net-xen.dev] synchronised (file:///src)
mirage-net-xen is now pinned to file:///src (version dev)
2025-03-05 21:42.18 ---> saved as "14c9cde8cba1dd84797f19f64b02ba83d19a72954bcf8af146abe5dd0c851640"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-05 21:42.18 ---> saved as "2610fa7ba7db03c311c1ca81c93c47f834755a6ef6be80e8b902a92e2394cb71"
/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base bheap.2.0.0 cmdliner.1.3.0 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.1 dune.3.17.2 dune-configurator.3.17.2 duration.0.2.1 fmt.0.9.0 io-page.3.0.0 ipaddr.5.6.0 logs.0.7.0 lwt.5.9.0 lwt-dllist.1.0.1 macaddr.5.6.0 metrics.0.4.1 metrics-lwt.0.4.1 mirage-net.4.0.0 mirage-runtime.4.9.0 mirage-sleep.4.0.0 mirage-xen.9.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 shared-memory-ring.3.2.1 shared-memory-ring-lwt.3.2.1 topkg.1.0.7 xenstore.2.3.0")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y mirage-net-xen.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1533 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [3891 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2988 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [35.2 kB]
- Get:9 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [3755 kB]
- Get:10 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1235 kB]
- Get:11 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2682 kB]
- Fetched 16.5 MB in 2s (11.0 MB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-net-xen.dev] synchronised (file:///src)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following system packages will first need to be installed:
pkg-config
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libglib2.0-0:amd64.
- (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 ... 15645 files and directories currently installed.)
- Preparing to unpack .../0-libglib2.0-0_2.72.4-0ubuntu2.4_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.72.4-0ubuntu2.4) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../1-libglib2.0-data_2.72.4-0ubuntu2.4_all.deb ...
- Unpacking libglib2.0-data (2.72.4-0ubuntu2.4) ...
- Selecting previously unselected package libicu70:amd64.
- Preparing to unpack .../2-libicu70_70.1-2_amd64.deb ...
- Unpacking libicu70:amd64 (70.1-2) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../3-libxml2_2.9.13+dfsg-1ubuntu0.6_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.13+dfsg-1ubuntu0.6) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../4-shared-mime-info_2.1-2_amd64.deb ...
- Unpacking shared-mime-info (2.1-2) ...
- Selecting previously unselected package xdg-user-dirs.
- Preparing to unpack .../5-xdg-user-dirs_0.17-2ubuntu4_amd64.deb ...
- Unpacking xdg-user-dirs (0.17-2ubuntu4) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../6-pkg-config_0.29.2-1ubuntu3_amd64.deb ...
- Unpacking pkg-config (0.29.2-1ubuntu3) ...
- Setting up xdg-user-dirs (0.17-2ubuntu4) ...
- Setting up libglib2.0-0:amd64 (2.72.4-0ubuntu2.4) ...
- No schema files found: doing nothing.
- Setting up libglib2.0-data (2.72.4-0ubuntu2.4) ...
- Setting up pkg-config (0.29.2-1ubuntu3) ...
- Setting up libicu70:amd64 (70.1-2) ...
- Setting up libxml2:amd64 (2.9.13+dfsg-1ubuntu0.6) ...
- Setting up shared-mime-info (2.1-2) ...
- Processing triggers for libc-bin (2.35-0ubuntu3.9) ...
2025-03-05 21:42.52 ---> saved as "d649f0144381cb9340a38351c4945d392a647af3a94ec86bef060eb6d5a04835"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 31 packages
- install base-bytes base
- install bheap 2.0.0
- install cmdliner 1.3.0
- install conf-pkg-config 4
- install cppo 1.8.0
- install csexp 1.5.2
- install cstruct 6.2.0
- install domain-name 0.4.1
- install dune 3.17.2
- install dune-configurator 3.17.2
- install duration 0.2.1
- install fmt 0.9.0
- install io-page 3.0.0
- install ipaddr 5.6.0
- install logs 0.7.0
- install lwt 5.9.0
- install lwt-dllist 1.0.1
- install macaddr 5.6.0
- install metrics 0.4.1
- install metrics-lwt 0.4.1
- install mirage-net 4.0.0
- install mirage-runtime 4.9.0
- install mirage-sleep 4.0.0
- install mirage-xen 9.0.0
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install ocplib-endian 1.2
- install shared-memory-ring 3.2.1
- install shared-memory-ring-lwt 3.2.1
- install topkg 1.0.7
- install xenstore 2.3.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bheap.2.0.0 (cached)
-> installed conf-pkg-config.4
-> retrieved cppo.1.8.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved cstruct.6.2.0 (cached)
-> retrieved domain-name.0.4.1 (cached)
-> retrieved duration.0.2.1 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved io-page.3.0.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved ipaddr.5.6.0, macaddr.5.6.0 (cached)
-> retrieved lwt-dllist.1.0.1 (cached)
-> retrieved lwt.5.9.0 (cached)
-> retrieved metrics.0.4.1, metrics-lwt.0.4.1 (cached)
-> retrieved mirage-net.4.0.0 (cached)
-> retrieved mirage-sleep.4.0.0 (cached)
-> retrieved mirage-runtime.4.9.0 (cached)
-> retrieved mirage-xen.9.0.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved shared-memory-ring.3.2.1, shared-memory-ring-lwt.3.2.1 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved xenstore.2.3.0 (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.0.7
-> installed fmt.0.9.0
-> installed dune.3.17.2
-> installed bheap.2.0.0
-> installed lwt-dllist.1.0.1
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed cstruct.6.2.0
-> installed domain-name.0.4.1
-> installed macaddr.5.6.0
-> installed metrics.0.4.1
-> installed io-page.3.0.0
-> installed shared-memory-ring.3.2.1
-> installed ocplib-endian.1.2
-> installed ipaddr.5.6.0
-> installed dune-configurator.3.17.2
-> installed lwt.5.9.0
-> installed mirage-net.4.0.0
-> installed shared-memory-ring-lwt.3.2.1
-> installed mirage-sleep.4.0.0
-> installed xenstore.2.3.0
-> installed logs.0.7.0
-> installed metrics-lwt.0.4.1
-> installed mirage-runtime.4.9.0
-> installed mirage-xen.9.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-05 21:44.14 ---> saved as "f885c6c7d43851bc213baa3dd91d9740f3aa4557b42d754b6f5bf397a58a0957"
/src: (copy (src .) (dst /src))
2025-03-05 21:44.14 ---> saved as "3a6ea43131988f6630931eaed22d4db367430b09047622dc3cab5ebc7089dd5e"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-03-05 21:44.15 ---> saved as "a9960977d69780913957d5d1f84e818de3d311b8e0b7048cf9d59d19c2c06dda"
Job succeeded
2025-03-05 21:44.16: Job succeeded