2024-11-11 20:45.53: New job: test nomadic-labs/ocaml-secp256k1-internal https://gitlab.com/nomadic-labs/ocaml-secp256k1-internal.git#refs/heads/master (208f167fd87140ab282bca93d23d84884e0d531b) (openbsd-amd64:openbsd-76-amd64-4.14_opam-2.3)
Base: openbsd-76-amd64-ocaml-4.14
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 openbsd-76-amd64-ocaml-4.14
# openbsd-76-amd64-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN doas ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 secp256k1-internal.opam /home/opam/src/./
RUN opam pin add -yn secp256k1-internal.dev '/home/opam/src/./'
ENV DEPS="alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstring.0.3 cmdliner.1.3.0 conf-gmp.4 conf-pkg-config.3 csexp.1.5.2 cstruct.6.2.0 dune.3.16.1 dune-configurator.3.16.1 fmt.0.9.0 gen.1.1 hex.1.5.0 host-arch-x86_64.1 host-system-other.1 js_of_ocaml-compiler.5.8.2 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 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.15.0 ocamlfind.1.9.6 ppx_derivers.1.2.1 ppxlib.0.33.0 re.1.12.0 sedlex.3.3 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y secp256k1-internal.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /home/opam/src
RUN cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-11-11 20:45.53: Using cache hint "nomadic-labs/ocaml-secp256k1-internal-openbsd-76-amd64-ocaml-4.14-openbsd-76-amd64-4.14_opam-2.3-53e9c4f434d07f11d3fd42cae378312d"
2024-11-11 20:45.53: Using OBuilder spec:
((from openbsd-76-amd64-ocaml-4.14)
(comment openbsd-76-amd64-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "doas 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"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src secp256k1-internal.opam) (dst /home/opam/src/./))
(run (network host)
(shell "opam pin add -yn secp256k1-internal.dev '/home/opam/src/./'"))
(env DEPS "alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstring.0.3 cmdliner.1.3.0 conf-gmp.4 conf-pkg-config.3 csexp.1.5.2 cstruct.6.2.0 dune.3.16.1 dune-configurator.3.16.1 fmt.0.9.0 gen.1.1 hex.1.5.0 host-arch-x86_64.1 host-system-other.1 js_of_ocaml-compiler.5.8.2 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 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.15.0 ocamlfind.1.9.6 ppx_derivers.1.2.1 ppxlib.0.33.0 re.1.12.0 sedlex.3.3 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2")
(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 secp256k1-internal.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /home/opam/src))
(run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2024-11-11 20:45.53: Waiting for resource in pool OCluster
2024-11-11 20:45.53: Waiting for worker…
2024-11-11 20:45.53: Got resource from pool OCluster
Building on bremusa
All commits already cached
HEAD is now at 208f167 change ci
(from openbsd-76-amd64-ocaml-4.14)
2024-11-11 20:45.54 ---> using "273e81235ea8a6b452476629509f5a1e49a129b613e30bfb7515f80881f75048" from cache
/: (comment openbsd-76-amd64-4.14_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "doas ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2024-11-11 20:46.40 ---> saved as "8f4c505b74dc31d91c5d30f3e3d123c2567bb97ae9c1708d719a97f14994a2cb"
/: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-11-11 20:50.00 ---> saved as "b66ba35f8a9a53257673fce4c0b7f7307b571514bb7b92fa06cc7e407f80f85e"
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.6
The OCaml toplevel, version 4.14.2
2.3.0~rc1
2024-11-11 20:50.58 ---> saved as "136946daf17d74755f97e0e0d17c355664b0b582f53f270159dfd90ff2a9858b"
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u"))
371a52f4a8 Merge pull request #26816 from maiste/release-dune-3.16.1
<><> 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)
2024-11-11 20:54.33 ---> saved as "9d23da78fe3a5da20c0b9eec7ff72b54b38cc49b96702f0d17008e440c13d1b8"
/: (copy (src secp256k1-internal.opam) (dst /home/opam/src/./))
2024-11-11 20:55.15 ---> saved as "e86d7243e014849b2d3745a141b074b43072897c75b5ee23ca1e8b82f79f0c98"
/: (run (network host)
(shell "opam pin add -yn secp256k1-internal.dev '/home/opam/src/./'"))
[secp256k1-internal.dev] synchronised (file:///home/opam/src)
secp256k1-internal is now pinned to file:///home/opam/src (version dev)
2024-11-11 20:56.03 ---> saved as "ac2e90b7a4221a089c4fcdcb8c2bad76352bc1172b21bc8aef0f7c714d46d9ba"
/: (env DEPS "alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstring.0.3 cmdliner.1.3.0 conf-gmp.4 conf-pkg-config.3 csexp.1.5.2 cstruct.6.2.0 dune.3.16.1 dune-configurator.3.16.1 fmt.0.9.0 gen.1.1 hex.1.5.0 host-arch-x86_64.1 host-system-other.1 js_of_ocaml-compiler.5.8.2 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 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.15.0 ocamlfind.1.9.6 ppx_derivers.1.2.1 ppxlib.0.33.0 re.1.12.0 sedlex.3.3 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2")
/: (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 secp256k1-internal.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[secp256k1-internal.dev] synchronised (no changes)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following system packages will first need to be installed:
gmp
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/doas "pkg_add" "-I" "gmp"
- quirks-7.50 signed on 2024-11-09T19:35:46Z
2024-11-11 20:57.05 ---> saved as "1008d27374c545091a080f288e55a75b8683059c458c24353dbde7da832fe0f6"
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 33 packages
- install alcotest 1.8.0
- install astring 0.8.5
- install base-bytes base
- install bigstring 0.3
- install cmdliner 1.3.0
- install conf-gmp 4
- install conf-pkg-config 3
- install csexp 1.5.2
- install cstruct 6.2.0
- install dune 3.16.1
- install dune-configurator 3.16.1
- install fmt 0.9.0
- install gen 1.1
- install hex 1.5.0
- install js_of_ocaml-compiler 5.8.2
- install menhir 20240715
- install menhirCST 20240715
- install menhirLib 20240715
- install menhirSdk 20240715
- install ocaml-compiler-libs v0.12.4
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- install ppx_derivers 1.2.1
- install ppxlib 0.33.0
- install re 1.12.0
- install sedlex 3.3
- 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
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved conf-gmp.4 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved bigstring.0.3 (https://github.com/c-cube/ocaml-bigstring/archive/0.3.tar.gz)
-> retrieved alcotest.1.8.0 (https://github.com/mirage/alcotest/releases/download/1.8.0/alcotest-1.8.0.tbz)
-> retrieved fmt.0.9.0 (cached)
-> retrieved cstruct.6.2.0 (https://github.com/mirage/ocaml-cstruct/releases/download/v6.2.0/cstruct-6.2.0.tbz)
-> retrieved gen.1.1 (https://github.com/c-cube/gen/archive/v1.1.tar.gz)
-> retrieved hex.1.5.0 (https://github.com/mirage/ocaml-hex/releases/download/v1.5.0/hex-1.5.0.tbz)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (https://gitlab.inria.fr/fpottier/menhir/-/archive/20240715/archive.tar.gz)
-> retrieved js_of_ocaml-compiler.5.8.2 (https://github.com/ocsigen/js_of_ocaml/releases/download/5.8.2/js_of_ocaml-5.8.2.tbz)
-> retrieved dune.3.16.1, dune-configurator.3.16.1 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (https://github.com/janestreet/ocaml-compiler-libs/releases/download/v0.12.4/ocaml-compiler-libs-v0.12.4.tbz)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved seq.base (cached)
-> retrieved ppxlib.0.33.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved sedlex.3.3 (https://github.com/ocaml-community/sedlex/archive/refs/tags/v3.3.tar.gz)
-> installed cmdliner.1.3.0
-> installed conf-gmp.4
-> installed conf-pkg-config.3
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved yojson.2.2.2 (https://github.com/ocaml-community/yojson/releases/download/2.2.2/yojson-2.2.2.tbz)
-> installed dune.3.16.1
-> installed ocamlbuild.0.15.0
-> installed csexp.1.5.2
-> installed menhirCST.20240715
-> installed dune-configurator.3.16.1
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> installed ocaml-compiler-libs.v0.12.4
-> installed menhir.20240715
-> installed ocaml-syntax-shims.1.0.0
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ppx_derivers.1.2.1
-> installed seq.base
-> installed sexplib0.v0.17.0
-> installed bigstring.0.3
-> installed gen.1.1
-> installed re.1.12.0
-> installed stdlib-shims.0.3.0
-> installed topkg.1.0.7
-> installed ppxlib.0.33.0
-> installed astring.0.8.5
-> installed fmt.0.9.0
-> installed sedlex.3.3
-> installed cstruct.6.2.0
-> installed uutf.1.0.3
-> installed hex.1.5.0
-> installed alcotest.1.8.0
-> installed yojson.2.2.2
-> installed js_of_ocaml-compiler.5.8.2
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-11 21:11.51 ---> saved as "d9f907636f2d963d6c2e4370b49866b413a2c110992bcf14a895dd7a44da3c54"
/: (copy (src .) (dst /home/opam/src))
2024-11-11 21:12.34 ---> saved as "1c88941c6533156ba470efbbb7fde8b1d076dc3e4026d7f70739086778ca8a9d"
/: (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test.exe)
Testing `secp256k1'.
This run has ID `MB6909UM'.
[OK] Scalar 0 basic.
[OK] Scalar 1 add_inplace.
[OK] External 0 signature_of_string.
[OK] External 1 valid_signature.
[OK] External 2 invalid_signature.
[OK] External 3 public_module.
[OK] External 4 pubkey_creation.
[OK] External 5 sign.
[OK] External 6 combine.
[OK] External 7 recover.
Full test results in `~/src/_build/default/test/_build/_tests/secp256k1'.
Test Successful in 0.010s. 10 tests run.
2024-11-11 21:13.27 ---> saved as "be9428258af16ca98aa25dc56b53bd4331f27b1fabdd5af30dbb44da69add004"
Job succeeded
2024-11-11 21:13.28: Job succeeded