Organisationsmiragemirage-crypto0ded58 ()ubuntu-22.04-4.14_opam-2.3

ubuntu-22.04-4.14_opam-2.3

Logs

Show full logs
2025-01-08 17:03.23: New job: test mirage/mirage-crypto https://github.com/mirage/mirage-crypto.git#refs/pull/255/head (0ded58aa5ffb3a6addf701afae14bc99ac86c7e2) (linux-x86_64:ubuntu-22.04-4.14_opam-2.3)
Base: ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:f08783b6c00762d5e28e0c3758ea3b0cee822ae89ac66c2af0ed80f72f7bb897
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/mirage/mirage-crypto.git" && cd "mirage-crypto" && git fetch origin "refs/pull/255/head" && git reset --hard 0ded58aa
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:f08783b6c00762d5e28e0c3758ea3b0cee822ae89ac66c2af0ed80f72f7bb897
# ubuntu-22.04-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 e566c29b12a9c284b68b3f6cbe7fbd4e8452406f || git fetch origin master) && git reset -q --hard e566c29b12a9c284b68b3f6cbe7fbd4e8452406f && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-crypto.opam mirage-crypto-rng.opam mirage-crypto-rng-mirage.opam mirage-crypto-rng-miou-unix.opam mirage-crypto-rng-lwt.opam mirage-crypto-rng-eio.opam mirage-crypto-rng-async.opam mirage-crypto-pk.opam mirage-crypto-ec.opam ./
RUN opam pin add -yn mirage-crypto.dev './' && \
    opam pin add -yn mirage-crypto-rng.dev './' && \
    opam pin add -yn mirage-crypto-rng-mirage.dev './' && \
    opam pin add -yn mirage-crypto-rng-miou-unix.dev './' && \
    opam pin add -yn mirage-crypto-rng-lwt.dev './' && \
    opam pin add -yn mirage-crypto-rng-eio.dev './' && \
    opam pin add -yn mirage-crypto-rng-async.dev './' && \
    opam pin add -yn mirage-crypto-pk.dev './' && \
    opam pin add -yn mirage-crypto-ec.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
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 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.8.0 csexp.1.5.2 digestif.1.2.0 domain-name.0.4.0 dune.3.17.1 dune-configurator.3.17.1 duration.0.2.1 eqaf.0.10 expect_test_helpers_core.v0.16.0 fieldslib.v0.16.0 fmt.0.9.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 logs.0.7.0 lwt.5.9.0 macaddr.5.6.0 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mirage-runtime.4.8.2 mirage-time.3.0.0 mirage-time-unix.3.0.0 mirage-unix.5.0.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 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_deriving.6.0.3 ppx_deriving_yojson.3.9.1 ppx_disable_unused_warnings.v0.16.0 ppx_enumerate.v0.16.0 ppx_expect.v0.16.1 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.34.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.17.0 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 yojson.2.2.2 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y mirage-crypto.dev mirage-crypto-rng.dev mirage-crypto-rng-mirage.dev mirage-crypto-rng-lwt.dev mirage-crypto-rng-async.dev mirage-crypto-pk.dev mirage-crypto-ec.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=mirage-crypto,mirage-crypto-rng,mirage-crypto-rng-mirage,mirage-crypto-rng-lwt,mirage-crypto-rng-async,mirage-crypto-pk,mirage-crypto-ec @install @check @runtest && rm -rf _build

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

2025-01-08 17:03.23: Using cache hint "mirage/mirage-crypto-ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:f08783b6c00762d5e28e0c3758ea3b0cee822ae89ac66c2af0ed80f72f7bb897-ubuntu-22.04-4.14_opam-2.3-fdecaedd2783263e2f0e40524350c689"
2025-01-08 17:03.23: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:f08783b6c00762d5e28e0c3758ea3b0cee822ae89ac66c2af0ed80f72f7bb897)
 (comment ubuntu-22.04-4.14_opam-2.3)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 e566c29b12a9c284b68b3f6cbe7fbd4e8452406f || git fetch origin master) && git reset -q --hard e566c29b12a9c284b68b3f6cbe7fbd4e8452406f && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src mirage-crypto.opam mirage-crypto-rng.opam mirage-crypto-rng-mirage.opam mirage-crypto-rng-miou-unix.opam mirage-crypto-rng-lwt.opam mirage-crypto-rng-eio.opam mirage-crypto-rng-async.opam mirage-crypto-pk.opam mirage-crypto-ec.opam)
       (dst ./))
 (run (network host)
      (shell  "opam pin add -yn mirage-crypto.dev './' && \
             \nopam pin add -yn mirage-crypto-rng.dev './' && \
             \nopam pin add -yn mirage-crypto-rng-mirage.dev './' && \
             \nopam pin add -yn mirage-crypto-rng-miou-unix.dev './' && \
             \nopam pin add -yn mirage-crypto-rng-lwt.dev './' && \
             \nopam pin add -yn mirage-crypto-rng-eio.dev './' && \
             \nopam pin add -yn mirage-crypto-rng-async.dev './' && \
             \nopam pin add -yn mirage-crypto-pk.dev './' && \
             \nopam pin add -yn mirage-crypto-ec.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (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 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.8.0 csexp.1.5.2 digestif.1.2.0 domain-name.0.4.0 dune.3.17.1 dune-configurator.3.17.1 duration.0.2.1 eqaf.0.10 expect_test_helpers_core.v0.16.0 fieldslib.v0.16.0 fmt.0.9.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 logs.0.7.0 lwt.5.9.0 macaddr.5.6.0 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mirage-runtime.4.8.2 mirage-time.3.0.0 mirage-time-unix.3.0.0 mirage-unix.5.0.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 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_deriving.6.0.3 ppx_deriving_yojson.3.9.1 ppx_disable_unused_warnings.v0.16.0 ppx_enumerate.v0.16.0 ppx_expect.v0.16.1 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.34.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.17.0 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 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.3 --depext-only -y mirage-crypto.dev mirage-crypto-rng.dev mirage-crypto-rng-mirage.dev mirage-crypto-rng-lwt.dev mirage-crypto-rng-async.dev mirage-crypto-pk.dev mirage-crypto-ec.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=mirage-crypto,mirage-crypto-rng,mirage-crypto-rng-mirage,mirage-crypto-rng-lwt,mirage-crypto-rng-async,mirage-crypto-pk,mirage-crypto-ec @install @check @runtest && rm -rf _build"))
)

