2025-09-01 09:34.26: New job: test mirage/mirage-sleep https://github.com/mirage/mirage-sleep.git#refs/heads/main (1d5a6743751401479c91dcb34345016a69a8a188) (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/mirage-sleep.git" -b "main" && cd "mirage-sleep" && git reset --hard 1d5a6743
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 53c7f25306cd512b69b4c845f4f1e0d210c49129 || git fetch origin master) && git reset -q --hard 53c7f25306cd512b69b4c845f4f1e0d210c49129 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-sleep.opam ./
RUN opam pin add -yn mirage-sleep.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.20.1 dune-configurator.3.20.1 duration.0.2.1 lwt.5.9.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y mirage-sleep.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 09:34.26: Using cache hint "mirage/mirage-sleep-ocaml/opam:alpine-3.21-ocaml-5.3@sha256:f6341677628009b798cfd009bfc09e6c6e7e8daa500659db608067bf317ad123-alpine-3.21-5.3_opam-2.4-2f937f9646f19f6ff577fa597a24b1e6"
2025-09-01 09:34.26: 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 53c7f25306cd512b69b4c845f4f1e0d210c49129 || git fetch origin master) && git reset -q --hard 53c7f25306cd512b69b4c845f4f1e0d210c49129 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mirage-sleep.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn mirage-sleep.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.20.1 dune-configurator.3.20.1 duration.0.2.1 lwt.5.9.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2")
(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 mirage-sleep.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 09:34.26: Waiting for resource in pool OCluster
2025-09-01 09:34.26: Waiting for worker…
2025-09-01 09:35.12: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 1d5a674 changes for 4.1.0
(from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:f6341677628009b798cfd009bfc09e6c6e7e8daa500659db608067bf317ad123)
2025-09-01 09:35.12 ---> 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 09:35.12 ---> 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 09:35.12 ---> 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 09:35.12 ---> using "74b3c67918903b3e462fde7709ab88e33dc6472e2e31f3a4bd01cc6e9fbd405c" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-09-01 09:35.12 ---> 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 53c7f25306cd512b69b4c845f4f1e0d210c49129 || git fetch origin master) && git reset -q --hard 53c7f25306cd512b69b4c845f4f1e0d210c49129 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
b3b872a94f..f2cd184cfc master -> origin/master
53c7f25306 Merge pull request #28384 from raphael-proust/opam-publish-lwt.5.9.2
<><> 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 09:35.12 ---> using "cbaa3cab21fbaf136efc63067e8d42bb86c48d65a1c179ab8c4288b97a3ede8a" from cache
/src: (copy (src mirage-sleep.opam) (dst ./))
2025-09-01 09:35.12 ---> using "a49905d2ca54d30376a606ef3926f6bb2af930f0b389a2de857d3c0c5c3ac63f" from cache
/src: (run (network host)
(shell "opam pin add -yn mirage-sleep.dev './'"))
[mirage-sleep.dev] synchronised (file:///src)
mirage-sleep is now pinned to file:///src (version dev)
2025-09-01 09:35.12 ---> using "3b4ca1eddbb82b67f9534842b7d8eb917e5cc5cbf96758003219c063c3dd34e0" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-01 09:35.12 ---> using "598a7138c951d40a9337b54882e8e58564938fd048e92592e3fb9c034fa521fe" from cache
/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.20.1 dune-configurator.3.20.1 duration.0.2.1 lwt.5.9.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2")
/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 mirage-sleep.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.4-75-ge59833779c6 [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-5327-g1313d0cb7ef [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-5331-g37fb02e98c5 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-5332-g3f36e04b7ad [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 59411 distinct packages available
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-sleep.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).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-09-01 09:35.12 ---> using "a964d9b6e66ad05ef7ef67d5faee02f7f83d7727d005ff9ce6a5e99e773c5078" from cache
/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).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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 9 packages
- install base-bytes base
- install cppo 1.8.0
- install csexp 1.5.2
- install dune 3.20.1
- install dune-configurator 3.20.1
- install duration 0.2.1
- install lwt 5.9.2
- install ocamlfind 1.9.8
- install ocplib-endian 1.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved duration.0.2.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved lwt.5.9.2 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved dune.3.20.1, dune-configurator.3.20.1 (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.20.1
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.20.1
-> installed lwt.5.9.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-01 09:35.12 ---> using "f994b04a12ba51d3682115181bc58290bf42327943084ebd906d0b83a0292ef8" from cache
/src: (copy (src .) (dst /src))
2025-09-01 09:35.13 ---> saved as "0b48bab7034ad6ba100a16f51e564fa997d67e6c51190d7d13e6e647481c182a"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-09-01 09:35.13 ---> saved as "3e11790205433b2a31e86fa29826373340ad9bccb1cd7d0c1d030ec49067ef04"
Job succeeded
2025-09-01 09:35.13: Job succeeded