2025-08-25 09:37.07: New job: test mirage/charrua https://github.com/mirage/charrua.git#refs/heads/main (c0e623dd2d3086272f3d5634cfedaf6d50328e7a) (linux-x86_64:ubuntu-24.04-4.14_opam-2.4)
Base: ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:d62810178ac33ae25d9bd9ad162d8e7d4d57e63f7732be231b7c8ef925018452
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/charrua.git" -b "main" && cd "charrua" && git reset --hard c0e623dd
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:d62810178ac33ae25d9bd9ad162d8e7d4d57e63f7732be231b7c8ef925018452
# ubuntu-24.04-4.14_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 charrua.opam charrua-unix.opam charrua-server.opam charrua-client.opam ./
RUN opam pin add -yn charrua.dev './' && \
opam pin add -yn charrua-unix.dev './' && \
opam pin add -yn charrua-server.dev './' && \
opam pin add -yn charrua-client.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.0 arp.4.0.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 cstruct-unix.6.2.0 digestif.1.3.0 domain-name.0.4.1 dune.3.20.0 dune-configurator.3.20.0 duration.0.2.1 eqaf.0.10 ethernet.3.2.0 fmt.0.11.0 ipaddr.5.6.1 ipaddr-cstruct.5.6.1 logs.0.9.0 lru.0.3.1 lwt.5.9.1 lwt-dllist.1.1.0 lwt_log.1.1.2 macaddr.5.6.1 macaddr-cstruct.5.6.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 metrics.0.5.0 mirage-crypto.2.0.1 mirage-crypto-rng.2.0.1 mirage-flow.5.0.0 mirage-mtime.5.0.0 mirage-net.4.0.0 mirage-sleep.4.0.0 mtime.2.1.0 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 parsexp.v0.16.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.36.0 psq.0.2.1 randomconv.0.2.0 rawlink.2.1 rawlink-lwt.2.1 re.1.13.2 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 tcpip.9.0.1 topkg.1.1.0 tuntap.2.0.1 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y charrua.dev charrua-unix.dev charrua-server.dev charrua-client.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-25 09:37.07: Using cache hint "mirage/charrua-ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:d62810178ac33ae25d9bd9ad162d8e7d4d57e63f7732be231b7c8ef925018452-ubuntu-24.04-4.14_opam-2.4-4475d033acdef7fa7f60d567b85c3334"
2025-08-25 09:37.07: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:d62810178ac33ae25d9bd9ad162d8e7d4d57e63f7732be231b7c8ef925018452)
(comment ubuntu-24.04-4.14_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 charrua.opam charrua-unix.opam charrua-server.opam charrua-client.opam)
(dst ./))
(run (network host)
(shell "opam pin add -yn charrua.dev './' && \
\nopam pin add -yn charrua-unix.dev './' && \
\nopam pin add -yn charrua-server.dev './' && \
\nopam pin add -yn charrua-client.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.0 arp.4.0.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 cstruct-unix.6.2.0 digestif.1.3.0 domain-name.0.4.1 dune.3.20.0 dune-configurator.3.20.0 duration.0.2.1 eqaf.0.10 ethernet.3.2.0 fmt.0.11.0 ipaddr.5.6.1 ipaddr-cstruct.5.6.1 logs.0.9.0 lru.0.3.1 lwt.5.9.1 lwt-dllist.1.1.0 lwt_log.1.1.2 macaddr.5.6.1 macaddr-cstruct.5.6.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 metrics.0.5.0 mirage-crypto.2.0.1 mirage-crypto-rng.2.0.1 mirage-flow.5.0.0 mirage-mtime.5.0.0 mirage-net.4.0.0 mirage-sleep.4.0.0 mtime.2.1.0 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 parsexp.v0.16.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.36.0 psq.0.2.1 randomconv.0.2.0 rawlink.2.1 rawlink-lwt.2.1 re.1.13.2 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 tcpip.9.0.1 topkg.1.1.0 tuntap.2.0.1 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 charrua.dev charrua-unix.dev charrua-server.dev charrua-client.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-25 09:37.07: Waiting for resource in pool OCluster
2025-08-25 09:37.07: Waiting for worker…
2025-08-25 09:37.07: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
HEAD is now at 8252298 server: remove superfluous comparison
HEAD is now at c0e623d Merge pull request #133 from hannesm/client-fqdn
(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:d62810178ac33ae25d9bd9ad162d8e7d4d57e63f7732be231b7c8ef925018452)
2025-08-25 09:37.08 ---> using "4ba7d78495e1b286b162eef5162349e9608d478af05c7b3519f60c31d72fa97e" from cache
/: (comment ubuntu-24.04-4.14_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-25 09:37.08 ---> using "1bcd09fb63be48894dd0d426821e0f78fc9d24e8dce3bf5db7a1faf3ffbfe2e9" 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-08-25 09:37.08 ---> using "da80a757af0879081dfb5004c29e842b677a9dddb37c2bf7782eaeb0971e3f45" 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.4.1
2025-08-25 09:37.08 ---> using "ba97bafc4798d0004572015584f8bda3c11f2ce461ad91ffc79023eb5a47e931" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-08-25 09:37.08 ---> using "a6b7c27febf0f4cc2b6787b0be17d630ec24d6f780014a579c1d4c61ec0e06aa" 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-25 09:37.08 ---> using "6bf8b5da27ed2f4f5d9d4b9e948f81e3433e0ea1458419e10b5280eb111597c5" from cache
/src: (copy (src charrua.opam charrua-unix.opam charrua-server.opam charrua-client.opam)
(dst ./))
2025-08-25 09:37.08 ---> saved as "b277d5d327cb128dcecb42a6922164b9de811c391b7a8d95468970fef8452896"
/src: (run (network host)
(shell "opam pin add -yn charrua.dev './' && \
\nopam pin add -yn charrua-unix.dev './' && \
\nopam pin add -yn charrua-server.dev './' && \
\nopam pin add -yn charrua-client.dev './'"))
[charrua.dev] synchronised (file:///src)
charrua is now pinned to file:///src (version dev)
[charrua-unix.dev] synchronised (file:///src)
charrua-unix is now pinned to file:///src (version dev)
[charrua-server.dev] synchronised (file:///src)
charrua-server is now pinned to file:///src (version dev)
[charrua-client.dev] synchronised (file:///src)
charrua-client is now pinned to file:///src (version dev)
2025-08-25 09:37.16 ---> saved as "10def6afe70906607beb2b6213cf78857fc031e37fbc0cefe215c66ff83ab29d"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-08-25 09:37.16 ---> saved as "98a9260fb9befc1b91de3e5d0f54e768d37944b2dae7507add6be511baa33e61"
/src: (env DEPS "alcotest.1.9.0 arp.4.0.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 cstruct-unix.6.2.0 digestif.1.3.0 domain-name.0.4.1 dune.3.20.0 dune-configurator.3.20.0 duration.0.2.1 eqaf.0.10 ethernet.3.2.0 fmt.0.11.0 ipaddr.5.6.1 ipaddr-cstruct.5.6.1 logs.0.9.0 lru.0.3.1 lwt.5.9.1 lwt-dllist.1.1.0 lwt_log.1.1.2 macaddr.5.6.1 macaddr-cstruct.5.6.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 metrics.0.5.0 mirage-crypto.2.0.1 mirage-crypto-rng.2.0.1 mirage-flow.5.0.0 mirage-mtime.5.0.0 mirage-net.4.0.0 mirage-sleep.4.0.0 mtime.2.1.0 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 parsexp.v0.16.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.36.0 psq.0.2.1 randomconv.0.2.0 rawlink.2.1 rawlink-lwt.2.1 re.1.13.2 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 tcpip.9.0.1 topkg.1.1.0 tuntap.2.0.1 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 charrua.dev charrua-unix.dev charrua-server.dev charrua-client.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:2 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1137 kB]
- Hit:3 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:4 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1363 kB]
- Get:5 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:6 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [2066 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1458 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1713 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [2193 kB]
- Get:11 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [35.6 kB]
- Fetched 10.3 MB in 2s (6624 kB/s)
- Reading package lists...
2025-08-25 09:37.19: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled