2025-05-22 20:04.36: New job: test mirage/mirage-logs https://github.com/mirage/mirage-logs.git#refs/heads/main (08e4de445cfb9894b7086975ab51725ff9bbd700) (linux-x86_64:ubuntu-24.10-5.3_opam-2.3)
Base: ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:0a25304cf4c0aa68b1e67b003574dfd823cf0db0583f5b689fa7519cb6d82941
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/mirage-logs.git" -b "main" && cd "mirage-logs" && git reset --hard 08e4de44
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:0a25304cf4c0aa68b1e67b003574dfd823cf0db0583f5b689fa7519cb6d82941
# ubuntu-24.10-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 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-logs.opam ./
RUN opam pin add -yn mirage-logs.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 dune.3.19.0 fmt.0.10.0 logs.0.8.0 mirage-ptime.5.0.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ptime.1.2.0 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y mirage-logs.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-05-22 20:04.36: Using cache hint "mirage/mirage-logs-ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:0a25304cf4c0aa68b1e67b003574dfd823cf0db0583f5b689fa7519cb6d82941-ubuntu-24.10-5.3_opam-2.3-5469939a5b245a0165c0010bb4a43891"
2025-05-22 20:04.36: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:0a25304cf4c0aa68b1e67b003574dfd823cf0db0583f5b689fa7519cb6d82941)
(comment ubuntu-24.10-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 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mirage-logs.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn mirage-logs.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 dune.3.19.0 fmt.0.10.0 logs.0.8.0 mirage-ptime.5.0.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ptime.1.2.0 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4")
(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-logs.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-05-22 20:04.36: Waiting for resource in pool OCluster
2025-05-22 23:22.33: Waiting for worker…
2025-05-22 23:24.44: Got resource from pool OCluster
Building on x86-bm-c7.sw.ocaml.org
All commits already cached
HEAD is now at 08e4de4 changes for 3.0.0
(from ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:0a25304cf4c0aa68b1e67b003574dfd823cf0db0583f5b689fa7519cb6d82941)
2025-05-22 23:24.44 ---> using "059ab306d13dde6c096265de48f1244fa252a88f7cda19c990bdf6764d9b1b77" from cache
/: (comment ubuntu-24.10-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-05-22 23:24.44 ---> using "8eafc6b0bab597e974d083037a42ed271ed402b8c190bd88df3ecd967438431a" 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-05-22 23:24.44 ---> using "485ff6c642bc23d14e63e49934b6c82edf7b317b00a7e9fbbbae86365a2be086" 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.3.0
2025-05-22 23:24.44 ---> using "ab887dbb0cc88d825230f3aa2acf967ca5b314f787b839adf7f8a61ab82a89e1" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-05-22 23:24.44 ---> using "d1a8c68961392cfb32df5a5d4ae30de3c6bc539bd6e6c6e197e306d60d88d6ab" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
35eb2f107a..d4d1aa63ab master -> origin/master
2df846cb67 Merge pull request #27910 from maiste/release-dune-3.19.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, 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-05-22 23:24.44 ---> using "d28092168a70550c184404c74815b102fa4d3609bcc12c7a78bc0dfd1cb7b911" from cache
/src: (copy (src mirage-logs.opam) (dst ./))
2025-05-22 23:24.45 ---> saved as "926765f5f622a00b381f31913831a45adb5876490ba98b213d5c55bf37c158e8"
/src: (run (network host)
(shell "opam pin add -yn mirage-logs.dev './'"))
[mirage-logs.dev] synchronised (file:///src)
mirage-logs is now pinned to file:///src (version dev)
2025-05-22 23:24.48 ---> saved as "26883acb8bfba8d9aef730ed6316f03f6563452894dfc153680c9c39623a22f1"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-22 23:24.48 ---> saved as "4c3d359db1bbc556feed29227c330066b806309cba5915719d063a2b12cf9dd5"
/src: (env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 dune.3.19.0 fmt.0.10.0 logs.0.8.0 mirage-ptime.5.0.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ptime.1.2.0 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4")
/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-logs.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu oracular InRelease
- Get:2 http://archive.ubuntu.com/ubuntu oracular-updates InRelease [126 kB]
- Get:3 http://archive.ubuntu.com/ubuntu oracular-backports InRelease [126 kB]
- Get:4 http://security.ubuntu.com/ubuntu oracular-security InRelease [126 kB]
- Get:5 http://archive.ubuntu.com/ubuntu oracular-updates/main amd64 Packages [535 kB]
- Get:6 http://archive.ubuntu.com/ubuntu oracular-updates/universe amd64 Packages [327 kB]
- Get:7 http://archive.ubuntu.com/ubuntu oracular-updates/restricted amd64 Packages [312 kB]
- Get:8 http://security.ubuntu.com/ubuntu oracular-security/multiverse amd64 Packages [11.8 kB]
- Get:9 http://security.ubuntu.com/ubuntu oracular-security/restricted amd64 Packages [306 kB]
- Get:10 http://security.ubuntu.com/ubuntu oracular-security/main amd64 Packages [396 kB]
- Get:11 http://security.ubuntu.com/ubuntu oracular-security/universe amd64 Packages [246 kB]
- Fetched 2512 kB in 1s (2152 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-logs.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-05-22 23:25.16 ---> saved as "7b03e43dac21a0b8d9abe8901a3552b6c5ff2a34ab2a0a739a5bd4e54d733a42"
/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 16 packages
- install alcotest 1.9.0
- install astring 0.8.5
- install cmdliner 1.3.0
- install dune 3.19.0
- install fmt 0.10.0
- install logs 0.8.0
- install mirage-ptime 5.0.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install ptime 1.2.0
- install re 1.12.0
- install seq base
- install stdlib-shims 0.3.0
- install topkg 1.0.8
- install uutf 1.0.4
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved alcotest.1.9.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved fmt.0.10.0 (cached)
-> retrieved logs.0.8.0 (cached)
-> retrieved mirage-ptime.5.0.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved re.1.12.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved topkg.1.0.8 (cached)
-> retrieved dune.3.19.0 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed logs.0.8.0
-> installed dune.3.19.0
-> installed mirage-ptime.5.0.0
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.12.0
-> installed alcotest.1.9.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-22 23:26.45 ---> saved as "f0392c387836f5a3159fa8f0e7b5580f4a2999a277ef39d5c2517da6cd394879"
/src: (copy (src .) (dst /src))
2025-05-22 23:26.45 ---> saved as "2e8dedf1609a1964a5302d4a763349891dbf9bf8ac4f09fe469bdbadee973f4a"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test.exe)
Testing `mirage-logs'.
This run has ID `RL19XSP6'.
[OK] Tests 0 Logging.
Full test results in `/src/_build/default/test/_build/_tests/mirage-logs'.
Test Successful in 0.000s. 1 test run.
2025-05-22 23:26.46 ---> saved as "14fc665f1a922c6db74e4961dd08db9c4185da2a3bcfe5900a162d0d1a0caac7"
Job succeeded
2025-05-22 23:26.46: Job succeeded