Organisationsnomadic-labsocaml-secp256k1-internal208f16 ()(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-11-15 21:02.51: New job: test nomadic-labs/ocaml-secp256k1-internal https://gitlab.com/nomadic-labs/ocaml-secp256k1-internal.git#refs/heads/master (208f167fd87140ab282bca93d23d84884e0d531b) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.08@sha256:58738c35c5d351bdd0ebcc2ac6868326e4e06222555931417bafaa6484a00b24
Opam project build


To reproduce locally:


git clone --recursive "https://gitlab.com/nomadic-labs/ocaml-secp256k1-internal.git" -b "master" && cd "ocaml-secp256k1-internal" && git reset --hard 208f167f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.08@sha256:58738c35c5d351bdd0ebcc2ac6868326e4e06222555931417bafaa6484a00b24
# debian-12-4.08_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 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 secp256k1-internal.opam ./
RUN opam pin add -yn secp256k1-internal.dev './'
ENV DEPS="alcotest.0.8.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.0.0 bigstring.0.2 biniou.1.2.0 cmdliner.1.0.3 conf-gmp.1 conf-m4.1 conf-pkg-config.1.0 conf-which.1 cppo.1.6.1 cstruct.6.0.0 dune.2.8.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 easy-format.1.0.1 fmt.0.8.0 hex.1.4.0 jbuilder.1.0+beta20.1 js_of_ocaml-compiler.3.11.0 menhir.20200123 menhirLib.20200123 menhirSdk.20200123 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-migrate-parsetree.1.5.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 ppx_derivers.1.0 ppxlib.0.15.0 result.1.0 sexplib0.v0.12.0 stdlib-shims.0.1.0 topkg.0.7.5 yojson.1.5.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y secp256k1-internal.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build


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


2024-11-15 21:02.51: Using cache hint "nomadic-labs/ocaml-secp256k1-internal-ocaml/opam:debian-12-ocaml-4.08@sha256:58738c35c5d351bdd0ebcc2ac6868326e4e06222555931417bafaa6484a00b24-debian-12-4.08_opam-2.2-e8e0bb73c9bd027c9306cd3503933133"
2024-11-15 21:02.51: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:58738c35c5d351bdd0ebcc2ac6868326e4e06222555931417bafaa6484a00b24)
(comment debian-12-4.08_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 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src secp256k1-internal.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn secp256k1-internal.dev './'"))
(env DEPS "alcotest.0.8.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.0.0 bigstring.0.2 biniou.1.2.0 cmdliner.1.0.3 conf-gmp.1 conf-m4.1 conf-pkg-config.1.0 conf-which.1 cppo.1.6.1 cstruct.6.0.0 dune.2.8.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 easy-format.1.0.1 fmt.0.8.0 hex.1.4.0 jbuilder.1.0+beta20.1 js_of_ocaml-compiler.3.11.0 menhir.20200123 menhirLib.20200123 menhirSdk.20200123 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-migrate-parsetree.1.5.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 ppx_derivers.1.0 ppxlib.0.15.0 result.1.0 sexplib0.v0.12.0 stdlib-shims.0.1.0 topkg.0.7.5 yojson.1.5.0")
(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 secp256k1-internal.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2024-11-15 21:02.51: Waiting for resource in pool OCluster
2024-11-15 21:02.51: Waiting for worker…
2024-11-15 21:02.51: Got resource from pool OCluster
Building on x86-bm-c20.sw.ocaml.org
All commits already cached
HEAD is now at 208f167 change ci


(from ocaml/opam:debian-12-ocaml-4.08@sha256:58738c35c5d351bdd0ebcc2ac6868326e4e06222555931417bafaa6484a00b24)
2024-11-15 21:02.51 ---> using "f627723f0567fbe859aaa83b4e57117dd6ce518904a3cabd0bb5de9ad710168b" from cache


/: (comment debian-12-4.08_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-11-15 21:02.51 ---> saved as "af0a91cd7a447a1b889335e6bd8288ae96b3c0936a81333c2144962391b71690"


/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
2024-11-15 21:04.15 ---> saved as "4b978d40169cbfd8cd5fa0c22d4c6e307330530ed5d7bb10d6247de964b1638c"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 4.08.1
2.2.1
2024-11-15 21:04.15 ---> saved as "5fe558785bf474f9f7b3408abfa2781cd3df21eb85afb36fa8040badd70f997f"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-11-15 21:04.16 ---> saved as "a15655389dca7eff3500f20747088062d1e20bc91a5f10ce15b34e0cc40b2836"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u"))
28daeff6f3 Merge pull request #26814 from mtelvers/m4


<><> 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-11-15 21:05.39 ---> saved as "e8f902bf8a23fccd0542ae978b4b65539785ca5ab8dee44d74ce2fa5e2441f75"


/src: (copy (src secp256k1-internal.opam) (dst ./))
2024-11-15 21:05.39 ---> saved as "b194c972e86d780215a7c0cb4ad248bf629f83692dc569ac2748c48540441b24"


/src: (run (network host)
(shell "opam pin add -yn secp256k1-internal.dev './'"))
[secp256k1-internal.dev] synchronised (file:///src)
secp256k1-internal is now pinned to file:///src (version dev)
2024-11-15 21:05.41 ---> saved as "b546c13035e6dbaf4119b78078f456e6ae4a23688772deb42d0c069a09e498d3"


/src: (env DEPS "alcotest.0.8.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.0.0 bigstring.0.2 biniou.1.2.0 cmdliner.1.0.3 conf-gmp.1 conf-m4.1 conf-pkg-config.1.0 conf-which.1 cppo.1.6.1 cstruct.6.0.0 dune.2.8.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 easy-format.1.0.1 fmt.0.8.0 hex.1.4.0 jbuilder.1.0+beta20.1 js_of_ocaml-compiler.3.11.0 menhir.20200123 menhirLib.20200123 menhirSdk.20200123 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-migrate-parsetree.1.5.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 ppx_derivers.1.0 ppxlib.0.15.0 result.1.0 sexplib0.v0.12.0 stdlib-shims.0.1.0 topkg.0.7.5 yojson.1.5.0")


/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 secp256k1-internal.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 amd64 Packages [204 kB]
- Fetched 307 kB in 0s (1122 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[secp256k1-internal.dev] synchronised (no changes)


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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 m4 pkg-config


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


+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "m4" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libgmpxx4ldbl: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 ... 18745 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package m4.
- Preparing to unpack .../3-m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../4-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../5-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../6-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up m4 (1.4.19-3) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u9) ...
2024-11-15 21:06.10 ---> saved as "3f6df7c51cf4c01396e9e509554f1a3c8267c71c68c21ad1088a69143fddaf6f"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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 35 packages
- install alcotest                0.8.0
- install astring                 0.8.2
- install base-bytes              base
- install bigarray-compat         1.0.0
- install bigstring               0.2
- install biniou                  1.2.0
- install cmdliner                1.0.3
- install conf-gmp                1
- install conf-m4                 1
- install conf-pkg-config         1.0
- install conf-which              1
- install cppo                    1.6.1
- install cstruct                 6.0.0
- install dune                    2.8.0
- install dune-configurator       2.3.0
- install dune-private-libs       2.3.0
- install easy-format             1.0.1
- install fmt                     0.8.0
- install hex                     1.4.0
- install jbuilder                1.0+beta20.1
- install js_of_ocaml-compiler    3.11.0
- install menhir                  20200123
- install menhirLib               20200123
- install menhirSdk               20200123
- install ocaml-compiler-libs     v0.11.0
- install ocaml-migrate-parsetree 1.5.0 (deprecated)
- install ocamlbuild              0.14.0
- install ocamlfind               1.8.0
- install ppx_derivers            1.0
- install ppxlib                  0.15.0
- install result                  1.0
- install sexplib0                v0.12.0
- install stdlib-shims            0.1.0
- install topkg                   0.7.5
- install yojson                  1.5.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.0.0  (cached)
-> retrieved alcotest.0.8.0  (cached)
-> retrieved astring.0.8.2  (cached)
-> retrieved biniou.1.2.0  (cached)
-> retrieved conf-gmp.1  (cached)
-> retrieved cmdliner.1.0.3  (cached)
-> retrieved cppo.1.6.1  (cached)
-> installed conf-gmp.1
-> installed conf-m4.1
-> installed conf-pkg-config.1.0
-> installed conf-which.1
-> retrieved cstruct.6.0.0  (cached)
-> retrieved dune.2.8.0  (cached)
-> retrieved dune-configurator.2.3.0, dune-private-libs.2.3.0  (cached)
-> retrieved easy-format.1.0.1  (cached)
-> retrieved bigstring.0.2  (https://github.com/c-cube/ocaml-bigstring/archive/0.2.tar.gz)
-> retrieved fmt.0.8.0  (cached)
-> retrieved hex.1.4.0  (cached)
-> installed cmdliner.1.0.3
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved menhir.20200123, menhirLib.20200123, menhirSdk.20200123  (cached)
-> retrieved js_of_ocaml-compiler.3.11.0  (cached)
-> retrieved ocaml-compiler-libs.v0.11.0  (cached)
-> retrieved ocaml-migrate-parsetree.1.5.0  (cached)
-> retrieved ocamlbuild.0.14.0  (cached)
-> retrieved ocamlfind.1.8.0  (cached)
-> retrieved ppx_derivers.1.0  (cached)
-> retrieved ppxlib.0.15.0  (cached)
-> retrieved result.1.0  (cached)
-> retrieved sexplib0.v0.12.0  (cached)
-> retrieved stdlib-shims.0.1.0  (cached)
-> retrieved yojson.1.5.0  (cached)
-> retrieved topkg.0.7.5  (cached)
-> installed result.1.0
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed easy-format.1.0.1
-> installed ocamlbuild.0.14.0
-> installed jbuilder.1.0+beta20.1
-> installed ppx_derivers.1.0
-> installed bigstring.0.2
-> installed biniou.1.2.0
-> installed ocaml-compiler-libs.v0.11.0
-> installed cppo.1.6.1
-> installed dune.2.8.0
-> installed topkg.0.7.5
-> installed bigarray-compat.1.0.0
-> installed menhirSdk.20200123
-> installed stdlib-shims.0.1.0
-> installed sexplib0.v0.12.0
-> installed menhirLib.20200123
-> installed cstruct.6.0.0
-> installed hex.1.4.0
-> installed fmt.0.8.0
-> installed yojson.1.5.0
-> installed astring.0.8.2
-> installed alcotest.0.8.0
-> installed dune-private-libs.2.3.0
-> installed dune-configurator.2.3.0
-> installed ocaml-migrate-parsetree.1.5.0
-> installed menhir.20200123
-> installed ppxlib.0.15.0
-> installed js_of_ocaml-compiler.3.11.0
Done.


<><> ocaml-migrate-parsetree.1.5.0 installed successfully <><><><><><><><><><><>
=> Note: This package is deprecated.
# Run eval $(opam env) to update the current shell environment
2024-11-15 21:07.57 ---> saved as "37e7302f21c1752f83023a9bb4813e001467eb6abd274114bd1232db42aca033"


/src: (copy (src .) (dst /src))
2024-11-15 21:07.58 ---> saved as "01d43283d197aa3a567fb6847e391c4d6222547e9a5e8cfd9d2df3ac2da807f3"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "/home/opam/.opam/4.08/lib/bigstring/bigstring.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/alcotest/alcotest.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "test/dune", line 20, characters 12-14:
20 |  (libraries re))
^^
Error: Library "re" not found.
Hint: try:
dune external-lib-deps --missing @install @check @runtest
test alias test/runtest
tput: No value for $TERM and no -T specified
stty: 'standard input': Inappropriate ioctl for device
Testing secp256k1.
...                Scalar            0   basic.
[OK]                Scalar            0   basic.
...                Scalar            1   add_inplace.
[OK]                Scalar            1   add_inplace.
...                External          0   signature_of_string.
[OK]                External          0   signature_of_string.
...                External          1   valid_signature.
[OK]                External          1   valid_signature.
...                External          2   invalid_signature.
[OK]                External          2   invalid_signature.
...                External          3   public_module.
[OK]                External          3   public_module.
...                External          4   pubkey_creation.
[OK]                External          4   pubkey_creation.
...                External          5   sign.
[OK]                External          5   sign.
...                External          6   combine.
[OK]                External          6   combine.
...                External          7   recover.
[OK]                External          7   recover.
The full test results are available in `_build/_tests`.
Test Successful in 0.003s. 10 tests run.
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-11-15 21:08.06: Job failed: Failed: Build failed