Organisationsmiragemirage-net8cfd79 ()debian-12-5.2+flambda_opam-2.3

debian-12-5.2+flambda_opam-2.3

Link Copied
Code Copied

Logs

2024-12-19 22:52.05: New job: test mirage/mirage-net https://github.com/mirage/mirage-net.git#refs/pull/25/head (8cfd7946c6f3baf7ec2722d412da9be9ddc2ef10) (linux-x86_64:debian-12-5.2+flambda_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.2-flambda@sha256:44d5c709b81869596702e0dde4e425e4e31cd779817c33bc2e392ff5557e501e
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/mirage-net.git" && cd "mirage-net" && git fetch origin "refs/pull/25/head" && git reset --hard 8cfd7946
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.2-flambda@sha256:44d5c709b81869596702e0dde4e425e4e31cd779817c33bc2e392ff5557e501e
# debian-12-5.2+flambda_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-domains.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 lwt.5.9.0 macaddr.5.6.0 ocaml.5.2.1 ocaml-config.3 ocaml-variants.5.2.1+options 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:52.05: Using cache hint "mirage/mirage-net-ocaml/opam:debian-12-ocaml-5.2-flambda@sha256:44d5c709b81869596702e0dde4e425e4e31cd779817c33bc2e392ff5557e501e-debian-12-5.2+flambda_opam-2.3-31219a7dd32857f5751cfdd7f8908d95"
2024-12-19 22:52.05: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.2-flambda@sha256:44d5c709b81869596702e0dde4e425e4e31cd779817c33bc2e392ff5557e501e)
(comment debian-12-5.2+flambda_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-domains.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 lwt.5.9.0 macaddr.5.6.0 ocaml.5.2.1 ocaml-config.3 ocaml-variants.5.2.1+options 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:52.05: Waiting for resource in pool OCluster
2024-12-20 18:37.23: Waiting for worker…
2024-12-20 18:40.23: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
All commits already cached
HEAD is now at 8cfd794 Merge branch 'mirage:main' into remove-cstruct


(from ocaml/opam:debian-12-ocaml-5.2-flambda@sha256:44d5c709b81869596702e0dde4e425e4e31cd779817c33bc2e392ff5557e501e)
2024-12-20 18:40.24 ---> using "4771ed26ce5ba7daf3bad3f6debb72ea2f7d0bd6f8fe5f105a10571d5b14483e" from cache


/: (comment debian-12-5.2+flambda_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:40.24 ---> using "48dca9fc229feb2a77f073a7e533171cea6ad17a9c651f0e5b3f32ff1968fb21" 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:40.24 ---> using "91c3c7b929d8a78f4437c60271dfe5af548c46a762e88b18996921492870da56" from cache


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


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-12-20 18:40.24 ---> using "691020e2b025768b09a62bdd5d216fe68144cbcd6c9d6f67564a7cd766be986f" 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:40.24 ---> using "730c4abe1f2bb27328f9dc4d0e5d4dd3986aafeeafa83a964786168a61c81eed" from cache


/src: (copy (src mirage-net.opam) (dst ./))
2024-12-20 18:40.24 ---> saved as "591f36475a7e137220f5bd918518c2560aec663c4a7a40db031eeb602c128c36"


/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:40.29 ---> saved as "fed36c635e37a3f8aa4e7c5ad4f9f1ddb9199568c9c92c3418811e4c4c840a0a"


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


/src: (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 lwt.5.9.0 macaddr.5.6.0 ocaml.5.2.1 ocaml-config.3 ocaml-variants.5.2.1+options 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 (696 kB/s)
- Reading package lists...
- 


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


[NOTE] Package ocaml-variants is already installed (current version is 5.2.1+options).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml is already installed (current version is 5.2.1).
[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-12-20 18:41.01 ---> saved as "9b4328cb0a437e7cbd824c974447c3a1242cd65c843439a0406b189977539577"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-variants is already installed (current version is 5.2.1+options).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml is already installed (current version is 5.2.1).
[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 12 packages
- install base-bytes        base
- install cppo              1.8.0
- install csexp             1.5.2
- 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 cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved macaddr.5.6.0  (cached)
-> retrieved lwt.5.9.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 ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed fmt.0.9.0
-> installed dune.3.17.1
-> installed macaddr.5.6.0
-> installed csexp.1.5.2
-> 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:43.22 ---> saved as "777e2f2a5ce31b07b57e58a6cae516cb277ff7b215a3f176e8ed52df022dea9c"


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


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