2025-01-08 17:03.23: Waiting for resource in pool OCluster
2025-01-08 17:03.24: Waiting for worker…
2025-01-08 17:04.21: Got resource from pool OCluster
Building on x86-bm-c6.sw.ocaml.org
HEAD is now at 276ffe2 entropy: provide rdrand and rdseed calls and failures
HEAD is now at 0ded58a cpu_rng_bootstrap: use rdrand if rdseed fails.

(from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:f08783b6c00762d5e28e0c3758ea3b0cee822ae89ac66c2af0ed80f72f7bb897)
2025-01-08 17:04.24 ---> using "1aa396c4c4c6d907c5400787fa8c7f67ad5dd62d866ec56c64b86956eea687f2" from cache

/: (comment ubuntu-22.04-4.14_opam-2.3)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-01-08 17:04.24 ---> using "52e80dd7045f2b2fd245ed38227e38e337a10d5406c468740011977091f7166f" 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
2025-01-08 17:04.24 ---> using "5beb0af10ce73e695d385e846a12777275a8cc6f2c53cd7a645892b263bad707" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-01-08 17:04.24 ---> using "9cd2289d9d6769e580533bae6c21a602cbe53bc2fbefa38d03c389e529ca9568" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-01-08 17:04.24 ---> using "fd6fc8e63f323eae12597e1405935cb06d0af43e26aae8c06d06f2d941d93d1c" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e e566c29b12a9c284b68b3f6cbe7fbd4e8452406f || git fetch origin master) && git reset -q --hard e566c29b12a9c284b68b3f6cbe7fbd4e8452406f && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   de786e28db..2e81d1953c  master     -> origin/master
e566c29b12 Merge pull request #27141 from NathanReb/release-ppxlib-0.34.0

<><> 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.
# To update the current shell environment, run: eval $(opam env)
2025-01-08 17:04.24 ---> using "065e74ddc512b6a6124b55c0382ed350962525acdd3247a73aa72ba803ef8005" from cache

/src: (copy (src mirage-crypto.opam mirage-crypto-rng.opam mirage-crypto-rng-mirage.opam mirage-crypto-rng-miou-unix.opam mirage-crypto-rng-lwt.opam mirage-crypto-rng-eio.opam mirage-crypto-rng-async.opam mirage-crypto-pk.opam mirage-crypto-ec.opam)
            (dst ./))
2025-01-08 17:04.24 ---> saved as "d8b5ac2c571cb1143b2d100f07631fcc4c8ceda5957897a67777c6557e378a70"

/src: (run (network host)
           (shell  "opam pin add -yn mirage-crypto.dev './' && \
                  \nopam pin add -yn mirage-crypto-rng.dev './' && \
                  \nopam pin add -yn mirage-crypto-rng-mirage.dev './' && \
                  \nopam pin add -yn mirage-crypto-rng-miou-unix.dev './' && \
                  \nopam pin add -yn mirage-crypto-rng-lwt.dev './' && \
                  \nopam pin add -yn mirage-crypto-rng-eio.dev './' && \
                  \nopam pin add -yn mirage-crypto-rng-async.dev './' && \
                  \nopam pin add -yn mirage-crypto-pk.dev './' && \
                  \nopam pin add -yn mirage-crypto-ec.dev './'"))
[mirage-crypto.dev] synchronised (file:///src)
mirage-crypto is now pinned to file:///src (version dev)
[mirage-crypto-rng.dev] synchronised (file:///src)
mirage-crypto-rng is now pinned to file:///src (version dev)
2025-01-08 17:04.35: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled