Organisationsmiragemirage-timec68f19 (main)ubuntu-22.04-5.3_opam-2.3

ubuntu-22.04-5.3_opam-2.3

Link Copied
Code Copied

Logs

2025-07-09 12:32.27: New job: test mirage/mirage-time https://github.com/mirage/mirage-time.git#refs/heads/main (c68f199b1952f0656526a3212f82afd2a49c1f00) (linux-x86_64:ubuntu-22.04-5.3_opam-2.3)
Base: ocaml/opam:ubuntu-22.04-ocaml-5.3@sha256:46c8190b0d52b313bd85026218a5b5b274d6ad663173bc723d8fac0bcb973c14
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/mirage-time.git" -b "main" && cd "mirage-time" && git reset --hard c68f199b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-5.3@sha256:46c8190b0d52b313bd85026218a5b5b274d6ad663173bc723d8fac0bcb973c14
# ubuntu-22.04-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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-time.opam mirage-time-unix.opam ./
RUN opam pin add -yn mirage-time.dev './' && \
opam pin add -yn mirage-time-unix.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 duration.0.2.1 lwt.5.9.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y mirage-time.dev mirage-time-unix.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-07-09 12:32.27: Using cache hint "mirage/mirage-time-ocaml/opam:ubuntu-22.04-ocaml-5.3@sha256:46c8190b0d52b313bd85026218a5b5b274d6ad663173bc723d8fac0bcb973c14-ubuntu-22.04-5.3_opam-2.3-239b1d965467d3331fff496c5be9229a"
2025-07-09 12:32.27: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-5.3@sha256:46c8190b0d52b313bd85026218a5b5b274d6ad663173bc723d8fac0bcb973c14)
(comment ubuntu-22.04-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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mirage-time.opam mirage-time-unix.opam) (dst ./))
(run (network host)
(shell  "opam pin add -yn mirage-time.dev './' && \
\nopam pin add -yn mirage-time-unix.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 duration.0.2.1 lwt.5.9.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2")
(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-time.dev mirage-time-unix.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-07-09 12:32.27: Waiting for resource in pool OCluster
2025-07-09 17:57.28: Waiting for worker…
2025-07-09 18:02.27: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at c68f199 changes for 3.0.0


(from ocaml/opam:ubuntu-22.04-ocaml-5.3@sha256:46c8190b0d52b313bd85026218a5b5b274d6ad663173bc723d8fac0bcb973c14)
2025-07-09 18:33.19 ---> using "dc9a9e12b21eb9e3f2e941961b24925f65727cd21c5737e21010c2a425d2ae35" from cache


/: (comment ubuntu-22.04-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-07-09 18:33.19 ---> using "36ea30f07b212f85f73e9124578a0756b40e890d10407c64761fddf26d5b7259" 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-07-09 18:33.19 ---> using "62eb9fdf14dc0cf35a555d11a469a9ef36b13604283a68d8329a587d391e5711" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-07-09 18:33.19 ---> using "8fceb0288e2075c74b5da9a76bf24dfafd6a60910a4a6d86b53e885b3d2debbd" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-07-09 18:33.19 ---> using "68ffcfec603c4758e0232c744bf21ac157b8066ddbb302f02f196ddfbee231ba" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1


<><> 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-07-09 18:33.19 ---> using "94fad8fc4082c3bc3d0c1b9741c28f90aeb901cfa83c037bfc7d495e5e1b78f8" from cache


/src: (copy (src mirage-time.opam mirage-time-unix.opam) (dst ./))
2025-07-09 18:33.20 ---> saved as "1f434f6cc286dd13f64698aa1a4f5bf464566aa9e4dbb0b080b0e9262b34ee52"


/src: (run (network host)
(shell  "opam pin add -yn mirage-time.dev './' && \
\nopam pin add -yn mirage-time-unix.dev './'"))
[mirage-time.dev] synchronised (file:///src)
mirage-time is now pinned to file:///src (version dev)
[mirage-time-unix.dev] synchronised (file:///src)
mirage-time-unix is now pinned to file:///src (version dev)
2025-07-09 18:33.23 ---> saved as "cd0fbede8cd8da1bbe0048f1d8002692754f53b6c66e51e1595f6233e1ba2410"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-09 18:33.23 ---> saved as "8f8e2ee6c0926f503797d72d390430fde0303680c29dbfa0a8989cf0a4021b38"


/src: (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 duration.0.2.1 lwt.5.9.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2")


/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-time.dev mirage-time-unix.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:5 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1266 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1569 kB]
- Get:7 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3102 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3414 kB]
- Get:9 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [4795 kB]
- Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [4948 kB]
- Get:11 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [38.4 kB]
- Get:12 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [113 kB]
- Fetched 19.6 MB in 2s (10.5 MB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-time.dev] synchronised (file:///src)
[mirage-time-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.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-07-09 18:33.37 ---> saved as "95dd03f35550482f7121157885fbcd7eaf85e07d89542f32f9b33cfa677aac97"


/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 9 packages
- install base-bytes        base
- install cppo              1.8.0
- install csexp             1.5.2
- install dune              3.19.1
- install dune-configurator 3.19.1
- install duration          0.2.1
- install lwt               5.9.1
- install ocamlfind         1.9.8
- install ocplib-endian     1.2


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved lwt.5.9.1  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.19.1
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.19.1
-> installed lwt.5.9.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-09 18:34.15 ---> saved as "1502efed70a301dcadb7b1c8e7dcff9ef68d0cdf2e744405bd9e5236536453b9"


/src: (copy (src .) (dst /src))
2025-07-09 18:34.15 ---> saved as "189c08aa4b432ffcb34d6e066ac7f90fea8cffeaaa804365710737e6d32830e3"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-07-09 18:34.16 ---> saved as "68b8be3d3cf447d1e2d29749d2b4042ec1cf1846b3822385ebcfbc72da45b93f"
Job succeeded
2025-07-09 18:34.16: Job succeeded