Organisationsmirleftocaml-tls2f9f91 ()debian-11-4.14_opam-2.2

debian-11-4.14_opam-2.2

Link Copied
Code Copied

Logs

2024-10-01 14:14.28: New job: test mirleft/ocaml-tls https://github.com/mirleft/ocaml-tls.git#refs/heads/main (2f9f9131dc030cc2818032298e39ec3986e5c451) (linux-x86_64:debian-11-4.14_opam-2.2)
Base: ocaml/opam:debian-11-ocaml-4.14@sha256:9527dd00bf4eab25165c3b12cbeded615485468c37dee117128cc32409dac96a
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirleft/ocaml-tls.git" -b "main" && cd "ocaml-tls" && git reset --hard 2f9f9131
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-11-ocaml-4.14@sha256:9527dd00bf4eab25165c3b12cbeded615485468c37dee117128cc32409dac96a
# debian-11-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 tls.opam tls-mirage.opam tls-miou-unix.opam tls-lwt.opam tls-eio.opam tls-async.opam ./
RUN opam pin add -yn tls.dev './' && \
opam pin add -yn tls-mirage.dev './' && \
opam pin add -yn tls-miou-unix.dev './' && \
opam pin add -yn tls-lwt.dev './' && \
opam pin add -yn tls-eio.dev './' && \
opam pin add -yn tls-async.dev './'
ENV DEPS="alcotest.1.8.0 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 bin_prot.v0.16.0 cmdliner.1.3.0 conf-bash.1 conf-gmp.4 conf-gmp-powm-sec.3 conf-pkg-config.3 core.v0.16.2 core_kernel.v0.16.0 core_unix.v0.16.0 cppo.1.7.0 csexp.1.5.2 cstruct.6.2.0 cstruct-async.6.2.0 digestif.1.2.0 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 eqaf.0.10 expect_test_helpers_core.v0.16.0 fieldslib.v0.16.0 fmt.0.9.0 gmap.0.3.0 host-arch-x86_64.1 host-system-other.1 int_repr.v0.16.0 ipaddr.5.6.0 jane-street-headers.v0.16.0 jst-config.v0.16.0 kdf.1.0.0 logs.0.7.0 lwt.5.7.0 macaddr.5.6.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-async.1.1.0 mirage-crypto-rng-lwt.1.1.0 mirage-flow.4.0.2 mirage-kv.6.1.1 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 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 ptime.1.2.0 randomconv.0.2.0 re.1.12.0 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 textutils.v0.16.0 textutils_kernel.v0.16.0 time_now.v0.16.0 timezone.v0.16.0 topkg.1.0.7 typerep.v0.16.0 uutf.1.0.3 variantslib.v0.16.0 x509.1.0.4 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y tls.dev tls-mirage.dev tls-lwt.dev tls-async.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=tls,tls-mirage,tls-lwt,tls-async @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2024-10-01 14:14.28: Using cache hint "mirleft/ocaml-tls-ocaml/opam:debian-11-ocaml-4.14@sha256:9527dd00bf4eab25165c3b12cbeded615485468c37dee117128cc32409dac96a-debian-11-4.14_opam-2.2-03943177ce2177147040f252725c7d0c"
2024-10-01 14:14.28: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-4.14@sha256:9527dd00bf4eab25165c3b12cbeded615485468c37dee117128cc32409dac96a)
(comment debian-11-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 tls.opam tls-mirage.opam tls-miou-unix.opam tls-lwt.opam tls-eio.opam tls-async.opam)
(dst ./))
(run (network host)
(shell  "opam pin add -yn tls.dev './' && \
\nopam pin add -yn tls-mirage.dev './' && \
\nopam pin add -yn tls-miou-unix.dev './' && \
\nopam pin add -yn tls-lwt.dev './' && \
\nopam pin add -yn tls-eio.dev './' && \
\nopam pin add -yn tls-async.dev './'"))
(env DEPS "alcotest.1.8.0 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 bin_prot.v0.16.0 cmdliner.1.3.0 conf-bash.1 conf-gmp.4 conf-gmp-powm-sec.3 conf-pkg-config.3 core.v0.16.2 core_kernel.v0.16.0 core_unix.v0.16.0 cppo.1.7.0 csexp.1.5.2 cstruct.6.2.0 cstruct-async.6.2.0 digestif.1.2.0 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 eqaf.0.10 expect_test_helpers_core.v0.16.0 fieldslib.v0.16.0 fmt.0.9.0 gmap.0.3.0 host-arch-x86_64.1 host-system-other.1 int_repr.v0.16.0 ipaddr.5.6.0 jane-street-headers.v0.16.0 jst-config.v0.16.0 kdf.1.0.0 logs.0.7.0 lwt.5.7.0 macaddr.5.6.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-async.1.1.0 mirage-crypto-rng-lwt.1.1.0 mirage-flow.4.0.2 mirage-kv.6.1.1 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 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 ptime.1.2.0 randomconv.0.2.0 re.1.12.0 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 textutils.v0.16.0 textutils_kernel.v0.16.0 time_now.v0.16.0 timezone.v0.16.0 topkg.1.0.7 typerep.v0.16.0 uutf.1.0.3 variantslib.v0.16.0 x509.1.0.4 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 tls.dev tls-mirage.dev tls-lwt.dev tls-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 --only-packages=tls,tls-mirage,tls-lwt,tls-async @install @check @runtest && rm -rf _build"))
)


2024-10-01 14:14.28: Waiting for resource in pool OCluster
2024-10-01 17:15.10: Waiting for worker…
2024-10-01 17:17.26: Got resource from pool OCluster
Building on x86-bm-c7.sw.ocaml.org
All commits already cached
HEAD is now at 2f9f913 Merge pull request #511 from dinosaure/fix-rec-tls-miou-read


(from ocaml/opam:debian-11-ocaml-4.14@sha256:9527dd00bf4eab25165c3b12cbeded615485468c37dee117128cc32409dac96a)
Unable to find image 'ocaml/opam:debian-11-ocaml-4.14@sha256:9527dd00bf4eab25165c3b12cbeded615485468c37dee117128cc32409dac96a' locally
docker.io/ocaml/opam@sha256:9527dd00bf4eab25165c3b12cbeded615485468c37dee117128cc32409dac96a: Pulling from ocaml/opam
71e4069326a1: Pulling fs layer
71e4069326a1: Verifying Checksum
71e4069326a1: Download complete
71e4069326a1: Pull complete
Digest: sha256:9527dd00bf4eab25165c3b12cbeded615485468c37dee117128cc32409dac96a
Status: Downloaded newer image for ocaml/opam@sha256:9527dd00bf4eab25165c3b12cbeded615485468c37dee117128cc32409dac96a
2024-10-01 17:17.26 ---> using "384ac898cf0f8783bbc9d68b7d566c484d7f556b64eb46ddfa3d9bca0272dca4" from cache


/: (comment debian-11-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-01 17:17.26 ---> using "24de693298e9d3534f3a5fb75eba169ecdc49a8a429d746a1043c73940f3c7a0" 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] synchronised from file:///home/opam/opam-repository
2024-10-01 17:17.26 ---> using "b9648b6bb552c6f850f43a92b88cbf5b7d69bc6a79d477c26abc63a8455675b9" from cache


/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-01 17:17.26 ---> using "18f0d60edc22256829121c71482c59fb0004bee188c307b92957484533e7cccd" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-10-01 17:17.26 ---> using "adcec65c1c7321963685c584fafda98dfefc95ae36fe889b60b3d4b585f31869" from cache


/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..1b4da5019e  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


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-01 17:17.26 ---> using "209642fb42636c5b8048c1225d010be79f64bb90a0b1820673da8cf51e60752e" from cache


/src: (copy (src tls.opam tls-mirage.opam tls-miou-unix.opam tls-lwt.opam tls-eio.opam tls-async.opam)
(dst ./))
2024-10-01 17:17.26 ---> saved as "cbeec79e7a6007a91dd4d307f66037af3e5f0eb8412c388c4d247e9b72464f73"


