Organisationsmiragemirage-clockf45757 (main)ubuntu-24.04-5.4_opam-2.4

ubuntu-24.04-5.4_opam-2.4

Logs

Show full 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-x86_64:ubuntu-24.04-5.4_opam-2.4)
Base: ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5
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:ubuntu-24.04-ocaml-5.4@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5
# ubuntu-24.04-5.4_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:ubuntu-24.04-ocaml-5.4@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5-ubuntu-24.04-5.4_opam-2.4-ce545d0cc28433a3985014655da6c9fb"
2025-10-18 16:36.40: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5)
 (comment ubuntu-24.04-5.4_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-18 18:00.21: Waiting for worker…
2025-10-18 18:03.26: Got resource from pool OCluster
Building on doris.caelum.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:ubuntu-24.04-ocaml-5.4@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5' locally
docker.io/ocaml/opam@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5: Pulling from ocaml/opam
f1c3c72ac84b: Pulling fs layer
f1c3c72ac84b: Verifying Checksum
f1c3c72ac84b: Download complete
f1c3c72ac84b: Pull complete
Digest: sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5
Status: Downloaded newer image for ocaml/opam@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5
2025-10-18 18:03.27 ---> using "5d6d2adeea6498cb054cbaa953620718d759b910a698acc7738d67264fb7eaa1" from cache

/: (comment ubuntu-24.04-5.4_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-18 18:03.27 ---> using "ff38d6915481dc9a36bf2d114fc5a9d0b2d1a1dbad496811b922fa3afc84c5f0" 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.

Continue? [Y/n] y
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.

[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-10-18 18:03.27 ---> using "70f6ddc0d313244ab04c80a4be70840866e3bc306fe0a3c4cab0b7475492c53d" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-157-generic
The OCaml toplevel, version 5.4.0
2.4.1
2025-10-18 18:03.27 ---> using "26641eadc3d21be41c3e29096effbb7c0ab3dcc86b9410f1473b5355900a4bb2" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-10-18 18:03.27 ---> using "1dc432d69883e95fa350b3538897b7b5f95eb1eec19966b001c917785170f6db" 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-18 18:03.27 ---> using "c7bc005fb7a15ce3826920153ba133c53ad1f79b4a19aa88a3b4eb9288f8088f" from cache

/src: (copy (src mirage-clock.opam mirage-clock-unix.opam mirage-clock-solo5.opam)
            (dst ./))
2025-10-18 18:03.27 ---> saved as "8c74a38dc5de94eb7b25f9bd9e27c37d2b5e695b22de670734ce414abe356edf"

/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-18 18:03.31 ---> saved as "6ef20fa8c09a664359a21a57a213df2c0b53e82d31fc6dbd865d69e7a062a72b"

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

/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://archive.ubuntu.com/ubuntu noble InRelease
- Get:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:3 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:4 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:5 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1897 kB]
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1936 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [35.9 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [2652 kB]
- Get:9 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1538 kB]
- Get:10 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1151 kB]
- Get:11 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [2512 kB]
- Fetched 12.1 MB in 1s (10.5 MB/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-18 18:03.42 ---> saved as "4aad3eea2dc3946a882a8c3a03b2c7473c5c08ad8b3fbfed9317dd73d38ffae8"

/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-18 18:04.13 ---> saved as "a6a9fd7893ae780d986b674f78219693797cc363586e57800ac5eef73681531b"

/src: (copy (src .) (dst /src))
2025-10-18 18:04.13 ---> saved as "80e9d8318ebc69b7e6d85aa28d6aa72e1728605e60668bfa740190625f00784f"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/lib_test && ./portable.exe)
Monotonic clock says: 80 nanoseconds
The time is 20379 days and 65054429249419000 picoseconds since the epoch.
The time is 20379 days and 65054429250692000 picoseconds since the epoch.
The time is 20379 days and 65054429251253000 picoseconds since the epoch.
The offset from UTC is 0 minutes.
The clock period is: 1000 picoseconds
Monotonic clock says: 72005 nanoseconds
Monotonic clock period unavailable
2025-10-18 18:04.14 ---> saved as "7040d2f4d2813ede9dd8ab281d63ff5489c61ed333ddc55cc97b00fdb95bf916"
Job succeeded
2025-10-18 18:04.14: Job succeeded