2025-07-28 18:08.52: New job: test mirage/ocaml-pcap https://github.com/mirage/ocaml-pcap.git#refs/heads/main (3cb441db242681045666936d7675693be98a8322) (linux-x86_64:ubuntu-24.04-4.14_opam-2.3)
Base: ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:74ab176a1338642f0ec36a5df07cb74fbdf54ec25d368295ebc3579466d726dd
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/ocaml-pcap.git" -b "main" && cd "ocaml-pcap" && git reset --hard 3cb441db
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:74ab176a1338642f0ec36a5df07cb74fbdf54ec25d368295ebc3579466d726dd
# ubuntu-24.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 e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 pcap-format.opam ./
RUN opam pin add -yn pcap-format.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base cstruct.6.2.0 dune.3.19.1 fmt.0.11.0 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ounit2.2.2.7 parsexp.v0.16.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.36.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y pcap-format.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-07-28 18:08.52: Using cache hint "mirage/ocaml-pcap-ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:74ab176a1338642f0ec36a5df07cb74fbdf54ec25d368295ebc3579466d726dd-ubuntu-24.04-4.14_opam-2.3-46183e865faada33b369878fe412165c"
2025-07-28 18:08.52: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:74ab176a1338642f0ec36a5df07cb74fbdf54ec25d368295ebc3579466d726dd)
(comment ubuntu-24.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 e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src pcap-format.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn pcap-format.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base cstruct.6.2.0 dune.3.19.1 fmt.0.11.0 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ounit2.2.2.7 parsexp.v0.16.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.36.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.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 pcap-format.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-07-28 18:08.52: Waiting for resource in pool OCluster
2025-07-29 00:48.06: Waiting for worker…
2025-07-29 00:49.43: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 3cb441d Merge pull request #40 from hannesm/add-maint
(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:74ab176a1338642f0ec36a5df07cb74fbdf54ec25d368295ebc3579466d726dd)
2025-07-29 00:49.43 ---> using "d8c343e3dec6babe19e4700ccd9b44013a8b40ec72fc4365a6010538f4f337d8" from cache
/: (comment ubuntu-24.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-07-29 00:49.43 ---> using "59b9b4192206f6c22824aa9b97af76a0bce66d7c1a62d1cc16dbc0a8f88f32da" 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] Initialised
2025-07-29 00:49.43 ---> using "a5aacbd6f9f5b2ebc782ce82a763b5bca1fda28d2a65a1e8f58ab138f4d5806e" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-60-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-07-29 00:49.43 ---> using "5601f683858f47c438027c3dc33a2a5f97a0c76c3c6c5dcdc6077d63ac22d58b" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-29 00:49.43 ---> using "882f31c6be2d012df6c5a7012b71418e22d00bb19398bef9460f411318394c42" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
0094db1438..ee8b9193dd master -> origin/master
e77940d8ff Merge pull request #28255 from dbuenzli/b0-publish-fmt.0.11.0
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
The following actions will be performed:
=== recompile 2 packages
- recompile ocaml 4.14.2 [upstream or system changes]
- recompile opam-depext 1.2.3 [uses ocaml]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.3 (cached)
-> removed opam-depext.1.2.3
-> removed ocaml.4.14.2
-> installed ocaml.4.14.2
-> installed opam-depext.1.2.3
Done.
<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# To update the current shell environment, run: eval $(opam env)
2025-07-29 00:49.43 ---> using "da32872d019670bc03046d0bfeb9d6aa95bea9f7794ac0bafb2c2d9e3d8f7d17" from cache
/src: (copy (src pcap-format.opam) (dst ./))
2025-07-29 00:49.43 ---> saved as "3a79480ba768394706e99a8bfa88dc50339156683652f6c3bb4b5f5e45f3b347"
/src: (run (network host)
(shell "opam pin add -yn pcap-format.dev './'"))
[pcap-format.dev] synchronised (file:///src)
pcap-format is now pinned to file:///src (version dev)
2025-07-29 00:49.45 ---> saved as "6364882786927b447c8bdaa9ffefac9529e4ed762310292f9ffb990f54af1f95"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-29 00:49.45 ---> saved as "d2368807d7bdde5561654fd88c7daa5f6ca28d34ccdd28e3e23a406771f9430c"
/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cstruct.6.2.0 dune.3.19.1 fmt.0.11.0 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ounit2.2.2.7 parsexp.v0.16.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.36.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.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 pcap-format.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:2 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [1879 kB]
- Hit:3 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:4 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1288 kB]
- Get:5 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1132 kB]
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [1992 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [45.2 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1444 kB]
- Get:11 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1625 kB]
- Fetched 9783 kB in 1s (7813 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[pcap-format.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).
2025-07-29 00:49.54 ---> saved as "05cf5692c3b1758e6f475429163f09eca793d7ebc11e5fa8195dabd2aaf72349"
/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 17 packages
- install cstruct 6.2.0
- install dune 3.19.1
- install fmt 0.11.0
- install num 1.6
- install ocaml-compiler-libs v0.12.4
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install ounit2 2.2.7
- install parsexp v0.16.0
- install ppx_cstruct 6.2.0
- install ppx_derivers 1.2.1
- install ppxlib 0.36.0
- install seq base
- install sexplib v0.16.0
- install sexplib0 v0.16.0
- install stdlib-shims 0.3.0
- install topkg 1.1.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved fmt.0.11.0 (cached)
-> retrieved cstruct.6.2.0, ppx_cstruct.6.2.0 (cached)
-> retrieved num.1.6 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ounit2.2.2.7 (cached)
-> retrieved parsexp.v0.16.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved sexplib.v0.16.0 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.1.0 (cached)
-> retrieved ppxlib.0.36.0 (cached)
-> retrieved dune.3.19.1 (cached)
-> installed num.1.6
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed fmt.0.11.0
-> installed dune.3.19.1
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed cstruct.6.2.0
-> installed sexplib0.v0.16.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ounit2.2.2.7
-> installed parsexp.v0.16.0
-> installed sexplib.v0.16.0
-> installed ppxlib.0.36.0
-> installed ppx_cstruct.6.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-29 00:50.32 ---> saved as "8ab8355d3c120de63279748a716b5bab9f8d39d4491aaedcb29d145f0df18a73"
/src: (copy (src .) (dst /src))
2025-07-29 00:50.32 ---> saved as "772b70664da43f54c9f767ba9f8ce6fb7176e513d812751d07396c0142f85516"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/lib_test && ./test.exe)
..
Ran: 2 tests in: 0.00 seconds.
OK
2025-07-29 00:50.33 ---> saved as "adc571b910cf19fa8679fe42b03633271f213a56831d9010e604b39d8ef3dbed"
Job succeeded
2025-07-29 00:50.34: Job succeeded