2025-09-01 15:51.14: New job: test mirage/charrua https://github.com/mirage/charrua.git#refs/heads/main (878f722538c1393cd11ba3cbe30ce67ece6a0490) (linux-x86_64:alpine-3.21-5.3_opam-2.4)
Base: ocaml/opam:alpine-3.21-ocaml-5.3@sha256:f6341677628009b798cfd009bfc09e6c6e7e8daa500659db608067bf317ad123
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/charrua.git" -b "main" && cd "charrua" && git reset --hard 878f7225
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-5.3@sha256:f6341677628009b798cfd009bfc09e6c6e7e8daa500659db608067bf317ad123
# alpine-3.21-5.3_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 b7743dd3975456e3979b5535772a71070ecec1f6 || git fetch origin master) && git reset -q --hard b7743dd3975456e3979b5535772a71070ecec1f6 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 charrua.opam charrua-unix.opam charrua-server.opam charrua-client.opam ./
RUN opam pin add -yn charrua.dev './' && \
opam pin add -yn charrua-unix.dev './' && \
opam pin add -yn charrua-server.dev './' && \
opam pin add -yn charrua-client.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.0 arp.4.0.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 cstruct-unix.6.2.0 digestif.1.3.0 domain-name.0.4.1 dune.3.20.1 dune-configurator.3.20.1 duration.0.2.1 eqaf.0.10 ethernet.3.2.0 fmt.0.11.0 ipaddr.5.6.1 ipaddr-cstruct.5.6.1 logs.0.9.0 lru.0.3.1 lwt.5.9.2 lwt-dllist.1.1.0 lwt_log.1.1.2 macaddr.5.6.1 macaddr-cstruct.5.6.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 metrics.0.5.0 mirage-crypto.2.0.2 mirage-crypto-rng.2.0.2 mirage-flow.5.0.0 mirage-mtime.5.2.0 mirage-net.4.0.0 mirage-sleep.4.0.0 mtime.2.1.0 num.1.6 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 parsexp.v0.17.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.36.0 psq.0.2.1 randomconv.0.2.0 rawlink.2.1 rawlink-lwt.2.1 re.1.13.2 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 tcpip.9.0.1 topkg.1.1.0 tuntap.2.0.1 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y charrua.dev charrua-unix.dev charrua-server.dev charrua-client.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-09-01 15:51.14: Using cache hint "mirage/charrua-ocaml/opam:alpine-3.21-ocaml-5.3@sha256:f6341677628009b798cfd009bfc09e6c6e7e8daa500659db608067bf317ad123-alpine-3.21-5.3_opam-2.4-a04755bfe9c372fe0646cc602e942c27"
2025-09-01 15:51.14: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:f6341677628009b798cfd009bfc09e6c6e7e8daa500659db608067bf317ad123)
(comment alpine-3.21-5.3_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /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 b7743dd3975456e3979b5535772a71070ecec1f6 || git fetch origin master) && git reset -q --hard b7743dd3975456e3979b5535772a71070ecec1f6 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src charrua.opam charrua-unix.opam charrua-server.opam charrua-client.opam)
(dst ./))
(run (network host)
(shell "opam pin add -yn charrua.dev './' && \
\nopam pin add -yn charrua-unix.dev './' && \
\nopam pin add -yn charrua-server.dev './' && \
\nopam pin add -yn charrua-client.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.0 arp.4.0.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 cstruct-unix.6.2.0 digestif.1.3.0 domain-name.0.4.1 dune.3.20.1 dune-configurator.3.20.1 duration.0.2.1 eqaf.0.10 ethernet.3.2.0 fmt.0.11.0 ipaddr.5.6.1 ipaddr-cstruct.5.6.1 logs.0.9.0 lru.0.3.1 lwt.5.9.2 lwt-dllist.1.1.0 lwt_log.1.1.2 macaddr.5.6.1 macaddr-cstruct.5.6.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 metrics.0.5.0 mirage-crypto.2.0.2 mirage-crypto-rng.2.0.2 mirage-flow.5.0.0 mirage-mtime.5.2.0 mirage-net.4.0.0 mirage-sleep.4.0.0 mtime.2.1.0 num.1.6 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 parsexp.v0.17.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.36.0 psq.0.2.1 randomconv.0.2.0 rawlink.2.1 rawlink-lwt.2.1 re.1.13.2 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 tcpip.9.0.1 topkg.1.1.0 tuntap.2.0.1 uutf.1.0.4")
(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.4 --depext-only -y charrua.dev charrua-unix.dev charrua-server.dev charrua-client.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-09-01 15:51.14: Waiting for resource in pool OCluster
2025-09-01 16:02.06: Waiting for worker…
2025-09-01 16:06.20: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 878f722 Merge pull request #134 from hannesm/fix
(from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:f6341677628009b798cfd009bfc09e6c6e7e8daa500659db608067bf317ad123)
2025-09-01 16:06.21 ---> using "4f03d9722b1d38951773ed1c3e06918222050f9b7e36e3da45d836913158178b" from cache
/: (comment alpine-3.21-5.3_opam-2.4)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-01 16:06.21 ---> using "9f2b3827877f61e711907a53c0365442ef09a6eef6b48de6cf26fe349d19ea14" 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 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] Initialised
2025-09-01 16:06.21 ---> using "8a1ac9fac4846aa53dc1e32b8ecda435ffc73bfc3e983db0aded4e15b2f29eb4" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-01 16:06.21 ---> using "74b3c67918903b3e462fde7709ab88e33dc6472e2e31f3a4bd01cc6e9fbd405c" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-09-01 16:06.21 ---> using "10f606515cd7c725f81471152a95510c82ccb2187838bdcff5022e5b351073fb" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e b7743dd3975456e3979b5535772a71070ecec1f6 || git fetch origin master) && git reset -q --hard b7743dd3975456e3979b5535772a71070ecec1f6 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
b3b872a94f..6157b5b7f1 master -> origin/master
b7743dd397 Merge pull request #28423 from hannesm/release-mirage-mtime-v5.2.0
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-09-01 16:06.21 ---> using "a16ac7b3ed1e40636ee8e660bbe24559cfafa35ba08419ba0a24b3e187a1a2b4" from cache
/src: (copy (src charrua.opam charrua-unix.opam charrua-server.opam charrua-client.opam)
(dst ./))
2025-09-01 16:06.21 ---> saved as "19efa319e4f4be6116373235237c8aa872b15241704da874de6b15a314b4900b"
/src: (run (network host)
(shell "opam pin add -yn charrua.dev './' && \
\nopam pin add -yn charrua-unix.dev './' && \
\nopam pin add -yn charrua-server.dev './' && \
\nopam pin add -yn charrua-client.dev './'"))
[charrua.dev] synchronised (file:///src)
charrua is now pinned to file:///src (version dev)
[charrua-unix.dev] synchronised (file:///src)
charrua-unix is now pinned to file:///src (version dev)
[charrua-server.dev] synchronised (file:///src)
charrua-server is now pinned to file:///src (version dev)
[charrua-client.dev] synchronised (file:///src)
charrua-client is now pinned to file:///src (version dev)
2025-09-01 16:06.29 ---> saved as "98ed1052f5703bb0e49b6b39134afd7ada928f986dba2df7e1dc5a070c310bc6"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-01 16:06.29 ---> saved as "c438a6548f288b9c5f9d19339c96b21f24f81b96480e3cce0e2ed939ab965f83"
/src: (env DEPS "alcotest.1.9.0 arp.4.0.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 cstruct-unix.6.2.0 digestif.1.3.0 domain-name.0.4.1 dune.3.20.1 dune-configurator.3.20.1 duration.0.2.1 eqaf.0.10 ethernet.3.2.0 fmt.0.11.0 ipaddr.5.6.1 ipaddr-cstruct.5.6.1 logs.0.9.0 lru.0.3.1 lwt.5.9.2 lwt-dllist.1.1.0 lwt_log.1.1.2 macaddr.5.6.1 macaddr-cstruct.5.6.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 metrics.0.5.0 mirage-crypto.2.0.2 mirage-crypto-rng.2.0.2 mirage-flow.5.0.0 mirage-mtime.5.2.0 mirage-net.4.0.0 mirage-sleep.4.0.0 mtime.2.1.0 num.1.6 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 parsexp.v0.17.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.36.0 psq.0.2.1 randomconv.0.2.0 rawlink.2.1 rawlink-lwt.2.1 re.1.13.2 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 tcpip.9.0.1 topkg.1.1.0 tuntap.2.0.1 uutf.1.0.4")
/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.4 --depext-only -y charrua.dev charrua-unix.dev charrua-server.dev charrua-client.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- WARNING: updating https://dl-cdn.alpinelinux.org/alpine/v3.21/main: temporary error (try again later)
- 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.4-39-g69873deaff7 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.4-75-ge59833779c6 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v3.23.0_alpha20250612-5399-gdc5b3135517 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-5412-gbc1f5bec05a [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-5410-g8c14b319f2a [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- 0 unavailable, 1 stale; 59423 distinct packages available
Fatal error: System package update failed with exit code 1 at command:
sudo apk update
"/usr/bin/env" "bash" "-c" "opam update --depexts && opam install --cli=2.4 --depext-only -y charrua.dev charrua-unix.dev charrua-server.dev charrua-client.dev $DEPS" failed with exit status 99
2025-09-01 16:06.36: Job failed: Failed: Build failed