Organisationsmiragemirage-net-xen11815d ()alpine-3.21-4.14_opam-2.3

alpine-3.21-4.14_opam-2.3

Logs

Show full logs
2025-03-05 21:25.48: New job: test mirage/mirage-net-xen https://github.com/mirage/mirage-net-xen.git#refs/heads/main (11815dcad78e039df8656e4802f82198fe5630b3) (linux-x86_64:alpine-3.21-4.14_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-4.14@sha256:96b7254f58c3573ba306b938fe2d5ea91c5abce3fa85e1486f9a1932a1f76394
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/mirage/mirage-net-xen.git" -b "main" && cd "mirage-net-xen" && git reset --hard 11815dca
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-4.14@sha256:96b7254f58c3573ba306b938fe2d5ea91c5abce3fa85e1486f9a1932a1f76394
# alpine-3.21-4.14_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 91d74cddbf72d811a49b9630c97f596a1cff1b01 || git fetch origin master) && git reset -q --hard 91d74cddbf72d811a49b9630c97f596a1cff1b01 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-net-xen.opam ./
RUN opam pin add -yn mirage-net-xen.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base bheap.2.0.0 cmdliner.1.3.0 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.1 dune.3.17.2 dune-configurator.3.17.2 duration.0.2.1 fmt.0.9.0 io-page.3.0.0 ipaddr.5.6.0 logs.0.7.0 lwt.5.9.0 lwt-dllist.1.0.1 macaddr.5.6.0 metrics.0.4.1 metrics-lwt.0.4.1 mirage-net.4.0.0 mirage-runtime.4.9.0 mirage-sleep.4.0.0 mirage-xen.9.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 shared-memory-ring.3.2.1 shared-memory-ring-lwt.3.2.1 topkg.1.0.7 xenstore.2.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y mirage-net-xen.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-03-05 21:25.48: Using cache hint "mirage/mirage-net-xen-ocaml/opam:alpine-3.21-ocaml-4.14@sha256:96b7254f58c3573ba306b938fe2d5ea91c5abce3fa85e1486f9a1932a1f76394-alpine-3.21-4.14_opam-2.3-9ed7509e73da0f1c3164469f17268f29"
2025-03-05 21:25.48: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:96b7254f58c3573ba306b938fe2d5ea91c5abce3fa85e1486f9a1932a1f76394)
 (comment alpine-3.21-4.14_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 91d74cddbf72d811a49b9630c97f596a1cff1b01 || git fetch origin master) && git reset -q --hard 91d74cddbf72d811a49b9630c97f596a1cff1b01 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src mirage-net-xen.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn mirage-net-xen.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 bheap.2.0.0 cmdliner.1.3.0 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.1 dune.3.17.2 dune-configurator.3.17.2 duration.0.2.1 fmt.0.9.0 io-page.3.0.0 ipaddr.5.6.0 logs.0.7.0 lwt.5.9.0 lwt-dllist.1.0.1 macaddr.5.6.0 metrics.0.4.1 metrics-lwt.0.4.1 mirage-net.4.0.0 mirage-runtime.4.9.0 mirage-sleep.4.0.0 mirage-xen.9.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 shared-memory-ring.3.2.1 shared-memory-ring-lwt.3.2.1 topkg.1.0.7 xenstore.2.3.0")
 (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-xen.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-03-05 21:25.48: Waiting for resource in pool OCluster
2025-03-05 21:35.23: Waiting for worker…
2025-03-05 21:38.05: Got resource from pool OCluster
Building on x86-bm-c8.sw.ocaml.org
All commits already cached
HEAD is now at 11815dc changes for 2.1.5

(from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:96b7254f58c3573ba306b938fe2d5ea91c5abce3fa85e1486f9a1932a1f76394)
Unable to find image 'ocaml/opam:alpine-3.21-ocaml-4.14@sha256:96b7254f58c3573ba306b938fe2d5ea91c5abce3fa85e1486f9a1932a1f76394' locally
docker.io/ocaml/opam@sha256:96b7254f58c3573ba306b938fe2d5ea91c5abce3fa85e1486f9a1932a1f76394: Pulling from ocaml/opam
4c6b0d8fe12d: Pulling fs layer
4c6b0d8fe12d: Verifying Checksum
4c6b0d8fe12d: Download complete
4c6b0d8fe12d: Pull complete
Digest: sha256:96b7254f58c3573ba306b938fe2d5ea91c5abce3fa85e1486f9a1932a1f76394
Status: Downloaded newer image for ocaml/opam@sha256:96b7254f58c3573ba306b938fe2d5ea91c5abce3fa85e1486f9a1932a1f76394
2025-03-05 21:38.05 ---> using "4e39c0c3d776eff1edded1b34ce7287522f5313250cb83728b85104013b8e410" from cache

/: (comment alpine-3.21-4.14_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-03-05 21:38.05 ---> using "7228723a7197132f39aef2400e498b401cd5e51bb28ebc7d791a69a436399db4" 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 "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-03-05 21:38.05 ---> using "7628b82a9680267256f52fdc8121941567d176e14eb706c059bbee9adcd3f0a1" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-03-05 21:38.05 ---> using "654222c3450609134f88d30623ebc89769810cd3e4071131125372352770497e" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-03-05 21:38.05 ---> using "858427d43bda3a0f838942d844c02a80ed0b25ae578ae2c40b94aa41e93c2dc6" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 91d74cddbf72d811a49b9630c97f596a1cff1b01 || git fetch origin master) && git reset -q --hard 91d74cddbf72d811a49b9630c97f596a1cff1b01 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   d8f6e9a505..91d74cddbf  master     -> origin/master
91d74cddbf Merge pull request #27551 from hannesm/release-mirage-v4.9.0

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[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-03-05 21:39.31 ---> saved as "64466602bbb89f216e1ff1a5778083e0c1b0828bfbd50a2fc8b12d0017fda69b"

/src: (copy (src mirage-net-xen.opam) (dst ./))
2025-03-05 21:39.31 ---> saved as "b904adb0d2dacffc92e20453d1112b812e4afea9d2af752a04f6932c1c97a347"

/src: (run (network host)
           (shell "opam pin add -yn mirage-net-xen.dev './'"))
[mirage-net-xen.dev] synchronised (file:///src)
mirage-net-xen is now pinned to file:///src (version dev)
2025-03-05 21:39.34 ---> saved as "27441996737049594753f296ff095b5aa9f678008ec8c5d3876098bf3f560c45"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-05 21:39.34 ---> saved as "1111be6988774b17c44e21ea9c1e44f9805f5cc8951baceabc2c9a46c24e4f3c"

/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base bheap.2.0.0 cmdliner.1.3.0 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.1 dune.3.17.2 dune-configurator.3.17.2 duration.0.2.1 fmt.0.9.0 io-page.3.0.0 ipaddr.5.6.0 logs.0.7.0 lwt.5.9.0 lwt-dllist.1.0.1 macaddr.5.6.0 metrics.0.4.1 metrics-lwt.0.4.1 mirage-net.4.0.0 mirage-runtime.4.9.0 mirage-sleep.4.0.0 mirage-xen.9.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 shared-memory-ring.3.2.1 shared-memory-ring-lwt.3.2.1 topkg.1.0.7 xenstore.2.3.0")

/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-xen.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.21.3-95-g22c7b41f717 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-118-gb9550ee9d04 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v20250108-3372-g7ba64f6f012 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20250108-3382-g1588f18c210 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20250108-3382-g1588f18c210 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 56849 distinct packages available

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-net-xen.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 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).
2025-03-05 21:40.04 ---> saved as "52ea043d93f4227915bc851aa7f349212c0aae09da4abb626c886ac14b8cf279"

/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 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 31 packages
  - install base-bytes             base
  - install bheap                  2.0.0
  - install cmdliner               1.3.0
  - install conf-pkg-config        4
  - install cppo                   1.8.0
  - install csexp                  1.5.2
  - install cstruct                6.2.0
  - install domain-name            0.4.1
  - install dune                   3.17.2
  - install dune-configurator      3.17.2
  - install duration               0.2.1
  - install fmt                    0.9.0
  - install io-page                3.0.0
  - install ipaddr                 5.6.0
  - install logs                   0.7.0
  - install lwt                    5.9.0
  - install lwt-dllist             1.0.1
  - install macaddr                5.6.0
  - install metrics                0.4.1
  - install metrics-lwt            0.4.1
  - install mirage-net             4.0.0
  - install mirage-runtime         4.9.0
  - install mirage-sleep           4.0.0
  - install mirage-xen             9.0.0
  - install ocamlbuild             0.16.1
  - install ocamlfind              1.9.8
  - install ocplib-endian          1.2
  - install shared-memory-ring     3.2.1
  - install shared-memory-ring-lwt 3.2.1
  - install topkg                  1.0.7
  - install xenstore               2.3.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.4
-> retrieved bheap.2.0.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved domain-name.0.4.1  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved io-page.3.0.0  (cached)
-> retrieved ipaddr.5.6.0, macaddr.5.6.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lwt-dllist.1.0.1  (cached)
-> retrieved lwt.5.9.0  (cached)
-> retrieved metrics.0.4.1, metrics-lwt.0.4.1  (cached)
-> retrieved mirage-net.4.0.0  (cached)
-> retrieved mirage-sleep.4.0.0  (cached)
-> retrieved mirage-runtime.4.9.0  (cached)
-> retrieved mirage-xen.9.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved shared-memory-ring.3.2.1, shared-memory-ring-lwt.3.2.1  (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved xenstore.2.3.0  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.7
-> installed fmt.0.9.0
-> installed dune.3.17.2
-> installed bheap.2.0.0
-> installed duration.0.2.1
-> installed lwt-dllist.1.0.1
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed domain-name.0.4.1
-> installed macaddr.5.6.0
-> installed cppo.1.8.0
-> installed metrics.0.4.1
-> installed io-page.3.0.0
-> installed shared-memory-ring.3.2.1
-> installed ocplib-endian.1.2
-> installed ipaddr.5.6.0
-> installed dune-configurator.3.17.2
-> installed lwt.5.9.0
-> installed mirage-net.4.0.0
-> installed shared-memory-ring-lwt.3.2.1
-> installed mirage-sleep.4.0.0
-> installed xenstore.2.3.0
-> installed logs.0.7.0
-> installed metrics-lwt.0.4.1
-> installed mirage-runtime.4.9.0
-> installed mirage-xen.9.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-05 21:41.13 ---> saved as "7734591058e5974cf285ccbdd4f53aedb10fb618d6e9960f3081d3dfacc008df"

/src: (copy (src .) (dst /src))
2025-03-05 21:41.13 ---> saved as "db4a052d4917edbe35def720617e3735747081ac08601c72c3127d343a441fe3"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-03-05 21:41.13 ---> saved as "f8b27da5c1dbb35102fdb3dcdce6c00531c4f106d091506efed69e849441b5a6"
Job succeeded
2025-03-05 21:41.14: Job succeeded