Organisationsmiragearpb78133 (main)fedora-39-5.2_opam-2.1

fedora-39-5.2_opam-2.1

Link Copied
Code Copied

Logs

2024-06-17 12:37.09: New job: test mirage/arp https://github.com/mirage/arp.git#refs/heads/main (b7813353b417a8e03c2c50e63268ccea79de9daf) (linux-x86_64:fedora-39-5.2_opam-2.1)
Base: ocaml/opam@sha256:420a553f04cc0fb58966ef15f063d3950aa90b7268e6e117a7ae385e83f7ed96
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 ocaml/opam@sha256:420a553f04cc0fb58966ef15f063d3950aa90b7268e6e117a7ae385e83f7ed96
# fedora-39-5.2_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
RUN sudo ln -f /usr/bin/opam-2.1 /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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && 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.3.0 cppo.1.6.9 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-x86_64.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.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 re.1.11.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.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-06-17 12:37.09: Using cache hint "mirage/arp-ocaml/opam@sha256:420a553f04cc0fb58966ef15f063d3950aa90b7268e6e117a7ae385e83f7ed96-fedora-39-5.2_opam-2.1-d52b60a039cdbe12a27331aabcbb4520"
2024-06-17 12:37.09: Using OBuilder spec:
((from ocaml/opam@sha256:420a553f04cc0fb58966ef15f063d3950aa90b7268e6e117a7ae385e83f7ed96)
 (comment fedora-39-5.2_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (network host)
      (shell "sudo dnf install -y findutils"))
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && 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.3.0 cppo.1.6.9 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-x86_64.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.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 re.1.11.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 /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-06-17 12:37.09: Waiting for resource in pool OCluster
2024-06-17 19:27.12: Waiting for worker…
2024-06-17 19:30.00: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint: 	git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint: 	git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/arp.git-2b736b2f22fe05028398550ff2979ab1afe3a12a/.git/
HEAD is now at b781335 changes for 3.1.1


(from ocaml/opam@sha256:420a553f04cc0fb58966ef15f063d3950aa90b7268e6e117a7ae385e83f7ed96)
2024-06-17 19:30.43 ---> saved as "1fb067e40a504376644340ea9061b90ca90281abe6945ffbcdd5f8481eb0bf1d"


/: (comment fedora-39-5.2_opam-2.1)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
           (shell "sudo dnf install -y findutils"))
Fedora 39 - x86_64                              327 kB/s |  30 kB     00:00    
Fedora 39 - x86_64 - Updates                    316 kB/s |  28 kB     00:00    
Fedora 39 - x86_64 - Updates                    2.8 MB/s | 7.6 MB     00:02    
Package findutils-1:4.9.0-5.fc39.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2024-06-17 19:31.06 ---> saved as "2e7d89bf82bb141f24856d9111b217f37bb27c8610c3559d31a9327d79008f86"


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-06-17 19:31.06 ---> saved as "b959f86f46a11b8c746e712287520cf614a4eae890cbe2261cbc219727e687fa"


/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.1, 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] synchronised from file:///home/opam/opam-repository
2024-06-17 19:32.41 ---> saved as "8c253ec291d3fe2bc074ea97ba3c0efd6da2b898689c483d83f1a351d8c83f5f"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-112-generic
The OCaml toplevel, version 5.2.0
2.1.6
2024-06-17 19:32.41 ---> saved as "86675b0ebf00725a35580f8b7e5ced1f428a20dc1801d711c1b95cdc94ffcf70"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-06-17 19:32.41 ---> saved as "908a116e1651f43cdbdbe53794662d7c8a6c4c6e42c637962738b55f744afe42"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   c45f5bab71..5d6f1cf035  master     -> origin/master
a6069b9eeb [new release] dune (15 packages) (3.16.0)


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


The following actions will be performed:
  - install   host-arch-x86_64      1
  - install   host-system-other     1
  - recompile ocaml-options-vanilla 1       [upstream or system changes]
  - recompile ocaml-base-compiler   5.2.0*  [upstream or system changes]
  - recompile ocaml-config          3       [uses ocaml-base-compiler]
  - recompile ocaml                 5.2.0   [uses ocaml-base-compiler]
  - recompile opam-depext           1.2.1-1 [uses ocaml]
  - recompile base-domains          base    [uses ocaml]
  - recompile base-nnp              base    [uses base-domains]
