Organisationsmiragemirage-netc71ddb (main)debian-12-4.09_opam-2.3

debian-12-4.09_opam-2.3

Link Copied
Code Copied

Logs

2024-12-19 22:51.01: New job: test mirage/mirage-net https://github.com/mirage/mirage-net.git#refs/heads/main (c71ddb2337e86724e8fe5739fc0e5765b05ada33) (linux-x86_64:debian-12-4.09_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.09@sha256:6ea0c83661f0e1398dd56b5d6c9cb789d24faad11488358d036ec350dc35981b
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/mirage-net.git" -b "main" && cd "mirage-net" && git reset --hard c71ddb23
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.09@sha256:6ea0c83661f0e1398dd56b5d6c9cb789d24faad11488358d036ec350dc35981b
# debian-12-4.09_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-net.opam ./
RUN opam pin add -yn mirage-net.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.17.1 dune-configurator.3.17.1 fmt.0.9.0 lwt.5.9.0 macaddr.5.6.0 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-config.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 topkg.1.0.7"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y mirage-net.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-12-19 22:51.01: Using cache hint "mirage/mirage-net-ocaml/opam:debian-12-ocaml-4.09@sha256:6ea0c83661f0e1398dd56b5d6c9cb789d24faad11488358d036ec350dc35981b-debian-12-4.09_opam-2.3-5e3c0f8789cd63e2f5b0aad42536444d"
2024-12-19 22:51.01: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.09@sha256:6ea0c83661f0e1398dd56b5d6c9cb789d24faad11488358d036ec350dc35981b)
(comment debian-12-4.09_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mirage-net.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn mirage-net.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.17.1 dune-configurator.3.17.1 fmt.0.9.0 lwt.5.9.0 macaddr.5.6.0 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-config.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 topkg.1.0.7")
(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.3 --depext-only -y mirage-net.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-12-19 22:51.01: Waiting for resource in pool OCluster
2024-12-20 18:17.31: Waiting for worker…
2024-12-20 18:21.29: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
All commits already cached
HEAD is now at c71ddb2 Merge pull request #26 from hannesm/fix-readme


(from ocaml/opam:debian-12-ocaml-4.09@sha256:6ea0c83661f0e1398dd56b5d6c9cb789d24faad11488358d036ec350dc35981b)
2024-12-20 18:21.29 ---> using "a08a610821f39e59c8b182489d698b5cc77184445c1d8ab1097a22edb747dc43" from cache


/: (comment debian-12-4.09_opam-2.3)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2024-12-20 18:21.29 ---> using "c745e0e850f83bad5f3de89c458d56e8b0bec7dff04a1784d7a9fc4ef4b71dba" 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 development 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] synchronised from file:///home/opam/opam-repository
2024-12-20 18:21.29 ---> using "459188557887be96c7c612d417821b8838df7d0d1d5b9bb34098a2e67a3d6640" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 4.09.1
2.3.0
2024-12-20 18:21.29 ---> using "5a810154d6789fcc45e53c4d14533aa9731bd712abb9d3e6a2452e528fe00121" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-12-20 18:21.29 ---> using "4e223127c836c8a93c7b5840e138692f7ddef4154586d307980bc59b94f6cfa3" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
de786e28db..7990d7d220  master     -> origin/master
5c7ffb23c8 Merge pull request #27137 from maiste/release-dune-3.17.1


<><> 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.
# To update the current shell environment, run: eval $(opam env)
2024-12-20 18:21.29 ---> using "bcafb6be950b172e71450dd5009efc1daa331314932b9b92a39fcdfb9186717f" from cache


/src: (copy (src mirage-net.opam) (dst ./))
2024-12-20 18:21.29 ---> saved as "3548b735ff8ea5894ac651cc0069381ca753959afff0238733742bb731ab79cc"


/src: (run (network host)
(shell "opam pin add -yn mirage-net.dev './'"))
[mirage-net.dev] synchronised (file:///src)
mirage-net is now pinned to file:///src (version dev)
2024-12-20 18:21.31 ---> saved as "e4a7688501fd95da38d93f9be755ac4c097c178967920676e036da22b3d27d88"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2024-12-20 18:21.31 ---> saved as "a20fe4a8972156bfb3ab8a772b3b7baaf848e6e312b6ab8c66e42b64b9b7af4b"


/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.17.1 dune-configurator.3.17.1 fmt.0.9.0 lwt.5.9.0 macaddr.5.6.0 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-config.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 topkg.1.0.7")


/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.3 --depext-only -y mirage-net.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 [236 kB]
- Fetched 339 kB in 0s (1116 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-net.dev] synchronised (file:///src)


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.09.1).
[NOTE] Package ocaml is already installed (current version is 4.09.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).
2024-12-20 18:21.51 ---> saved as "f20b59a1ed189cdb5e732cb1904984eadffbc9e081f83e27756b4e4c6232e816"


/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.09.1).
[NOTE] Package ocaml is already installed (current version is 4.09.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 13 packages
- install base-bytes        base
- install cppo              1.8.0
- install csexp             1.5.2
- install cstruct           6.2.0
- install dune              3.17.1
- install dune-configurator 3.17.1
- install fmt               0.9.0
- install lwt               5.9.0
- install macaddr           5.6.0
- install ocamlbuild        0.15.0
- install ocamlfind         1.9.6
- install ocplib-endian     1.2
- install topkg             1.0.7


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved lwt.5.9.0  (cached)
-> retrieved macaddr.5.6.0  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved dune.3.17.1, dune-configurator.3.17.1  (cached)
-> installed ocamlbuild.0.15.0
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed topkg.1.0.7
-> installed fmt.0.9.0
-> installed dune.3.17.1
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed macaddr.5.6.0
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.17.1
-> installed lwt.5.9.0
Done.
# To update the current shell environment, run: eval $(opam env)
2024-12-20 18:23.03 ---> saved as "f4d33f9348e7547b60871865cd45ff619cb4f6b7b25f4b7af4e01ad08a5c4f5e"


/src: (copy (src .) (dst /src))
2024-12-20 18:23.04 ---> saved as "ae7bdff90f043841b917c4052f8e0a82ddf558913b5cdedd33eef3097eeea0ec"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2024-12-20 18:23.04 ---> saved as "d9352c47cb8fe555c96e6be0c7e41180954af9ee182a9b581d252b961c77f76a"
Job succeeded
2024-12-20 18:23.04: Job succeeded