2024-10-01 14:13.54: New job: test mirage/mirage-net-xen https://github.com/mirage/mirage-net-xen.git#refs/heads/main (11815dcad78e039df8656e4802f82198fe5630b3) (linux-x86_64:ubuntu-20.04-4.14_opam-2.2)
Base: ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:bf9c9736fb6d75f71f9b3e6fd1b7bcda883cab65a57be8c8ccb7108e0a87f204
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-20.04-ocaml-4.14@sha256:bf9c9736fb6d75f71f9b3e6fd1b7bcda883cab65a57be8c8ccb7108e0a87f204
# ubuntu-20.04-4.14_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /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 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && 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 './'
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.3 cppo.1.7.0 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 io-page.3.0.0 ipaddr.5.6.0 logs.0.7.0 lwt.5.7.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.7.0 mirage-xen.8.0.3 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 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.2 --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
2024-10-01 14:13.54: Using cache hint "mirage/mirage-net-xen-ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:bf9c9736fb6d75f71f9b3e6fd1b7bcda883cab65a57be8c8ccb7108e0a87f204-ubuntu-20.04-4.14_opam-2.2-ab0236a73f5d0caaf375c8b73f430862"
2024-10-01 14:13.54: Using OBuilder spec:
((from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:bf9c9736fb6d75f71f9b3e6fd1b7bcda883cab65a57be8c8ccb7108e0a87f204)
(comment ubuntu-20.04-4.14_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.2 /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 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && 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 './'"))
(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.3 cppo.1.7.0 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 io-page.3.0.0 ipaddr.5.6.0 logs.0.7.0 lwt.5.7.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.7.0 mirage-xen.8.0.3 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 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.2 --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"))
)
2024-10-01 14:13.54: Waiting for resource in pool OCluster
2024-10-01 15:30.27: Waiting for worker…
2024-10-01 15:32.28: Got resource from pool OCluster
Building on x86-bm-c5.sw.ocaml.org
All commits already cached
HEAD is now at 11815dc changes for 2.1.5
(from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:bf9c9736fb6d75f71f9b3e6fd1b7bcda883cab65a57be8c8ccb7108e0a87f204)
Unable to find image 'ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:bf9c9736fb6d75f71f9b3e6fd1b7bcda883cab65a57be8c8ccb7108e0a87f204' locally
docker.io/ocaml/opam@sha256:bf9c9736fb6d75f71f9b3e6fd1b7bcda883cab65a57be8c8ccb7108e0a87f204: Pulling from ocaml/opam
40ffde063e3d: Pulling fs layer
40ffde063e3d: Verifying Checksum
40ffde063e3d: Download complete
40ffde063e3d: Pull complete
Digest: sha256:bf9c9736fb6d75f71f9b3e6fd1b7bcda883cab65a57be8c8ccb7108e0a87f204
Status: Downloaded newer image for ocaml/opam@sha256:bf9c9736fb6d75f71f9b3e6fd1b7bcda883cab65a57be8c8ccb7108e0a87f204
2024-10-01 15:32.30 ---> using "19903358f55ad283a3c432fd3daf0eca4a7b3397354c8b8cd39361c895368153" from cache
/: (comment ubuntu-20.04-4.14_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-10-01 15:32.30 ---> using "560306bc4b748d290694a4aa6f5bbe4f987f0fc2a334286cb03d4d29b79940d1" 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 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] synchronised from file:///home/opam/opam-repository
2024-10-01 15:32.30 ---> using "0c1bc42dfa7a75450b9bce2682dcc8b4660e53cba594bef2d8779be064af5ff8" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 4.14.2
2.2.1
2024-10-01 15:32.30 ---> using "e97093f9417edd20be70e8c69a567f9336bf05550f3defeb3ecd40445c793013" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-10-01 15:32.30 ---> using "c0b0da80366c1f1a111bddb1377a7c8a8fdd7afbd0f165a4c965930f974f94f5" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u"))
45f961713f Merge pull request #26585 from dra27/trunk-tweaks
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[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.
# Run eval $(opam env) to update the current shell environment
2024-10-01 15:32.30 ---> using "56376b59e77f84f8a67822c0af97e3de8def21178dbf5e2860e68f5003017874" from cache
/src: (copy (src mirage-net-xen.opam) (dst ./))
2024-10-01 15:32.30 ---> saved as "e4953b53a77dd579951494a5ac3ce076bb2f4ce9e18c20847391c0efe32bf01d"
/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)
2024-10-01 15:32.34 ---> saved as "1d5911c94be03a2fa35fc417fca2afd925ca77709762e2967635c6954d87f611"
/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.3 cppo.1.7.0 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 io-page.3.0.0 ipaddr.5.6.0 logs.0.7.0 lwt.5.7.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.7.0 mirage-xen.8.0.3 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 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.2 --depext-only -y mirage-net-xen.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
- Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]
- Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
- Get:5 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1273 kB]
- Get:6 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1560 kB]
- Get:7 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [4025 kB]
- Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4488 kB]
- Fetched 11.6 MB in 2s (4707 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-net-xen.dev] synchronised (no changes)
[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 host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[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
2024-10-01 15:33.20 ---> saved as "44782311cd861038fa2b51a58a97db4ab385170736573457487e54ec8676a229"
/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 host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[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 30 packages
- install base-bytes base
- install bheap 2.0.0
- install cmdliner 1.3.0
- install conf-pkg-config 3
- install cppo 1.7.0
- install csexp 1.5.2
- install cstruct 6.2.0
- install domain-name 0.4.0
- install dune 3.16.0
- install dune-configurator 3.16.0
- 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.7.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.7.0
- install mirage-xen 8.0.3
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- 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)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cppo.1.7.0 (cached)
-> installed conf-pkg-config.3
-> retrieved csexp.1.5.2 (cached)
-> retrieved cstruct.6.2.0 (cached)
-> retrieved domain-name.0.4.0 (cached)
-> retrieved duration.0.2.1 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved io-page.3.0.0 (cached)
-> retrieved ipaddr.5.6.0, macaddr.5.6.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved lwt-dllist.1.0.1 (cached)
-> retrieved lwt.5.7.0 (cached)
-> retrieved metrics.0.4.1, metrics-lwt.0.4.1 (cached)
-> retrieved mirage-net.4.0.0 (cached)
-> retrieved mirage-runtime.4.7.0 (cached)
-> retrieved mirage-xen.8.0.3 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved shared-memory-ring.3.2.1, shared-memory-ring-lwt.3.2.1 (cached)
-> retrieved xenstore.2.3.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved dune.3.16.0, dune-configurator.3.16.0 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.15.0
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed topkg.1.0.7
-> installed fmt.0.9.0
-> installed dune.3.16.0
-> installed bheap.2.0.0
-> installed duration.0.2.1
-> installed lwt-dllist.1.0.1
-> installed domain-name.0.4.0
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed macaddr.5.6.0
-> installed cppo.1.7.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.16.0
-> installed lwt.5.7.0
-> installed mirage-net.4.0.0
-> installed shared-memory-ring-lwt.3.2.1
-> installed xenstore.2.3.0
-> installed logs.0.7.0
-> installed metrics-lwt.0.4.1
-> installed mirage-runtime.4.7.0
-> installed mirage-xen.8.0.3
Done.
# Run eval $(opam env) to update the current shell environment
2024-10-01 15:35.17 ---> saved as "fb500eb66b9d9debd6bef0846c9c4bc5265cb851c787ce1f0271a70c984081d9"
/src: (copy (src .) (dst /src))
2024-10-01 15:35.17 ---> saved as "7e57ca36c6a72a85e2ec845d158035533280b8d07513f9350b91d5d1828983cb"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2024-10-01 15:35.17 ---> saved as "83a93f82c3a55730abf78e15bb2c402b45416ebeae237294ad14f36c3c888f27"
Job succeeded
2024-10-01 15:35.18: Job succeeded