2025-07-09 12:31.21: New job: test mirage/mirage-time https://github.com/mirage/mirage-time.git#refs/heads/main (c68f199b1952f0656526a3212f82afd2a49c1f00) (linux-x86_64:alpine-3.21-5.3_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-5.3@sha256:04615dc1fa88c0285b28799f65b32f2814c854db498aea42fb9ff8c430a28380
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-5.3@sha256:04615dc1fa88c0285b28799f65b32f2814c854db498aea42fb9ff8c430a28380
# alpine-3.21-5.3_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-domains.base base-effects.base base-nnp.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.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.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:31.21: Using cache hint "mirage/mirage-time-ocaml/opam:alpine-3.21-ocaml-5.3@sha256:04615dc1fa88c0285b28799f65b32f2814c854db498aea42fb9ff8c430a28380-alpine-3.21-5.3_opam-2.3-239b1d965467d3331fff496c5be9229a"
2025-07-09 12:31.21: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:04615dc1fa88c0285b28799f65b32f2814c854db498aea42fb9ff8c430a28380)
(comment alpine-3.21-5.3_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-domains.base base-effects.base base-nnp.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.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.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:31.21: Waiting for resource in pool OCluster
2025-07-09 12:50.58: Waiting for worker…
2025-07-09 13:15.07: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at c68f199 changes for 3.0.0
(from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:04615dc1fa88c0285b28799f65b32f2814c854db498aea42fb9ff8c430a28380)
2025-07-09 13:15.07 ---> using "b1eb2a8af4058a254870e5cad61297a06793cbcf25fc0fa70ddab0692ceef147" from cache
/: (comment alpine-3.21-5.3_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 13:15.07 ---> using "72a43fed50ca4b22fad6057f4d18290b4cb956a1be690ef2ac7f62bd3176987a" 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 13:15.07 ---> using "dffd9938039301ebc6cca6d597e878cfb8a245c9dfa32f07900ab56da35e37dc" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-60-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-07-09 13:15.07 ---> using "8f9a1993785784c76c1507256d4c3a0742ea404a0d05aaa640ab910b812307e9" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-09 13:15.07 ---> using "d0c65e3f07a69cbc2fcd3ad4787a51328d54858d7b412a5dcb90232d4889600b" 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 13:15.30 ---> saved as "97decd8138896868a2013fa3eb5dd82529859c6fdf870c74718955f069af33d9"
/src: (copy (src mirage-time.opam mirage-time-unix.opam) (dst ./))
2025-07-09 13:15.31 ---> saved as "f83088d5a599ef35bfef17d9e8ca9031a9a7002ba75ce08f950e623a76fef6bf"
/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 13:15.35 ---> saved as "f7d5a588609909ea33d2094fc6bb0db876b47270b58792d70eade08a1ea81cd4"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-09 13:15.35 ---> saved as "386f0eaf56d3954c5d6f2eeda4d14af60bb82ba89ddd0adbc6d4f763307c1239"
/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.19.1 dune-configurator.3.19.1 duration.0.2.1 lwt.5.9.1 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.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-635-gca82c367c9e [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-1887-gec2710cd7d6 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-1903-g4c882391b17 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-1903-g4c882391b17 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 59032 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 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-07-09 13:15.47 ---> saved as "f01d75e7ef2223ee85bd2dcb91f8e28c000d8c63c895073daea936a8a3e4324e"
/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.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 13:16.25 ---> saved as "10db789cccf012e97b9ccb594025d3f1252bb6f668b20033259c8273d40253a0"
/src: (copy (src .) (dst /src))
2025-07-09 13:16.25 ---> saved as "293125976c368f7765c9ecefa25fedac4b15c3b24451997afa1e6b43b9bfa16e"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-07-09 13:16.26 ---> saved as "ed35824f634ecafbc126ef0cbfa869326fcb0dca74c5d8d2c3d5da4d34c9d0df"
Job succeeded
2025-07-09 13:16.26: Job succeeded