2024-10-11 09:33.03: New job: test mirage/ocaml-cohttp https://github.com/mirage/ocaml-cohttp.git#refs/pull/1036/head (bb2c3021aa36e927f72129fa47ad0bf4c063cba2) (linux-x86_64:debian-12-4.12_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-4.12@sha256:7217f08601ce7b0485a2195a56b2412ff32d5b038e3f1a25f2d1ff09957e503b
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/ocaml-cohttp.git" && cd "ocaml-cohttp" && git fetch origin "refs/pull/1036/head" && git reset --hard bb2c3021
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.12@sha256:7217f08601ce7b0485a2195a56b2412ff32d5b038e3f1a25f2d1ff09957e503b
# debian-12-4.12_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /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 49cba799e58f818b516d7fce6d8d85f84aeba7bc || git fetch origin master) && git reset -q --hard 49cba799e58f818b516d7fce6d8d85f84aeba7bc && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 cohttp.opam cohttp-top.opam cohttp-mirage.opam cohttp-lwt.opam cohttp-lwt-unix.opam cohttp-lwt-jsoo.opam cohttp-async.opam ./
RUN opam pin add -yn cohttp.dev './' && \
opam pin add -yn cohttp-top.dev './' && \
opam pin add -yn cohttp-mirage.dev './' && \
opam pin add -yn cohttp-lwt.dev './' && \
opam pin add -yn cohttp-lwt-unix.dev './' && \
opam pin add -yn cohttp-lwt-jsoo.dev './' && \
opam pin add -yn cohttp-async.dev './'
ENV DEPS="afl-persistent.1.4 alcotest.1.8.0 angstrom.0.16.1 arp.3.1.1 asn1-combinators.0.2.6 astring.0.8.5 base.v0.15.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 ca-certs.0.2.3 ca-certs-nss.3.101 cmdliner.1.3.0 conduit.6.2.3 conduit-lwt.6.2.3 conduit-lwt-unix.6.2.3 conduit-mirage.6.2.3 conf-gmp.4 conf-gmp-powm-sec.3 conf-npm.1 conf-pkg-config.3 cppo.1.7.0 crowbar.0.2.1 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 dns.8.0.0 dns-client.8.0.0 dns-client-mirage.8.0.0 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 eqaf.0.9 ethernet.3.2.0 fmt.0.9.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 happy-eyeballs.1.2.2 happy-eyeballs-mirage.1.2.2 hkdf.1.0.4 io-page.3.0.0 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.5.8.2 js_of_ocaml-compiler.5.8.2 js_of_ocaml-lwt.5.8.2 js_of_ocaml-ppx.5.8.2 jsonm.1.0.2 logs.0.7.0 lru.0.3.1 lwt.5.7.0 lwt-dllist.1.0.1 lwt_ppx.2.1.0 macaddr.5.6.0 macaddr-cstruct.5.6.0 magic-mime.1.3.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 metrics.0.4.1 mirage-channel.4.1.0 mirage-clock.4.2.0 mirage-crypto.0.11.3 mirage-crypto-ec.0.11.3 mirage-crypto-pk.0.11.3 mirage-crypto-rng.0.11.3 mirage-flow.4.0.2 mirage-flow-combinators.4.0.2 mirage-kv.6.1.1 mirage-net.4.0.0 mirage-random.3.0.0 mirage-time.3.0.0 mtime.2.1.0 num.1.5-1 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 optint.0.3.0 ounit.2.2.7 ounit2.2.2.7 parsexp.v0.15.0 pbkdf.1.2.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.15.1 ppxlib.0.33.0 psq.0.2.1 ptime.1.2.0 randomconv.0.1.3 re.1.12.0 rresult.0.7.0 sedlex.3.2 seq.base sexplib.v0.15.1 sexplib0.v0.15.1 stdlib-shims.0.3.0 stringext.1.6.0 tcpip.8.1.0 tls.0.17.5 tls-mirage.0.17.5 topkg.1.0.7 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 vchan.6.0.2 x509.0.16.5 xenstore.2.3.0 xenstore_transport.1.3.0 yojson.2.2.2 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y cohttp.dev cohttp-top.dev cohttp-mirage.dev cohttp-lwt.dev cohttp-lwt-unix.dev cohttp-lwt-jsoo.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=cohttp,cohttp-top,cohttp-mirage,cohttp-lwt,cohttp-lwt-unix,cohttp-lwt-jsoo @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-10-11 09:33.03: Using cache hint "mirage/ocaml-cohttp-ocaml/opam:debian-12-ocaml-4.12@sha256:7217f08601ce7b0485a2195a56b2412ff32d5b038e3f1a25f2d1ff09957e503b-debian-12-4.12_opam-2.2-b531d17ff3df718aa584ddc0873d14e5"
2024-10-11 09:33.03: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.12@sha256:7217f08601ce7b0485a2195a56b2412ff32d5b038e3f1a25f2d1ff09957e503b)
(comment debian-12-4.12_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.2 /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 49cba799e58f818b516d7fce6d8d85f84aeba7bc || git fetch origin master) && git reset -q --hard 49cba799e58f818b516d7fce6d8d85f84aeba7bc && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src cohttp.opam cohttp-top.opam cohttp-mirage.opam cohttp-lwt.opam cohttp-lwt-unix.opam cohttp-lwt-jsoo.opam cohttp-async.opam)
(dst ./))
(run (network host)
(shell "opam pin add -yn cohttp.dev './' && \
\nopam pin add -yn cohttp-top.dev './' && \
\nopam pin add -yn cohttp-mirage.dev './' && \
\nopam pin add -yn cohttp-lwt.dev './' && \
\nopam pin add -yn cohttp-lwt-unix.dev './' && \
\nopam pin add -yn cohttp-lwt-jsoo.dev './' && \
\nopam pin add -yn cohttp-async.dev './'"))
(env DEPS "afl-persistent.1.4 alcotest.1.8.0 angstrom.0.16.1 arp.3.1.1 asn1-combinators.0.2.6 astring.0.8.5 base.v0.15.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 ca-certs.0.2.3 ca-certs-nss.3.101 cmdliner.1.3.0 conduit.6.2.3 conduit-lwt.6.2.3 conduit-lwt-unix.6.2.3 conduit-mirage.6.2.3 conf-gmp.4 conf-gmp-powm-sec.3 conf-npm.1 conf-pkg-config.3 cppo.1.7.0 crowbar.0.2.1 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 dns.8.0.0 dns-client.8.0.0 dns-client-mirage.8.0.0 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 eqaf.0.9 ethernet.3.2.0 fmt.0.9.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 happy-eyeballs.1.2.2 happy-eyeballs-mirage.1.2.2 hkdf.1.0.4 io-page.3.0.0 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.5.8.2 js_of_ocaml-compiler.5.8.2 js_of_ocaml-lwt.5.8.2 js_of_ocaml-ppx.5.8.2 jsonm.1.0.2 logs.0.7.0 lru.0.3.1 lwt.5.7.0 lwt-dllist.1.0.1 lwt_ppx.2.1.0 macaddr.5.6.0 macaddr-cstruct.5.6.0 magic-mime.1.3.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 metrics.0.4.1 mirage-channel.4.1.0 mirage-clock.4.2.0 mirage-crypto.0.11.3 mirage-crypto-ec.0.11.3 mirage-crypto-pk.0.11.3 mirage-crypto-rng.0.11.3 mirage-flow.4.0.2 mirage-flow-combinators.4.0.2 mirage-kv.6.1.1 mirage-net.4.0.0 mirage-random.3.0.0 mirage-time.3.0.0 mtime.2.1.0 num.1.5-1 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 optint.0.3.0 ounit.2.2.7 ounit2.2.2.7 parsexp.v0.15.0 pbkdf.1.2.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.15.1 ppxlib.0.33.0 psq.0.2.1 ptime.1.2.0 randomconv.0.1.3 re.1.12.0 rresult.0.7.0 sedlex.3.2 seq.base sexplib.v0.15.1 sexplib0.v0.15.1 stdlib-shims.0.3.0 stringext.1.6.0 tcpip.8.1.0 tls.0.17.5 tls-mirage.0.17.5 topkg.1.0.7 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 vchan.6.0.2 x509.0.16.5 xenstore.2.3.0 xenstore_transport.1.3.0 yojson.2.2.2 zarith.1.14")
(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.2 --depext-only -y cohttp.dev cohttp-top.dev cohttp-mirage.dev cohttp-lwt.dev cohttp-lwt-unix.dev cohttp-lwt-jsoo.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 --only-packages=cohttp,cohttp-top,cohttp-mirage,cohttp-lwt,cohttp-lwt-unix,cohttp-lwt-jsoo @install @check @runtest && rm -rf _build"))
)
2024-10-11 09:33.03: Waiting for resource in pool OCluster
2024-10-11 09:33.04: Waiting for worker…
2024-10-11 09:33.57: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at bb2c3021 Add cstruct to dependencies in dune
(from ocaml/opam:debian-12-ocaml-4.12@sha256:7217f08601ce7b0485a2195a56b2412ff32d5b038e3f1a25f2d1ff09957e503b)
2024-10-11 10:00.02 ---> using "1cdbe15a8e96f0d3ba60a0c71b01b2e61dfe2ba44dec0093415cd80abaf592cd" from cache
/: (comment debian-12-4.12_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-10-11 10:00.02 ---> using "45011ded3453cbb02c3a65b8d91237a0019a1fbd7ec5522d81a4d282b6b1324d" 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
[NOTE] The 'jobs' option was reset, its value was 39 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=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-10-11 10:00.02 ---> using "282a2d67d54a97fa597c0a84826f47ff1109b6a9b47dc5f6f1a5a5ba166b21c6" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 4.12.1
2.2.1
2024-10-11 10:00.02 ---> using "1707bcdf8dc52706d44dbd0bc725fc0c573af7f8e9a5269e0c7340567fbae45c" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-10-11 10:00.02 ---> using "7d0373663467e5c90c1af4a364324ec9597ecaf46cf91c6423198f2ba1077249" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 49cba799e58f818b516d7fce6d8d85f84aeba7bc || git fetch origin master) && git reset -q --hard 49cba799e58f818b516d7fce6d8d85f84aeba7bc && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
75006f8c5e..1a07d7f3b0 master -> origin/master
49cba799e5 Merge pull request #26710 from hannesm/release-happy-eyeballs-v1.2.2
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from 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.
# Run eval $(opam env) to update the current shell environment
2024-10-11 10:00.02 ---> using "c471a2ae258cf50603d84c76ed6924307b1a14a5f8f42260efae07e8776da621" from cache
/src: (copy (src cohttp.opam cohttp-top.opam cohttp-mirage.opam cohttp-lwt.opam cohttp-lwt-unix.opam cohttp-lwt-jsoo.opam cohttp-async.opam)
(dst ./))
2024-10-11 10:00.02 ---> saved as "aaafdc0a923fc74f1e98f101eb6e23bcebb226b53c3472ff775777ac9a52ec8e"
/src: (run (network host)
(shell "opam pin add -yn cohttp.dev './' && \
\nopam pin add -yn cohttp-top.dev './' && \
\nopam pin add -yn cohttp-mirage.dev './' && \
\nopam pin add -yn cohttp-lwt.dev './' && \
\nopam pin add -yn cohttp-lwt-unix.dev './' && \
\nopam pin add -yn cohttp-lwt-jsoo.dev './' && \
\nopam pin add -yn cohttp-async.dev './'"))
[cohttp.dev] synchronised (file:///src)
cohttp is now pinned to file:///src (version dev)
2024-10-11 10:00.05: Cancelling: Auto-cancelling job because it is no longer needed
[cohttp-top.dev] synchronised (file:///src)
cohttp-top is now pinned to file:///src (version dev)
Job cancelled