Organisationsmiragemirage-mtimeebfbbb ()debian-12-4.10_opam-2.4

debian-12-4.10_opam-2.4

Link Copied
Code Copied

Logs

2025-08-23 16:33.46: New job: test mirage/mirage-mtime https://github.com/mirage/mirage-mtime.git#refs/pull/2/head (ebfbbb42d25a8cd6ae1602c5db3efbbcab9bb754) (linux-x86_64:debian-12-4.10_opam-2.4)
Base: ocaml/opam:debian-12-ocaml-4.10@sha256:35f574d8ac8947fdcf675084273149c7694655bdc0ca756de59254225a26fc4a
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/mirage-mtime.git" && cd "mirage-mtime" && git fetch origin "refs/pull/2/head" && git reset --hard ebfbbb42
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.10@sha256:35f574d8ac8947fdcf675084273149c7694655bdc0ca756de59254225a26fc4a
# debian-12-4.10_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 f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-mtime.opam ./
RUN opam pin add -yn mirage-mtime.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base dune.3.20.0 mtime.2.1.0 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 topkg.1.1.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y mirage-mtime.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-08-23 16:33.46: Using cache hint "mirage/mirage-mtime-ocaml/opam:debian-12-ocaml-4.10@sha256:35f574d8ac8947fdcf675084273149c7694655bdc0ca756de59254225a26fc4a-debian-12-4.10_opam-2.4-b240125f5dd82e97f7d0c6e6c0a8281c"
2025-08-23 16:33.46: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.10@sha256:35f574d8ac8947fdcf675084273149c7694655bdc0ca756de59254225a26fc4a)
(comment debian-12-4.10_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 f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mirage-mtime.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn mirage-mtime.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.20.0 mtime.2.1.0 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 topkg.1.1.0")
(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-mtime.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-08-23 16:33.46: Waiting for resource in pool OCluster
2025-08-23 16:33.46: Waiting for worker…
2025-08-23 16:33.49: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at ebfbbb4 mirage-mtime.mock: add a reset : unit -> unit function


(from ocaml/opam:debian-12-ocaml-4.10@sha256:35f574d8ac8947fdcf675084273149c7694655bdc0ca756de59254225a26fc4a)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.10@sha256:35f574d8ac8947fdcf675084273149c7694655bdc0ca756de59254225a26fc4a' locally
docker.io/ocaml/opam@sha256:35f574d8ac8947fdcf675084273149c7694655bdc0ca756de59254225a26fc4a: Pulling from ocaml/opam
2b437dab448b: Already exists
93dc4c23dfaa: Pulling fs layer
aebd431fa6af: Pulling fs layer
0bada8489d0d: Pulling fs layer
a72d5e1474dc: Pulling fs layer
a72d5e1474dc: Waiting
0bada8489d0d: Verifying Checksum
0bada8489d0d: Download complete
aebd431fa6af: Verifying Checksum
a72d5e1474dc: Verifying Checksum
a72d5e1474dc: Download complete
93dc4c23dfaa: Verifying Checksum
93dc4c23dfaa: Download complete
93dc4c23dfaa: Pull complete
aebd431fa6af: Pull complete
0bada8489d0d: Pull complete
a72d5e1474dc: Pull complete
Digest: sha256:35f574d8ac8947fdcf675084273149c7694655bdc0ca756de59254225a26fc4a
Status: Downloaded newer image for ocaml/opam@sha256:35f574d8ac8947fdcf675084273149c7694655bdc0ca756de59254225a26fc4a
2025-08-23 16:33.51 ---> using "7cc30aadd15913f0f325db00caebbe27f64ec97be9f4efb3614646ea80c9e486" from cache


/: (comment debian-12-4.10_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-08-23 16:33.51 ---> using "a3370d9dcd101ce216ab9d5e92d8ecc3fe47a7996c0457e72e35f4af5c0c25bf" 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
[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-08-23 16:33.51 ---> using "a48b040063ed6f37cc02e1cfb879b755bcae1caf32ac6a09a8efab9c5d204a2e" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 4.10.2
2.4.1
2025-08-23 16:33.51 ---> using "1bc6a1cdf4d88bb7c813f7d1916d6ec54a0accb858f2b33e87266e23f3d0062d" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-08-23 16:33.51 ---> using "aed644f4642f0c029c70dfab38b02aa9845d967e5b4a554f9bdbe7d6fbc05516" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
ee8b9193dd..ee24528071  master     -> origin/master
f9d23e5cb1 Merge pull request #28357 from maiste/release-dune-3.20.0


<><> 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 at these versions (e.g. "opam upgrade ocaml.5.3.0"), 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-08-23 16:33.51 ---> using "e29ad3dee9cda384419316e516664489185f8bb4976fe7c67f586af3939e1726" from cache


/src: (copy (src mirage-mtime.opam) (dst ./))
2025-08-23 16:33.52 ---> saved as "6030bcefc0bb3097a8412d9ebdebc3b7bc6369387caffd72ee7dc7af651d9653"


/src: (run (network host)
(shell "opam pin add -yn mirage-mtime.dev './'"))
[mirage-mtime.dev] synchronised (file:///src)
mirage-mtime is now pinned to file:///src (version dev)
2025-08-23 16:33.53 ---> saved as "af96a26c4cd19a94d49e597b236381570ff64c784bf8fe42cf44112c69f9cea0"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-08-23 16:33.53 ---> saved as "77ac5dd6a9d3471804e93deae006d207ae1cf2c07e30302d9b864c5638e7fd79"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.20.0 mtime.2.1.0 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 topkg.1.1.0")


/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-mtime.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [21.8 kB]
- Ign:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6924 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [277 kB]
- Fetched 560 kB in 0s (1366 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-mtime.dev] synchronised (file:///src)


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.10.2).
[NOTE] Package ocaml is already installed (current version is 4.10.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-08-23 16:34.01 ---> saved as "0e840211717372683034f07f7b02e1e300fc493458b0cbaf9c1fa02cdd840353"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.10.2).
[NOTE] Package ocaml is already installed (current version is 4.10.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 5 packages
- install dune       3.20.0
- install mtime      2.1.0
- install ocamlbuild 0.16.1
- install ocamlfind  1.9.8
- install topkg      1.1.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved mtime.2.1.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved topkg.1.1.0  (cached)
-> retrieved dune.3.20.0  (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed mtime.2.1.0
-> installed dune.3.20.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-23 16:34.27 ---> saved as "7dcb847f730dbe6f216ba99393bca7da2f440908ef12dc0df9a44e44217432e8"


/src: (copy (src .) (dst /src))
2025-08-23 16:34.27 ---> saved as "8055f9ac536159ba0d35a31e481b33653168b771e96deb9782dc043d8a695089"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/lib_test && ./portable.exe)
Monotonic clock says: 971 nanoseconds
Monotonic clock says: 24836 nanoseconds
The monotonic clock period is: 1 nanoseconds
2025-08-23 16:34.28 ---> saved as "c2038deb8f1260ddcf91fc54f532ef5510c66cd3cec3d99aa5ddd51475e5f3a4"
Job succeeded
2025-08-23 16:34.28: Job succeeded