2024-10-04 10:31.43: New job: test mirage/ocaml-cohttp https://github.com/mirage/ocaml-cohttp.git#refs/pull/1036/head (34ce0fc016230eccf0222c9a42b50ace649b6cd9) (linux-x86_64:ubuntu-20.04-4.14_opam-2.2)
Base: ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:bf9c9736fb6d75f71f9b3e6fd1b7bcda883cab65a57be8c8ccb7108e0a87f204
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 34ce0fc0
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:bf9c9736fb6d75f71f9b3e6fd1b7bcda883cab65a57be8c8ccb7108e0a87f204
# ubuntu-20.04-4.14_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 f7c5ed58d4e80e295c4022514da894342e69bfa0 || git fetch origin master) && git reset -q --hard f7c5ed58d4e80e295c4022514da894342e69bfa0 && 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.3.2 astring.0.8.5 async.v0.16.0 async_kernel.v0.16.0 async_rpc_kernel.v0.16.0 async_unix.v0.16.0 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 base_bigstring.v0.16.0 base_quickcheck.v0.16.0 bigstringaf.0.10.0 bin_prot.v0.16.0 bos.0.2.1 ca-certs.1.0.0 ca-certs-nss.3.104 cmdliner.1.3.0 conduit.7.1.0 conduit-async.7.1.0 conduit-lwt.7.1.0 conduit-lwt-unix.7.1.0 conduit-mirage.7.1.0 conf-bash.1 conf-gmp.4 conf-gmp-powm-sec.3 conf-npm.1 conf-pkg-config.3 core.v0.16.2 core_kernel.v0.16.0 core_unix.v0.16.0 cppo.1.7.0 crowbar.0.2.1 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 digestif.1.2.0 dns.9.0.0 dns-client.9.0.0 dns-client-mirage.9.0.0 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 eqaf.0.10 ethernet.3.2.0 expect_test_helpers_core.v0.16.0 fieldslib.v0.16.0 fmt.0.9.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 happy-eyeballs.1.2.0 happy-eyeballs-mirage.1.2.0 host-arch-x86_64.1 host-system-other.1 int_repr.v0.16.0 io-page.3.0.0 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 ipaddr-sexp.5.6.0 jane-street-headers.v0.16.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 jst-config.v0.16.0 kdf.1.0.0 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.1.1.0 mirage-crypto-ec.1.1.0 mirage-crypto-pk.1.1.0 mirage-crypto-rng.1.1.0 mirage-crypto-rng-mirage.1.1.0 mirage-flow.4.0.2 mirage-flow-combinators.4.0.2 mirage-kv.6.1.1 mirage-net.4.0.0 mirage-runtime.4.7.0 mirage-time.3.0.0 mtime.2.1.0 num.1.5-1 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 ocaml_intrinsics.v0.16.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ohex.0.2.0 optint.0.3.0 ounit.2.2.7 ounit2.2.2.7 parsexp.v0.16.0 ppx_assert.v0.16.0 ppx_base.v0.16.0 ppx_bench.v0.16.0 ppx_bin_prot.v0.16.0 ppx_cold.v0.16.0 ppx_compare.v0.16.0 ppx_custom_printf.v0.16.0 ppx_derivers.1.2.1 ppx_disable_unused_warnings.v0.16.0 ppx_enumerate.v0.16.0 ppx_expect.v0.16.0 ppx_fields_conv.v0.16.0 ppx_fixed_literal.v0.16.0 ppx_globalize.v0.16.0 ppx_hash.v0.16.0 ppx_here.v0.16.0 ppx_ignore_instrumentation.v0.16.0 ppx_inline_test.v0.16.1 ppx_jane.v0.16.0 ppx_let.v0.16.0 ppx_log.v0.16.0 ppx_module_timer.v0.16.0 ppx_optcomp.v0.16.0 ppx_optional.v0.16.0 ppx_pipebang.v0.16.0 ppx_sexp_conv.v0.16.0 ppx_sexp_message.v0.16.0 ppx_sexp_value.v0.16.0 ppx_stable.v0.16.0 ppx_stable_witness.v0.16.0 ppx_string.v0.16.0 ppx_tydi.v0.16.0 ppx_typerep_conv.v0.16.0 ppx_variants_conv.v0.16.0 ppxlib.0.33.0 protocol_version_header.v0.16.0 psq.0.2.1 ptime.1.2.0 randomconv.0.2.0 re.1.12.0 rresult.0.7.0 sedlex.3.2 seq.base sexp_pretty.v0.16.0 sexplib.v0.16.0 sexplib0.v0.16.0 spawn.v0.15.1 splittable_random.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 stringext.1.6.0 tcpip.8.2.0 textutils.v0.16.0 textutils_kernel.v0.16.0 time_now.v0.16.0 timezone.v0.16.0 tls.1.0.2 tls-mirage.1.0.2 topkg.1.0.7 typerep.v0.16.0 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 variantslib.v0.16.0 vchan.6.0.2 x509.1.0.4 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 cohttp-async.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
2024-10-04 10:31.43: Using cache hint "mirage/ocaml-cohttp-ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:bf9c9736fb6d75f71f9b3e6fd1b7bcda883cab65a57be8c8ccb7108e0a87f204-ubuntu-20.04-4.14_opam-2.2-a2429069ffb36536817ab9d45da1feb2"
2024-10-04 10:31.43: Using OBuilder spec:
((from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:bf9c9736fb6d75f71f9b3e6fd1b7bcda883cab65a57be8c8ccb7108e0a87f204)
(comment ubuntu-20.04-4.14_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 f7c5ed58d4e80e295c4022514da894342e69bfa0 || git fetch origin master) && git reset -q --hard f7c5ed58d4e80e295c4022514da894342e69bfa0 && 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.3.2 astring.0.8.5 async.v0.16.0 async_kernel.v0.16.0 async_rpc_kernel.v0.16.0 async_unix.v0.16.0 base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 base_bigstring.v0.16.0 base_quickcheck.v0.16.0 bigstringaf.0.10.0 bin_prot.v0.16.0 bos.0.2.1 ca-certs.1.0.0 ca-certs-nss.3.104 cmdliner.1.3.0 conduit.7.1.0 conduit-async.7.1.0 conduit-lwt.7.1.0 conduit-lwt-unix.7.1.0 conduit-mirage.7.1.0 conf-bash.1 conf-gmp.4 conf-gmp-powm-sec.3 conf-npm.1 conf-pkg-config.3 core.v0.16.2 core_kernel.v0.16.0 core_unix.v0.16.0 cppo.1.7.0 crowbar.0.2.1 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 digestif.1.2.0 dns.9.0.0 dns-client.9.0.0 dns-client-mirage.9.0.0 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 eqaf.0.10 ethernet.3.2.0 expect_test_helpers_core.v0.16.0 fieldslib.v0.16.0 fmt.0.9.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 happy-eyeballs.1.2.0 happy-eyeballs-mirage.1.2.0 host-arch-x86_64.1 host-system-other.1 int_repr.v0.16.0 io-page.3.0.0 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 ipaddr-sexp.5.6.0 jane-street-headers.v0.16.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 jst-config.v0.16.0 kdf.1.0.0 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.1.1.0 mirage-crypto-ec.1.1.0 mirage-crypto-pk.1.1.0 mirage-crypto-rng.1.1.0 mirage-crypto-rng-mirage.1.1.0 mirage-flow.4.0.2 mirage-flow-combinators.4.0.2 mirage-kv.6.1.1 mirage-net.4.0.0 mirage-runtime.4.7.0 mirage-time.3.0.0 mtime.2.1.0 num.1.5-1 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 ocaml_intrinsics.v0.16.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ohex.0.2.0 optint.0.3.0 ounit.2.2.7 ounit2.2.2.7 parsexp.v0.16.0 ppx_assert.v0.16.0 ppx_base.v0.16.0 ppx_bench.v0.16.0 ppx_bin_prot.v0.16.0 ppx_cold.v0.16.0 ppx_compare.v0.16.0 ppx_custom_printf.v0.16.0 ppx_derivers.1.2.1 ppx_disable_unused_warnings.v0.16.0 ppx_enumerate.v0.16.0 ppx_expect.v0.16.0 ppx_fields_conv.v0.16.0 ppx_fixed_literal.v0.16.0 ppx_globalize.v0.16.0 ppx_hash.v0.16.0 ppx_here.v0.16.0 ppx_ignore_instrumentation.v0.16.0 ppx_inline_test.v0.16.1 ppx_jane.v0.16.0 ppx_let.v0.16.0 ppx_log.v0.16.0 ppx_module_timer.v0.16.0 ppx_optcomp.v0.16.0 ppx_optional.v0.16.0 ppx_pipebang.v0.16.0 ppx_sexp_conv.v0.16.0 ppx_sexp_message.v0.16.0 ppx_sexp_value.v0.16.0 ppx_stable.v0.16.0 ppx_stable_witness.v0.16.0 ppx_string.v0.16.0 ppx_tydi.v0.16.0 ppx_typerep_conv.v0.16.0 ppx_variants_conv.v0.16.0 ppxlib.0.33.0 protocol_version_header.v0.16.0 psq.0.2.1 ptime.1.2.0 randomconv.0.2.0 re.1.12.0 rresult.0.7.0 sedlex.3.2 seq.base sexp_pretty.v0.16.0 sexplib.v0.16.0 sexplib0.v0.16.0 spawn.v0.15.1 splittable_random.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 stringext.1.6.0 tcpip.8.2.0 textutils.v0.16.0 textutils_kernel.v0.16.0 time_now.v0.16.0 timezone.v0.16.0 tls.1.0.2 tls-mirage.1.0.2 topkg.1.0.7 typerep.v0.16.0 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 variantslib.v0.16.0 vchan.6.0.2 x509.1.0.4 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 cohttp-async.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"))
)
2024-10-04 10:31.43: Waiting for resource in pool OCluster
2024-10-04 10:31.43: Waiting for worker…
2024-10-04 10:43.01: Got resource from pool OCluster
Building on x86-bm-c18.sw.ocaml.org
All commits already cached
HEAD is now at 34ce0fc0 Add cstruct to dependencies in dune
(from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:bf9c9736fb6d75f71f9b3e6fd1b7bcda883cab65a57be8c8ccb7108e0a87f204)
Unable to find image 'ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:bf9c9736fb6d75f71f9b3e6fd1b7bcda883cab65a57be8c8ccb7108e0a87f204' locally
docker.io/ocaml/opam@sha256:bf9c9736fb6d75f71f9b3e6fd1b7bcda883cab65a57be8c8ccb7108e0a87f204: Pulling from ocaml/opam
40ffde063e3d: Pulling fs layer
40ffde063e3d: Verifying Checksum
40ffde063e3d: Download complete
40ffde063e3d: Pull complete
Digest: sha256:bf9c9736fb6d75f71f9b3e6fd1b7bcda883cab65a57be8c8ccb7108e0a87f204
Status: Downloaded newer image for ocaml/opam@sha256:bf9c9736fb6d75f71f9b3e6fd1b7bcda883cab65a57be8c8ccb7108e0a87f204
2024-10-04 10:44.34 ---> saved as "19903358f55ad283a3c432fd3daf0eca4a7b3397354c8b8cd39361c895368153"
/: (comment ubuntu-20.04-4.14_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-04 10:44.34 ---> saved as "560306bc4b748d290694a4aa6f5bbe4f987f0fc2a334286cb03d4d29b79940d1"
/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] synchronised from file:///home/opam/opam-repository
2024-10-04 10:46.01 ---> saved as "0c1bc42dfa7a75450b9bce2682dcc8b4660e53cba594bef2d8779be064af5ff8"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 4.14.2
2.2.1
2024-10-04 10:46.01 ---> saved as "e97093f9417edd20be70e8c69a567f9336bf05550f3defeb3ecd40445c793013"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-10-04 10:46.01 ---> saved as "c0b0da80366c1f1a111bddb1377a7c8a8fdd7afbd0f165a4c965930f974f94f5"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e f7c5ed58d4e80e295c4022514da894342e69bfa0 || git fetch origin master) && git reset -q --hard f7c5ed58d4e80e295c4022514da894342e69bfa0 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
75006f8c5e..ee4414a0e6 master -> origin/master
f7c5ed58d4 Merge pull request #26635 from hannesm/release-x509-v1.0.4
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-10-04 10:47.26: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled