Organisationsnomadic-labsocaml-secp256k1-internal208f16 ()openbsd-76-amd64-5.2_opam-2.3

openbsd-76-amd64-5.2_opam-2.3

Logs

Show full logs
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-5.2_opam-2.3)
Base: openbsd-76-amd64-ocaml-5.2
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-5.2
# openbsd-76-amd64-5.2_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-domains.base base-nnp.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.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 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-5.2-openbsd-76-amd64-5.2_opam-2.3-b89eba1aa2b91e8c49b40e8e3af1da81"
2024-11-11 20:45.53: Using OBuilder spec:
((from openbsd-76-amd64-ocaml-5.2)
 (comment openbsd-76-amd64-5.2_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-domains.base base-nnp.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.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 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
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint: 	git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint: 	git branch -m <name>
Initialised empty Git repository in /var/cache/obuilder/git/ocaml-secp256k1-internal.git-134e71b389ad461502b5a6386f261ab8c8501709/.git/
HEAD is now at 208f167 change ci

(from openbsd-76-amd64-ocaml-5.2)
2024-11-11 20:45.54 ---> using "4320665f99976787f90a9e18174d2737909e8978c44b8f3d46fb0aff097b06a4" from cache

/: (comment openbsd-76-amd64-5.2_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:45.54 ---> using "22e2929b9a366c809ec816349aa6cb9a45b4649cad05d8c280efed2bc66c5069" from cache

/: (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:45.54 ---> using "8ee85108de9d3aac6d892ef0faaf024ea14d13d761a327e4e4cd8f43a209bafa" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.6
The OCaml toplevel, version 5.2.0
2.3.0~rc1
2024-11-11 20:45.54 ---> using "52e1b1eb38389daf27ec5bb41e48ee2005bdbd80371e88d39094e253864006cb" from cache

/: (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:45.54 ---> using "4fe3df0294c03f2476967fa629d94688b775258f59afca9905db57aab2303325" from cache

/: (copy (src secp256k1-internal.opam) (dst /home/opam/src/./))
2024-11-11 20:46.50 ---> saved as "0e0cec08f748f4b807130da356f079b4188d429ff5001deeb87d1a858722aa78"

/: (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:47.44 ---> saved as "4dcb61626ac342bdda1cc0d96926f2660780185f9f5540cd1d354ebfac77fb34"

/: (env DEPS "alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.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.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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:48.45 ---> saved as "0d605a4ee45f162280835164bf3b0abd4c2cb4fc1c3ca386c13046fdc6975919"

/: (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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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.17.0
  - 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 ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved dune.3.16.1, dune-configurator.3.16.1  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ocamlbuild.0.15.0  (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 topkg.1.0.7  (cached)
-> retrieved uutf.1.0.3  (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 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.17.0
-> 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:05.07 ---> saved as "991c127453407c70559e04e286fdf987b2e47813a821ffe85f8a34796ae9c6b7"

/: (copy (src .) (dst /home/opam/src))
2024-11-11 21:05.50 ---> saved as "0c4a32141eb4ac7ef6d91f19c1ae28cb208bc0e55af68c8395ed6799398d0789"

/: (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 `3I9JK4IG'.

  [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.007s. 10 tests run.
2024-11-11 21:06.40 ---> saved as "6300f4fb2a5d7081ec4b805c3b4011ad001f4b01b88637fdd069c9ce772ef03a"
Job succeeded
2024-11-11 21:06.41: Job succeeded