Organisationsmiragearp72c131 ()debian-13-4.09_opam-2.4

debian-13-4.09_opam-2.4

Link Copied
Code Copied

Logs

2025-10-13 03:53.24: New job: test mirage/arp https://github.com/mirage/arp.git#refs/pull/33/head (72c1311ea6d9f943e647296263b85253665205bd) (linux-x86_64:debian-13-4.09_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-4.09@sha256:687eb4f0916c9657d5164d9331d7bd6a3b5d20d15a996b9e8856b204409175c8
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/arp.git" && cd "arp" && git fetch origin "refs/pull/33/head" && git reset --hard 72c1311e
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.09@sha256:687eb4f0916c9657d5164d9331d7bd6a3b5d20d15a996b9e8856b204409175c8
# debian-13-4.09_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 241aae26db44294142794da0ce695e8beac418df || git fetch origin master) && git reset -q --hard 241aae26db44294142794da0ce695e8beac418df && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 arp.opam ./
RUN opam pin add -yn arp.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.0.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.1 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 ethernet.3.2.0 fmt.0.11.0 fpath.0.7.3 ipaddr.5.6.1 logs.0.8.0 lwt.5.9.2 macaddr.5.6.1 mirage-net.4.0.0 mirage-sleep.4.1.0 mirage-vnetif.0.6.2 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.1.0 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y arp.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-10-13 03:53.24: Using cache hint "mirage/arp-ocaml/opam:debian-13-ocaml-4.09@sha256:687eb4f0916c9657d5164d9331d7bd6a3b5d20d15a996b9e8856b204409175c8-debian-13-4.09_opam-2.4-6bb9372492ff777d28b68477e05c1814"
2025-10-13 03:53.24: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.09@sha256:687eb4f0916c9657d5164d9331d7bd6a3b5d20d15a996b9e8856b204409175c8)
(comment debian-13-4.09_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /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 241aae26db44294142794da0ce695e8beac418df || git fetch origin master) && git reset -q --hard 241aae26db44294142794da0ce695e8beac418df && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src arp.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn arp.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.0.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.1 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 ethernet.3.2.0 fmt.0.11.0 fpath.0.7.3 ipaddr.5.6.1 logs.0.8.0 lwt.5.9.2 macaddr.5.6.1 mirage-net.4.0.0 mirage-sleep.4.1.0 mirage-vnetif.0.6.2 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.1.0 uutf.1.0.4")
(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.4 --depext-only -y arp.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-10-13 03:53.24: Waiting for resource in pool OCluster
2025-10-13 03:53.24: Waiting for worker…
2025-10-13 03:53.25: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 72c1311 reenable entries_expire test for macOS and windows


(from ocaml/opam:debian-13-ocaml-4.09@sha256:687eb4f0916c9657d5164d9331d7bd6a3b5d20d15a996b9e8856b204409175c8)
2025-10-13 03:53.26 ---> using "3a553dcc7ad781ef2913430692dfd3fe94ef7b25527e36c697b3b59abac3ad97" from cache


/: (comment debian-13-4.09_opam-2.4)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-10-13 03:53.26 ---> using "6ec14493cd174d8dfb3d3c98921bf2b9032889423f1452ed283504195505c7a6" 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 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 71 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=71 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-10-13 03:53.26 ---> using "858b10c02d84c9a00976378fae5b7729c5f25b54a4cc6dc2f03948a5be5123c5" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-84-generic
The OCaml toplevel, version 4.09.1
2.4.1
2025-10-13 03:53.26 ---> using "2cf7a7d62a952608df74f9e36e447d7933cbd105db76998ddf2edf24e3edd738" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-10-13 03:53.26 ---> using "5e2434511a2ffc87a2ae26fe20ab483fa5c0f1134fb99ad18e592dd9a7a99329" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 241aae26db44294142794da0ce695e8beac418df || git fetch origin master) && git reset -q --hard 241aae26db44294142794da0ce695e8beac418df && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
bcac5d1731..1abfcdbf14  master     -> origin/master
241aae26db Merge pull request #28629 from dinosaure/release-alcotest-1.9.1


