Organisationsmiragearp2a1dd6 ()debian-13-4.14_riscv64_opam-2.4

debian-13-4.14_riscv64_opam-2.4

Link Copied
Code Copied

Logs

2025-10-16 02:59.44: New job: test mirage/arp https://github.com/mirage/arp.git#refs/pull/33/head (2a1dd6178e5c93939ad84bf684340b93f06be997) (linux-riscv64:debian-13-4.14_riscv64_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-4.14@sha256:2ec3acb358ede65444e2c01012b8324279d362d1b5a123d68f479f6dd50c48f4
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 2a1dd617
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:2ec3acb358ede65444e2c01012b8324279d362d1b5a123d68f479f6dd50c48f4
# debian-13-4.14_riscv64_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 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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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-16 02:59.44: Using cache hint "mirage/arp-ocaml/opam:debian-13-ocaml-4.14@sha256:2ec3acb358ede65444e2c01012b8324279d362d1b5a123d68f479f6dd50c48f4-debian-13-4.14_riscv64_opam-2.4-64cb886ccd09e27e763c18d30c3e9de8"
2025-10-16 02:59.44: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:2ec3acb358ede65444e2c01012b8324279d362d1b5a123d68f479f6dd50c48f4)
(comment debian-13-4.14_riscv64_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 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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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-16 02:59.44: Waiting for resource in pool OCluster
2025-10-17 00:28.29: Waiting for worker…
2025-10-17 12:16.24: Got resource from pool OCluster
Building on riscv-bm-03.sw.ci.dev
All commits already cached
HEAD is now at 2a1dd61 improve ARP cache logic


(from ocaml/opam:debian-13-ocaml-4.14@sha256:2ec3acb358ede65444e2c01012b8324279d362d1b5a123d68f479f6dd50c48f4)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:2ec3acb358ede65444e2c01012b8324279d362d1b5a123d68f479f6dd50c48f4' locally
docker.io/ocaml/opam@sha256:2ec3acb358ede65444e2c01012b8324279d362d1b5a123d68f479f6dd50c48f4: Pulling from ocaml/opam
Digest: sha256:2ec3acb358ede65444e2c01012b8324279d362d1b5a123d68f479f6dd50c48f4
Status: Downloaded newer image for ocaml/opam@sha256:2ec3acb358ede65444e2c01012b8324279d362d1b5a123d68f479f6dd50c48f4
2025-10-17 12:16.25 ---> using "55ae748f998e54835d3967fc6571b603b5ee1c5ff4e316d4c116f7c103a9c488" from cache


/: (comment debian-13-4.14_riscv64_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-17 12:16.25 ---> using "c00b7fb0f14ee1c4f7d61067bbfa694b3be6391e35e49cc0aaf32d7c4e3d53f8" 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
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-10-17 12:16.25 ---> using "855a2ad17f6bcf2293c394a91ad81b4660f67f6158dd85f342100a047bf5312e" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.10.113-scw1
The OCaml toplevel, version 4.14.2
2.4.1
2025-10-17 12:16.25 ---> using "a4ce8f05afc8d1524197ee77c40d77385ba3c1dd7324a7828030078cefe93e49" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-10-17 12:16.25 ---> using "b44f2387602157265122ccd9b42a9e7ae7bea0745aff65db47cf7ea002fcfa4d" 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
1abfcdbf14..12d0447fd1  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 (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-17 12:16.25 ---> using "14ef32c7bdb1f20fed42a8e423a75d7aa4b92cc309e16b5397945f264f0f88ca" from cache


/src: (copy (src arp.opam) (dst ./))
2025-10-17 12:16.25 ---> using "46cb5c0abc20a45d9170a9215f6edec3614568bbee0c2532b264b9a441e8aea4" 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-17 12:16.25 ---> using "6a507d43bb574460bd91ac76987788700c0d8c640f8234c6fd1a55428a736cc0" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-17 12:16.25 ---> using "f4ad2fbed86b557ba15675444c8b5e03744eab241c40c288513eff17cda36502" 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.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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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"))
+ /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 riscv64 Packages [49.5 kB]
- Fetched 140 kB in 0s (284 kB/s)
- Reading package lists...
- 


<><> 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 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-10-17 12:16.25 ---> using "96372967330bca1fd10cd219d50b4113fecf1ac8b0d82eb57a57544e8ef9992e" from cache


/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 31 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.5.0
- 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.9.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.14.0
- install rresult            0.7.0
- 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.5.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 ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved re.1.14.0  (cached)
-> 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 fmt.0.11.0
-> installed astring.0.8.5
-> installed rresult.0.7.0
-> installed fpath.0.7.3
-> installed uutf.1.0.4
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed cppo.1.8.0
-> installed domain-name.0.5.0
-> installed duration.0.2.1
-> installed macaddr.5.6.1
-> installed ocplib-endian.1.2
-> installed ipaddr.5.6.1
-> installed ocaml-syntax-shims.1.0.0
-> installed dune-configurator.3.20.2
-> installed stdlib-shims.0.3.0
-> installed re.1.14.0
-> 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 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-17 12:16.25 ---> using "12a1e6784d8ee600af5f98c490f142e1732469cbe2e4955a7a930b6bdfbadfbe" from cache


/src: (copy (src .) (dst /src))
2025-10-17 12:16.26 ---> saved as "054ca5cc3bd361f1400519f572940ea1c3239e61149ca5592f63d3b26b96040a"


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


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


[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.796s. 13 tests run.
2025-10-17 12:16.40 ---> saved as "2c5372f937529f10ec94e475ae1a0ad3133a71451e31303972d0bfeeec5659d9"
Job succeeded
2025-10-17 12:16.40: Job succeeded