2024-12-06 21:34.38: New job: test mirage/mirage-tcpip https://github.com/mirage/mirage-tcpip.git#refs/pull/523/head (aa1b46e4a497517f48a94db68585b9d0dbf8c607) (linux-x86_64:ubuntu-22.04-4.14_opam-2.3)
Base: ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:1c5bf3c2bec3ee454185e5155264394ba79f70e5c3985b66f7bd57810d9cbebb
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/mirage-tcpip.git" && cd "mirage-tcpip" && git fetch origin "refs/pull/523/head" && git reset --hard aa1b46e4
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:1c5bf3c2bec3ee454185e5155264394ba79f70e5c3985b66f7bd57810d9cbebb
# 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 9a4a489e639cc5ce8cc540adfb67d381def898ec || git fetch origin master) && git reset -q --hard 9a4a489e639cc5ce8cc540adfb67d381def898ec && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 tcpip.opam ./
RUN opam pin add -yn tcpip.dev './' && echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.8.0 arp.3.1.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bisect_ppx.2.8.3 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 digestif.1.2.0 domain-name.0.4.0 dune.3.17.0 dune-configurator.3.17.0 duration.0.2.1 eqaf.0.10 ethernet.3.2.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 logs.0.7.0 lru.0.3.1 lwt.5.9.0 lwt-dllist.1.0.1 macaddr.5.6.0 macaddr-cstruct.5.6.0 metrics.0.4.1 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mirage-crypto.1.1.0 mirage-crypto-rng.1.1.0 mirage-crypto-rng-mirage.1.1.0 mirage-flow.4.0.2 mirage-net.4.0.0 mirage-runtime.4.8.1 mirage-time.3.0.0 mirage-vnetif.0.6.2 num.1.5-1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 parsexp.v0.16.0 pcap-format.0.6.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.33.0 psq.0.2.1 randomconv.0.2.0 re.1.12.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y tcpip.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-12-06 21:34.38: Using cache hint "mirage/mirage-tcpip-ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:1c5bf3c2bec3ee454185e5155264394ba79f70e5c3985b66f7bd57810d9cbebb-ubuntu-22.04-4.14_opam-2.3-3b7ad78d55848be7a4c32d77b97386ba"
2024-12-06 21:34.38: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:1c5bf3c2bec3ee454185e5155264394ba79f70e5c3985b66f7bd57810d9cbebb)
(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 9a4a489e639cc5ce8cc540adfb67d381def898ec || git fetch origin master) && git reset -q --hard 9a4a489e639cc5ce8cc540adfb67d381def898ec && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src tcpip.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn tcpip.dev './' && echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.8.0 arp.3.1.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bisect_ppx.2.8.3 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 digestif.1.2.0 domain-name.0.4.0 dune.3.17.0 dune-configurator.3.17.0 duration.0.2.1 eqaf.0.10 ethernet.3.2.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 logs.0.7.0 lru.0.3.1 lwt.5.9.0 lwt-dllist.1.0.1 macaddr.5.6.0 macaddr-cstruct.5.6.0 metrics.0.4.1 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mirage-crypto.1.1.0 mirage-crypto-rng.1.1.0 mirage-crypto-rng-mirage.1.1.0 mirage-flow.4.0.2 mirage-net.4.0.0 mirage-runtime.4.8.1 mirage-time.3.0.0 mirage-vnetif.0.6.2 num.1.5-1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 parsexp.v0.16.0 pcap-format.0.6.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.33.0 psq.0.2.1 randomconv.0.2.0 re.1.12.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")
(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 tcpip.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-12-06 21:34.38: Waiting for resource in pool OCluster
2024-12-06 21:34.38: Waiting for worker…
2024-12-06 21:34.38: Got resource from pool OCluster
Building on x86-bm-c10.sw.ocaml.org
HEAD is now at 519c576a Merge pull request #521 from hannesm/update
HEAD is now at aa1b46e4 dune: enable generate_opam_files option
(from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:1c5bf3c2bec3ee454185e5155264394ba79f70e5c3985b66f7bd57810d9cbebb)
2024-12-06 21:35.19 ---> saved as "77db96320ae9edddb6ef6c02765ce626c7625868bd94b0a2ebeced3806f09adc"
/: (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"))
2024-12-06 21:35.19 ---> saved as "6f4624c2e8a1be2009d084476a94fa111db165200189b6109bcca37c535cb699"
/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] synchronised from file:///home/opam/opam-repository
2024-12-06 21:37.05 ---> saved as "db6b72cfe0dc00a1e8bfc1c42c8fdfe9a8d7e25b00310a9d2f3ee775b9c80ddb"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 4.14.2
2.3.0
2024-12-06 21:37.06 ---> saved as "a6befa946d53b1f37f1c56add46e66869436bb8b42b1a4d3d788a227042dce0b"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-12-06 21:37.06 ---> saved as "cc9ef46dbd97ff53af178b3f5a60018dce85b4a445c37d9d7b5709b5c99c4945"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 9a4a489e639cc5ce8cc540adfb67d381def898ec || git fetch origin master) && git reset -q --hard 9a4a489e639cc5ce8cc540adfb67d381def898ec && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
f0f88dc8c9..86d364dc38 master -> origin/master
9a4a489e63 Merge pull request #27019 from fpottier/opam-publish-cppo.1.8.0
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-12-06 21:38.49: Cancelling: Auto-cancelling job because it is no longer needed
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)
2024-12-06 21:38.38 ---> saved as "ce01d6bdd06acc9a9988c9d8648ddee3ba6b813b183eca8949a076ac1b7201fb"
/src: (copy (src tcpip.opam) (dst ./))
2024-12-06 21:38.38 ---> saved as "8878216241ec14944899fc174ad47551f6a9b655835a2687c444dbe8834ac440"
/src: (run (network host)
(shell "opam pin add -yn tcpip.dev './' && echo '(lang dune 3.0)' > './dune-project'"))
[tcpip.dev] synchronised (file:///src)
tcpip is now pinned to file:///src (version dev)
2024-12-06 21:38.40 ---> saved as "1dab59160e60c5ef3fb91a2777ceda5e16d098dd654ae96381ccf4cb25a17188"
/src: (env DEPS "alcotest.1.8.0 arp.3.1.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bisect_ppx.2.8.3 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 digestif.1.2.0 domain-name.0.4.0 dune.3.17.0 dune-configurator.3.17.0 duration.0.2.1 eqaf.0.10 ethernet.3.2.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 logs.0.7.0 lru.0.3.1 lwt.5.9.0 lwt-dllist.1.0.1 macaddr.5.6.0 macaddr-cstruct.5.6.0 metrics.0.4.1 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mirage-crypto.1.1.0 mirage-crypto-rng.1.1.0 mirage-crypto-rng-mirage.1.1.0 mirage-flow.4.0.2 mirage-net.4.0.0 mirage-runtime.4.8.1 mirage-time.3.0.0 mirage-vnetif.0.6.2 num.1.5-1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 parsexp.v0.16.0 pcap-format.0.6.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.33.0 psq.0.2.1 randomconv.0.2.0 re.1.12.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")
/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 tcpip.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:5 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2454 kB]
- Get:6 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1225 kB]
- Get:7 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [3323 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [3446 kB]
- Get:9 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [45.2 kB]
- Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1514 kB]
- Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [53.3 kB]
- Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2738 kB]
- Get:13 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [33.8 kB]
- Fetched 15.2 MB in 1s (13.9 MB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[tcpip.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 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).
Job cancelled