===== 2 to install | 7 to recompile =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.3  (cached)
-> removed   ocaml-options-vanilla.1
-> installed host-arch-x86_64.1
-> installed host-system-other.1
-> installed ocaml-options-vanilla.1
-> retrieved opam-depext.1.2.1-1  (cached)
-> retrieved ocaml-base-compiler.5.2.0  (cached)
-> removed   base-nnp.base
-> removed   base-domains.base
-> removed   opam-depext.1.2.1-1
-> removed   ocaml.5.2.0
-> removed   ocaml-config.3
-> removed   ocaml-base-compiler.5.2.0
-> installed ocaml-base-compiler.5.2.0
-> installed ocaml-config.3
-> installed ocaml.5.2.0
-> installed base-domains.base
-> installed base-nnp.base
-> installed opam-depext.1.2.1-1
Done.


<><> opam-depext.1.2.1-1 installed successfully <><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment
2024-06-17 19:39.13 ---> saved as "030497128e2ce2c9865bd82778de02c0dbb6204c386668afc461762b09299b89"


/src: (copy (src arp.opam) (dst ./))
2024-06-17 19:39.13 ---> saved as "e06d15d1d51b50d6733ef9f9291e20797baf741731686b853011750541168a6b"


/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-06-17 19:39.15 ---> saved as "7f340224d99fed249db562fb5c145de33d9f1ea23ec22d9cf9675f29dac8d679"


/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.3.0 cppo.1.6.9 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-x86_64.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.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 re.1.11.0 seq.base 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"))
+ /usr/bin/sudo "yum" "makecache"
- Fedora 39 - x86_64                              328 kB/s |  30 kB     00:00    
- Fedora 39 openh264 (From Cisco) - x86_64         14 kB/s | 989  B     00:00    
- Fedora 39 - x86_64 - Updates                    313 kB/s |  28 kB     00:00    
- Metadata cache created.


<><> 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-x86_64 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-06-17 19:39.34 ---> saved as "c478da34ff9f8c038fc5c9652724ab923ed52f1573fd5368f819c3e839e63beb"


/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.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-x86_64 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 ocamlbuild         0.14.3
  - install dune               3.16.0
  - install ocamlfind          1.9.6
  - install cmdliner           1.3.0
  - install seq                base
  - install stdlib-shims       0.3.0
  - install ocaml-syntax-shims 1.0.0
  - install macaddr            5.6.0
  - install duration           0.2.1
  - install domain-name        0.4.0
  - install csexp              1.5.2
  - install cppo               1.6.9
  - install topkg              1.0.7
  - install base-bytes         base
  - install re                 1.11.0
  - install ipaddr             5.6.0
  - install dune-configurator  3.16.0
  - install uutf               1.0.3
  - install fmt                0.9.0
  - install astring            0.8.5
  - install ocplib-endian      1.2
  - install cstruct            6.2.0
  - install alcotest           1.7.0
  - install lwt                5.7.0
  - install mirage-time        3.0.0
  - install mirage-net         4.0.0
  - install logs               0.7.0
  - install mirage-time-unix   3.0.0
  - install mirage-vnetif      0.6.2
  - install ethernet           3.2.0
===== 30 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved alcotest.1.7.0  (cached)
-> retrieved cppo.1.6.9  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved domain-name.0.4.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  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lwt.5.7.0  (cached)
-> retrieved macaddr.5.6.0  (cached)
-> retrieved mirage-net.4.0.0  (cached)
-> retrieved mirage-time.3.0.0  (cached)
-> retrieved mirage-time-unix.3.0.0  (cached)
-> retrieved mirage-vnetif.0.6.2  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved dune.3.16.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved dune-configurator.3.16.0  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved topkg.1.0.7  (cached)
-> installed cmdliner.1.3.0
-> 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.16.0
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed domain-name.0.4.0
-> installed macaddr.5.6.0
-> installed stdlib-shims.0.3.0
-> installed re.1.11.0
-> installed ocaml-syntax-shims.1.0.0
-> installed cppo.1.6.9
-> installed ipaddr.5.6.0
-> installed ocplib-endian.1.2
-> installed alcotest.1.7.0
-> installed dune-configurator.3.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 mirage-vnetif.0.6.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-06-17 19:40.35 ---> saved as "de080fb186b79cf89fe9f8a666d28fd09b98ec4f76aa491865f0deb04f6f5c1b"


/src: (copy (src .) (dst /src))
2024-06-17 19:40.35 ---> saved as "63bb3d3d68e711a382d8a3022e80fda23c8db93b6814d05eadad56f952618d9b"


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


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


  [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.749s. 13 tests run.
2024-06-17 19:40.42 ---> saved as "f3adaaf1e0f0781f54ce22ba56c6f5dba84424a884e1d24276d2e096d8c7a623"
Job succeeded
2024-06-17 19:40.43: Job succeeded