Organisationsmiragemirage-logs08e4de (main)ubuntu-24.04-4.14_opam-2.3

ubuntu-24.04-4.14_opam-2.3

Link Copied
Code Copied

Logs

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.04-4.14_opam-2.3)
Base: ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:47fd7c12f0514fd28abba1ddfefacab94d54e8bd66aec8501940c23afcccbc77
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.04-ocaml-4.14@sha256:47fd7c12f0514fd28abba1ddfefacab94d54e8bd66aec8501940c23afcccbc77
# ubuntu-24.04-4.14_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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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.04-ocaml-4.14@sha256:47fd7c12f0514fd28abba1ddfefacab94d54e8bd66aec8501940c23afcccbc77-ubuntu-24.04-4.14_opam-2.3-bab55803cd4326ff41de12845dd9ee73"
2025-05-22 20:04.36: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:47fd7c12f0514fd28abba1ddfefacab94d54e8bd66aec8501940c23afcccbc77)
(comment ubuntu-24.04-4.14_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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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.34: Waiting for worker…
2025-05-22 23:24.47: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 08e4de4 changes for 3.0.0


(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:47fd7c12f0514fd28abba1ddfefacab94d54e8bd66aec8501940c23afcccbc77)
2025-05-22 23:24.47 ---> using "5a7c5257d1969f3b1177acb1729bea1d27f51d2a92c28d3f03468f05b8c06a58" from cache


/: (comment ubuntu-24.04-4.14_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.47 ---> using "7d6e01068d847242773ac3098890bb99f26f36c3ad841a99a58c71de78b83f6f" 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.47 ---> using "dd0d481af2e5db79e1160185da7fa7119c254e03e8677aa9f0c5c1b942115a97" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-05-22 23:24.47 ---> using "bc1fa15ace82aac35feebb2b52372eb3dd465119d04b7c9aa95f113796015129" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-05-22 23:24.47 ---> using "1022f728733ade382c611583eb4c8f8f8a4ab7369aa6d1f75d1bdcecff5fb61a" 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
ac2e5da567..2df846cb67  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.47 ---> using "b0f9c9e25d264abf424485a430f44f7c09465a30334d25f752f8350c216b74dd" from cache


/src: (copy (src mirage-logs.opam) (dst ./))
2025-05-22 23:24.47 ---> saved as "4d56e13673eeac8d8ff12e13c41443cb4b721a1a5e34cebd4fb4246629f7884d"


/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.49 ---> saved as "94dc4055d320409001486a45a03ab38a7f2fb50cf21dc116cad5d02f3e67d859"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-22 23:24.49 ---> saved as "c5c13d3ebf4de4ce952233e847e3ff3654d2f921d5679fe08ac7f6e6de116150"


/src: (env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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 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 [1399 kB]
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1385 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [1478 kB]
- Get:8 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1081 kB]
- Get:9 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1088 kB]
- Get:10 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [1434 kB]
- Fetched 8244 kB in 1s (7555 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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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-05-22 23:25.03 ---> saved as "418cdda7a4c29f97856d9d1a937886406f8a1a3bc260e95c648dcef25c5303d9"


/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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 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 astring.0.8.5  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved alcotest.1.9.0  (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 ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (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 ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> 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 stdlib-shims.0.3.0
-> installed mirage-ptime.5.0.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:25.37 ---> saved as "b577bba8fa45b535a2ed69abd02e97c8c69ff514a33205debe1598fa45238734"


/src: (copy (src .) (dst /src))
2025-05-22 23:25.38 ---> saved as "33a39867e3ec9d148dc1b1a3efdd76509586c3ebc10a943a64d9e3112686494b"


/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 `8DSPVD78'.


[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:25.38 ---> saved as "b2a88a4d0664142595c6eb8ccbf4d09f1eb182533849d8941443701cfceb7fdb"
Job succeeded
2025-05-22 23:25.39: Job succeeded