2025-01-05 15:43.48: New job: test mirage/mirage-net https://github.com/mirage/mirage-net.git#refs/heads/main (c71ddb2337e86724e8fe5739fc0e5765b05ada33) (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" -b "main" && cd "mirage-net" && git reset --hard c71ddb23
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 cstruct.6.2.0 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-c3204434ea9f54fd975072d133abba3c"
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 cstruct.6.2.0 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.15: Waiting for worker…
2025-01-05 15:49.37: Got resource from pool OCluster
Building on x86-bm-c3.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/mirage-net.git-0e9c81633b107d244283e46a2f2fb637d5ca4c5f/.git/
HEAD is now at c71ddb2 Merge pull request #26 from hannesm/fix-readme
(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
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.38 ---> saved as "3609d0daf43d7a9f1ad9b226e10cf1ed7182036a4507eb74a32259364d5865ec"
/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.40 ---> saved as "8875f8dcd5ba44ec6a27a2534a072757cddf2a6695fbd22644b04e50d79730e3"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-01-05 15:49.40 ---> saved as "513f344543d91c1818c0282ed1ed41a64bb3aee07c93a929d661ade505bdc1c1"
/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 cstruct.6.2.0 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 0s (1200 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.04 ---> saved as "3d3cf09d475fc5ce2c10024bd4bf9e50db0637461c63ee336e7e64185e3dc811"
/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 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 cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved cstruct.6.2.0 (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 macaddr.5.6.0
-> installed csexp.1.5.2
-> installed cstruct.6.2.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)
2025-01-05 15:51.27 ---> saved as "ec45f6a35ce259c825caec9fd2a82db56c06ba83d4348656f3dc84c95a8d705f"
/src: (copy (src .) (dst /src))
2025-01-05 15:51.27 ---> saved as "a86363c1d051a6a0505276a8eef77b905c218d88bee119dc3f655331cf485222"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-01-05 15:51.27 ---> saved as "8ce08d69e5232e14f1ab8988e9a7dfdb4968359f35fa850e4fde9f724427279b"
Job succeeded
2025-01-05 15:51.28: Job succeeded