Organisationsmiragearp6b5100 ()freebsd-5.1_opam-2.1

freebsd-5.1_opam-2.1

Link Copied
Code Copied

Logs

2024-04-30 08:07.17: New job: test mirage/arp https://github.com/mirage/arp.git#refs/heads/main (6b5100fbbceb1caa5c8df26982f2bad1d1abf48f) (freebsd-x86_64:freebsd-5.1_opam-2.1)
Base: freebsd-ocaml-5.1
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/arp.git" -b "main" && cd "arp" && git reset --hard 6b5100fb
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-ocaml-5.1
# freebsd-5.1_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.1 /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 60c4208f49d0559b8988a754e13eb65bfc59b6f2 || git fetch origin master) && git reset -q --hard 60c4208f49d0559b8988a754e13eb65bfc59b6f2 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 arp.opam ./
RUN opam pin add -yn arp.dev './'
ENV DEPS="alcotest.1.7.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.2.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.0 dune.3.15.2 dune-configurator.3.15.2 duration.0.2.1 ethernet.3.2.0 fmt.0.9.0 ipaddr.5.5.0 logs.0.7.0 lwt.5.7.0 macaddr.5.5.0 mirage-net.4.0.0 mirage-profile.0.9.1 mirage-time.3.0.0 mirage-time-unix.3.0.0 mirage-vnetif.0.6.0 num.1.5 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 parsexp.v0.16.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.32.1 re.1.11.0 result.1.5 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 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.1 --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


2024-04-30 08:07.17: Using cache hint "mirage/arp-freebsd-freebsd-ocaml-5.1-freebsd-5.1_opam-2.1-daac590bd4fcf7a01fad0431005a4c17"
2024-04-30 08:07.17: Using OBuilder spec:
((from freebsd-ocaml-5.1)
 (comment freebsd-5.1_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/local/bin/opam-2.1 /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 60c4208f49d0559b8988a754e13eb65bfc59b6f2 || git fetch origin master) && git reset -q --hard 60c4208f49d0559b8988a754e13eb65bfc59b6f2 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src arp.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn arp.dev './'"))
 (env DEPS "alcotest.1.7.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.2.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.0 dune.3.15.2 dune-configurator.3.15.2 duration.0.2.1 ethernet.3.2.0 fmt.0.9.0 ipaddr.5.5.0 logs.0.7.0 lwt.5.7.0 macaddr.5.5.0 mirage-net.4.0.0 mirage-profile.0.9.1 mirage-time.3.0.0 mirage-time-unix.3.0.0 mirage-vnetif.0.6.0 num.1.5 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 parsexp.v0.16.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.32.1 re.1.11.0 result.1.5 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")
 (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.1 --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"))
)


2024-04-30 08:07.17: Waiting for resource in pool OCluster
2024-04-30 08:07.18: Waiting for worker…
2024-04-30 09:13.13: Got resource from pool OCluster
Building on summer
HEAD is now at acd52c1 disable tests on macos, since they're racey -- discovered by @kit-ty-kate in https://github.com/ocaml/opam-repository/pull/23500
HEAD is now at 6b5100f Merge pull request #29 from hannesm/no-mirage-random


(from freebsd-ocaml-5.1)
2024-04-30 09:08.03 ---> using "813c71762ba09cfa8cfe3f05f009bdd39b1b347128fefd2e95099f87d236c989" from cache


/: (comment freebsd-5.1_opam-2.1)


/: (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.1 /usr/local/bin/opam"))
2024-04-30 09:08.04 ---> using "65a9b62d2493057013f99a47d1d57b6072f5b00406fb4bfea785e58388f6b852" 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.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2024-04-30 09:08.04 ---> using "e99a94697afa70d27199359988cb3c099e37a5c06ee07760e5a5921308c3119e" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.0-RELEASE-p5
The OCaml toplevel, version 5.1.1
2.1.5
2024-04-30 09:08.05 ---> using "ec35bf54fa4c1a8f744eebe8956e2d9e1f1f6379cf858b75ddefbabb954554fc" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-04-30 09:08.05 ---> using "e452d16e32919148b58c7e1d1c9db9a6c0854da706cd5eb72487da563b728a13" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 60c4208f49d0559b8988a754e13eb65bfc59b6f2 || git fetch origin master) && git reset -q --hard 60c4208f49d0559b8988a754e13eb65bfc59b6f2 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   ac9a846c00..60c4208f49  master     -> origin/master
60c4208f49 Merge pull request #25714 from emillon/release-dune-3.15.2


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


Constructing initial basis...
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.3.0
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2024-04-30 09:08.06 ---> using "6206f093238900ee8e4fc1d749ae6d85a71b0378a074249734af9c84fef9cbd5" from cache


/src: (copy (src arp.opam) (dst ./))
2024-04-30 09:08.27 ---> saved as "4b06ac82bc31e7f7168b14b0e3cebe8cc6c5a25cd9514ed59533ca39ebf2abf8"


/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)
2024-04-30 09:08.33 ---> saved as "1fad48b7daba6270cb3f2eb92989689aa86e035f368b859c02b2e3098ceaf303"


/src: (env DEPS "alcotest.1.7.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.2.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.0 dune.3.15.2 dune-configurator.3.15.2 duration.0.2.1 ethernet.3.2.0 fmt.0.9.0 ipaddr.5.5.0 logs.0.7.0 lwt.5.7.0 macaddr.5.5.0 mirage-net.4.0.0 mirage-profile.0.9.1 mirage-time.3.0.0 mirage-time-unix.3.0.0 mirage-vnetif.0.6.0 num.1.5 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 parsexp.v0.16.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.32.1 re.1.11.0 result.1.5 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")


/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.1 --depext-only -y arp.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update


