2025-07-09 12:32.43: New job: test mirage/mirage-time https://github.com/mirage/mirage-time.git#refs/heads/main (c68f199b1952f0656526a3212f82afd2a49c1f00) (linux-x86_64:alpine-3.21-4.14_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-4.14@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/mirage-time.git" -b "main" && cd "mirage-time" && git reset --hard c68f199b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-4.14@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33
# 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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-time.opam mirage-time-unix.opam ./
RUN opam pin add -yn mirage-time.dev './' && \
opam pin add -yn mirage-time-unix.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 dune.3.19.1 dune-configurator.3.19.1 duration.0.2.1 lwt.5.9.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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.3 --depext-only -y mirage-time.dev mirage-time-unix.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-07-09 12:32.43: Using cache hint "mirage/mirage-time-ocaml/opam:alpine-3.21-ocaml-4.14@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33-alpine-3.21-4.14_opam-2.3-016f6016cebfed82666f2480acc57109"
2025-07-09 12:32.43: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33)
(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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mirage-time.opam mirage-time-unix.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn mirage-time.dev './' && \
\nopam pin add -yn mirage-time-unix.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 dune.3.19.1 dune-configurator.3.19.1 duration.0.2.1 lwt.5.9.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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.3 --depext-only -y mirage-time.dev mirage-time-unix.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-07-09 12:32.43: Waiting for resource in pool OCluster
2025-07-09 18:30.41: Waiting for worker…
2025-07-09 18:36.43: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at c68f199 changes for 3.0.0
(from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33)
2025-07-09 18:36.44 ---> using "55d202f7fecfb1870e4e5ff40a2bf370c1ccb0b90b65ea9e954fa8fcf7fc2c95" 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-07-09 18:36.44 ---> using "57b9ec26c9d793b9841d4b9b0806229705a50fa368e146f4bfa780c65be697a9" 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] Initialised
2025-07-09 18:36.44 ---> using "c5fb68b3751ecc9278ff2d149fb1343dcef6f7d8470fcb0193da697334885f4e" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-07-09 18:36.44 ---> using "c71ebc92fba988860b9c156257f28c79e1408d4794c998911176c5ddf483c859" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-09 18:36.44 ---> using "0de77c75cb625e4c58667571d1f22ce917bcfd7afcc95609af2c00442f4db95b" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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-07-09 18:36.44 ---> using "ad4d585a71f7446664d8bcf381c8688b73314c3b8adaa43b503148f8bafd29ce" from cache
/src: (copy (src mirage-time.opam mirage-time-unix.opam) (dst ./))
2025-07-09 18:36.44 ---> saved as "af1f0cab54722dcb53e44ab7261101dc4404ebd8fa83e2b83105872dd78da5a7"
/src: (run (network host)
(shell "opam pin add -yn mirage-time.dev './' && \
\nopam pin add -yn mirage-time-unix.dev './'"))
[mirage-time.dev] synchronised (file:///src)
mirage-time is now pinned to file:///src (version dev)
[mirage-time-unix.dev] synchronised (file:///src)
mirage-time-unix is now pinned to file:///src (version dev)
2025-07-09 18:36.48 ---> saved as "ff6dde4aed2f7baa9afdb12c89e364a76e5ef7a578e86d4372bee233ebf19867"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-09 18:36.48 ---> saved as "adae45f4cdfec094c79ec1aa4cef2e1e00fb6c9a008781baa1674ed3f2c98179"
/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 duration.0.2.1 lwt.5.9.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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.3 --depext-only -y mirage-time.dev mirage-time-unix.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-636-gf2ab6ba0e70 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-634-g4638c219547 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v3.23.0_alpha20250612-1921-g77bdaceb3d8 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-1925-gb562a8b4338 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-1903-g4c882391b17 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 59033 distinct packages available
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-time.dev] synchronised (file:///src)
[mirage-time-unix.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-07-09 18:37.01 ---> saved as "004ccef21795c5a45ac9d2e7f233858c8c78e0d461580b161269020b5b941dab"
/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 9 packages
- install base-bytes base
- install cppo 1.8.0
- install csexp 1.5.2
- install dune 3.19.1
- install dune-configurator 3.19.1
- install duration 0.2.1
- install lwt 5.9.1
- 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.1 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1 (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.19.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.19.1
-> installed lwt.5.9.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-09 18:37.40 ---> saved as "8c7abd53fab7d948d1a8b39671ec2f8bc3d26ebff0f75ce8ae85ed0a296c3207"
/src: (copy (src .) (dst /src))
2025-07-09 18:37.40 ---> saved as "90e39e0dcb00082691af676feb72c1e539ddbecbbd09c4ea0bb3b88f7c73fd16"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-07-09 18:37.40 ---> saved as "a9d25b2f1a4583be54ff3c85fb845fdafd60a9e935da528545ee9333b2ab15a3"
Job succeeded
2025-07-09 18:37.40: Job succeeded