2024-11-03 23:07.19: New job: test mirage/mirage-vnetif https://github.com/mirage/mirage-vnetif.git#refs/heads/main (da7409bd0152b0a01692df9016e2cc724849ce3b) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.08@sha256:e4f2cf9099096504addd23b73b0d98c5a1fbb1633a6d52b7627cfa16f89debf8
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/mirage-vnetif.git" -b "main" && cd "mirage-vnetif" && git reset --hard da7409bd
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.08@sha256:e4f2cf9099096504addd23b73b0d98c5a1fbb1633a6d52b7627cfa16f89debf8
# debian-12-4.08_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 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-vnetif.opam ./
RUN opam pin add -yn mirage-vnetif.dev './'
ENV DEPS="astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.0.0 conf-m4.1 cppo.1.6.1 cstruct.6.0.0 domain-name.0.3.0 dune.2.0.1 duration.0.1.0 fmt.0.8.0 ipaddr.4.0.0 jbuilder.1.0+beta20.1 logs.0.6.3 lwt.4.2.0 macaddr.4.0.0 mirage-device.2.0.0 mirage-net.3.0.1 mmap.1.0.2 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 result.1.5 seq.0.2.2 sexplib0.v0.11.0 topkg.0.7.5"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y mirage-vnetif.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-11-03 23:07.19: Using cache hint "mirage/mirage-vnetif-ocaml/opam:debian-12-ocaml-4.08@sha256:e4f2cf9099096504addd23b73b0d98c5a1fbb1633a6d52b7627cfa16f89debf8-debian-12-4.08_opam-2.2-9bdf7daad06fbe33908b20a47a7417c0"
2024-11-03 23:07.19: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:e4f2cf9099096504addd23b73b0d98c5a1fbb1633a6d52b7627cfa16f89debf8)
(comment debian-12-4.08_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 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mirage-vnetif.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn mirage-vnetif.dev './'"))
(env DEPS "astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.0.0 conf-m4.1 cppo.1.6.1 cstruct.6.0.0 domain-name.0.3.0 dune.2.0.1 duration.0.1.0 fmt.0.8.0 ipaddr.4.0.0 jbuilder.1.0+beta20.1 logs.0.6.3 lwt.4.2.0 macaddr.4.0.0 mirage-device.2.0.0 mirage-net.3.0.1 mmap.1.0.2 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 result.1.5 seq.0.2.2 sexplib0.v0.11.0 topkg.0.7.5")
(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-vnetif.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-11-03 23:07.19: Waiting for resource in pool OCluster
2024-11-03 23:07.19: Waiting for worker…
2024-11-03 23:09.50: Got resource from pool OCluster
Building on x86-bm-c6.sw.ocaml.org
All commits already cached
HEAD is now at da7409b Merge pull request #38 from hannesm/no-vnetif-stack
(from ocaml/opam:debian-12-ocaml-4.08@sha256:e4f2cf9099096504addd23b73b0d98c5a1fbb1633a6d52b7627cfa16f89debf8)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.08@sha256:e4f2cf9099096504addd23b73b0d98c5a1fbb1633a6d52b7627cfa16f89debf8' locally
docker.io/ocaml/opam@sha256:e4f2cf9099096504addd23b73b0d98c5a1fbb1633a6d52b7627cfa16f89debf8: Pulling from ocaml/opam
c06f3571e47c: Pulling fs layer
c06f3571e47c: Verifying Checksum
c06f3571e47c: Download complete
c06f3571e47c: Pull complete
Digest: sha256:e4f2cf9099096504addd23b73b0d98c5a1fbb1633a6d52b7627cfa16f89debf8
Status: Downloaded newer image for ocaml/opam@sha256:e4f2cf9099096504addd23b73b0d98c5a1fbb1633a6d52b7627cfa16f89debf8
2024-11-03 23:09.50 ---> using "45ed51cabfe3de1acd486922e22b24eee2a37ab1a07c3ddaa8a9367527eeade3" from cache
/: (comment debian-12-4.08_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-11-03 23:09.50 ---> using "13f68d8fe05aeef95ccc5906a4e80e2ff77801f5b170515e2fb16bc7d4e819b3" 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
[NOTE] The 'jobs' option was reset, its value was 39 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=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-11-03 23:09.50 ---> using "294086592733704d7a06c8eb9868913640f72ef439f238f7acb1a91796dc07eb" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 4.08.1
2.2.1
2024-11-03 23:09.50 ---> using "cd60e4e9851044c0fcdec87c6f3c868861f866cdaff6b226191e594c939a1819" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-11-03 23:09.50 ---> using "f7182983af2680d7a10d2372168e3332228b2072f3fc8b58cef2d84d4077fd35" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
d872638bdf..c470931d04 master -> origin/master
28daeff6f3 Merge pull request #26814 from mtelvers/m4
<><> 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-11-03 23:09.50 ---> using "b9e1f2752bf4fc9486a8db7831dea58d8cbd4d121d552b2e7ac3a0cac02f41bf" from cache
/src: (copy (src mirage-vnetif.opam) (dst ./))
2024-11-03 23:09.50 ---> saved as "8cb110e28a93a3414cbef46e2a84e4bfc76ebb0ed8f3690d79d508b6c6696308"
/src: (run (network host)
(shell "opam pin add -yn mirage-vnetif.dev './'"))
[mirage-vnetif.dev] synchronised (file:///src)
mirage-vnetif is now pinned to file:///src (version dev)
2024-11-03 23:09.52 ---> saved as "ff4baa1baaa5938208608bda870b305381c988ae0b7008806599ef8309a91d71"
/src: (env DEPS "astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.0.0 conf-m4.1 cppo.1.6.1 cstruct.6.0.0 domain-name.0.3.0 dune.2.0.1 duration.0.1.0 fmt.0.8.0 ipaddr.4.0.0 jbuilder.1.0+beta20.1 logs.0.6.3 lwt.4.2.0 macaddr.4.0.0 mirage-device.2.0.0 mirage-net.3.0.1 mmap.1.0.2 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 result.1.5 seq.0.2.2 sexplib0.v0.11.0 topkg.0.7.5")
/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-vnetif.dev $DEPS"))
+ /usr/bin/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 [190 kB]
- Fetched 293 kB in 0s (1042 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-vnetif.dev] synchronised (no changes)
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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:
m4
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- 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 ... 18745 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Setting up m4 (1.4.19-3) ...
2024-11-03 23:10.11 ---> saved as "cefe4db3ba13084739b9ad6dad632c2f1f3b782c3f0c9abc0ed24cf1e9b472d5"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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 24 packages
- install astring 0.8.2
- install base-bytes base
- install bigarray-compat 1.0.0
- install conf-m4 1
- install cppo 1.6.1
- install cstruct 6.0.0
- install domain-name 0.3.0
- install dune 2.0.1
- install duration 0.1.0
- install fmt 0.8.0
- install ipaddr 4.0.0
- install jbuilder 1.0+beta20.1
- install logs 0.6.3
- install lwt 4.2.0
- install macaddr 4.0.0
- install mirage-device 2.0.0
- install mirage-net 3.0.1
- install mmap 1.0.2
- install ocamlbuild 0.14.0
- install ocamlfind 1.8.0
- install result 1.5
- install seq 0.2.2
- install sexplib0 v0.11.0
- install topkg 0.7.5
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.0.0 (cached)
-> retrieved astring.0.8.2 (cached)
-> retrieved cppo.1.6.1 (cached)
-> installed conf-m4.1
-> retrieved cstruct.6.0.0 (cached)
-> retrieved domain-name.0.3.0 (cached)
-> retrieved duration.0.1.0 (cached)
-> retrieved fmt.0.8.0 (cached)
-> retrieved ipaddr.4.0.0, macaddr.4.0.0 (cached)
-> retrieved logs.0.6.3 (cached)
-> retrieved lwt.4.2.0 (cached)
-> retrieved jbuilder.1.0+beta20.1 (cached)
-> retrieved dune.2.0.1 (cached)
-> retrieved mirage-device.2.0.0 (cached)
-> retrieved mirage-net.3.0.1 (cached)
-> retrieved mmap.1.0.2 (cached)
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved ocamlfind.1.8.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved seq.0.2.2 (cached)
-> retrieved sexplib0.v0.11.0 (cached)
-> retrieved topkg.0.7.5 (cached)
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed jbuilder.1.0+beta20.1
-> installed sexplib0.v0.11.0
-> installed cppo.1.6.1
-> installed dune.2.0.1
-> installed mmap.1.0.2
-> installed macaddr.4.0.0
-> installed result.1.5
-> installed bigarray-compat.1.0.0
-> installed seq.0.2.2
-> installed cstruct.6.0.0
-> installed lwt.4.2.0
-> installed topkg.0.7.5
-> installed duration.0.1.0
-> installed fmt.0.8.0
-> installed mirage-device.2.0.0
-> installed mirage-net.3.0.1
-> installed astring.0.8.2
-> installed domain-name.0.3.0
-> installed logs.0.6.3
-> installed ipaddr.4.0.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-11-03 23:11.01 ---> saved as "c6a5251c606142579fccacebac94d1324c50d47ed6cb7eca389332e6cc4e3776"
/src: (copy (src .) (dst /src))
2024-11-03 23:11.01 ---> saved as "2f4bd1f1592fd4fe2115802bff5626ab29d6005f3926aa3db102894abf7461f4"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2024-11-03 23:11.01 ---> saved as "c82dadb5d762c32bfb03bc1ab0141639bc0221eeccc27bff54dcce9b7190dde6"
Job succeeded
2024-11-03 23:11.02: Job succeeded