/src: (run (network host)
(shell  "opam pin add -yn tls.dev './' && \
\nopam pin add -yn tls-mirage.dev './' && \
\nopam pin add -yn tls-miou-unix.dev './' && \
\nopam pin add -yn tls-lwt.dev './' && \
\nopam pin add -yn tls-eio.dev './' && \
\nopam pin add -yn tls-async.dev './'"))
[tls.dev] synchronised (file:///src)
tls is now pinned to file:///src (version dev)
[tls-mirage.dev] synchronised (file:///src)
tls-mirage is now pinned to file:///src (version dev)
[tls-miou-unix.dev] synchronised (file:///src)
tls-miou-unix is now pinned to file:///src (version dev)
[tls-lwt.dev] synchronised (file:///src)
tls-lwt is now pinned to file:///src (version dev)
[tls-eio.dev] synchronised (file:///src)
tls-eio is now pinned to file:///src (version dev)
[tls-async.dev] synchronised (file:///src)
tls-async is now pinned to file:///src (version dev)
2024-10-01 17:17.37 ---> saved as "aa16f4f216676ed5bd54bb50f4bd988101dc2a87c9f94cea8a9f4071b6f35c05"


/src: (env DEPS "alcotest.1.8.0 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 bin_prot.v0.16.0 cmdliner.1.3.0 conf-bash.1 conf-gmp.4 conf-gmp-powm-sec.3 conf-pkg-config.3 core.v0.16.2 core_kernel.v0.16.0 core_unix.v0.16.0 cppo.1.7.0 csexp.1.5.2 cstruct.6.2.0 cstruct-async.6.2.0 digestif.1.2.0 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 eqaf.0.10 expect_test_helpers_core.v0.16.0 fieldslib.v0.16.0 fmt.0.9.0 gmap.0.3.0 host-arch-x86_64.1 host-system-other.1 int_repr.v0.16.0 ipaddr.5.6.0 jane-street-headers.v0.16.0 jst-config.v0.16.0 kdf.1.0.0 logs.0.7.0 lwt.5.7.0 macaddr.5.6.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-async.1.1.0 mirage-crypto-rng-lwt.1.1.0 mirage-flow.4.0.2 mirage-kv.6.1.1 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 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 ptime.1.2.0 randomconv.0.2.0 re.1.12.0 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 textutils.v0.16.0 textutils_kernel.v0.16.0 time_now.v0.16.0 timezone.v0.16.0 topkg.1.0.7 typerep.v0.16.0 uutf.1.0.3 variantslib.v0.16.0 x509.1.0.4 zarith.1.14")


/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.2 --depext-only -y tls.dev tls-mirage.dev tls-lwt.dev tls-async.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bullseye InRelease
- Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]
- Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
- Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [296 kB]
- Fetched 367 kB in 1s (613 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[tls.dev] synchronised (no changes)
[tls-async.dev] synchronised (no changes)
[tls-lwt.dev] synchronised (no changes)
[tls-mirage.dev] synchronised (no changes)


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[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 system packages will first need to be installed:
libgmp-dev pkg-config


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libglib2.0-0:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18339 files and directories currently installed.)
- Preparing to unpack .../0-libglib2.0-0_2.66.8-1+deb11u4_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.66.8-1+deb11u4) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../1-libglib2.0-data_2.66.8-1+deb11u4_all.deb ...
- Unpacking libglib2.0-data (2.66.8-1+deb11u4) ...
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- Preparing to unpack .../2-libgmpxx4ldbl_2%3a6.2.1+dfsg-1+deb11u1_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-1+deb11u1) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../3-libgmp-dev_2%3a6.2.1+dfsg-1+deb11u1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg-1+deb11u1) ...
- Selecting previously unselected package libicu67:amd64.
- Preparing to unpack .../4-libicu67_67.1-7_amd64.deb ...
- Unpacking libicu67:amd64 (67.1-7) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../5-libxml2_2.9.10+dfsg-6.7+deb11u5_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.10+dfsg-6.7+deb11u5) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../6-pkg-config_0.29.2-1_amd64.deb ...
- Unpacking pkg-config (0.29.2-1) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../7-shared-mime-info_2.0-1_amd64.deb ...
- Unpacking shared-mime-info (2.0-1) ...
- Selecting previously unselected package xdg-user-dirs.
- Preparing to unpack .../8-xdg-user-dirs_0.17-2_amd64.deb ...
- Unpacking xdg-user-dirs (0.17-2) ...
- Setting up libicu67:amd64 (67.1-7) ...
- Setting up xdg-user-dirs (0.17-2) ...
- Setting up libglib2.0-0:amd64 (2.66.8-1+deb11u4) ...
- No schema files found: doing nothing.
- Setting up libglib2.0-data (2.66.8-1+deb11u4) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-1+deb11u1) ...
- Setting up pkg-config (0.29.2-1) ...
- Setting up libxml2:amd64 (2.9.10+dfsg-6.7+deb11u5) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg-1+deb11u1) ...
- Setting up shared-mime-info (2.0-1) ...
- Processing triggers for libc-bin (2.31-13+deb11u11) ...
2024-10-01 17:18.04 ---> saved as "9296205e81dfe127ce36bd47a1ff1e5ea808567886a8901ec37a4ec4ca42dc6f"


