Organisationsmiragearp1c8f6c ()freebsd-14.3-5.3_opam-2.4

freebsd-14.3-5.3_opam-2.4

Logs

Show full logs
2025-10-14 14:31.07: New job: test mirage/arp https://github.com/mirage/arp.git#refs/pull/33/head (1c8f6cb13f0fd936555b9b92b6cea10328400387) (freebsd-x86_64:freebsd-14.3-5.3_opam-2.4)
Base: freebsd-14.3-ocaml-5.3
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 1c8f6cb1
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-14.3-ocaml-5.3
# freebsd-14.3-5.3_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.4 /usr/local/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 60c74a29f5d280ca9330c57b890e2e8c0fbc444c || git fetch origin master) && git reset -q --hard 60c74a29f5d280ca9330c57b890e2e8c0fbc444c && 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-domains.base base-effects.base base-nnp.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.5.0 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.9.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.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.14.0 rresult.0.7.0 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-14 14:31.07: Using cache hint "mirage/arp-freebsd-14.3-ocaml-5.3-freebsd-14.3-5.3_opam-2.4-3ecb36ea7407d4393c0efc8cd769ed01"
2025-10-14 14:31.07: Using OBuilder spec:
((from freebsd-14.3-ocaml-5.3)
 (comment freebsd-14.3-5.3_opam-2.4)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/local/bin/opam-2.4 /usr/local/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 60c74a29f5d280ca9330c57b890e2e8c0fbc444c || git fetch origin master) && git reset -q --hard 60c74a29f5d280ca9330c57b890e2e8c0fbc444c && 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-domains.base base-effects.base base-nnp.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.5.0 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.9.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.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.14.0 rresult.0.7.0 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-14 14:31.07: Waiting for resource in pool OCluster
2025-10-14 14:31.07: Waiting for worker…
2025-10-14 15:11.10: Got resource from pool OCluster
Building on rosemary
All commits already cached
HEAD is now at 1c8f6cb improve ARP cache logic

(from freebsd-14.3-ocaml-5.3)
2025-10-14 15:09.38 ---> using "60bac7f21805020c29d2a88a6913503683a681e01c7da46429af43006be5190e" from cache

/: (comment freebsd-14.3-5.3_opam-2.4)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/local/bin/opam-2.4 /usr/local/bin/opam"))
2025-10-14 15:09.39 ---> using "4d63dfa430f870863e128ed3c471110b31bb3e53377210a2ea894afe5e37bcbb" from cache

/src: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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.1 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 1 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=1 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2025-10-14 15:09.40 ---> using "08dcdc7a41451c03feaf1cde41bdf093eeb3b516304c17e950a6225d1dbc12be" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.3-RELEASE-p3
The OCaml toplevel, version 5.3.0
2.4.1
2025-10-14 15:09.41 ---> using "89dfe63ac7dbdaa6723d28341400dd0a5b1be839b593d33c65eaf4466d13b257" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-10-14 15:09.41 ---> using "ec3674891376259f4044950e2c0e886ef7c9543b50a81fe66e196cb6a302a954" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 60c74a29f5d280ca9330c57b890e2e8c0fbc444c || git fetch origin master) && git reset -q --hard 60c74a29f5d280ca9330c57b890e2e8c0fbc444c && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   98696b94e2..deb3de7fc5  master     -> origin/master
60c74a29f5 Merge pull request #28709 from hannesm/release-domain-name-v0.5.0

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository

Everything as up-to-date as possible

The following packages are not being upgraded because the new versions conflict with other installed packages:
  - ocaml-compiler.5.4.0
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml-base-compiler.5.4.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2025-10-14 15:09.43 ---> using "1a92f9075d43d91e0078c8c820d7a529bdfdd50d7b20f2c3c6859da7daf40439" from cache

/src: (copy (src arp.opam) (dst ./))
2025-10-14 15:09.43 ---> using "1d7dd76bf90159981af361068bed49e48e3873267d728f84a92d2a89d1f0b11d" 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-14 15:09.44 ---> using "6c2bc8ac43eb62ed130ab71de1902f977102c161dd2dc1bfe7a24f3e3f3ed79a" from cache

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-14 15:09.44 ---> using "3e92ee06cabd7071b0007649cb7ab97ab25801f1e129be8e4b30ef6e110712cf" from cache

