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-arm64:debian-12-4.14_arm32_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:bfc52495faba232d3431753d2b4e90d5ebae466936bf13389c79b672b9a6b4c7
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:bfc52495faba232d3431753d2b4e90d5ebae466936bf13389c79b672b9a6b4c7
# debian-12-4.14_arm32_opam-2.3
USER 1000:1000
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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.16.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:bfc52495faba232d3431753d2b4e90d5ebae466936bf13389c79b672b9a6b4c7-debian-12-4.14_arm32_opam-2.3-cad1277d83dd1dcc5639a615166f14f6"
2025-03-04 12:10.11: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:bfc52495faba232d3431753d2b4e90d5ebae466936bf13389c79b672b9a6b4c7)
(comment debian-12-4.14_arm32_opam-2.3)
(user (uid 1000) (gid 1000))
(shell /usr/bin/linux32 /bin/sh -c)
(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.16.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:12.36: Got resource from pool OCluster
Building on okypous.caelum.ci.dev
HEAD is now at cadf0e1 changes for 2.0.0
HEAD is now at d097a93 mirage-crypto-ec: implementation of SECP256K1
(from ocaml/opam:debian-12-ocaml-4.14@sha256:bfc52495faba232d3431753d2b4e90d5ebae466936bf13389c79b672b9a6b4c7)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:bfc52495faba232d3431753d2b4e90d5ebae466936bf13389c79b672b9a6b4c7' locally
docker.io/ocaml/opam@sha256:bfc52495faba232d3431753d2b4e90d5ebae466936bf13389c79b672b9a6b4c7: Pulling from ocaml/opam
7929835bdff1: Already exists
34f2eee6b16e: Already exists
69963c68d9e8: Pulling fs layer
c32c770313c9: Pulling fs layer
5008f5f2af95: Pulling fs layer
75de8602cd4e: Pulling fs layer
75de8602cd4e: Waiting
5008f5f2af95: Verifying Checksum
5008f5f2af95: Download complete
c32c770313c9: Verifying Checksum
c32c770313c9: Download complete
75de8602cd4e: Download complete
69963c68d9e8: Verifying Checksum
69963c68d9e8: Download complete
69963c68d9e8: Pull complete
c32c770313c9: Pull complete
5008f5f2af95: Pull complete
75de8602cd4e: Pull complete
Digest: sha256:bfc52495faba232d3431753d2b4e90d5ebae466936bf13389c79b672b9a6b4c7
Status: Downloaded newer image for ocaml/opam@sha256:bfc52495faba232d3431753d2b4e90d5ebae466936bf13389c79b672b9a6b4c7
WARNING: The requested image's platform (linux/arm/v7) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
2025-03-04 12:12.38 ---> using "76cd0f3770355f20b3067ee4d17d6cabec368e57ddaf9c9948eae9570c621338" from cache
/: (comment debian-12-4.14_arm32_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (shell /usr/bin/linux32 /bin/sh -c)
/: (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:12.38 ---> using "31e06a6d5634d41948525fa8b0d6fcfd3a5b3934bdfe644c3fce358fc5b8d31b" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[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:12.38 ---> using "6d96d07c898b94c79d911199a9cb09b3342b33c5116b79b51c7a323065f91073" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-131-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-03-04 12:12.38 ---> using "950efe6100d425cd59b5968f83b58e0db94a0ae36da44f1fad27a3282edb5ed7" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-03-04 12:12.38 ---> using "ff058e076f3abdbb8d49b40391d82befddabcdf419db465ca0e5a23e2bebe6c9" 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..ec92f53ef3 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:12.38 ---> using "25aa6022a90dfc4884d3c6bca18ceccc94f7e8ef9762cfb1c06b413a0019f24b" 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:12.38 ---> using "815a46d57c53ce755553da0b0db2ac22f8c952eea57a4c2d8881d7ead49400d1" from cache
/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:12.38 ---> using "5ea989323bdeb7b3fae3c65d2d5ba0bf04f3688f28ef3d87cdbe6bc4fafa9a95" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-04 12:12.38 ---> using "9ceab067eb0423354383052b4e9ebb2cd03b211c72bb44fbbc473d86e935ec1e" from cache
/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.16.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 armhf Packages [226 kB]
- Fetched 330 kB in 0s (701 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-crypto-ec.dev] synchronised (file:///src)
[mirage-crypto.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:armhf.
- (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 ... 18473 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_armhf.deb ...
- Unpacking libgmpxx4ldbl:armhf (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libgmp-dev:armhf.
- Preparing to unpack .../1-libgmp-dev_2%3a6.2.1+dfsg1-1.1_armhf.deb ...
- Unpacking libgmp-dev:armhf (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libpkgconf3:armhf.
- Preparing to unpack .../2-libpkgconf3_1.8.1-1_armhf.deb ...
- Unpacking libpkgconf3:armhf (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-1_armhf.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:armhf.
- Preparing to unpack .../4-pkgconf_1.8.1-1_armhf.deb ...
- Unpacking pkgconf:armhf (1.8.1-1) ...
- Selecting previously unselected package pkg-config:armhf.
- Preparing to unpack .../5-pkg-config_1.8.1-1_armhf.deb ...
- Unpacking pkg-config:armhf (1.8.1-1) ...
- Setting up libpkgconf3:armhf (1.8.1-1) ...
- Setting up libgmpxx4ldbl:armhf (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up libgmp-dev:armhf (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf:armhf (1.8.1-1) ...
- Setting up pkg-config:armhf (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u9) ...
2025-03-04 12:12.38 ---> using "737ff4cef2c38397c747c9e4d6da8d5169b3c91de42b7b3d453efb51bd28fd3a" from cache
/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.16.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 astring.0.8.5 (cached)
-> retrieved conf-gmp.4 (cached)
-> retrieved conf-gmp-powm-sec.3 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cppo.1.8.0 (cached)
-> installed conf-gmp.4
-> installed conf-pkg-config.4
-> retrieved csexp.1.5.2 (cached)
-> retrieved domain-name.0.4.1 (cached)
-> installed conf-gmp-powm-sec.3
-> retrieved duration.0.2.1 (cached)
-> retrieved eqaf.0.10 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved ipaddr.5.6.0, macaddr.5.6.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved digestif.1.2.0 (cached)
-> retrieved lwt.5.9.0 (cached)
-> retrieved mirage-mtime.5.0.0 (cached)
-> retrieved mirage-sleep.4.0.0 (cached)
-> retrieved mirage-unix.5.0.1 (cached)
-> retrieved mtime.2.1.0 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved mirage-runtime.4.8.2 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved ohex.0.2.0 (cached)
-> 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 ptime.1.2.0 (cached)
-> retrieved randomconv.0.2.0 (cached)
-> retrieved seq.base (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved yojson.2.2.2 (cached)
-> retrieved zarith.1.14 (cached)
-> installed cmdliner.1.3.0
-> installed seq.base
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed zarith.1.14
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed mtime.2.1.0
-> installed ptime.1.2.0
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed dune.3.17.2
-> installed stdlib-shims.0.3.0
-> installed duration.0.2.1
-> installed domain-name.0.4.1
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed macaddr.5.6.0
-> installed mirage-mtime.5.0.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ohex.0.2.0
-> installed randomconv.0.2.0
-> installed eqaf.0.10
-> installed asn1-combinators.0.3.2
-> installed ocaml-compiler-libs.v0.12.4
-> installed sexplib0.v0.16.0
-> installed yojson.2.2.2
-> installed cppo.1.8.0
-> installed ipaddr.5.6.0
-> installed re.1.12.0
-> installed digestif.1.2.0
-> installed ounit2.2.2.7
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.17.2
-> installed alcotest.1.8.0
-> 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:12.38 ---> using "a5dc75250c215fc3e47a05cf61ef20e78d816bed12a8f2e2e47ea7650bd912f1" from cache
/src: (copy (src .) (dst /src))
2025-03-04 12:12.39 ---> saved as "500eb0388fb8fe3b0ee97a658073a87e59e550cb86624c4f6d9b17b83d738cb6"
/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_symmetric_runner.exe)
accel:
................................................................
Ran: 64 tests in: 0.12 seconds.
OK
(cd _build/default/tests && ./test_random_runner.exe)
.........
Ran: 9 tests in: 0.12 seconds.
OK
(cd _build/default/tests && ./test_entropy_collection.exe)
reseeding:
000000 00c8 c013 5807 01e1 492a 59c4 79e0 a905 ....X...I*Y.y...
000010 8278 0aa0 0aa5 32f0 1201 424e 9ae6 1b93 .x....2...BN....
000020 c362 7c9f 2483 ac4f 3d3c 6550 cd6f 0564 .b|.$..O=<eP.o.d
000030 9d67 9650 467d 1ed7 dfa2 775f af3f e02c .g.PF}....w_.?.,
000040 f06c 38b1 7807 29e8 61f6 e995 d918 695b .l8.x.).a.....i[
000050 aa38 aa6a ea1a 2bda bb6c f3a2 6364 2b83 .8.j..+..l..cd+.
000060 9451 f4be 8c80 95aa fd55 eddd cd61 b6dd .Q.......U...a..
000070 d653 164a f7d7 07d6 2760 bf6d 88e6 e8d5 .S.J....'`.m....
000080 2859 d1ab f9a0 99e7 a2cf dab9 e238 e279 (Y...........8.y
000090 f3fa 3bbc c3cf 44c2 ec5a a41a 7dc9 8d31 ..;...D..Z..}..1
0000a0 5d9d fdfc dd44 2584 1d91 a6e0 6611 ce76 ]....D%.....f..v
0000b0 7e2f 4711 6f6b 9f49 f7b9 5840 285c 106a ~/G.ok.I..X@(\.j
0000c0 38f6 e88b 6186 1126 89b2 01c8 8a5c 1a86 8...a..&.....\..
0000d0 c214 da4c 5a8b b364 e398 bbd9 f350 0396 ...LZ..d.....P..
0000e0 a422 7cd1 ec38 6c7c 2c9e e530 5d72 a510 ."|..8l|,..0]r..
0000f0 1541 958e fe39 3ec2 a659 06cc eecf f7cb .A...9>..Y......
000100 07ca 5054 a06d 70de 4081 b0d9 914e e1f8 ..PT.mp.@....N..
000110 893c c965 c1e0 b218 924c 2a78 b286 2239 .<.e.....L*x.."9
000120 ea89 7b0d 9b74 b3a2 7355 8bba 9c63 bc4c ..{..t..sU...c.L
000130 bc83 0d74 fd79 ed01 f585 050c 9e0f bef8 ...t.y..........
000140 2e33 5e02 f7a0 f7e6 2fa9 8ffd d869 90e8 .3^...../....i..
000150 b013 8001 e169 c9ea 61a2 9a41 8ab0 1ada .....i..a..A....
000160 c268 52a1 22fe ab8e 3b3f b311 8487 8c6a .hR."...;?.....j
000170 5c17 7df1 3d59 e5b0 35f2 6e87 ee65 2f5c \.}.=Y..5.n..e/\
000180 976c bf99 8712 47bb b890 a0c6 0075 d0bd .l....G......u..
000190 f83a f9fd 02c8 1186 5113 6aeb 22c9 5a3b .:......Q.j.".Z;
0001a0 7b15 ab80 fbb2 c476 d4f7 bc64 a477 94c8 {......v...d.w..
0001b0 bcd7 8c2a fd64 ad7d ada5 adcd adf5 ad1d ...*.d.}........
0001c0 ad45 ad6d 8595 15ba d5ea 352b 1673 9eb8 .E.m......5+.s..
0001d0 b6c8 16dc 0edf f623 767b a6c8 86d9 16fe .......#v{......
0001e0 fe2e 7f72 d7ab d700 1716 ff46 a78a 47c7 ...r.......F..G.
0001f0 b710 ff22 a866 48a3 b8ec 50ff 6049 a86a ...".fH...P.`I.j
000200 48a7 f8f1 8820 982e f969 6198 d9a2 61e3 H.... ...ia...a.
000210 d92e 896f 21be f9ef a147 6a98 aaa3 12f5 ...o!....Gj.....
000220 7a0f fa5c 8275 c299 a2c3 6a14 aa1f ea70 z..\.u....j....p
000230 0b88 038b fbce 5312 1348 bb4a eb88 0ba0 ......S..H.J....
000240 eba1 3bcf 9317 1b67 f4ac 04c5 54de 3c14 ..;....g....T.<.
000250 f41a ac5d ac85 84ad ecd1 64ff 2c4b 03c8 ...]......d.,K..
000260 e592 85d4 85e3 f531 3560 4d66 959b 45eb .......15`Mf..E.
000270 8d34 1543 7688 f694 2ead 16ca fefa 7e3e .4.Cv.........~>
000280 d677 aecc 56de 6614 2e1f 9666 cfa1 c7cc .w..V.f....f....
000290 9fe0 dff0 ff07 4760 1768 376b 67b3 7fff ......G`.h7kg...
0002a0 4f4d 2f6d 3f8a 70be 88f6 a830 b041 006a OM/m?.p....0.A.j
0002b0 0899 d0b2 90f2 502d 304d 686a e1a1 69ce ......P-0Mhj..i.
0002c0 e105 6932 216b 71b1 49d4 41dc 99e3 9933 ..i2!kq.I.A....3
0002d0 9983 9ad3 9a23 c273 0ac7 a20b 425c 9a63 .....#.s....B\.c
0002e0 c3b3 3307 eb4e 0391 53aa 13e0 bbe2 eb20 ..3..N..S......
0002f0 0b38 eb39 5368 6371 fb92 54d6 3c0c f412 .8.9Shcq..T.<...
000300 ac55 ac7d 84a5 ecc9 64f7 2c43 6c8a 35c2 .U.}....d.,Cl.5.
000310 9df5 351c 4d22 9557 45a7 8df0 15ff 7544 ..5.M".WE.....uD
000320 cd50 4565 7585 9da8 .PEeu...
entropy sources: [0] timer
accumulate: (src: [0] timer) b2a7 801e
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_ec.exe)
Testing `EC'.
This run has ID `AP77XBYE'.
[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.113s. 73 tests run.
(cd _build/default/tests && ./test_pk_runner.exe)
.......................................................................................................................................................................................................................................................................................................................................................................
Ran: 359 tests in: 8.31 seconds.
OK
"/usr/bin/linux32" "/bin/sh" "-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:13.13: Job failed: Failed: Build failed