2025-08-18 07:44.15: New job: test mirage/mirage-net-xen https://github.com/mirage/mirage-net-xen.git#refs/heads/main (04295d4a8100f31ca558fabad7e3f7a6a92e90a2) (linux-x86_64:ubuntu-25.04-4.14_opam-2.4)
Base: ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:779fe3e8adee8595b832aced56824d9d13d0be832ef776548413a808dd2134ca
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 04295d4a
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:779fe3e8adee8595b832aced56824d9d13d0be832ef776548413a808dd2134ca
# ubuntu-25.04-4.14_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 5be4501fa6ddc55d3c341fd2677b53c60808c6e0 || git fetch origin master) && git reset -q --hard 5be4501fa6ddc55d3c341fd2677b53c60808c6e0 && 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.19.1 dune-configurator.3.19.1 duration.0.2.1 fmt.0.11.0 io-page.3.0.0 ipaddr.5.6.1 logs.0.9.0 lwt.5.9.1 lwt-dllist.1.1.0 macaddr.5.6.1 metrics.0.5.0 metrics-lwt.0.5.0 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 ounit2.2.2.7 seq.base shared-memory-ring.3.2.1 shared-memory-ring-lwt.3.2.1 stdlib-shims.0.3.0 topkg.1.1.0 xenstore.2.4.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --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-08-18 07:44.15: Using cache hint "mirage/mirage-net-xen-ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:779fe3e8adee8595b832aced56824d9d13d0be832ef776548413a808dd2134ca-ubuntu-25.04-4.14_opam-2.4-2133aa3c12461f3e10494bf6bbd7b017"
2025-08-18 07:44.15: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:779fe3e8adee8595b832aced56824d9d13d0be832ef776548413a808dd2134ca)
(comment ubuntu-25.04-4.14_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /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 5be4501fa6ddc55d3c341fd2677b53c60808c6e0 || git fetch origin master) && git reset -q --hard 5be4501fa6ddc55d3c341fd2677b53c60808c6e0 && 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.19.1 dune-configurator.3.19.1 duration.0.2.1 fmt.0.11.0 io-page.3.0.0 ipaddr.5.6.1 logs.0.9.0 lwt.5.9.1 lwt-dllist.1.1.0 macaddr.5.6.1 metrics.0.5.0 metrics-lwt.0.5.0 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 ounit2.2.2.7 seq.base shared-memory-ring.3.2.1 shared-memory-ring-lwt.3.2.1 stdlib-shims.0.3.0 topkg.1.1.0 xenstore.2.4.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.4 --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-08-18 07:44.15: Waiting for resource in pool OCluster
2025-08-18 07:44.15: Waiting for worker…
2025-08-18 07:44.15: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
HEAD is now at 5b9c93d apply review from PR, use failwith instead of assert false @hannesm
HEAD is now at 04295d4 reuse allocated pages to avoid allocation for each client packet (#114)
(from ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:779fe3e8adee8595b832aced56824d9d13d0be832ef776548413a808dd2134ca)
2025-08-18 07:44.16 ---> using "db10c73956f19687df50e70fc2a6ec82e83bd4ced477aa335db11ce5a5ded33d" from cache
/: (comment ubuntu-25.04-4.14_opam-2.4)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-08-18 07:44.16 ---> using "607f475d86682b8922ca64d778be67777803bdb02a1111a19f7e2368a92640c5" from cache
/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 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-08-18 07:44.16 ---> using "d5812e409cdf2de6b137a3c943320ca0e0bdc091bd85e44c8cfa24823bf5dd50" from cache
/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.4.1
2025-08-18 07:44.16 ---> using "e8e07bcdba13a5ac17e8bc4b0a9806f88dc997a3ee2245ba216eb2957362da39" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-08-18 07:44.16 ---> using "3be4daf05c9dcba399fe091401d8741072a8e09673202c2358d57040a95d7cef" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 5be4501fa6ddc55d3c341fd2677b53c60808c6e0 || git fetch origin master) && git reset -q --hard 5be4501fa6ddc55d3c341fd2677b53c60808c6e0 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
ee8b9193dd..b3b872a94f master -> origin/master
5be4501fa6 Merge pull request #28281 from hannesm/release-ipaddr-v5.6.1
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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 at these versions (e.g. "opam upgrade ocaml.5.3.0"), 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-08-18 07:44.16 ---> using "3a130f9d774ed52fc0500db7b1da4fb43dba9d25aca26adcaa80491421cf8132" from cache
/src: (copy (src mirage-net-xen.opam) (dst ./))
2025-08-18 07:44.16 ---> using "23e664148db15bdc9a9464f388a50b39dac056afde26ae0b2f47b8c7bfe8300c" from cache
/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-08-18 07:44.16 ---> using "a683e3a85458ba636adda44fb8fef5375c0915cfdf83076c4208ad41e79a4976" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-08-18 07:44.16 ---> using "16b478925d8de6939bdac610526f4b0dab2c6bf1c0d138f2d763773129e377aa" from cache
/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.19.1 dune-configurator.3.19.1 duration.0.2.1 fmt.0.11.0 io-page.3.0.0 ipaddr.5.6.1 logs.0.9.0 lwt.5.9.1 lwt-dllist.1.1.0 macaddr.5.6.1 metrics.0.5.0 metrics-lwt.0.5.0 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 ounit2.2.2.7 seq.base shared-memory-ring.3.2.1 shared-memory-ring-lwt.3.2.1 stdlib-shims.0.3.0 topkg.1.1.0 xenstore.2.4.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.4 --depext-only -y mirage-net-xen.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu plucky InRelease
- Get:2 http://security.ubuntu.com/ubuntu plucky-security InRelease [126 kB]
- Get:3 http://archive.ubuntu.com/ubuntu plucky-updates InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu plucky-backports InRelease [126 kB]
- Get:5 http://archive.ubuntu.com/ubuntu plucky-updates/restricted amd64 Packages [200 kB]
- Get:6 http://archive.ubuntu.com/ubuntu plucky-updates/universe amd64 Packages [242 kB]
- Get:7 http://security.ubuntu.com/ubuntu plucky-security/restricted amd64 Packages [163 kB]
- Get:8 http://archive.ubuntu.com/ubuntu plucky-updates/main amd64 Packages [351 kB]
- Get:9 http://security.ubuntu.com/ubuntu plucky-security/universe amd64 Packages [133 kB]
- Get:10 http://security.ubuntu.com/ubuntu plucky-security/main amd64 Packages [217 kB]
- Fetched 1685 kB in 1s (2593 kB/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"
- Selecting previously unselected package libpkgconf3: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 ... 16503 files and directories currently installed.)
- Preparing to unpack .../libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-6ubuntu1.1) ...
2025-08-18 07:44.16 ---> using "a302b3394c478c7aa6f5a5d02da9be7a11eff3b607be4645cc0bb8bdb5032491" from cache
/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 34 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.19.1
- install dune-configurator 3.19.1
- install duration 0.2.1
- install fmt 0.11.0
- install io-page 3.0.0
- install ipaddr 5.6.1
- install logs 0.9.0
- install lwt 5.9.1
- install lwt-dllist 1.1.0
- install macaddr 5.6.1
- install metrics 0.5.0
- install metrics-lwt 0.5.0
- 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 ounit2 2.2.7
- install seq base
- install shared-memory-ring 3.2.1
- install shared-memory-ring-lwt 3.2.1
- install stdlib-shims 0.3.0
- install topkg 1.1.0
- install xenstore 2.4.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bheap.2.0.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cppo.1.8.0 (cached)
-> installed conf-pkg-config.4
-> 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 io-page.3.0.0 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved ipaddr.5.6.1, macaddr.5.6.1 (cached)
-> retrieved logs.0.9.0 (cached)
-> retrieved lwt-dllist.1.1.0 (cached)
-> retrieved metrics.0.5.0, metrics-lwt.0.5.0 (cached)
-> retrieved lwt.5.9.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 seq.base (cached)
-> installed seq.base
-> retrieved ounit2.2.2.7 (cached)
-> retrieved shared-memory-ring.3.2.1, shared-memory-ring-lwt.3.2.1 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved xenstore.2.4.0 (cached)
-> retrieved topkg.1.1.0 (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.0
-> installed fmt.0.11.0
-> installed dune.3.19.1
-> installed bheap.2.0.0
-> installed lwt-dllist.1.1.0
-> installed duration.0.2.1
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed cppo.1.8.0
-> installed domain-name.0.4.1
-> installed macaddr.5.6.1
-> installed metrics.0.5.0
-> installed ounit2.2.2.7
-> installed io-page.3.0.0
-> installed shared-memory-ring.3.2.1
-> installed ocplib-endian.1.2
-> installed ipaddr.5.6.1
-> installed dune-configurator.3.19.1
-> installed lwt.5.9.1
-> installed mirage-net.4.0.0
-> installed mirage-sleep.4.0.0
-> installed shared-memory-ring-lwt.3.2.1
-> installed xenstore.2.4.0
-> installed logs.0.9.0
-> installed metrics-lwt.0.5.0
-> installed mirage-runtime.4.9.0
-> installed mirage-xen.9.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-18 07:44.16 ---> using "eb31614b1174795421ac1fb283f37f56ec79ef2d14d84496412c653ec3ec2885" from cache
/src: (copy (src .) (dst /src))
2025-08-18 07:44.16 ---> using "bb029518d16d89a0793b3db72c33fd1b769fa3155bfb2dda4e149bbf6ad1448a" from cache
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-08-18 07:44.16 ---> using "037ffaad01545defb7e6951c6669ae6ffc2d32ead335971fadd76fead633c44d" from cache
Job succeeded
2025-08-18 07:44.16: Job succeeded