Organisationsmiragemirage-mtime18493f ()fedora-41-5.3_opam-2.4

fedora-41-5.3_opam-2.4

Link Copied
Code Copied

Logs

2025-09-01 09:28.16: New job: test mirage/mirage-mtime https://github.com/mirage/mirage-mtime.git#refs/heads/main (18493fcf411d605ef7b28afe2ab33df7cf17324b) (linux-x86_64:fedora-41-5.3_opam-2.4)
Base: ocaml/opam:fedora-41-ocaml-5.3@sha256:f5f08b3348fe42ae5a91cd3a68fa1c305e7a107b436066fc5fda4e9df66a5e6c
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/mirage-mtime.git" -b "main" && cd "mirage-mtime" && git reset --hard 18493fcf
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-41-ocaml-5.3@sha256:f5f08b3348fe42ae5a91cd3a68fa1c305e7a107b436066fc5fda4e9df66a5e6c
# fedora-41-5.3_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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 4c972ba0fc24bcf3f84a30d19f8d725f7ce382a4 || git fetch origin master) && git reset -q --hard 4c972ba0fc24bcf3f84a30d19f8d725f7ce382a4 && 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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base dune.3.20.1 mtime.2.1.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.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-09-01 09:28.16: Using cache hint "mirage/mirage-mtime-ocaml/opam:fedora-41-ocaml-5.3@sha256:f5f08b3348fe42ae5a91cd3a68fa1c305e7a107b436066fc5fda4e9df66a5e6c-fedora-41-5.3_opam-2.4-5441e7145e3ef24d1647d3b8d01e7c66"
2025-09-01 09:28.16: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-5.3@sha256:f5f08b3348fe42ae5a91cd3a68fa1c305e7a107b436066fc5fda4e9df66a5e6c)
(comment fedora-41-5.3_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (network host)
(shell "sudo dnf install -y findutils"))
(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 4c972ba0fc24bcf3f84a30d19f8d725f7ce382a4 || git fetch origin master) && git reset -q --hard 4c972ba0fc24bcf3f84a30d19f8d725f7ce382a4 && 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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base dune.3.20.1 mtime.2.1.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.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-09-01 09:28.16: Waiting for resource in pool OCluster
2025-09-01 09:28.16: Waiting for worker…
2025-09-01 09:28.16: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
HEAD is now at 7bd67d3 Add Unikraft support
HEAD is now at 18493fc Merge pull request #1 from shym/unikraft


(from ocaml/opam:fedora-41-ocaml-5.3@sha256:f5f08b3348fe42ae5a91cd3a68fa1c305e7a107b436066fc5fda4e9df66a5e6c)
Unable to find image 'ocaml/opam:fedora-41-ocaml-5.3@sha256:f5f08b3348fe42ae5a91cd3a68fa1c305e7a107b436066fc5fda4e9df66a5e6c' locally
docker.io/ocaml/opam@sha256:f5f08b3348fe42ae5a91cd3a68fa1c305e7a107b436066fc5fda4e9df66a5e6c: Pulling from ocaml/opam
0c4ea020f5c7: Pulling fs layer
bb5edd328d49: Pulling fs layer
7653d18249da: Pulling fs layer
0c4ea020f5c7: Waiting
498e80679739: Pulling fs layer
780a651e82b9: Pulling fs layer
bb5edd328d49: Waiting
d26ab6d443f2: Pulling fs layer
498e80679739: Waiting
780a651e82b9: Waiting
d26ab6d443f2: Waiting
bb5edd328d49: Verifying Checksum
bb5edd328d49: Download complete
0c4ea020f5c7: Download complete
498e80679739: Download complete
780a651e82b9: Verifying Checksum
780a651e82b9: Download complete
d26ab6d443f2: Verifying Checksum
d26ab6d443f2: Download complete
7653d18249da: Verifying Checksum
7653d18249da: Download complete
0c4ea020f5c7: Pull complete
bb5edd328d49: Pull complete
7653d18249da: Pull complete
498e80679739: Pull complete
780a651e82b9: Pull complete
d26ab6d443f2: Pull complete
Digest: sha256:f5f08b3348fe42ae5a91cd3a68fa1c305e7a107b436066fc5fda4e9df66a5e6c
Status: Downloaded newer image for ocaml/opam@sha256:f5f08b3348fe42ae5a91cd3a68fa1c305e7a107b436066fc5fda4e9df66a5e6c
2025-09-01 09:28.16 ---> using "77932ed08d0a913a0be50df49d164ac702f06db62378e7fc2fe69b435778c931" from cache


