2025-03-04 12:10.11: New job: test mirage/mirage-crypto https://github.com/mirage/mirage-crypto.git#refs/pull/259/head (d097a9300fb4c849c1d545e21367f5c2a626243c) (linux-s390x:debian-12-4.14_s390x_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:eaf748009a89a3d403c00020f693f0ebeb0722fcc60f2239ac3d6c17ca658486
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/mirage-crypto.git" && cd "mirage-crypto" && git fetch origin "refs/pull/259/head" && git reset --hard d097a930
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:eaf748009a89a3d403c00020f693f0ebeb0722fcc60f2239ac3d6c17ca658486
# debian-12-4.14_s390x_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 5c627de42309bb6474331d403efeb6d68d617b1e || git fetch origin master) && git reset -q --hard 5c627de42309bb6474331d403efeb6d68d617b1e && 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-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-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 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 conf-gmp.4 conf-gmp-powm-sec.3 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 digestif.1.2.0 domain-name.0.4.1 dune.3.17.2 dune-configurator.3.17.2 duration.0.2.1 eqaf.0.10 fmt.0.9.0 ipaddr.5.6.0 logs.0.7.0 lwt.5.9.0 macaddr.5.6.0 mirage-mtime.5.0.0 mirage-runtime.4.8.2 mirage-sleep.4.0.0 mirage-unix.5.0.1 mtime.2.1.0 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 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_deriving_yojson.3.9.1 ppxlib.0.35.0 ptime.1.2.0 randomconv.0.2.0 re.1.12.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 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-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-pk,mirage-crypto-ec @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-03-04 12:10.11: Using cache hint "mirage/mirage-crypto-ocaml/opam:debian-12-ocaml-4.14@sha256:eaf748009a89a3d403c00020f693f0ebeb0722fcc60f2239ac3d6c17ca658486-debian-12-4.14_s390x_opam-2.3-c657d2952e0a6132fcd6d70cf94c3914"
2025-03-04 12:10.11: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:eaf748009a89a3d403c00020f693f0ebeb0722fcc60f2239ac3d6c17ca658486)
(comment debian-12-4.14_s390x_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 5c627de42309bb6474331d403efeb6d68d617b1e || git fetch origin master) && git reset -q --hard 5c627de42309bb6474331d403efeb6d68d617b1e && 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-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-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 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 conf-gmp.4 conf-gmp-powm-sec.3 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 digestif.1.2.0 domain-name.0.4.1 dune.3.17.2 dune-configurator.3.17.2 duration.0.2.1 eqaf.0.10 fmt.0.9.0 ipaddr.5.6.0 logs.0.7.0 lwt.5.9.0 macaddr.5.6.0 mirage-mtime.5.0.0 mirage-runtime.4.8.2 mirage-sleep.4.0.0 mirage-unix.5.0.1 mtime.2.1.0 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 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_deriving_yojson.3.9.1 ppxlib.0.35.0 ptime.1.2.0 randomconv.0.2.0 re.1.12.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 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-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-pk,mirage-crypto-ec @install @check @runtest && rm -rf _build"))
)
2025-03-04 12:10.11: Waiting for resource in pool OCluster
2025-03-04 12:10.12: Waiting for worker…
2025-03-04 12:16.17: Got resource from pool OCluster
Building on s390x-worker-02.marist.ci.dev
All commits already cached
HEAD is now at d097a93 mirage-crypto-ec: implementation of SECP256K1
(from ocaml/opam:debian-12-ocaml-4.14@sha256:eaf748009a89a3d403c00020f693f0ebeb0722fcc60f2239ac3d6c17ca658486)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:eaf748009a89a3d403c00020f693f0ebeb0722fcc60f2239ac3d6c17ca658486' locally
docker.io/ocaml/opam@sha256:eaf748009a89a3d403c00020f693f0ebeb0722fcc60f2239ac3d6c17ca658486: Pulling from ocaml/opam
Digest: sha256:eaf748009a89a3d403c00020f693f0ebeb0722fcc60f2239ac3d6c17ca658486
Status: Downloaded newer image for ocaml/opam@sha256:eaf748009a89a3d403c00020f693f0ebeb0722fcc60f2239ac3d6c17ca658486
2025-03-04 12:16.18 ---> using "d50dd471fbb41d8ca626a6a2873fb75611100b95abf6d9adbc93e54a0ced6cf0" from cache
/: (comment debian-12-4.14_s390x_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-03-04 12:16.18 ---> using "3f3030ca645435d7ed6ae4b0a89db142d229003a7ad870c7672480ce1a408e16" 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.
Continue? [y/n] y
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.
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-03-04 12:16.18 ---> using "f4eb1de23b28fd6f755b42cb4bf9579256a8fb0f42a946c81c240118753be5bd" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-52-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-03-04 12:16.18 ---> using "f9262904c24d76016f318d9efecd2bc853866d4a08b5b9639d7796ec149ef7be" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-03-04 12:16.18 ---> using "af0c15365cc1e9dc4eca424a961725b6c14e4ccf21134b3dc14bdc9014ca739c" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 5c627de42309bb6474331d403efeb6d68d617b1e || git fetch origin master) && git reset -q --hard 5c627de42309bb6474331d403efeb6d68d617b1e && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
94514fa0d0..5c627de423 master -> origin/master
5c627de423 Merge pull request #27523 from hannesm/re-add-base-ocamlbuild
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[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-03-04 12:16.18 ---> using "609b0495edb9e2d8d940faaa1299bc519672b75a687a3930bb487e093f1d3012" 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-pk.opam mirage-crypto-ec.opam)
(dst ./))
2025-03-04 12:16.24 ---> saved as "714ff134a5652f8de04200b5382db59fbba20edb9347528cbe28ae5add678490"
/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-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)
[mirage-crypto-rng-mirage.dev] synchronised (file:///src)
mirage-crypto-rng-mirage is now pinned to file:///src (version dev)
[mirage-crypto-rng-miou-unix.dev] synchronised (file:///src)
mirage-crypto-rng-miou-unix is now pinned to file:///src (version dev)
[mirage-crypto-pk.dev] synchronised (file:///src)
mirage-crypto-pk is now pinned to file:///src (version dev)
[mirage-crypto-ec.dev] synchronised (file:///src)
mirage-crypto-ec is now pinned to file:///src (version dev)
2025-03-04 12:17.06 ---> saved as "8e3f470bdd5c03e6069079356a19374ca7247241c7f15aaa9149139411645298"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-04 12:17.20 ---> saved as "1687f35b3ba120511d518084a1ed6f1d26e9bddc211768d0dba73432f3b10974"
/src: (env DEPS "alcotest.1.8.0 asn1-combinators.0.3.2 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 conf-gmp.4 conf-gmp-powm-sec.3 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 digestif.1.2.0 domain-name.0.4.1 dune.3.17.2 dune-configurator.3.17.2 duration.0.2.1 eqaf.0.10 fmt.0.9.0 ipaddr.5.6.0 logs.0.7.0 lwt.5.9.0 macaddr.5.6.0 mirage-mtime.5.0.0 mirage-runtime.4.8.2 mirage-sleep.4.0.0 mirage-unix.5.0.1 mtime.2.1.0 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 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_deriving_yojson.3.9.1 ppxlib.0.35.0 ptime.1.2.0 randomconv.0.2.0 re.1.12.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2 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.3 --depext-only -y mirage-crypto.dev mirage-crypto-rng.dev mirage-crypto-rng-mirage.dev mirage-crypto-pk.dev mirage-crypto-ec.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main s390x Packages [212 kB]
- Fetched 316 kB in 1s (245 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-crypto.dev] synchronised (file:///src)
[mirage-crypto-ec.dev] synchronised (file:///src)
[mirage-crypto-pk.dev] synchronised (file:///src)
[mirage-crypto-rng.dev] synchronised (file:///src)
[mirage-crypto-rng-mirage.dev] synchronised (file:///src)
[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 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 libgmpxx4ldbl:s390x.
- (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 ... 18518 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_s390x.deb ...
- Unpacking libgmpxx4ldbl:s390x (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libgmp-dev:s390x.
- Preparing to unpack .../1-libgmp-dev_2%3a6.2.1+dfsg1-1.1_s390x.deb ...
- Unpacking libgmp-dev:s390x (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libpkgconf3:s390x.
- Preparing to unpack .../2-libpkgconf3_1.8.1-1_s390x.deb ...
- Unpacking libpkgconf3:s390x (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-1_s390x.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:s390x.
- Preparing to unpack .../4-pkgconf_1.8.1-1_s390x.deb ...
- Unpacking pkgconf:s390x (1.8.1-1) ...
- Selecting previously unselected package pkg-config:s390x.
- Preparing to unpack .../5-pkg-config_1.8.1-1_s390x.deb ...
- Unpacking pkg-config:s390x (1.8.1-1) ...
- Setting up libpkgconf3:s390x (1.8.1-1) ...
- Setting up libgmpxx4ldbl:s390x (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up libgmp-dev:s390x (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf:s390x (1.8.1-1) ...
- Setting up pkg-config:s390x (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u9) ...
2025-03-04 12:18.28 ---> saved as "a389f0841acb67b1cd46592c37a313de168c16ed2740469fc567688bed33aa35"
/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 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 47 packages
- install alcotest 1.8.0
- install asn1-combinators 0.3.2
- install astring 0.8.5
- install base-bytes base
- install cmdliner 1.3.0
- install conf-gmp 4
- install conf-gmp-powm-sec 3
- install conf-pkg-config 4
- install cppo 1.8.0
- install csexp 1.5.2
- install digestif 1.2.0
- install domain-name 0.4.1
- install dune 3.17.2
- install dune-configurator 3.17.2
- install duration 0.2.1
- install eqaf 0.10
- install fmt 0.9.0
- install ipaddr 5.6.0
- install logs 0.7.0
- install lwt 5.9.0
- install macaddr 5.6.0
- install mirage-mtime 5.0.0
- install mirage-runtime 4.8.2
- install mirage-sleep 4.0.0
- install mirage-unix 5.0.1
- install mtime 2.1.0
- install ocaml-compiler-libs v0.12.4
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install ocplib-endian 1.2
- install ohex 0.2.0
- install ounit2 2.2.7
- install ppx_derivers 1.2.1
- install ppx_deriving 6.0.3
- install ppx_deriving_yojson 3.9.1
- install ppxlib 0.35.0
- install ptime 1.2.0
- install randomconv 0.2.0
- install re 1.12.0
- install seq base
- install sexplib0 v0.17.0
- install stdlib-shims 0.3.0
- install topkg 1.0.7
- install uutf 1.0.3
- install yojson 2.2.2
- install zarith 1.14
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved asn1-combinators.0.3.2 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved conf-gmp.4 (cached)
-> retrieved conf-gmp-powm-sec.3 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cppo.1.8.0 (cached)
-> installed conf-pkg-config.4
-> retrieved csexp.1.5.2 (cached)
-> retrieved digestif.1.2.0 (cached)
-> retrieved domain-name.0.4.1 (cached)
-> retrieved duration.0.2.1 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved eqaf.0.10 (cached)
-> installed conf-gmp.4
-> retrieved ipaddr.5.6.0, macaddr.5.6.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2 (cached)
-> installed conf-gmp-powm-sec.3
-> retrieved lwt.5.9.0 (cached)
-> retrieved mirage-mtime.5.0.0 (cached)
-> retrieved mirage-runtime.4.8.2 (cached)
-> retrieved mirage-sleep.4.0.0 (cached)
-> retrieved mirage-unix.5.0.1 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved mtime.2.1.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved ohex.0.2.0 (cached)
-> installed cmdliner.1.3.0
-> retrieved ounit2.2.2.7 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_deriving.6.0.3 (cached)
-> retrieved ppx_deriving_yojson.3.9.1 (cached)
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved seq.base (cached)
-> retrieved randomconv.0.2.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved yojson.2.2.2 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved zarith.1.14 (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed seq.base
-> installed ocamlbuild.0.16.1
-> installed zarith.1.14
-> installed topkg.1.0.7
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed mtime.2.1.0
-> installed ptime.1.2.0
-> installed uutf.1.0.3
-> installed dune.3.17.2
-> installed csexp.1.5.2
-> installed asn1-combinators.0.3.2
-> installed cppo.1.8.0
-> installed domain-name.0.4.1
-> installed duration.0.2.1
-> installed macaddr.5.6.0
-> installed eqaf.0.10
-> installed mirage-mtime.5.0.0
-> installed dune-configurator.3.17.2
-> installed ipaddr.5.6.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ohex.0.2.0
-> installed ocplib-endian.1.2
-> installed ppx_derivers.1.2.1
-> installed randomconv.0.2.0
-> installed digestif.1.2.0
-> installed sexplib0.v0.17.0
-> installed re.1.12.0
-> installed stdlib-shims.0.3.0
-> installed yojson.2.2.2
-> installed alcotest.1.8.0
-> installed ounit2.2.2.7
-> installed lwt.5.9.0
-> installed mirage-sleep.4.0.0
-> installed logs.0.7.0
-> installed mirage-runtime.4.8.2
-> installed mirage-unix.5.0.1
-> installed ppxlib.0.35.0
-> installed ppx_deriving.6.0.3
-> installed ppx_deriving_yojson.3.9.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-04 12:23.33 ---> saved as "d3fc39a8183535b58f5851576bc879c0deed0405295465c9288262bc4f386e86"
/src: (copy (src .) (dst /src))
2025-03-04 12:23.52 ---> saved as "16d5fcd7ea664e370c869212c1a04db86d77d81bc5bfdfe5207138358341ad3c"
/src: (run (shell "opam exec -- dune build --only-packages=mirage-crypto,mirage-crypto-rng,mirage-crypto-rng-mirage,mirage-crypto-pk,mirage-crypto-ec @install @check @runtest && rm -rf _build"))
(cd _build/default/tests && ./test_entropy.exe)
no CPU RNG available
test entropy OK
(cd _build/default/tests && ./test_entropy_collection.exe)
reseeding:
000000 00c8 c60e c610 c612 c614 c616 c618 c61a ................
000010 c61c c61e c620 c622 c624 c626 c628 c62a ..... .".$.&.(.*
000020 c62c c62e c630 c632 c634 c636 c638 c63a .,...0.2.4.6.8.:
000030 c63c c63e c640 c642 c644 c646 c648 c64a .<.>.@.B.D.F.H.J
000040 c64c c64e c650 c652 c654 c656 c658 c65a .L.N.P.R.T.V.X.Z
000050 c65c c65e c660 c662 c664 c666 c668 c66a .\.^.`.b.d.f.h.j
000060 c66c c66e c670 c672 c674 c676 c678 c67a .l.n.p.r.t.v.x.z
000070 c67c c67e c680 c682 c684 c686 c688 c68a .|.~............
000080 c68c c68e c690 c692 c694 c696 c698 c69a ................
000090 c69c c69e c6a0 c6a2 c6a4 c6a6 c6a8 c6aa ................
0000a0 c6ac c6ae c6b0 c6b2 c6b4 c6b6 c6b8 c6ba ................
0000b0 c6bc c6be c6c0 c6c2 c6c4 c6c6 c6c8 c6ca ................
0000c0 c6cc c6ce c6d0 c6d2 c6d4 01c8 c6d6 c6d8 ................
0000d0 c6da c6dc c6de c6e0 c6e2 c6e4 c6e6 c6e8 ................
0000e0 c6ea c6ec c6ee c6f0 c6f2 c6f4 c6f6 c6f8 ................
0000f0 c6fa c6fc c6fe c600 c602 c604 c606 c608 ................
000100 c60a c60c c60e c610 c612 c614 c616 c618 ................
000110 c61a c61c c61e c620 c622 c624 c626 c628 ....... .".$.&.(
000120 c62a c62c c62e c630 c632 c634 c636 c638 .*.,...0.2.4.6.8
000130 c63a c63c c63e c640 c642 c644 c646 c648 .:.<.>.@.B.D.F.H
000140 c64a c64c c64e c650 c652 c654 c656 c658 .J.L.N.P.R.T.V.X
000150 c65a c682 c684 c686 c688 c68a c68c c68e .Z..............
000160 c690 c692 c694 c696 c698 c69a c69c c69e ................
000170 c6a0 c6a2 c6a4 c6a6 c6a8 c6aa c6ac c6ae ................
000180 c6b0 c6b2 c6b4 c6b6 c6b8 c6ba c6bc c6be ................
000190 c6c0 c6c2 02c8 c6c4 c6c6 c6c8 c6ca c6cc ................
0001a0 c6ce c6d0 c6d2 c6d4 c6d6 c6d8 c6da c6dc ................
0001b0 c6de c6e0 c6e2 c6e4 c6e6 c6e8 c6ea c6ec ................
0001c0 c6ee c6f0 c6f2 c6f4 c6f6 c6f8 c6fa c6fc ................
0001d0 c6fe c600 c602 c604 c606 c608 c60a c60c ................
0001e0 c60e c610 c612 c614 c616 c618 c61a c61c ................
0001f0 c61e c620 c622 c624 c626 c628 c62a c62c ... .".$.&.(.*.,
000200 c62e c630 c632 c634 c636 c638 c63a c63c ...0.2.4.6.8.:.<
000210 c63e c640 c642 c644 c646 c648 c64a c64c .>.@.B.D.F.H.J.L
000220 c64e c650 c652 c654 c656 c658 c65a c65c .N.P.R.T.V.X.Z.\
000230 c65e c660 c662 c664 c666 c668 c66a c66c .^.`.b.d.f.h.j.l
000240 c66e c670 c672 c674 c676 c678 c67a c67c .n.p.r.t.v.x.z.|
000250 c67e c680 c682 c684 c686 c688 c68a 03c8 .~..............
000260 c68c c68e c690 c692 c694 c696 c698 c69a ................
000270 c69c c69e c6a0 c6a2 c6a4 c6a6 c6a8 c6aa ................
000280 c6ac c6ae c6b0 c6b2 c6b4 c6b6 c6b8 c6ba ................
000290 c6bc c6be c6c0 c6c2 c6c4 c6c6 c6c8 c6ca ................
0002a0 c6cc c6ce c6d0 c6d2 c6d4 c6d6 c6d8 c6da ................
0002b0 c6dc c6de c6e0 c6e2 c6e4 c6e6 c6e8 c6ea ................
0002c0 c6ec c6ee c6f0 c6f2 c6f4 c6f6 c6f8 c6fa ................
0002d0 c6fc c6fe c600 c602 c604 c606 c608 c60a ................
0002e0 c60c c60e c610 c612 c614 c616 c618 c61a ................
0002f0 c61c c61e c620 c622 c624 c626 c628 c62a ..... .".$.&.(.*
000300 c62c c62e c630 c632 c634 c636 c638 c63a .,...0.2.4.6.8.:
000310 c63c c63e c640 c642 c644 c646 c648 c64a .<.>.@.B.D.F.H.J
000320 c64c c64e c650 c652 .L.N.P.R
entropy sources: [0] timer
accumulate: (src: [0] timer) c6f2 b859
(cd _build/default/tests && ./test_symmetric_runner.exe)
accel:
................................................................
Ran: 64 tests in: 0.51 seconds.
OK
(cd _build/default/tests && ./test_random_runner.exe)
.........
Ran: 9 tests in: 0.39 seconds.
OK
(cd _build/default/tests && ./test_ec.exe)
Testing `EC'.
This run has ID `I55NAYTM'.
[OK] P256 Key exchange 0 b*A.
[OK] P256 Key exchange 1 a*B.
[OK] P256 Key exchange 2 a*A.
[OK] P256 Key exchange 3 b*B.
[OK] P256 Low level scalar mult 0 Scalar mu...
[OK] P256 Low level scalar mult 1 Scalar mu...
[OK] P256 Low level scalar mult 2 Scalar mu...
[OK] P256 Low level scalar mult 3 Scalar mu...
[OK] P256 Low level scalar mult 4 Scalar mu...
[OK] P256 Low level scalar mult 5 Scalar mu...
[OK] P256 Point validation 0 Ok.
[OK] P256 Point validation 1 P=0.
[OK] P256 Point validation 2 (0, sqrt(...
[OK] P256 Point validation 3 out of ra...
[OK] P256 Scalar validation when generating 0 0.
[OK] P256 Scalar validation when generating 1 1.
[OK] P256 Scalar validation when generating 2 n-1.
[OK] P256 Scalar validation when generating 3 n.
[OK] ECDSA NIST 0 ECDSA gen.
[OK] ECDSA NIST 1 ECDSA sign.
[OK] ECDSA NIST 2 ECDSA ver...
[OK] ECDSA RFC 6979 P256 0 public ke...
[OK] ECDSA RFC 6979 P256 1 public ke...
[OK] ECDSA RFC 6979 P256 2 RFC 6979 ...
[OK] ECDSA RFC 6979 P256 3 RFC 6979 ...
[OK] ECDSA RFC 6979 P256 4 RFC 6979 ...
[OK] ECDSA RFC 6979 P256 5 RFC 6979 ...
[OK] ECDSA RFC 6979 P256 6 RFC 6979 ...
[OK] ECDSA RFC 6979 P256 7 RFC 6979 ...
[OK] ECDSA RFC 6979 P256 8 RFC 6979 ...
[OK] ECDSA RFC 6979 P256 9 RFC 6979 ...
[OK] ECDSA RFC 6979 P256 10 RFC 6979 ...
[OK] ECDSA RFC 6979 P256 11 RFC 6979 ...
[OK] ECDSA RFC 6979 P384 0 public ke...
[OK] ECDSA RFC 6979 P384 1 public ke...
[OK] ECDSA RFC 6979 P384 2 RFC 6979 ...
[OK] ECDSA RFC 6979 P384 3 RFC 6979 ...
[OK] ECDSA RFC 6979 P384 4 RFC 6979 ...
[OK] ECDSA RFC 6979 P384 5 RFC 6979 ...
[OK] ECDSA RFC 6979 P384 6 RFC 6979 ...
[OK] ECDSA RFC 6979 P384 7 RFC 6979 ...
[OK] ECDSA RFC 6979 P384 8 RFC 6979 ...
[OK] ECDSA RFC 6979 P384 9 RFC 6979 ...
[OK] ECDSA RFC 6979 P384 10 RFC 6979 ...
[OK] ECDSA RFC 6979 P384 11 RFC 6979 ...
[OK] ECDSA RFC 6979 P521 0 public ke...
[OK] ECDSA RFC 6979 P521 1 public ke...
[OK] ECDSA RFC 6979 P521 2 RFC 6979 ...
[OK] ECDSA RFC 6979 P521 3 RFC 6979 ...
[OK] ECDSA RFC 6979 P521 4 RFC 6979 ...
[OK] ECDSA RFC 6979 P521 5 RFC 6979 ...
[OK] ECDSA RFC 6979 P521 6 RFC 6979 ...
[OK] ECDSA RFC 6979 P521 7 RFC 6979 ...
[OK] ECDSA RFC 6979 P521 8 RFC 6979 ...
[OK] ECDSA RFC 6979 P521 9 RFC 6979 ...
[OK] ECDSA RFC 6979 P521 10 RFC 6979 ...
[OK] ECDSA RFC 6979 P521 11 RFC 6979 ...
[OK] X25519 0 RFC 7748.
[OK] ED25519 0 RFC 8032 1.
[OK] ED25519 1 RFC 8032 2.
[OK] ED25519 2 RFC 8032 3.
[OK] ED25519 3 RFC 8032 4.
[OK] ED25519 4 RFC 8032 5.
[OK] ECDSA P521 regression 0 regression1.
[OK] secp256k1 ECDSA 0 ECDSA gen.
[OK] secp256k1 ECDSA 1 ECDSA ver...
[OK] secp256k1 ECDSA sign 0 ECDSA sig...
[OK] secp256k1 ECDSA sign 1 ECDSA sig...
[OK] secp256k1 ECDSA sign 2 ECDSA sig...
[OK] secp256k1 ECDSA sign 3 ECDSA sig...
[OK] secp256k1 ECDSA sign 4 ECDSA sig...
[OK] secp256k1 ECDSA sign 5 ECDSA sig...
[OK] secp256k1 ECDSA sign 6 ECDSA sig...
Full test results in `/src/_build/default/tests/_build/_tests/EC'.
Test Successful in 0.071s. 73 tests run.
File "tests/dune", line 48, characters 7-25:
48 | (name test_ec_wycheproof)
^^^^^^^^^^^^^^^^^^
(cd _build/default/tests && ./test_ec_wycheproof.exe)
Fatal error: exception Sys_error("ecdh_secp256k1_test.json: No such file or directory")
(cd _build/default/tests && ./test_pk_runner.exe)
.......................................................................................................................................................................................................................................................................................................................................................................
Ran: 359 tests in: 8.06 seconds.
OK
"/usr/bin/env" "bash" "-c" "opam exec -- dune build --only-packages=mirage-crypto,mirage-crypto-rng,mirage-crypto-rng-mirage,mirage-crypto-pk,mirage-crypto-ec @install @check @runtest && rm -rf _build" failed with exit status 1
2025-03-04 12:25.27: Job failed: Failed: Build failed