2025-05-21 11:46.20: New job: test mirage/ocaml-pcap https://github.com/mirage/ocaml-pcap.git#refs/heads/main (c28ea15c39bfb4189ffe9ac7975e54bda78e7dbc) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.08@sha256:48fa4a7216c3973bb95572cf5dca98cbbcefe90f288f552e7ac70a8ccd438aa7
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/ocaml-pcap.git" -b "main" && cd "ocaml-pcap" && git reset --hard c28ea15c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.08@sha256:48fa4a7216c3973bb95572cf5dca98cbbcefe90f288f552e7ac70a8ccd438aa7
# debian-12-4.08_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 c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 || git fetch origin master) && git reset -q --hard c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 && 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-bytes.base base-threads.base base-unix.base conf-m4.1 cppo.1.6.1 cstruct.3.0.1 dune.1.11.0 jbuilder.transition num.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-migrate-parsetree.1.3.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocplib-endian.1.0 ounit2.2.2.0 ppx_cstruct.3.0.1 ppx_derivers.1.0 ppx_deriving.4.4 ppx_tools.5.2+4.08.0 ppx_tools_versioned.5.2.2 ppxfind.1.1 result.1.5 sexplib.v0.9.3 stdlib-shims.0.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-05-21 11:46.20: Using cache hint "mirage/ocaml-pcap-ocaml/opam:debian-12-ocaml-4.08@sha256:48fa4a7216c3973bb95572cf5dca98cbbcefe90f288f552e7ac70a8ccd438aa7-debian-12-4.08_opam-2.3-00cc2c9e7cb16519bfb42cf111586133"
2025-05-21 11:46.20: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:48fa4a7216c3973bb95572cf5dca98cbbcefe90f288f552e7ac70a8ccd438aa7)
(comment debian-12-4.08_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 c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 || git fetch origin master) && git reset -q --hard c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 && 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-bytes.base base-threads.base base-unix.base conf-m4.1 cppo.1.6.1 cstruct.3.0.1 dune.1.11.0 jbuilder.transition num.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-migrate-parsetree.1.3.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocplib-endian.1.0 ounit2.2.2.0 ppx_cstruct.3.0.1 ppx_derivers.1.0 ppx_deriving.4.4 ppx_tools.5.2+4.08.0 ppx_tools_versioned.5.2.2 ppxfind.1.1 result.1.5 sexplib.v0.9.3 stdlib-shims.0.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-05-21 11:46.20: Waiting for resource in pool OCluster
2025-05-21 15:22.59: Waiting for worker…
2025-05-21 15:22.59: Got resource from pool OCluster
Building on x86-bm-c4.sw.ocaml.org
All commits already cached
HEAD is now at c28ea15 Merge pull request #37 from Alessandro-Barbieri/main
(from ocaml/opam:debian-12-ocaml-4.08@sha256:48fa4a7216c3973bb95572cf5dca98cbbcefe90f288f552e7ac70a8ccd438aa7)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.08@sha256:48fa4a7216c3973bb95572cf5dca98cbbcefe90f288f552e7ac70a8ccd438aa7' locally
docker.io/ocaml/opam@sha256:48fa4a7216c3973bb95572cf5dca98cbbcefe90f288f552e7ac70a8ccd438aa7: Pulling from ocaml/opam
4b9a22ae493c: Pulling fs layer
4b9a22ae493c: Verifying Checksum
4b9a22ae493c: Download complete
4b9a22ae493c: Pull complete
Digest: sha256:48fa4a7216c3973bb95572cf5dca98cbbcefe90f288f552e7ac70a8ccd438aa7
Status: Downloaded newer image for ocaml/opam@sha256:48fa4a7216c3973bb95572cf5dca98cbbcefe90f288f552e7ac70a8ccd438aa7
2025-05-21 15:23.00 ---> using "d1b97f3f32fc7cff4791d73e3fff398d19cc5b0541c709028ff05a921e22d2c8" from cache
/: (comment debian-12-4.08_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-05-21 15:23.00 ---> using "252a7fccff4a04534e7678f99648f936030516efe1d086ecbac29219212e3fdc" 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.
[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
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-05-21 15:23.00 ---> using "07d2507753443e39db4311af058ef649e00f49fdd7db583b849fca416004669c" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.08.1
2.3.0
2025-05-21 15:23.00 ---> using "aa37332da28f8b7a081fb8fdfbe234755e3fa3ed79d08677ecac1ff024d05f2e" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-05-21 15:23.00 ---> using "47bcb9fdd26c4d6b24176b7653f9efad72225270ac7f6fdf758ae1e1ff905ad9" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 || git fetch origin master) && git reset -q --hard c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
0d013e603b..c7d6d1d2aa master -> origin/master
c7d6d1d2aa Merge pull request #27880 from MisterDA/os-family-fedora
<><> 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, 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-05-21 15:23.00 ---> using "66ff02a54b840a023494b5595be748ab3cc7ba7ff65edf109a455c65b7c4cf12" from cache
/src: (copy (src pcap-format.opam) (dst ./))
2025-05-21 15:23.00 ---> saved as "51c5328ff3f4efd696800b3e1c76f1ab822caf3fbcb5f42054a5707d8abcf796"
/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-05-21 15:23.02 ---> saved as "692f1612a16ab19853847bff1df7c52aaafb0c8fb6d951476067c137fa7312b0"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-21 15:23.02 ---> saved as "82ed313e5bf7261d262e2f158560fc7f002166f1a0213eff63dc683ec940882b"
/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-m4.1 cppo.1.6.1 cstruct.3.0.1 dune.1.11.0 jbuilder.transition num.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-migrate-parsetree.1.3.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocplib-endian.1.0 ounit2.2.2.0 ppx_cstruct.3.0.1 ppx_derivers.1.0 ppx_deriving.4.4 ppx_tools.5.2+4.08.0 ppx_tools_versioned.5.2.2 ppxfind.1.1 result.1.5 sexplib.v0.9.3 stdlib-shims.0.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://deb.debian.org/debian bookworm InRelease [151 kB]
- 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 bookworm/main amd64 Packages [8793 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [259 kB]
- Fetched 9306 kB in 2s (6178 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[pcap-format.dev] synchronised (file:///src)
[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 ... 18747 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) ...
2025-05-21 15:23.19 ---> saved as "b58076e7d0f648099c43a483e5a79b975b48e4b6e3a48a40b04c040d73183ce7"
/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 21 packages
- install base-bytes base
- install conf-m4 1
- install cppo 1.6.1
- install cstruct 3.0.1
- install dune 1.11.0
- install jbuilder transition (deprecated)
- install num 1.0
- install ocaml-migrate-parsetree 1.3.0 (deprecated)
- install ocamlbuild 0.14.0
- install ocamlfind 1.8.0
- install ocplib-endian 1.0
- install ounit2 2.2.0
- install ppx_cstruct 3.0.1
- install ppx_derivers 1.0
- install ppx_deriving 4.4
- install ppx_tools 5.2+4.08.0
- install ppx_tools_versioned 5.2.2
- install ppxfind 1.1
- install result 1.5
- install sexplib v0.9.3
- install stdlib-shims 0.1.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.6.1 (cached)
-> installed conf-m4.1
-> retrieved num.1.0 (cached)
-> retrieved cstruct.3.0.1, ppx_cstruct.3.0.1 (cached)
-> retrieved ocaml-migrate-parsetree.1.3.0 (cached)
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved dune.1.11.0 (cached)
-> retrieved ocamlfind.1.8.0 (cached)
-> retrieved ocplib-endian.1.0 (cached)
-> retrieved ounit2.2.2.0 (cached)
-> retrieved ppx_derivers.1.0 (cached)
-> retrieved ppx_deriving.4.4 (cached)
-> retrieved ppx_tools.5.2+4.08.0 (cached)
-> retrieved ppx_tools_versioned.5.2.2 (cached)
-> retrieved ppxfind.1.1 (cached)
-> retrieved result.1.5 (cached)
-> retrieved stdlib-shims.0.1.0 (cached)
-> retrieved sexplib.v0.9.3 (cached)
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed ppx_tools.5.2+4.08.0
-> installed num.1.0
-> installed dune.1.11.0
-> installed jbuilder.transition
-> installed ppx_derivers.1.0
-> installed result.1.5
-> installed stdlib-shims.0.1.0
-> installed cppo.1.6.1
-> installed ounit2.2.2.0
-> installed sexplib.v0.9.3
-> installed ocaml-migrate-parsetree.1.3.0
-> installed ocplib-endian.1.0
-> installed ppx_tools_versioned.5.2.2
-> installed ppxfind.1.1
-> installed cstruct.3.0.1
-> installed ppx_deriving.4.4
-> installed ppx_cstruct.3.0.1
Done.
<><> ocaml-migrate-parsetree.1.3.0 installed successfully <><><><><><><><><><><>
=> Note: This package is deprecated.
<><> jbuilder.transition installed successfully <><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
=> Jbuilder has been renamed and the jbuilder package is now a transition package. Use the dune package instead.
# To update the current shell environment, run: eval $(opam env)
2025-05-21 15:24.17 ---> saved as "2bb53ba0ac0e1a1561c3131de941b2ebe8986bf533b047dea45f4b19fb89b795"
/src: (copy (src .) (dst /src))
2025-05-21 15:24.17 ---> saved as "64bb874b42736f0dfc6f42b4db090a4d189402ac13ada351525c4075b48f8493"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
test alias lib_test/runtest
..
Ran: 2 tests in: 0.00 seconds.
OK
2025-05-21 15:24.19 ---> saved as "c36dd738c82383e26778b3e6b34250fb6253160646f47bedc702da221a6dc4e4"
Job succeeded
2025-05-21 15:24.19: Job succeeded