<><> 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 at these versions (e.g. "opam upgrade ocaml.5.3.0"), 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-10-13 03:53.26 ---> using "37932713b42ed7647eadea15aaab7fa120456c984e5b736ce4d7e1fc968791df" from cache


/src: (copy (src arp.opam) (dst ./))
2025-10-13 03:53.26 ---> using "7dac5772bb896649ab811283e9c2e5cfbafbaddf391cc96e7c30483b55fe4ba4" from cache


/src: (run (network host)
(shell "opam pin add -yn arp.dev './'"))
[arp.dev] synchronised (file:///src)
arp is now pinned to file:///src (version dev)
2025-10-13 03:53.26 ---> using "82183210680552a48ee05f55e4ac2c967ee39670af2fee5b9d46250d4a6dec6d" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-13 03:53.26 ---> using "adef3215236514b14165720fd9cd0d4fd5bbbb85f4a670187078ffd195856bbd" from cache


/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.0.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.1 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 ethernet.3.2.0 fmt.0.11.0 fpath.0.7.3 ipaddr.5.6.1 logs.0.8.0 lwt.5.9.2 macaddr.5.6.1 mirage-net.4.0.0 mirage-sleep.4.1.0 mirage-vnetif.0.6.2 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.1.0 uutf.1.0.4")


/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.4 --depext-only -y arp.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [53.8 kB]
- Fetched 145 kB in 0s (2091 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[arp.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.09.1).
[NOTE] Package ocaml is already installed (current version is 4.09.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).
2025-10-13 03:53.26 ---> using "2fed1e607a9952c81c45258a0fb688f3df7352a780bc1d158b876fcaf0b04d81" from cache


/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.09.1).
[NOTE] Package ocaml is already installed (current version is 4.09.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 32 packages
- install alcotest           1.9.1
- install astring            0.8.5
- install base-bytes         base
- install bos                0.2.1
- install cmdliner           2.0.0
- install cppo               1.8.0
- install csexp              1.5.2
- install cstruct            6.2.0
- install domain-name        0.4.1
- install dune               3.20.2
- install dune-configurator  3.20.2
- install duration           0.2.1
- install ethernet           3.2.0
- install fmt                0.11.0
- install fpath              0.7.3
- install ipaddr             5.6.1
- install logs               0.8.0
- install lwt                5.9.2
- install macaddr            5.6.1
- install mirage-net         4.0.0
- install mirage-sleep       4.1.0
- install mirage-vnetif      0.6.2
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild         0.16.1
- install ocamlfind          1.9.8
- install ocplib-endian      1.2
- install re                 1.11.0
- install rresult            0.7.0
- install seq                base
- install stdlib-shims       0.3.0
- install topkg              1.1.0
- install uutf               1.0.4


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved cmdliner.2.0.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved domain-name.0.4.1  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved ethernet.3.2.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved ipaddr.5.6.1, macaddr.5.6.1  (cached)
-> retrieved logs.0.8.0  (cached)
-> retrieved lwt.5.9.2  (cached)
-> retrieved mirage-net.4.0.0  (cached)
-> retrieved mirage-sleep.4.1.0  (cached)
-> retrieved mirage-vnetif.0.6.2  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved rresult.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.1.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> installed cmdliner.2.0.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.0
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.20.2
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed cstruct.6.2.0
-> installed domain-name.0.4.1
-> installed macaddr.5.6.1
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.11.0
-> installed stdlib-shims.0.3.0
-> installed ocplib-endian.1.2
-> installed ipaddr.5.6.1
-> installed alcotest.1.9.1
-> installed dune-configurator.3.20.2
-> installed lwt.5.9.2
-> installed mirage-net.4.0.0
-> installed mirage-sleep.4.1.0
-> installed logs.0.8.0
-> installed mirage-vnetif.0.6.2
-> installed ethernet.3.2.0
-> installed bos.0.2.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-13 03:53.26 ---> using "4f4e911dc416b2b2dbed36e178ea9514eeb4fa92f38023a8824073a421a6a300" from cache


/src: (copy (src .) (dst /src))
2025-10-13 03:53.26 ---> saved as "1c3b3ac44d5e461e657191e20e8e8152e22ac4d855e54a23a57feeae13b83bcf"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./tests.exe)
Testing `ARP tests'.
This run has ID `2QV1AHUI'.


[OK]          Coder            0   valid arp decoding.
[OK]          Coder            1   unhandled arp decoding.
[OK]          Coder            2   short arp decoding.
[OK]          Coder            3   invalid operation decoding.
[OK]          Coder            4   decoding is inverse of encoding.
[OK]          Coder            5   encode_into works.
[OK]          Coder            6   encode_into fails with small bufs.
[OK]          Handler          0   create raises.
[OK]          Handler          1   basic tests.
[OK]          Handler          2   remove test.
[OK]          Handler          3   remove no test.
[OK]          Handler          4   alias test.
[OK]          Handler          5   alias remove test.
[OK]          Handler          6   static test.
[OK]          Handler          7   static alias test.
[OK]          Handler          8   more tests.
[OK]          Handler          9   handle good.
[OK]          Handler         10   handle generates req.
[OK]          Handler         11   handle generates req, next doesn't.
[OK]          Handler         12   alias wakes.
[OK]          Handler         13   static wakes.
[OK]          Handler         14   handle timeout.
[OK]          Handler         15   request send before timeout.
[OK]          Handler         16   multiple requests are send.
[OK]          Handler         17   multiple requests are send 2.
[OK]          Handler         18   handle reply.
[OK]          Handler         19   handle garp.
[OK]          Handler         20   answers broadcast request.
[OK]          Handler         21   answers unicast request.
[OK]          Handler         22   not answering random request.
[OK]          Handler         23   ignoring random.
[OK]          Handler         24   reply does not harm static entries.
[OK]          Handler         25   reply is in cache.
[OK]          Handler         26   dynamic entry can be queried.
[OK]          Handler         27   reply times out.
[OK]          Handler         28   dynamic entry overriden by same.
[OK]          Handler         29   dynamic entry overriden by other.
[OK]          Handler         30   dynamic entry is not advertised.
[OK]          Handler         31   reply wakes tasks.


Full test results in `/src/_build/default/test/_build/_tests/ARP tests'.
Test Successful in 0.037s. 39 tests run.
(cd _build/default/test/mirage && ./tests.exe)
Testing `arp'.
This run has ID `06RB0Y73'.


[OK]          arp          0   entries expire.


Test Successful in 6.101s. 1 test run.
tests.exe: [INFO] Connected Ethernet interface 02:50:00:00:00:01
tests.exe: [INFO] Connected Ethernet interface 02:50:00:00:00:02
tests.exe: [INFO] Sending gratuitous ARP for 192.168.3.1 (02:50:00:00:00:02)
tests.exe: [INFO] Sending gratuitous ARP for 192.168.3.10 (02:50:00:00:00:01)
tests.exe: [DEBUG] starting arp listener for 02:50:00:00:00:02
tests.exe: [DEBUG] starting arp listener for 02:50:00:00:00:01
tests.exe: [DEBUG] sending ARP request for 192.168.3.1 --> Pending
tests.exe: [DEBUG] frame received for arpv4
tests.exe: [DEBUG] replying to ARP request for 192.168.3.1 from 192.168.3.10 (mac 02:50:00:00:00:01)
tests.exe: [DEBUG] frame received for arpv4
tests.exe: [DEBUG] ARP reply received for 192.168.3.1/02:50:00:00:00:02, adding cache entry
ASSERT mac match
tests.exe: [DEBUG] ARP entry 192.168.3.1 (mac 02:50:00:00:00:02) timed out --> Stale
tests.exe: [DEBUG] removing stale ARP entry 192.168.3.1 (mac 02:50:00:00:00:02)
tests.exe: [DEBUG] sending ARP request for 192.168.3.1 --> Pending
ASSERT parsed packet comparison
2025-10-13 03:53.33 ---> saved as "c2c588bbc858741a816454366a1361a0a096d6828662ab5ba904f6c0e37ff9e8"
Job succeeded
2025-10-13 03:53.33: Job succeeded