Organisationsmiragemirage-clockf45757 (main)debian-13-5.4_riscv64_opam-2.4

debian-13-5.4_riscv64_opam-2.4

Link Copied
Code Copied

Logs

2025-10-18 16:36.40: New job: test mirage/mirage-clock https://github.com/mirage/mirage-clock.git#refs/heads/main (f457572bfedb9586c8bf9eaa9ece7e53677856e3) (linux-riscv64:debian-13-5.4_riscv64_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-5.4@sha256:888c774d4d58e7f324b6278c087e64732081a76af78f2e7652efdf68a8b25288
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/mirage-clock.git" -b "main" && cd "mirage-clock" && git reset --hard f457572b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:888c774d4d58e7f324b6278c087e64732081a76af78f2e7652efdf68a8b25288
# debian-13-5.4_riscv64_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 c603e596bfaf195a5c1a3baf992b11c1de5ad35b || git fetch origin master) && git reset -q --hard c603e596bfaf195a5c1a3baf992b11c1de5ad35b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-clock.opam mirage-clock-unix.opam mirage-clock-solo5.opam ./
RUN opam pin add -yn mirage-clock.dev './' && \
opam pin add -yn mirage-clock-unix.dev './' && \
opam pin add -yn mirage-clock-solo5.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y mirage-clock.dev mirage-clock-unix.dev mirage-clock-solo5.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-10-18 16:36.40: Using cache hint "mirage/mirage-clock-ocaml/opam:debian-13-ocaml-5.4@sha256:888c774d4d58e7f324b6278c087e64732081a76af78f2e7652efdf68a8b25288-debian-13-5.4_riscv64_opam-2.4-ce545d0cc28433a3985014655da6c9fb"
2025-10-18 16:36.40: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:888c774d4d58e7f324b6278c087e64732081a76af78f2e7652efdf68a8b25288)
(comment debian-13-5.4_riscv64_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 c603e596bfaf195a5c1a3baf992b11c1de5ad35b || git fetch origin master) && git reset -q --hard c603e596bfaf195a5c1a3baf992b11c1de5ad35b && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mirage-clock.opam mirage-clock-unix.opam mirage-clock-solo5.opam)
(dst ./))
(run (network host)
(shell  "opam pin add -yn mirage-clock.dev './' && \
\nopam pin add -yn mirage-clock-unix.dev './' && \
\nopam pin add -yn mirage-clock-solo5.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1")
(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-clock.dev mirage-clock-unix.dev mirage-clock-solo5.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-10-18 16:36.40: Waiting for resource in pool OCluster
2025-10-19 08:05.47: Waiting for worker…
2025-10-19 18:27.05: Got resource from pool OCluster
Building on riscv-bm-04.sw.ci.dev
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/mirage-clock.git-6c37c64ce43b02fcf222a11d523020f64230e3d9/.git/
HEAD is now at f457572 Merge pull request #53 from samoht/CHANGES-v4.2


(from ocaml/opam:debian-13-ocaml-5.4@sha256:888c774d4d58e7f324b6278c087e64732081a76af78f2e7652efdf68a8b25288)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:888c774d4d58e7f324b6278c087e64732081a76af78f2e7652efdf68a8b25288' locally
docker.io/ocaml/opam@sha256:888c774d4d58e7f324b6278c087e64732081a76af78f2e7652efdf68a8b25288: Pulling from ocaml/opam
913254a25f5e: Already exists
d4181e0c64b1: Already exists
60067d417858: Already exists
85acc1d96727: Already exists
3ed6ed890bcc: Already exists
2dbf4e493c82: Already exists
2392a1c0faf2: Already exists
a887790579d0: Already exists
6bf6091e80a7: Already exists
8335ff7d796a: Already exists
a5cf80048a8d: Already exists
11557f96dff6: Already exists
5ffa47544a64: Already exists
b92bc0bdd77f: Already exists
11bee46e736c: Already exists
6cdee63da433: Already exists
bd6b847c6301: Already exists
ef94452a17d0: Already exists
bd4498e2bf68: Already exists
cae9012f5512: Already exists
97e1a82ddbc1: Already exists
4f4fb700ef54: Already exists
a36b4f4c3856: Already exists
ba5c5eee93b2: Already exists
ccef58c1ec23: Already exists
f58caa225e78: Already exists
e5b816875ec7: Already exists
637cd996e729: Already exists
4798bd4315ce: Already exists
1a9d0398727f: Already exists
87a13479d21f: Already exists
826d12795d2a: Already exists
ec3c50c293a6: Already exists
75873b00ea39: Already exists
2dc1ede51ef9: Already exists
e521104f43f2: Already exists
5adb34782261: Already exists
3902e7196407: Already exists
58655837ed1a: Already exists
48f0059e882a: Already exists
ae593e70caf6: Pulling fs layer
c31229a73423: Pulling fs layer
c1449e0dd683: Pulling fs layer
caf6ad521897: Pulling fs layer
329dc00a05ae: Pulling fs layer
a47284690750: Pulling fs layer
e9c6ab46017e: Pulling fs layer
caf6ad521897: Waiting
329dc00a05ae: Waiting
a47284690750: Waiting
e9c6ab46017e: Waiting
ae593e70caf6: Verifying Checksum
ae593e70caf6: Download complete
ae593e70caf6: Pull complete
c31229a73423: Verifying Checksum
c31229a73423: Download complete
c31229a73423: Pull complete
c1449e0dd683: Verifying Checksum
c1449e0dd683: Download complete
329dc00a05ae: Verifying Checksum
329dc00a05ae: Download complete
a47284690750: Verifying Checksum
a47284690750: Download complete
e9c6ab46017e: Verifying Checksum
e9c6ab46017e: Download complete
c1449e0dd683: Pull complete
caf6ad521897: Verifying Checksum
caf6ad521897: Download complete
caf6ad521897: Pull complete
329dc00a05ae: Pull complete
a47284690750: Pull complete
e9c6ab46017e: Pull complete
Digest: sha256:888c774d4d58e7f324b6278c087e64732081a76af78f2e7652efdf68a8b25288
Status: Downloaded newer image for ocaml/opam@sha256:888c774d4d58e7f324b6278c087e64732081a76af78f2e7652efdf68a8b25288
2025-10-19 18:27.07 ---> using "4fbebff2fe9ef1495e2d214609b2035574aee42978f29274f9ade35b3a9e6719" from cache


/: (comment debian-13-5.4_riscv64_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-10-19 18:27.07 ---> using "527ab505f1d7efafc8447b9ab5b51e78bded47dc20193bfc1e609a4f5a8660cd" 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-10-19 18:27.07 ---> using "ef3971c1a78d0fadecd4a56e92a3279693226b19b1d03251b9953afe2a9d9d48" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.10.113-scw1
The OCaml toplevel, version 5.4.0
2.4.1
2025-10-19 18:27.07 ---> using "99827ec3f74219203532dd967ad83b982b5f930c87faab8530ffa6a021da7b6c" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-10-19 18:27.07 ---> using "1e8f4a2b1bf1e3fc977029161890dd1e7a3c35e6f17fcd0be8e8891052cfde27" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c603e596bfaf195a5c1a3baf992b11c1de5ad35b || git fetch origin master) && git reset -q --hard c603e596bfaf195a5c1a3baf992b11c1de5ad35b && git log --no-decorate -n1 --oneline && opam update -u"))
c603e596bf Merge pull request #28683 from Octachron/OCaml_5.4.0_release


<><> 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-10-19 18:27.07 ---> using "9c2717ef9a25b68a4dd011b1b0193682a626b9b053a3848ff76b3e7f4a47ed14" from cache


/src: (copy (src mirage-clock.opam mirage-clock-unix.opam mirage-clock-solo5.opam)
(dst ./))
2025-10-19 18:27.08 ---> saved as "e0977609f3989caff4398fea7371cb7dc458537ae28deaae091c4a103c07ed38"


/src: (run (network host)
(shell  "opam pin add -yn mirage-clock.dev './' && \
\nopam pin add -yn mirage-clock-unix.dev './' && \
\nopam pin add -yn mirage-clock-solo5.dev './'"))
[mirage-clock.dev] synchronised (file:///src)
mirage-clock is now pinned to file:///src (version dev)
[mirage-clock-unix.dev] synchronised (file:///src)
mirage-clock-unix is now pinned to file:///src (version dev)
[NOTE] Package mirage-clock-solo5 does not exist in opam repositories registered in the current switch.
[mirage-clock-solo5.dev] synchronised (file:///src)
mirage-clock-solo5 is now pinned to file:///src (version dev)
2025-10-19 18:27.29 ---> saved as "c2d65bf7fe61b2c75b616d0e632f4f02c4264833b88c316366fbebd97d7f49d5"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-19 18:27.29 ---> saved as "ac84f0bf6f54475a273fb60e89a31465ea7f2f2efd5b93041d56be7b58b92feb"


/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1")


/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-clock.dev mirage-clock-unix.dev mirage-clock-solo5.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main riscv64 Packages [53.4 kB]
- Fetched 144 kB in 0s (314 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-clock.dev] synchronised (file:///src)
[mirage-clock-solo5.dev] synchronised (file:///src)
[mirage-clock-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.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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-10-19 18:28.16 ---> saved as "476fbbd3d2784d9c83be834f7e61a2b12178d290344324a0681bc3d36e5fbe55"


/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.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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 3 packages
- install csexp             1.5.2
- install dune              3.20.2
- install dune-configurator 3.20.2


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed dune-configurator.3.20.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-19 18:33.26 ---> saved as "deb59e429bd8a253d14c51a89a00b7ea46d654f11157f29995fb6a7f2f1ccbda"


/src: (copy (src .) (dst /src))
2025-10-19 18:33.27 ---> saved as "acf69414a053b2b0740c4e2ce749d65f1e5283954b499cb8e92ba17832bd3940"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/lib_test && ./portable.exe)
Monotonic clock says: 334 nanoseconds
The time is 20380 days and 66813697851691000 picoseconds since the epoch.
The time is 20380 days and 66813697860691000 picoseconds since the epoch.
The time is 20380 days and 66813697866024000 picoseconds since the epoch.
The offset from UTC is 3600 minutes.
The clock period is: 1000 picoseconds
Monotonic clock says: 1587708 nanoseconds
Monotonic clock period unavailable
2025-10-19 18:33.35 ---> saved as "10ccd8151b6b6ae2271882c7a118c2849a92a3dedf3ee61352b9a42b24ae2390"
Job succeeded
2025-10-19 18:33.35: Job succeeded