Organisationsmiragemirage-net-unix2c0f0b (main)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-05-10 22:06.58: New job: test mirage/mirage-net-unix https://github.com/mirage/mirage-net-unix.git#refs/heads/main (2c0f0b766987b3c8d547394f3e7ae2afb06bece0) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/mirage-net-unix.git" -b "main" && cd "mirage-net-unix" && git reset --hard 2c0f0b76
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260
# debian-12-4.06_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
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 819388d34cb9356eecd0223a468956daaae1705a || git fetch origin master) && git reset -q --hard 819388d34cb9356eecd0223a468956daaae1705a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-net-unix.opam ./
RUN opam pin add -yn mirage-net-unix.dev './'
ENV DEPS="alcotest.0.5.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.3 conf-m4.1 cppo.1.4.1 cstruct.4.0.0 cstruct-lwt.3.4.0 domain-name.0.3.0 dune.1.9.0 fmt.0.8.0 ipaddr.4.0.0 jbuilder.transition logs.0.6.2 lwt.4.0.0 macaddr.4.0.0 mirage-device.2.0.0 mirage-net.3.0.1 ocaml.4.06.1 ocaml-base-compiler.4.06.1 ocaml-config.1 ocamlbuild.0.9.1 ocamlfind.1.7.3-1 result.1.0 sexplib0.v0.11.0 topkg.0.7.5 tuntap.1.8.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y mirage-net-unix.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-05-10 22:06.58: Using cache hint "mirage/mirage-net-unix-ocaml/opam@sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260-debian-12-4.06_opam-2.1-d2e2e0ac9a48b98ef0a800b68a0b864a"
2024-05-10 22:06.58: Using OBuilder spec:
((from ocaml/opam@sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260)
 (comment debian-12-4.06_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (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 819388d34cb9356eecd0223a468956daaae1705a || git fetch origin master) && git reset -q --hard 819388d34cb9356eecd0223a468956daaae1705a && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src mirage-net-unix.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn mirage-net-unix.dev './'"))
 (env DEPS "alcotest.0.5.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.3 conf-m4.1 cppo.1.4.1 cstruct.4.0.0 cstruct-lwt.3.4.0 domain-name.0.3.0 dune.1.9.0 fmt.0.8.0 ipaddr.4.0.0 jbuilder.transition logs.0.6.2 lwt.4.0.0 macaddr.4.0.0 mirage-device.2.0.0 mirage-net.3.0.1 ocaml.4.06.1 ocaml-base-compiler.4.06.1 ocaml-config.1 ocamlbuild.0.9.1 ocamlfind.1.7.3-1 result.1.0 sexplib0.v0.11.0 topkg.0.7.5 tuntap.1.8.1")
 (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 mirage-net-unix.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-05-10 22:06.58: Waiting for resource in pool OCluster
2024-05-11 12:43.41: Waiting for worker…
2024-05-11 12:48.39: Got resource from pool OCluster
Building on x86-bm-c12.sw.ocaml.org
All commits already cached
HEAD is now at 2c0f0b7 opam: pinned -> dev


(from ocaml/opam@sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260)
Unable to find image 'ocaml/opam@sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260' locally
docker.io/ocaml/opam@sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260: Pulling from ocaml/opam
Digest: sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260
Status: Downloaded newer image for ocaml/opam@sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260
2024-05-11 12:48.40 ---> using "892c338b589a62a59c59cff7a94a45d05cc552a424c9217d6aaf3ec3cf967845" from cache


/: (comment debian-12-4.06_opam-2.1)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-05-11 12:48.40 ---> using "e47f485891503cb0e5d103b0e01a5495a94f6323ae2185ffb1e88bc155347da7" 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.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-05-11 12:48.40 ---> using "30f7e8eacb9385fb19ac2c9eeaa3d1cbd712dc8e6721f870397bd99d25a37e6f" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.06.1
2.1.5
2024-05-11 12:48.40 ---> using "87188233f0fd5a18ddfae1bad560620237af3fe8f77e4ae5cbf63cb0ef649f3c" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-11 12:48.40 ---> using "49f815766ee289566034e84eafdd5132e0b4b6683aa5cc20f27e7f4946d8e0f7" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 819388d34cb9356eecd0223a468956daaae1705a || git fetch origin master) && git reset -q --hard 819388d34cb9356eecd0223a468956daaae1705a && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   d4fc3679e9..2ae169d7d0  master     -> origin/master
819388d34c @dra27 maintains the OCaml Museum


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from 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, 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-05-11 12:48.40 ---> using "6ec044fe91329e5ccbc1d1fa01aaaa1368a30c7843e874e0747e9faeffbbbe91" from cache


/src: (copy (src mirage-net-unix.opam) (dst ./))
2024-05-11 12:48.40 ---> saved as "6937434787b535fc867eecdc17dfee07806257b693812ded42947d2fac78468d"


/src: (run (network host)
           (shell "opam pin add -yn mirage-net-unix.dev './'"))
[mirage-net-unix.dev] synchronised (file:///src)
mirage-net-unix is now pinned to file:///src (version dev)
2024-05-11 12:48.42 ---> saved as "ae2c3951842528a732bab0f2b29d51accc0ee1856b7de9c05119de800f804a95"


/src: (env DEPS "alcotest.0.5.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.3 conf-m4.1 cppo.1.4.1 cstruct.4.0.0 cstruct-lwt.3.4.0 domain-name.0.3.0 dune.1.9.0 fmt.0.8.0 ipaddr.4.0.0 jbuilder.transition logs.0.6.2 lwt.4.0.0 macaddr.4.0.0 mirage-device.2.0.0 mirage-net.3.0.1 ocaml.4.06.1 ocaml-base-compiler.4.06.1 ocaml-config.1 ocamlbuild.0.9.1 ocamlfind.1.7.3-1 result.1.0 sexplib0.v0.11.0 topkg.0.7.5 tuntap.1.8.1")


/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 mirage-net-unix.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [155 kB]
- Fetched 258 kB in 0s (1015 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-net-unix.dev] synchronised (no changes)


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.06.1).
[NOTE] Package ocaml is already installed (current version is 4.06.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-bigarray is already installed (current version is base).


The following system packages will first need to be installed:
    m4


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- debconf: delaying package configuration, since apt-utils is not installed


2024-05-11 12:48.58 ---> saved as "11d633bba7874ad0574dd85aa5cfaf09443d5589931a46ebd7bad6489f984ef6"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.06.1).
[NOTE] Package ocaml is already installed (current version is 4.06.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-bigarray is already installed (current version is base).
The following actions will be performed:
  - install dune          1.9.0
  - install cmdliner      1.0.3
  - install ocamlbuild    0.9.1
  - install conf-m4       1
  - install result        1.0
  - install macaddr       4.0.0
  - install jbuilder      transition
  - install cstruct       4.0.0
  - install ocamlfind     1.7.3-1
  - install sexplib0      v0.11.0
  - install topkg         0.7.5
  - install base-bytes    base
  - install fmt           0.8.0
  - install cppo          1.4.1
  - install astring       0.8.2
  - install lwt           4.0.0       For the PPX, please install package lwt_ppx
                                      For Lwt_log and Lwt_daemon, please install package lwt_log
  - install domain-name   0.3.0
  - install alcotest      0.5.0
  - install mirage-device 2.0.0
  - install logs          0.6.2
  - install cstruct-lwt   3.4.0
  - install ipaddr        4.0.0
  - install mirage-net    3.0.1
  - install tuntap        1.8.1
===== 24 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.2  (cached)
-> retrieved cmdliner.1.0.3  (cached)
-> retrieved cppo.1.4.1  (cached)
-> installed conf-m4.1
-> retrieved alcotest.0.5.0  (https://github.com/mirage/alcotest/releases/download/0.5.0/alcotest-0.5.0.tbz)
-> retrieved cstruct.4.0.0  (cached)
-> retrieved cstruct-lwt.3.4.0  (cached)
-> retrieved domain-name.0.3.0  (cached)
-> retrieved fmt.0.8.0  (cached)
-> retrieved ipaddr.4.0.0  (cached)
-> retrieved logs.0.6.2  (cached)
-> retrieved lwt.4.0.0  (cached)
-> retrieved macaddr.4.0.0  (cached)
-> retrieved mirage-device.2.0.0  (cached)
-> retrieved mirage-net.3.0.1  (cached)
-> retrieved ocamlbuild.0.9.1  (cached)
-> retrieved ocamlfind.1.7.3-1  (cached)
-> retrieved result.1.0  (cached)
-> retrieved sexplib0.v0.11.0  (cached)
-> retrieved topkg.0.7.5  (cached)
-> retrieved tuntap.1.8.1  (cached)
-> installed result.1.0
-> retrieved dune.1.9.0  (https://github.com/ocaml/dune/releases/download/1.9.0/dune-1.9.0.tbz)
-> installed cmdliner.1.0.3
-> installed ocamlfind.1.7.3-1
-> installed base-bytes.base
-> installed ocamlbuild.0.9.1
-> installed cppo.1.4.1
-> installed topkg.0.7.5
-> installed fmt.0.8.0
-> installed astring.0.8.2
-> installed alcotest.0.5.0
-> installed dune.1.9.0
-> installed jbuilder.transition
-> installed macaddr.4.0.0
-> installed domain-name.0.3.0
-> installed cstruct.4.0.0
-> installed sexplib0.v0.11.0
-> installed ipaddr.4.0.0
-> installed tuntap.1.8.1
-> installed lwt.4.0.0
-> installed mirage-device.2.0.0
-> installed cstruct-lwt.3.4.0
-> installed mirage-net.3.0.1
-> installed logs.0.6.2
Done.


<><> lwt.4.0.0 installed successfully <><><><><><><><><><><><><><><><><><><><><>
=> Lwt 4.0.0 has made some breaking changes. See
     https://github.com/ocsigen/lwt/issues/453


<><> jbuilder.transition installed successfully <><><><><><><><><><><><><><><><>
=> Jbuilder has been renamed and the jbuilder package is now a transition package. Use the dune package instead.
# Run eval $(opam env) to update the current shell environment
2024-05-11 12:49.54 ---> saved as "0c73357f2253e444af29e2193006ffaea94685b27939d7274837aafdf94ac6f4"


/src: (copy (src .) (dst /src))
2024-05-11 12:49.54 ---> saved as "a6456679eda60f62dc007fb4ebe1d1ca444ce5ce065cbb53b749142a1c38d8cb"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
        test alias test/runtest (exit 3)
(cd _build/default/test && ./test.exe)
tput: No value for $TERM and no -T specified
stty: 'standard input': Inappropriate ioctl for device
Testing mirage-net-unix.
[ERROR]             tests          0   connect.
[ERROR]             tests          1   disconnect.
[ERROR]             tests          2   write.
The full test results are available in `_tests`.
3 errors! in 0.001s. 3 tests run.
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-05-11 12:49.55: Job failed: Failed: Build failed