<><> 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.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 3
Constructing conflict graph...
Conflict graph has 4 + 3 = 7 vertices
2024-04-30 09:09.09 ---> saved as "fc950d75647fa7c551af6b7a7016b4a741133236a8143b7a07c50b85f92cf674"


/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-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 3
Constructing conflict graph...
Conflict graph has 4 + 3 = 7 vertices
The following actions will be performed:
   install ocamlbuild          0.14.3
   install num                 1.5
   install cmdliner            1.2.0
   install ocamlfind           1.9.6
   install seq                 base
   install dune                3.15.2
   install topkg               1.0.7
   install base-bytes          base
   install stdlib-shims        0.3.0
   install sexplib0            v0.16.0
   install result              1.5
   install re                  1.11.0
   install ppx_derivers        1.2.1
   install ocaml-syntax-shims  1.0.0
   install ocaml-compiler-libs v0.12.4
   install macaddr             5.5.0
   install duration            0.2.1
   install domain-name         0.4.0
   install csexp               1.5.2
   install cppo                1.6.9
   install uutf                1.0.3
   install fmt                 0.9.0
   install astring             0.8.5
   install parsexp             v0.16.0
   install ppxlib              0.32.1
   install ipaddr              5.5.0
   install dune-configurator   3.15.2
   install ocplib-endian       1.2
   install cstruct             6.2.0
   install alcotest            1.7.0
   install sexplib             v0.16.0
   install lwt                 5.7.0
   install ppx_cstruct         6.2.0
   install mirage-time         3.0.0
   install mirage-net          4.0.0
   install logs                0.7.0
   install mirage-profile      0.9.1
   install mirage-time-unix    3.0.0
   install ethernet            3.2.0
   install mirage-vnetif       0.6.0
=====  40 =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 retrieved astring.0.8.5  (cached)
 retrieved cmdliner.1.2.0  (cached)
 retrieved csexp.1.5.2  (cached)
 retrieved cppo.1.6.9  (cached)
 retrieved alcotest.1.7.0  (cached)
 retrieved domain-name.0.4.0  (cached)
 retrieved dune.3.15.2  (cached)
 retrieved duration.0.2.1  (cached)
 retrieved dune-configurator.3.15.2  (cached)
 retrieved ethernet.3.2.0  (cached)
 retrieved fmt.0.9.0  (cached)
 retrieved ipaddr.5.5.0  (cached)
 retrieved logs.0.7.0  (cached)
 retrieved lwt.5.7.0  (cached)
 retrieved macaddr.5.5.0  (cached)
 retrieved mirage-net.4.0.0  (cached)
 retrieved mirage-profile.0.9.1  (cached)
 retrieved mirage-time.3.0.0  (cached)
 retrieved mirage-time-unix.3.0.0  (cached)
 retrieved mirage-vnetif.0.6.0  (cached)
 retrieved num.1.5  (cached)
 retrieved ocaml-syntax-shims.1.0.0  (cached)
 retrieved ocaml-compiler-libs.v0.12.4  (cached)
 retrieved cstruct.6.2.0  (cached)
 retrieved ocamlfind.1.9.6  (cached)
 retrieved parsexp.v0.16.0  (cached)
 retrieved ocplib-endian.1.2  (cached)
 retrieved ocamlbuild.0.14.3  (cached)
 retrieved ppxlib.0.32.1  (cached)
 retrieved ppx_derivers.1.2.1  (cached)
 retrieved re.1.11.0  (cached)
 installed seq.base
 retrieved sexplib.v0.16.0  (cached)
 retrieved result.1.5  (cached)
 retrieved sexplib0.v0.16.0  (cached)
 retrieved stdlib-shims.0.3.0  (cached)
 retrieved topkg.1.0.7  (cached)
 retrieved uutf.1.0.3  (cached)
 retrieved ppx_cstruct.6.2.0  (cached)
 installed cmdliner.1.2.0
 installed num.1.5
 installed ocamlfind.1.9.6
 installed base-bytes.base
 installed ocamlbuild.0.14.3
 installed topkg.1.0.7
 installed uutf.1.0.3
 installed fmt.0.9.0
 installed astring.0.8.5
 installed dune.3.15.2
 installed duration.0.2.1
 installed domain-name.0.4.0
 installed ppx_derivers.1.2.1
 installed stdlib-shims.0.3.0
 installed macaddr.5.5.0
 installed csexp.1.5.2
 installed sexplib0.v0.16.0
 installed result.1.5
 installed ocaml-syntax-shims.1.0.0
 installed ocaml-compiler-libs.v0.12.4
 installed ipaddr.5.5.0
 installed cstruct.6.2.0
 installed cppo.1.6.9
 installed re.1.11.0
 installed ocplib-endian.1.2
 installed dune-configurator.3.15.2
 installed parsexp.v0.16.0
 installed alcotest.1.7.0
 installed sexplib.v0.16.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 ethernet.3.2.0
 installed ppxlib.0.32.1
 installed ppx_cstruct.6.2.0
 installed mirage-profile.0.9.1
 installed mirage-vnetif.0.6.0
Done.
2024-04-30 09:12.20 ---> saved as "7be30c18570d0dd120832903dfacd8b9a9dc949d39ba084419ff67a1dfd20a10"


/src: (copy (src .) (dst /src))
2024-04-30 09:12.27 ---> saved as "3eb4fd576c2201dd40f20ea99721bcee0605886fe745554d89ef6c24b1d3ccdb"


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


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


  [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.781s. 13 tests run.
2024-04-30 09:12.40 ---> saved as "8d76208aeb31c12f3b246d25da99f9749932c06a307aedd81ba8c41ede74fb2e"
Job succeeded
2024-04-30 09:18.06: Job succeeded