/: (comment fedora-41-5.3_opam-2.4)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Updating and loading repositories:
Fedora 41 - x86_64                     100% |  44.0 KiB/s |  26.7 KiB |  00m01s
Fedora 41 - x86_64 - Updates           100% |  43.9 KiB/s |  10.0 KiB |  00m00s
Fedora 41 openh264 (From Cisco) - x86_ 100% |   8.0 KiB/s | 986.0   B |  00m00s
Repositories loaded.
Package "findutils-1:4.10.0-4.fc41.x86_64" is already installed.


Nothing to do.
2025-09-01 09:28.16 ---> using "5a11b3ecc08c13b474f973c6ed6bda9d943e5e42d89b96e76b2acf1288582de1" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-01 09:28.16 ---> using "38018181ca3d651caf83793cac79b175152687b7fd1b8e68982c374718136be1" 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 255 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=255 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-09-01 09:28.16 ---> using "81d422c2e27804f36d63a7c4ecc0c003e51fdf455e9af60b0ab6f88d6e5655db" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-01 09:28.16 ---> using "4a5f234704b17b857f4fa77e03c17a26768c9a8a3a79e3a29eb58c5760d8cab9" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-09-01 09:28.16 ---> using "9db28c29175bfe97cd9b16194f056247eb741af3e27b63992acace506e95ed96" from cache


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


<><> 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-09-01 09:28.16 ---> using "a7da8ae0b66868c45c50d0ed42563431983223e9808acd9d83f700b3676bbb9a" from cache


/src: (copy (src mirage-mtime.opam) (dst ./))
2025-09-01 09:28.17 ---> saved as "6907315c05ebe5081ff9256967c4a763ab1af15f628c8429d4a2ba7c4a314ab7"


/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-09-01 09:28.17 ---> saved as "515d1035d784dcb2ddec2b58e6de254f25b6a5e17dccdd5c8c235bbbc1db9df1"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-01 09:28.18 ---> saved as "7db8bcd83f04dba177a85a3b37d14c651d316133042b73c4552ad59dc95cedc0"


/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base dune.3.20.1 mtime.2.1.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.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 "yum" "makecache"
- Updating and loading repositories:
-  Fedora 41 - x86_64 - Updates           100% |  17.2 KiB/s |   6.5 KiB |  00m00s
- Repositories loaded.
- Metadata cache created.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-mtime.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-09-01 09:28.30 ---> saved as "a159b30b12d8e4a0cbccab4fe12fc47296de2a5f0c0af1fcaaa712bd2d1fae2f"


/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 5 packages
- install dune       3.20.1
- 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.1  (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.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-01 09:29.02 ---> saved as "57516c798adc74ac49aac93846457ab39503922cd553e7258db6cc2aecfa7789"


/src: (copy (src .) (dst /src))
2025-09-01 09:29.02 ---> saved as "bd05f865e5042724302461386dae79b46ab3b4377d9e4cf613fd4b93d293ea6c"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/lib_test && ./portable.exe)
Monotonic clock says: 1307 nanoseconds
Monotonic clock says: 45534 nanoseconds
The monotonic clock period is: 1 nanoseconds
2025-09-01 09:29.03 ---> saved as "53a3ec5b0afeb1f51da30c48dcf2cb5a9375a589042c3123414b65ef3bfcc922"
Job succeeded
2025-09-01 09:29.03: Job succeeded