Organisationsmirageocaml-hvsockaa970b ()debian-12-4.10_opam-2.4

debian-12-4.10_opam-2.4

Link Copied
Code Copied

Logs

2025-08-24 12:34.34: New job: test mirage/ocaml-hvsock https://github.com/mirage/ocaml-hvsock.git#refs/heads/master (aa970b923b67dc51e17b10f4351600a68f4f1ad5) (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/ocaml-hvsock.git" -b "master" && cd "ocaml-hvsock" && git reset --hard aa970b92
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 hvsock.opam ./
RUN opam pin add -yn hvsock.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.0 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.20.0 dune-configurator.3.20.0 duration.0.2.1 fmt.0.11.0 logs.0.8.0 lwt.5.9.1 mirage-flow.5.0.0 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.11.0 seq.base sha.1.15.4 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.0 uri.4.4.0 uuidm.0.9.8 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y hvsock.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-24 12:34.34: Using cache hint "mirage/ocaml-hvsock-ocaml/opam:debian-12-ocaml-4.10@sha256:35f574d8ac8947fdcf675084273149c7694655bdc0ca756de59254225a26fc4a-debian-12-4.10_opam-2.4-1753d07a2f411b1ff08623f421a269d2"
2025-08-24 12:34.34: 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 hvsock.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn hvsock.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.0 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.20.0 dune-configurator.3.20.0 duration.0.2.1 fmt.0.11.0 logs.0.8.0 lwt.5.9.1 mirage-flow.5.0.0 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.11.0 seq.base sha.1.15.4 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.0 uri.4.4.0 uuidm.0.9.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.4 --depext-only -y hvsock.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-24 12:34.34: Waiting for resource in pool OCluster
2025-08-24 12:34.35: Waiting for worker…
2025-08-24 12:34.35: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at aa970b9 Merge pull request #70 from hannesm/rm-mirage-time


(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-24 12:34.36 ---> 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-24 12:34.36 ---> 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-24 12:34.36 ---> 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-24 12:34.36 ---> using "1bc6a1cdf4d88bb7c813f7d1916d6ec54a0accb858f2b33e87266e23f3d0062d" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-08-24 12:34.36 ---> 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-24 12:34.36 ---> using "e29ad3dee9cda384419316e516664489185f8bb4976fe7c67f586af3939e1726" from cache


/src: (copy (src hvsock.opam) (dst ./))
2025-08-24 12:34.36 ---> using "f632c57a0088def1fb85261193e2331b4e60c2edc85250694c46a4c65f256cf2" from cache


/src: (run (network host)
(shell "opam pin add -yn hvsock.dev './'"))
[hvsock.dev] synchronised (file:///src)
hvsock is now pinned to file:///src (version dev)
2025-08-24 12:34.36 ---> using "9878a4a98e47f8798aad6340297e50e5a27be8775a38b9005f5332ac29713aa7" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-08-24 12:34.36 ---> using "4bdc5e8dc87ba08c2484a591f680e44aafcf7a17e630c2b240cac57179dacd80" from cache


/src: (env DEPS "alcotest.1.9.0 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.20.0 dune-configurator.3.20.0 duration.0.2.1 fmt.0.11.0 logs.0.8.0 lwt.5.9.1 mirage-flow.5.0.0 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.11.0 seq.base sha.1.15.4 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.0 uri.4.4.0 uuidm.0.9.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.4 --depext-only -y hvsock.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 (1343 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[hvsock.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-24 12:34.36 ---> using "c79e744baa4f6dbf1af9fba558a75ffe7f5648bd125c6935bb740c025e2b2fa5" from cache


/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 30 packages
- install alcotest           1.9.0
- install angstrom           0.16.1
- install astring            0.8.5
- install base-bytes         base
- install base64             3.5.1
- install bigstringaf        0.10.0
- install cmdliner           1.3.0
- install cppo               1.8.0
- install csexp              1.5.2
- install cstruct            6.2.0
- install dune               3.20.0
- install dune-configurator  3.20.0
- install duration           0.2.1
- install fmt                0.11.0
- install logs               0.8.0
- install lwt                5.9.1
- install mirage-flow        5.0.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild         0.16.1
- install ocamlfind          1.9.8
- install ocplib-endian      1.2
- install re                 1.11.0
- install seq                base
- install sha                1.15.4
- install stdlib-shims       0.3.0
- install stringext          1.6.0
- install topkg              1.1.0
- install uri                4.4.0
- install uuidm              0.9.8
- install uutf               1.0.4


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.0  (cached)
-> retrieved angstrom.0.16.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved logs.0.8.0  (cached)
-> retrieved mirage-flow.5.0.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved lwt.5.9.1  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.11.0  (cached)
-> retrieved sha.1.15.4  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved topkg.1.1.0  (cached)
-> retrieved uri.4.4.0  (cached)
-> retrieved uuidm.0.9.8  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved dune.3.20.0, dune-configurator.3.20.0  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.0
-> installed uuidm.0.9.8
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed dune.3.20.0
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed cppo.1.8.0
-> installed cstruct.6.2.0
-> installed duration.0.2.1
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.11.0
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed ocplib-endian.1.2
-> installed sha.1.15.4
-> installed alcotest.1.9.0
-> installed dune-configurator.3.20.0
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed uri.4.4.0
-> installed lwt.5.9.1
-> installed mirage-flow.5.0.0
-> installed logs.0.8.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-24 12:34.36 ---> using "4d358d79b5ef80d8ae932120ec8626d7864398c7e53d6ff60eb37977b58b6239" from cache


/src: (copy (src .) (dst /src))
2025-08-24 12:34.36 ---> using "1049bcd29a8ec45312a2466abdc71f7852a9afad9187b1e51d6096bffbc93e1f" from cache


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-08-24 12:34.36 ---> using "b619f3c93acd83c8793a45c6b9f5a1e132e760d1e10950cd81fc056fa9a090e1" from cache
Job succeeded
2025-08-24 12:34.36: Job succeeded