/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[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 121 packages
- install alcotest                    1.8.0
- install asn1-combinators            0.3.2
- install astring                     0.8.5
- install async                       v0.16.0
- install async_kernel                v0.16.0
- install async_rpc_kernel            v0.16.0
- install async_unix                  v0.16.0
- install base                        v0.16.3
- install base-bytes                  base
- install base64                      3.5.1
- install base_bigstring              v0.16.0
- install base_quickcheck             v0.16.0
- install bin_prot                    v0.16.0
- install cmdliner                    1.3.0
- install conf-bash                   1
- install conf-gmp                    4
- install conf-gmp-powm-sec           3
- install conf-pkg-config             3
- install core                        v0.16.2
- install core_kernel                 v0.16.0
- install core_unix                   v0.16.0
- install cppo                        1.7.0
- install csexp                       1.5.2
- install cstruct                     6.2.0
- install cstruct-async               6.2.0
- install digestif                    1.2.0
- install domain-name                 0.4.0
- install dune                        3.16.0
- install dune-configurator           3.16.0
- install duration                    0.2.1
- install eqaf                        0.10
- install expect_test_helpers_core    v0.16.0
- install fieldslib                   v0.16.0
- install fmt                         0.9.0
- install gmap                        0.3.0
- install int_repr                    v0.16.0
- install ipaddr                      5.6.0
- install jane-street-headers         v0.16.0
- install jst-config                  v0.16.0
- install kdf                         1.0.0
- install logs                        0.7.0
- install lwt                         5.7.0
- install macaddr                     5.6.0
- install mirage-clock                4.2.0
- install mirage-crypto               1.1.0
- install mirage-crypto-ec            1.1.0
- install mirage-crypto-pk            1.1.0
- install mirage-crypto-rng           1.1.0
- install mirage-crypto-rng-async     1.1.0
- install mirage-crypto-rng-lwt       1.1.0
- install mirage-flow                 4.0.2
- install mirage-kv                   6.1.1
- install mtime                       2.1.0
- install num                         1.5-1
- install ocaml-compiler-libs         v0.12.4
- install ocaml-syntax-shims          1.0.0
- install ocaml_intrinsics            v0.16.1
- install ocamlbuild                  0.15.0
- install ocamlfind                   1.9.6
- install ocplib-endian               1.2
- install ohex                        0.2.0
- install optint                      0.3.0
- install ounit2                      2.2.7
- install parsexp                     v0.16.0
- install ppx_assert                  v0.16.0
- install ppx_base                    v0.16.0
- install ppx_bench                   v0.16.0
- install ppx_bin_prot                v0.16.0
- install ppx_cold                    v0.16.0
- install ppx_compare                 v0.16.0
- install ppx_custom_printf           v0.16.0
- install ppx_derivers                1.2.1
- install ppx_disable_unused_warnings v0.16.0
- install ppx_enumerate               v0.16.0
- install ppx_expect                  v0.16.0
- install ppx_fields_conv             v0.16.0
- install ppx_fixed_literal           v0.16.0
- install ppx_globalize               v0.16.0
- install ppx_hash                    v0.16.0
- install ppx_here                    v0.16.0
- install ppx_ignore_instrumentation  v0.16.0
- install ppx_inline_test             v0.16.1
- install ppx_jane                    v0.16.0
- install ppx_let                     v0.16.0
- install ppx_log                     v0.16.0
- install ppx_module_timer            v0.16.0
- install ppx_optcomp                 v0.16.0
- install ppx_optional                v0.16.0
- install ppx_pipebang                v0.16.0
- install ppx_sexp_conv               v0.16.0
- install ppx_sexp_message            v0.16.0
- install ppx_sexp_value              v0.16.0
- install ppx_stable                  v0.16.0
- install ppx_stable_witness          v0.16.0
- install ppx_string                  v0.16.0
- install ppx_tydi                    v0.16.0
- install ppx_typerep_conv            v0.16.0
- install ppx_variants_conv           v0.16.0
- install ppxlib                      0.33.0
- install protocol_version_header     v0.16.0
- install ptime                       1.2.0
- install randomconv                  0.2.0
- install re                          1.12.0
- install seq                         base
- install sexp_pretty                 v0.16.0
- install sexplib                     v0.16.0
- install sexplib0                    v0.16.0
- install spawn                       v0.15.1
- install splittable_random           v0.16.0
- install stdio                       v0.16.0
- install stdlib-shims                0.3.0
- install textutils                   v0.16.0
- install textutils_kernel            v0.16.0
- install time_now                    v0.16.0
- install timezone                    v0.16.0
- install topkg                       1.0.7
- install typerep                     v0.16.0
- install uutf                        1.0.3
- install variantslib                 v0.16.0
- install x509                        1.0.4
- install zarith                      1.14


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved asn1-combinators.0.3.2  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved async.v0.16.0  (cached)
-> retrieved alcotest.1.8.0  (cached)
-> retrieved async_kernel.v0.16.0  (cached)
-> retrieved async_rpc_kernel.v0.16.0  (cached)
-> retrieved async_unix.v0.16.0  (cached)
-> retrieved base.v0.16.3  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved base_bigstring.v0.16.0  (cached)
-> retrieved base_quickcheck.v0.16.0  (cached)
-> retrieved conf-gmp.4  (cached)
-> retrieved conf-gmp-powm-sec.3  (cached)
-> retrieved bin_prot.v0.16.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved core.v0.16.2  (cached)
-> installed conf-bash.1
-> installed conf-gmp.4
-> installed conf-pkg-config.3
-> retrieved core_kernel.v0.16.0  (cached)
-> retrieved core_unix.v0.16.0  (cached)
-> retrieved cppo.1.7.0  (cached)
-> installed conf-gmp-powm-sec.3
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0, cstruct-async.6.2.0  (cached)
-> retrieved domain-name.0.4.0  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved expect_test_helpers_core.v0.16.0  (cached)
-> retrieved fieldslib.v0.16.0  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved gmap.0.3.0  (cached)
-> retrieved int_repr.v0.16.0  (cached)
-> retrieved ipaddr.5.6.0, macaddr.5.6.0  (cached)
-> retrieved jane-street-headers.v0.16.0  (cached)
-> retrieved jst-config.v0.16.0  (cached)
-> retrieved kdf.1.0.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lwt.5.7.0  (cached)
-> retrieved mirage-clock.4.2.0  (cached)
-> retrieved digestif.1.2.0  (cached)
-> retrieved mirage-flow.4.0.2  (cached)
-> retrieved mirage-kv.6.1.1  (cached)
-> retrieved mtime.2.1.0  (cached)
-> retrieved num.1.5-1  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocaml_intrinsics.v0.16.1  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved dune.3.16.0, dune-configurator.3.16.0  (cached)
-> retrieved 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-async.1.1.0, mirage-crypto-rng-lwt.1.1.0  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ohex.0.2.0  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved ppx_assert.v0.16.0  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> installed cmdliner.1.3.0
-> installed num.1.5-1
-> retrieved parsexp.v0.16.0  (cached)
-> retrieved ppx_base.v0.16.0  (cached)
-> retrieved ppx_bench.v0.16.0  (cached)
-> retrieved ppx_bin_prot.v0.16.0  (cached)
-> retrieved ppx_cold.v0.16.0  (cached)
-> retrieved ppx_compare.v0.16.0  (cached)
-> retrieved ppx_custom_printf.v0.16.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_disable_unused_warnings.v0.16.0  (cached)
-> retrieved ppx_enumerate.v0.16.0  (cached)
-> retrieved ppx_fields_conv.v0.16.0  (cached)
-> retrieved ppx_expect.v0.16.0  (cached)
-> retrieved ppx_fixed_literal.v0.16.0  (cached)
-> retrieved ppx_globalize.v0.16.0  (cached)
-> retrieved ppx_hash.v0.16.0  (cached)
-> retrieved ppx_here.v0.16.0  (cached)
-> retrieved ppx_ignore_instrumentation.v0.16.0  (cached)
-> retrieved ppx_inline_test.v0.16.1  (cached)
-> retrieved ppx_jane.v0.16.0  (cached)
-> retrieved ppx_let.v0.16.0  (cached)
-> retrieved ppx_log.v0.16.0  (cached)
-> retrieved ppx_module_timer.v0.16.0  (cached)
-> retrieved ppx_optcomp.v0.16.0  (cached)
-> retrieved ppx_optional.v0.16.0  (cached)
-> retrieved ppx_pipebang.v0.16.0  (cached)
-> retrieved ppx_sexp_conv.v0.16.0  (cached)
-> retrieved ppx_sexp_message.v0.16.0  (cached)
-> retrieved ppx_sexp_value.v0.16.0  (cached)
-> retrieved ppx_stable.v0.16.0  (cached)
-> retrieved ppx_stable_witness.v0.16.0  (cached)
-> retrieved ppx_string.v0.16.0  (cached)
-> retrieved ppx_tydi.v0.16.0  (cached)
-> retrieved ppx_typerep_conv.v0.16.0  (cached)
-> retrieved ppx_variants_conv.v0.16.0  (cached)
-> retrieved protocol_version_header.v0.16.0  (cached)
-> retrieved randomconv.0.2.0  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.12.0  (cached)
-> retrieved sexp_pretty.v0.16.0  (cached)
-> retrieved sexplib.v0.16.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved spawn.v0.15.1  (cached)
-> retrieved splittable_random.v0.16.0  (cached)
-> retrieved stdio.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved textutils.v0.16.0  (cached)
-> retrieved textutils_kernel.v0.16.0  (cached)
-> retrieved ppxlib.0.33.0  (cached)
-> retrieved time_now.v0.16.0  (cached)
-> retrieved timezone.v0.16.0  (cached)
-> retrieved typerep.v0.16.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved variantslib.v0.16.0  (cached)
-> retrieved zarith.1.14  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved x509.1.0.4  (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.15.0
-> installed zarith.1.14
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed mtime.2.1.0
-> installed fmt.0.9.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed dune.3.16.0
-> installed csexp.1.5.2
-> installed asn1-combinators.0.3.2
-> installed base64.3.5.1
-> installed cstruct.6.2.0
-> installed domain-name.0.4.0
-> installed duration.0.2.1
-> installed eqaf.0.10
-> installed gmap.0.3.0
-> installed jane-street-headers.v0.16.0
-> installed macaddr.5.6.0
-> installed mirage-clock.4.2.0
-> installed ohex.0.2.0
-> installed optint.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed cppo.1.7.0
-> installed ppx_derivers.1.2.1
-> installed randomconv.0.2.0
-> installed sexplib0.v0.16.0
-> installed spawn.v0.15.1
-> installed stdlib-shims.0.3.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed re.1.12.0
-> installed ocplib-endian.1.2
-> installed ipaddr.5.6.0
-> installed digestif.1.2.0
-> installed ounit2.2.2.7
-> installed parsexp.v0.16.0
-> installed dune-configurator.3.16.0
-> installed alcotest.1.8.0
-> installed sexplib.v0.16.0
-> installed ocaml_intrinsics.v0.16.1
-> installed mirage-crypto.1.1.0
-> installed kdf.1.0.0
-> installed lwt.5.7.0
-> installed mirage-flow.4.0.2
-> installed mirage-kv.6.1.1
-> installed logs.0.7.0
-> installed mirage-crypto-rng.1.1.0
-> installed base.v0.16.3
-> installed mirage-crypto-rng-lwt.1.1.0
-> installed fieldslib.v0.16.0
-> installed variantslib.v0.16.0
-> installed mirage-crypto-pk.1.1.0
-> installed stdio.v0.16.0
-> installed typerep.v0.16.0
-> installed mirage-crypto-ec.1.1.0
-> installed x509.1.0.4
-> installed ppxlib.0.33.0
-> installed ppx_globalize.v0.16.0
-> installed ppx_optcomp.v0.16.0
-> installed ppx_disable_unused_warnings.v0.16.0
-> installed ppx_tydi.v0.16.0
-> installed ppx_here.v0.16.0
-> installed ppx_cold.v0.16.0
-> installed ppx_stable_witness.v0.16.0
-> installed ppx_typerep_conv.v0.16.0
-> installed ppx_variants_conv.v0.16.0
-> installed ppx_enumerate.v0.16.0
-> installed ppx_stable.v0.16.0
-> installed ppx_compare.v0.16.0
-> installed ppx_pipebang.v0.16.0
-> installed ppx_fields_conv.v0.16.0
-> installed ppx_ignore_instrumentation.v0.16.0
-> installed ppx_fixed_literal.v0.16.0
-> installed ppx_optional.v0.16.0
-> installed ppx_sexp_conv.v0.16.0
-> installed ppx_let.v0.16.0
-> installed ppx_hash.v0.16.0
-> installed ppx_sexp_value.v0.16.0
-> installed ppx_assert.v0.16.0
-> installed ppx_sexp_message.v0.16.0
-> installed ppx_base.v0.16.0
-> installed ppx_custom_printf.v0.16.0
-> installed sexp_pretty.v0.16.0
-> installed ppx_log.v0.16.0
-> installed jst-config.v0.16.0
-> installed ppx_string.v0.16.0
-> installed bin_prot.v0.16.0
-> installed time_now.v0.16.0
-> installed ppx_bin_prot.v0.16.0
-> installed ppx_module_timer.v0.16.0
-> installed ppx_inline_test.v0.16.1
-> installed ppx_bench.v0.16.0
-> installed ppx_expect.v0.16.0
-> installed splittable_random.v0.16.0
-> installed base_quickcheck.v0.16.0
-> installed ppx_jane.v0.16.0
-> installed int_repr.v0.16.0
-> installed base_bigstring.v0.16.0
-> installed core.v0.16.2
-> installed protocol_version_header.v0.16.0
-> installed textutils_kernel.v0.16.0
-> installed timezone.v0.16.0
-> installed expect_test_helpers_core.v0.16.0
-> installed core_kernel.v0.16.0
-> installed async_kernel.v0.16.0
-> installed core_unix.v0.16.0
-> installed async_rpc_kernel.v0.16.0
-> installed textutils.v0.16.0
-> installed async_unix.v0.16.0
-> installed async.v0.16.0
-> installed cstruct-async.6.2.0
-> installed mirage-crypto-rng-async.1.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-10-01 17:22.46 ---> saved as "da556dc75cf7343b7d51180299e19572e606c66dee44e13b523c9b909f81e91e"


/src: (copy (src .) (dst /src))
2024-10-01 17:22.46 ---> saved as "08dcd17380a8654a1bf2fd3f07d2ccc313f129061b1850c1d4fe2c6d9fd89c6e"


/src: (run (shell "opam exec -- dune build --only-packages=tls,tls-mirage,tls-lwt,tls-async @install @check @runtest && rm -rf _build"))
(cd _build/default/tests && ./feedback.exe)
Looping 10 times, 1024 bytes.
[time] 0.002258.04 s
(cd _build/default/tests && ./key_derivation.exe)
Testing `Key derivation tests'.
This run has ID `EEGP5R22'.


[OK]          key extraction and derivation          0   initial extract.
[OK]          key extraction and derivation          1   initial derive.
[OK]          key extraction and derivation          2   handshake extract.
[OK]          key extraction and derivation          3   derive c hs.
[OK]          key extraction and derivation          4   derive s hs.
[OK]          key extraction and derivation          5   derive finished.
[OK]          key extraction and derivation          6   derive master.
[OK]          key extraction and derivation          7   extract master.
[OK]          key extraction and derivation          8   derive handshake k...
[OK]          key extraction and derivation          9   derive traffic keys.
[OK]          key extraction and derivation         10   application write ...
[OK]          key extraction and derivation         11   application read k...
[OK]          key extraction and derivation         12   hs read keys.
[OK]          key extraction and derivation         13   resumption key.
[OK]          key extraction and derivation         14   payload.
[OK]          key extraction and derivation         15   processed payload.
[OK]          key extraction and derivation         16   self signature.
[OK]          key extraction and derivation         17   wire signature.
[OK]          key extraction and derivation         18   res secret.
[OK]          key extraction and derivation         19   early resumed.
[OK]          key extraction and derivation         20   binder.
[OK]          key extraction and derivation         21   x25519.


Full test results in `/src/_build/default/tests/_build/_tests/Key derivation tests'.
Test Successful in 0.006s. 22 tests run.
(cd _build/default/tests && ./unittestrunner.exe)
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Ran: 476 tests in: 0.43 seconds.
OK
2024-10-01 17:22.54 ---> saved as "ae0b060d16558181e93ec5f6560c36e7a1ff5e4415bd4a451229ec3d1542e526"
Job succeeded
2024-10-01 17:22.54: Job succeeded