/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.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.5.0 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.9.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.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.14.0 rresult.0.7.0 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"))
[WARNING] Unknown update command for bsd, skipping system update

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[arp.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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-10-14 15:10.00 ---> saved as "fa93a4abeb04c77b836520af0802985797de07ac15b21ed93a3b85c924a29d26"

/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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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 31 packages
   alcotest           1.9.1
   astring            0.8.5
   base-bytes         base
   bos                0.2.1
   cmdliner           2.0.0
   cppo               1.8.0
   csexp              1.5.2
   cstruct            6.2.0
   domain-name        0.5.0
   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.9.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-syntax-shims 1.0.0
   ocamlbuild         0.16.1
   ocamlfind          1.9.8
   ocplib-endian      1.2
   re                 1.14.0
   rresult            0.7.0
   stdlib-shims       0.3.0
   topkg              1.1.0
   uutf               1.0.4

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 retrieved bos.0.2.1  (cached)
 retrieved astring.0.8.5  (cached)
 retrieved alcotest.1.9.1  (cached)
 retrieved cppo.1.8.0  (cached)
 retrieved csexp.1.5.2  (cached)
 retrieved cmdliner.2.0.0  (cached)
 retrieved domain-name.0.5.0  (cached)
 retrieved cstruct.6.2.0  (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 logs.0.9.0  (cached)
 retrieved ipaddr.5.6.1, macaddr.5.6.1  (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 ocamlbuild.0.16.1  (cached)
 retrieved ocplib-endian.1.2  (cached)
 retrieved ocamlfind.1.9.8  (cached)
 retrieved rresult.0.7.0  (cached)
 retrieved re.1.14.0  (cached)
 retrieved stdlib-shims.0.3.0  (cached)
 retrieved topkg.1.1.0  (cached)
 retrieved uutf.1.0.4  (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 stdlib-shims.0.3.0
 installed ocaml-syntax-shims.1.0.0
 installed macaddr.5.6.1
 installed domain-name.0.5.0
 installed cstruct.6.2.0
 installed cppo.1.8.0
 installed ocplib-endian.1.2
 installed ipaddr.5.6.1
 installed re.1.14.0
 installed dune-configurator.3.20.2
 installed alcotest.1.9.1
 installed lwt.5.9.2
 installed mirage-net.4.0.0
 installed mirage-sleep.4.1.0
 installed logs.0.9.0
 installed ethernet.3.2.0
 installed mirage-vnetif.0.6.2
 installed bos.0.2.1
Done.
2025-10-14 15:12.22 ---> saved as "dc0592cd4bd78e31a12deb5ec8b6eb0367690dd6c5951173163a42918eaa6195"

/src: (copy (src .) (dst /src))
2025-10-14 15:12.24 ---> saved as "3f36ca80d26d49d2cfb8c69f8dba132f25d3db161931e818dc27d7b72f1ac42c"

/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 `SXONKCE1'.

  [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.192s. 39 tests run.
(cd _build/default/test/mirage && ./tests.exe)
Testing `arp'.
This run has ID `OYWYXSGE'.

  [OK]          arp          0   conversions neither lose nor gain information.
  [OK]          arp          1   nonsense requests are ignored.
  [OK]          arp          2   requests are responded to.
  [OK]          arp          3   entries expire.
  [OK]          arp          4   irrelevant requests are ignored.
  [OK]          arp          5   set_ip sets ip, sends GARP.
  [OK]          arp          6   add_ip, get_ip and remove_ip as advertised.
  [OK]          arp          7   GARPs are heard and not cached.
  [OK]          arp          8   unsolicited unicast replies are heard and no...
  [OK]          arp          9   solicited unicast replies resolve pending th...
  [OK]          arp         10   entries are replaced with new information.
  [OK]          arp         11   unreachable IPs time out.
  [OK]          arp         12   queries are tried repeatedly before timing out.

Full test results in `/src/_build/default/test/mirage/_build/_tests/arp'.
Test Successful in 5.810s. 13 tests run.
2025-10-14 15:12.33 ---> saved as "8c3dd9c6a3efe6b31e6d45c96379d9cdec29f77a4564889cf916afd20de5adbf"
Job succeeded
2025-10-14 15:14.07: Job succeeded