2025-01-05 15:43.48: New job: test mirage/mirage-net https://github.com/mirage/mirage-net.git#refs/pull/25/head (8cfd7946c6f3baf7ec2722d412da9be9ddc2ef10) (linux-x86_64:debian-12-5.3~beta1_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.3-beta1@sha256:1d43e200c8c72f6e0c4962b79fc1760f5e649f35983fed965ed5cf6b12437ac4
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.3-beta1@sha256:1d43e200c8c72f6e0c4962b79fc1760f5e649f35983fed965ed5cf6b12437ac4
# debian-12-5.3~beta1_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 95bfbde2bee0c9a74bdb0f4e9da80fc018c7d361 || git fetch origin master) && git reset -q --hard 95bfbde2bee0c9a74bdb0f4e9da80fc018c7d361 && 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-effects.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.3.0 ocaml-base-compiler.5.3.0~beta1 ocaml-compiler.5.3.0~beta1 ocaml-config.3 ocaml-options-vanilla.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
2025-01-05 15:43.48: Using cache hint "mirage/mirage-net-ocaml/opam:debian-12-ocaml-5.3-beta1@sha256:1d43e200c8c72f6e0c4962b79fc1760f5e649f35983fed965ed5cf6b12437ac4-debian-12-5.3~beta1_opam-2.3-65b4dfb401fe5b745edd1bdab7e791fc"
2025-01-05 15:43.48: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3-beta1@sha256:1d43e200c8c72f6e0c4962b79fc1760f5e649f35983fed965ed5cf6b12437ac4)
(comment debian-12-5.3~beta1_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 95bfbde2bee0c9a74bdb0f4e9da80fc018c7d361 || git fetch origin master) && git reset -q --hard 95bfbde2bee0c9a74bdb0f4e9da80fc018c7d361 && 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-effects.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.3.0 ocaml-base-compiler.5.3.0~beta1 ocaml-compiler.5.3.0~beta1 ocaml-config.3 ocaml-options-vanilla.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"))
)
2025-01-05 15:43.48: Waiting for resource in pool OCluster
2025-01-05 15:47.17: Waiting for worker…
2025-01-05 15:49.37: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
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/mirage-net.git-0e9c81633b107d244283e46a2f2fb637d5ca4c5f/.git/
HEAD is now at 8cfd794 Merge branch 'mirage:main' into remove-cstruct
(from ocaml/opam:debian-12-ocaml-5.3-beta1@sha256:1d43e200c8c72f6e0c4962b79fc1760f5e649f35983fed965ed5cf6b12437ac4)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3-beta1@sha256:1d43e200c8c72f6e0c4962b79fc1760f5e649f35983fed965ed5cf6b12437ac4' locally
docker.io/ocaml/opam@sha256:1d43e200c8c72f6e0c4962b79fc1760f5e649f35983fed965ed5cf6b12437ac4: Pulling from ocaml/opam
729508200011: Pulling fs layer
729508200011: Verifying Checksum
729508200011: Download complete
729508200011: Pull complete
Digest: sha256:1d43e200c8c72f6e0c4962b79fc1760f5e649f35983fed965ed5cf6b12437ac4
Status: Downloaded newer image for ocaml/opam@sha256:1d43e200c8c72f6e0c4962b79fc1760f5e649f35983fed965ed5cf6b12437ac4
2025-01-05 15:49.38 ---> using "a82c84b52308e3e25aab71c272c2c435cd1a05237bc00bb4cea5ec684347f5a6" from cache
/: (comment debian-12-5.3~beta1_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"))
2025-01-05 15:49.38 ---> using "20e0eddd0217dc21d9482073feebe9b6dc0277a131e0b5159a6dfdd0d3c144c6" 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
[NOTE] The 'jobs' option was reset, its value was 39 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "beta": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/ocaml-beta-repository/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-01-05 15:49.38 ---> using "11165f26d02f2e1f5b0503321870786b8310abf2f37bf3690ab28bf2402023aa" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 5.3.0~beta1
2.3.0
2025-01-05 15:49.38 ---> using "f8e7273c65e6fa96b5b9418d0c9a876245eb6bfb863ccba7794aae7708b9e29d" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-01-05 15:49.38 ---> using "951378cc9505ebe3d54253bf328265b826d607f3b71768ab0bc6ddf7bac45566" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 95bfbde2bee0c9a74bdb0f4e9da80fc018c7d361 || git fetch origin master) && git reset -q --hard 95bfbde2bee0c9a74bdb0f4e9da80fc018c7d361 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
de786e28db..306c328a5d master -> origin/master
95bfbde2be Merge pull request #27145 from Octachron/OCaml_5.3.0_release_candidate
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[beta] no changes from git+https://github.com/ocaml/ocaml-beta-repository
[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)
2025-01-05 15:49.38 ---> using "6dcdae12b8317645c25849aafac386fe73d782b755ef8dc7746f29364c0d0375" from cache
/src: (copy (src mirage-net.opam) (dst ./))
2025-01-05 15:49.39 ---> saved as "9706eb4d8e82114189bdc1e7e57a569429c3c218451f2a1ad4173bc47f9916b7"
/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)
2025-01-05 15:49.41 ---> saved as "909835d6ab1566dc71753f5584fbccc6d9375b95398f5f19d526640ef0358bc8"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-01-05 15:49.42 ---> saved as "16f102f3cafa4587fccc6b9a11886d0468416c75c1161408946003a2efe5a597"
/src: (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.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.3.0 ocaml-base-compiler.5.3.0~beta1 ocaml-compiler.5.3.0~beta1 ocaml-config.3 ocaml-options-vanilla.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 [240 kB]
- Fetched 343 kB in 1s (486 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-net.dev] synchronised (file:///src)
[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-compiler is already installed (current version is 5.3.0~beta1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0~beta1).
[NOTE] Package ocaml is already installed (current version is 5.3.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-effects 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).
2025-01-05 15:50.13 ---> saved as "ef9f294a56ee83b7f013de9993daa9869c77ab83c557b7dfd6bb921618d9f1b9"
/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-compiler is already installed (current version is 5.3.0~beta1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0~beta1).
[NOTE] Package ocaml is already installed (current version is 5.3.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-effects 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 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 cppo.1.8.0
-> installed macaddr.5.6.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)
2025-01-05 15:51.20 ---> saved as "c4d25b76ea1c7371218af3510f16b24a8d3f35fa06303e8004322d79fdc90092"
/src: (copy (src .) (dst /src))
2025-01-05 15:51.20 ---> saved as "ab1442ae7cc6b1b5ac5b83fa01c3e151d0c24172ecd2275fc05e38f51ec70f36"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-01-05 15:51.21 ---> saved as "7718048c29ab4c29775aa4e10163f79c93876ce32228a59b45db2fa079edaf25"
Job succeeded
2025-01-05 15:51.21: Job succeeded