2024-12-19 21:23.12: New job: test mirage/mirage-net https://github.com/mirage/mirage-net.git#refs/heads/main (c71ddb2337e86724e8fe5739fc0e5765b05ada33) (linux-ppc64:debian-12-4.14_ppc64_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:0de7d553711319f717f8c092f34f6f8e860144aa53fd7708a27e2688c37ecb3f
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.14@sha256:0de7d553711319f717f8c092f34f6f8e860144aa53fd7708a27e2688c37ecb3f
# debian-12-4.14_ppc64_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 host-arch-ppc64.1 host-system-other.1 lwt.5.9.0 macaddr.5.6.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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
2024-12-19 21:23.12: Using cache hint "mirage/mirage-net-ocaml/opam:debian-12-ocaml-4.14@sha256:0de7d553711319f717f8c092f34f6f8e860144aa53fd7708a27e2688c37ecb3f-debian-12-4.14_ppc64_opam-2.3-93db47fa6fe9412e91c8f7d16292a460"
2024-12-19 21:23.12: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:0de7d553711319f717f8c092f34f6f8e860144aa53fd7708a27e2688c37ecb3f)
(comment debian-12-4.14_ppc64_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 host-arch-ppc64.1 host-system-other.1 lwt.5.9.0 macaddr.5.6.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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"))
)
2024-12-19 21:23.12: Waiting for resource in pool OCluster
2024-12-19 22:42.01: Waiting for worker…
2024-12-19 23:41.22: Got resource from pool OCluster
Building on orithia.caelum.ci.dev
All commits already cached
HEAD is now at c71ddb2 Merge pull request #26 from hannesm/fix-readme
(from ocaml/opam:debian-12-ocaml-4.14@sha256:0de7d553711319f717f8c092f34f6f8e860144aa53fd7708a27e2688c37ecb3f)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:0de7d553711319f717f8c092f34f6f8e860144aa53fd7708a27e2688c37ecb3f' locally
docker.io/ocaml/opam@sha256:0de7d553711319f717f8c092f34f6f8e860144aa53fd7708a27e2688c37ecb3f: Pulling from ocaml/opam
Digest: sha256:0de7d553711319f717f8c092f34f6f8e860144aa53fd7708a27e2688c37ecb3f
Status: Downloaded newer image for ocaml/opam@sha256:0de7d553711319f717f8c092f34f6f8e860144aa53fd7708a27e2688c37ecb3f
2024-12-19 23:41.25 ---> using "0af90c9dd6c29b01fecaae4378f5b3e059f5e517ef895f520f4e451dddbc0b16" from cache
/: (comment debian-12-4.14_ppc64_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-19 23:41.25 ---> using "87704848beaec9a51634e5361e49e6866f27d52b6e0a1d5efe378f0f1e557301" 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-19 23:41.25 ---> using "c193b73b9b98e399e7d2693ffa71bd689dd0ee7c3c6d7cc4b7a063200afb3449" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-49-generic
The OCaml toplevel, version 4.14.2
2.3.0
2024-12-19 23:41.25 ---> using "d282309be8783f377bb298e297c5711e098638ec9dafc6af58356d6a333f8979" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-12-19 23:41.25 ---> using "bdac7c2851cfe916bc7dbb4b8b9b43b4591e2266082a97853d76ddf1b1c5719b" 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..d5d6349c47 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-19 23:41.25 ---> using "310c5edebb3b9633b55f79b67242fd07451ae1acc4b15bbbda5704b99dff0f9b" from cache
/src: (copy (src mirage-net.opam) (dst ./))
2024-12-19 23:41.32 ---> saved as "4db1712803ae9ba16611a3d1143a961f86c813734c42f6b238e1b71f841176be"
/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-19 23:41.41 ---> saved as "d466c750ee1e737aea907e194f5988d348525b6fd87d4931e85a532caaaf31ee"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2024-12-19 23:41.47 ---> saved as "8c583a277d76bf7ffb948f1c41ec75331fb8c3350a5e261f124abb69609c7334"
/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 host-arch-ppc64.1 host-system-other.1 lwt.5.9.0 macaddr.5.6.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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 bookworm-updates/main ppc64el Packages.diff/Index [14.0 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main ppc64el Packages T-2024-12-07-2012.31-F-2024-12-07-2012.31.pdiff [6928 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main ppc64el Packages T-2024-12-07-2012.31-F-2024-12-07-2012.31.pdiff [6928 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main ppc64el Packages [226 kB]
- Fetched 350 kB in 0s (906 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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-ppc64 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-bigarray is already installed (current version is base).
2024-12-19 23:42.16 ---> saved as "fa056b1f5ab1db9d5dc99a4cf8ad1d8f6787328c2f3879025643f3755890a4c1"
/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-ppc64 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-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 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 cstruct.6.2.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)
2024-12-19 23:43.48 ---> saved as "a8864e749eaa1a2da84fbcbfe91c0afa21ad8f47b256e76ef5e2abf0fde85f04"
/src: (copy (src .) (dst /src))
2024-12-19 23:44.02 ---> saved as "8a226dd9e5c09a877428583a0af56037072a6eff89c0824c08f4fc58e16fcdc2"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2024-12-19 23:44.22 ---> saved as "a100f6d3f3ac98d119d2eced9698876f42e58b08b7d7abf3465e4e85e5c5859a"
Job succeeded
2024-12-19 23:44.24: Job succeeded