2024-09-18 15:23.36: New job: test mirage/arp https://github.com/mirage/arp.git#refs/heads/main (b7813353b417a8e03c2c50e63268ccea79de9daf) (macos-arm64:macos-homebrew-5.2_arm64_opam-2.2) Base: macos-homebrew-ocaml-5.2 Opam project build To reproduce locally: git clone --recursive "https://github.com/mirage/arp.git" -b "main" && cd "arp" && git reset --hard b7813353 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM macos-homebrew-ocaml-5.2 # macos-homebrew-5.2_arm64_opam-2.2 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" RUN ln -f ~/local/bin/opam-2.2 ~/local/bin/opam RUN opam init --reinit -ni RUN uname -rs && opam exec -- ocaml -version && opam --version RUN cd ~/opam-repository && (git cat-file -e 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u COPY --chown=1000:1000 arp.opam ./src/./ RUN opam pin add -yn arp.dev './src/./' ENV DEPS="alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 ethernet.3.2.0 fmt.0.9.0 host-arch-arm64.1 host-system-other.1 ipaddr.5.6.0 logs.0.7.0 lwt.5.7.0 macaddr.5.6.0 mirage-net.4.0.0 mirage-time.3.0.0 mirage-time-unix.3.0.0 mirage-vnetif.0.6.2 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.2 --depext-only -y arp.dev $DEPS RUN opam install $DEPS COPY --chown=1000:1000 . ./src RUN cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build END-OF-DOCKERFILE docker build . END-REPRO-BLOCK 2024-09-18 15:23.36: Using cache hint "mirage/arp-macos-homebrew-ocaml-5.2-macos-homebrew-5.2_arm64_opam-2.2-d0df65cfdcab391c8fb2e547bec52ee1" 2024-09-18 15:23.36: Using OBuilder spec: ((from macos-homebrew-ocaml-5.2) (comment macos-homebrew-5.2_arm64_opam-2.2) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (run (shell "ln -f ~/local/bin/opam-2.2 ~/local/bin/opam")) (run (shell "opam init --reinit -ni")) (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u")) (copy (src arp.opam) (dst ./src/./)) (run (network host) (shell "opam pin add -yn arp.dev './src/./'")) (env DEPS "alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 ethernet.3.2.0 fmt.0.9.0 host-arch-arm64.1 host-system-other.1 ipaddr.5.6.0 logs.0.7.0 lwt.5.7.0 macaddr.5.6.0 mirage-net.4.0.0 mirage-time.3.0.0 mirage-time-unix.3.0.0 mirage-vnetif.0.6.2 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3") (env CI true) (env OCAMLCI true) (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew))) (network host) (shell "opam update --depexts && opam install --cli=2.2 --depext-only -y arp.dev $DEPS")) (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew))) (network host) (shell "opam install $DEPS")) (copy (src .) (dst ./src)) (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build")) ) 2024-09-18 15:23.36: Waiting for resource in pool OCluster 2024-09-19 01:45.07: Waiting for worker… 2024-09-19 02:45.28: Got resource from pool OCluster Building on m1-worker-04 All commits already cached HEAD is now at b781335 changes for 3.1.1 (from macos-homebrew-ocaml-5.2) 2024-09-19 02:45.28 ---> using "9b46fe3d2429f2b9195a02468cb57ac45cfa11fb4a87cb32b5e5375232223327" from cache /: (comment macos-homebrew-5.2_arm64_opam-2.2) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (run (shell "ln -f ~/local/bin/opam-2.2 ~/local/bin/opam")) 2024-09-19 02:45.28 ---> using "b003627c18f5d873361872ecfa38a9a8b5c86cc26245bef1d152887064c98071" from cache /: (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 /Users/mac1000/.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:///Users/mac1000/opam-repository 2024-09-19 02:45.28 ---> using "408d2cc158c17e89759cf51b146539f00642e287086d5c54f85c33dae9e6a1f9" from cache /: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Darwin 23.4.0 The OCaml toplevel, version 5.2.0 2.2.0 2024-09-19 02:45.29 ---> using "80c5626e56c363c9237b2d67b74b9ac64751c52cd041543c0fda73b45b911c9a" from cache /: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD fe8dffac61..45f961713f master -> origin/master 45f961713f Merge pull request #26585 from dra27/trunk-tweaks <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from git+file:///Users/mac1000/opam-repository default (at git+file:///Users/mac1000/opam-repository): [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html) Everything as up-to-date as possible (run with --verbose to show unavailable upgrades). The following packages are not being upgraded because the new versions conflict with other installed packages: - ocaml.5.4.0 However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages. Nothing to do. # Run eval $(opam env) to update the current shell environment 2024-09-19 02:45.29 ---> using "e741b1b0654b57a245f3c9eb31b5f47bd9ac932e8def5542224f2dc57745b5cd" from cache /: (copy (src arp.opam) (dst ./src/./)) 2024-09-19 02:45.30 ---> saved as "09b460adfbe9114de9cb179962caf35d0c38b2f6dcedf675c0533bc6e9117361" /: (run (network host) (shell "opam pin add -yn arp.dev './src/./'")) [arp.dev] synchronised (file:///Users/mac1000/src) arp is now pinned to file:///Users/mac1000/src (version dev) 2024-09-19 02:45.42 ---> saved as "51900743875487418926d3783e7809a62fa33aa525df38f48a5cc69278e237f2" /: (env DEPS "alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.7.0 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 ethernet.3.2.0 fmt.0.9.0 host-arch-arm64.1 host-system-other.1 ipaddr.5.6.0 logs.0.7.0 lwt.5.7.0 macaddr.5.6.0 mirage-net.4.0.0 mirage-time.3.0.0 mirage-time-unix.3.0.0 mirage-vnetif.0.6.2 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3") /: (env CI true) /: (env OCAMLCI true) /: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew))) (network host) (shell "opam update --depexts && opam install --cli=2.2 --depext-only -y arp.dev $DEPS")) + /opt/homebrew/bin/brew "update" - ==> Updating Homebrew... - Already up-to-date. <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [arp.dev] synchronised (no changes) [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-base-compiler is already installed (current version is 5.2.0). [NOTE] Package ocaml is already installed (current version is 5.2.0). [NOTE] Package host-system-other is already installed (current version is 1). [NOTE] Package host-arch-arm64 is already installed (current version is 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-nnp 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). 2024-09-19 02:46.03 ---> saved as "781ac4c0a8f400e4d0ded30adf2667773edd510d8ead76fb24288809e49a39fb" /: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew))) (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-base-compiler is already installed (current version is 5.2.0). [NOTE] Package ocaml is already installed (current version is 5.2.0). [NOTE] Package host-system-other is already installed (current version is 1). [NOTE] Package host-arch-arm64 is already installed (current version is 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-nnp 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 30 packages - install alcotest 1.8.0 - install astring 0.8.5 - install base-bytes base - install cmdliner 1.3.0 - install cppo 1.7.0 - install csexp 1.5.2 - install cstruct 6.2.0 - install domain-name 0.4.0 - install dune 3.16.0 - install dune-configurator 3.16.0 - install duration 0.2.1 - install ethernet 3.2.0 - install fmt 0.9.0 - install ipaddr 5.6.0 - install logs 0.7.0 - install lwt 5.7.0 - install macaddr 5.6.0 - install mirage-net 4.0.0 - install mirage-time 3.0.0 - install mirage-time-unix 3.0.0 - install mirage-vnetif 0.6.2 - install ocaml-syntax-shims 1.0.0 - install ocamlbuild 0.15.0 - install ocamlfind 1.9.6 - install ocplib-endian 1.2 - install re 1.12.0 - install seq base - install stdlib-shims 0.3.0 - install topkg 1.0.7 - install uutf 1.0.3 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved astring.0.8.5 (cached) -> retrieved cmdliner.1.3.0 (cached) -> retrieved csexp.1.5.2 (cached) -> retrieved cppo.1.7.0 (cached) -> retrieved cstruct.6.2.0 (cached) -> retrieved domain-name.0.4.0 (cached) -> retrieved alcotest.1.8.0 (cached) -> retrieved duration.0.2.1 (cached) -> retrieved ethernet.3.2.0 (cached) -> retrieved fmt.0.9.0 (cached) -> retrieved ipaddr.5.6.0, macaddr.5.6.0 (cached) -> retrieved logs.0.7.0 (cached) -> retrieved mirage-net.4.0.0 (cached) -> retrieved mirage-time.3.0.0, mirage-time-unix.3.0.0 (cached) -> retrieved lwt.5.7.0 (cached) -> retrieved mirage-vnetif.0.6.2 (cached) -> retrieved ocaml-syntax-shims.1.0.0 (cached) -> retrieved ocamlfind.1.9.6 (cached) -> retrieved ocplib-endian.1.2 (cached) -> retrieved ocamlbuild.0.15.0 (cached) -> retrieved seq.base (cached) -> installed seq.base -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved re.1.12.0 (cached) -> retrieved uutf.1.0.3 (cached) -> retrieved topkg.1.0.7 (cached) -> retrieved dune.3.16.0, dune-configurator.3.16.0 (cached) -> installed ocamlbuild.0.15.0 -> installed cmdliner.1.3.0 -> installed ocamlfind.1.9.6 -> installed base-bytes.base -> installed topkg.1.0.7 -> installed uutf.1.0.3 -> installed astring.0.8.5 -> installed fmt.0.9.0 -> installed dune.3.16.0 -> installed duration.0.2.1 -> installed csexp.1.5.2 -> installed domain-name.0.4.0 -> installed stdlib-shims.0.3.0 -> installed ocaml-syntax-shims.1.0.0 -> installed macaddr.5.6.0 -> installed cstruct.6.2.0 -> installed cppo.1.7.0 -> installed re.1.12.0 -> installed ocplib-endian.1.2 -> installed ipaddr.5.6.0 -> installed dune-configurator.3.16.0 -> installed alcotest.1.8.0 -> installed lwt.5.7.0 -> installed mirage-time.3.0.0 -> installed mirage-net.4.0.0 -> installed mirage-time-unix.3.0.0 -> installed logs.0.7.0 -> installed mirage-vnetif.0.6.2 -> installed ethernet.3.2.0 Done. # Run eval $(opam env) to update the current shell environment 2024-09-19 02:46.49 ---> saved as "959b163484c350e3a006ae85fb22ea97dbd3b6586ccc9f1f06959cc9986c398b" /: (copy (src .) (dst ./src)) 2024-09-19 02:46.50 ---> saved as "0943c30117fc9e184cbb7495d23f1e03db018dfab473dea59a44fde235fd1f05" /: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build")) (cd _build/default/test && ./tests.exe) Testing `ARP tests'. This run has ID `646HDVD4'. [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.035s. 39 tests run. File "test/mirage/dune", line 2, characters 7-12: 2 | (name tests) ^^^^^ (cd _build/default/test/mirage && ./tests.exe) Testing `arp'. This run has ID `0V6RUDIL'. [OK] arp 0 conversions neither lose nor gain information. [OK] arp 1 nonsense requests are ignored. [OK] arp 2 requests are responded to. [FAIL] 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. ┌──────────────────────────────────────────────────────────────────────────────┐ │ [FAIL] arp 3 entries expire. │ └──────────────────────────────────────────────────────────────────────────────┘ 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.10 (02:50:00:00:00:01) tests.exe: [DEBUG] starting arp listener for 02:50:00:00:00:01 tests.exe: [INFO] Sending gratuitous ARP for 192.168.3.1 (02:50:00:00:00:02) tests.exe: [DEBUG] frame received for arpv4 tests.exe: [DEBUG] Set IP for 02:50:00:00:00:02 to 192.168.3.1 tests.exe: [DEBUG] Listener table contents after IP set on claimant: mac 02:50:00:00:00:01 ip 192.168.3.10 entries 2 timeout 800 retries 5 192.168.3.1 at 02:50:00:00:00:02 (timeout in 800) 192.168.3.10 at 02:50:00:00:00:01 (static advertising) ASSERT mismatch for expected query value ASSERT entry in cache when it shouldn't be 192.168.3.1 FAIL entry in cache when it shouldn't be 192.168.3.1 Raised at Alcotest_engine__Test.check_err in file "src/alcotest-engine/test.ml", line 160, characters 20-48 Called from Lwt.Sequential_composition.bind.create_result_promise_and_callback_if_deferred.c in file "src/core/lwt.ml", line 1844, characters 16-19 Re-raised at Lwt.Miscellaneous.poll in file "src/core/lwt.ml", line 3123, characters 20-29 Called from Lwt_main.run.run_loop in file "src/unix/lwt_main.ml", line 27, characters 10-20 Called from Lwt_main.run in file "src/unix/lwt_main.ml", line 106, characters 8-13 Re-raised at Lwt_main.run in file "src/unix/lwt_main.ml", line 112, characters 4-13 Called from Alcotest_engine__Core.Make.protect_test.(fun) in file "src/alcotest-engine/core.ml", line 186, characters 17-23 Called from Alcotest_engine__Monad.Identity.catch in file "src/alcotest-engine/monad.ml", line 24, characters 31-35 Logs saved to `~/src/_build/default/test/mirage/_build/_tests/arp/arp.003.output'. ────────────────────────────────────────────────────────────────────────────── Full test results in `~/src/_build/default/test/mirage/_build/_tests/arp'. 1 failure! in 5.999s. 13 tests run. "/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1 2024-09-19 02:47.02: Job failed: Failed: Build failed