Organisationsmirageca-certs319c8a (main)debian-12-5.3+flambda_opam-2.4

debian-12-5.3+flambda_opam-2.4

Logs

Show full logs
2025-09-10 00:50.01: New job: test mirage/ca-certs https://github.com/mirage/ca-certs.git#refs/heads/main (319c8a6e7c06da6a4fc3dab5db41cdd28be2e9cf) (linux-x86_64:debian-12-5.3+flambda_opam-2.4)
Base: ocaml/opam:debian-12-ocaml-5.3-flambda@sha256:5d0d6eaf004f30af805428d048c1df4224cbdaa5db11a1d8f0a38eab7103ab90
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/mirage/ca-certs.git" -b "main" && cd "ca-certs" && git reset --hard 319c8a6e
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3-flambda@sha256:5d0d6eaf004f30af805428d048c1df4224cbdaa5db11a1d8f0a38eab7103ab90
# debian-12-5.3+flambda_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ca-certs.opam ./
RUN opam pin add -yn ca-certs.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.0 asn1-combinators.0.3.2 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bos.0.2.1 cmdliner.1.3.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 csexp.1.5.2 digestif.1.3.0 domain-name.0.4.1 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 eqaf.0.10 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 ipaddr.5.6.1 kdf.1.0.0 logs.0.9.0 macaddr.5.6.1 mirage-crypto.2.0.2 mirage-crypto-ec.2.0.2 mirage-crypto-pk.2.0.2 mirage-crypto-rng.2.0.2 ocaml.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-syntax-shims.1.0.0 ocaml-variants.5.3.0+options ocamlbuild.0.16.1 ocamlfind.1.9.8 ohex.0.2.0 ptime.1.2.0 re.1.13.2 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.1.0 uutf.1.0.4 x509.1.0.6 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y ca-certs.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

2025-09-10 00:50.01: Using cache hint "mirage/ca-certs-ocaml/opam:debian-12-ocaml-5.3-flambda@sha256:5d0d6eaf004f30af805428d048c1df4224cbdaa5db11a1d8f0a38eab7103ab90-debian-12-5.3+flambda_opam-2.4-30af1387abd81afd6a5267171017214e"
2025-09-10 00:50.01: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3-flambda@sha256:5d0d6eaf004f30af805428d048c1df4224cbdaa5db11a1d8f0a38eab7103ab90)
 (comment debian-12-5.3+flambda_opam-2.4)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.4 /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 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src ca-certs.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn ca-certs.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "alcotest.1.9.0 asn1-combinators.0.3.2 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bos.0.2.1 cmdliner.1.3.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 csexp.1.5.2 digestif.1.3.0 domain-name.0.4.1 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 eqaf.0.10 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 ipaddr.5.6.1 kdf.1.0.0 logs.0.9.0 macaddr.5.6.1 mirage-crypto.2.0.2 mirage-crypto-ec.2.0.2 mirage-crypto-pk.2.0.2 mirage-crypto-rng.2.0.2 ocaml.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-syntax-shims.1.0.0 ocaml-variants.5.3.0+options ocamlbuild.0.16.1 ocamlfind.1.9.8 ohex.0.2.0 ptime.1.2.0 re.1.13.2 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.1.0 uutf.1.0.4 x509.1.0.6 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.4 --depext-only -y ca-certs.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"))
)

2025-09-10 00:50.01: Waiting for resource in pool OCluster
2025-09-10 05:56.19: Waiting for worker…
2025-09-10 06:00.09: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 319c8a6 changes for 1.0.1

(from ocaml/opam:debian-12-ocaml-5.3-flambda@sha256:5d0d6eaf004f30af805428d048c1df4224cbdaa5db11a1d8f0a38eab7103ab90)
2025-09-10 06:00.10 ---> using "826ea8fa28544aabdf46ee163405ec17f055e51165d7c72e899421039a4c1d45" from cache

/: (comment debian-12-5.3+flambda_opam-2.4)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-10 06:00.10 ---> using "e5f807a0d67f78760040f39c03d0fef1399c099b44c7967e8f1e0ca9ac18d59f" 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 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-09-10 06:00.10 ---> using "f67e5f2d065152a7cc80fcef6ce6798a5f796ac9f703b413e1a66bc061a8cf8c" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-10 06:00.10 ---> using "e2d0b513b2be37131e01205c0efae50350057fb548d452c566202903c4203ff5" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-09-10 06:00.10 ---> using "cad33d95d7962773fae9f376abe902f0e402a4e3881a6ee59dbfa3b7fd550424" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   b3b872a94f..ea994caae6  master     -> origin/master
109398e2fd Merge pull request #28437 from maiste/release-dune-3.20.2

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository

Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-09-10 06:00.10 ---> using "9e20cd84295cc704ac867e1f5afc671afd2843a3ea75d3c13ed4c27ef74950ef" from cache

/src: (copy (src ca-certs.opam) (dst ./))
2025-09-10 06:00.10 ---> using "822d8ee308f49e6392d9921c97012ce7a21e32defb746e95c01febd64794f6f7" from cache

/src: (run (network host)
           (shell "opam pin add -yn ca-certs.dev './'"))
[ca-certs.dev] synchronised (file:///src)
ca-certs is now pinned to file:///src (version dev)
2025-09-10 06:00.10 ---> using "c5b439f33ab1fb791a77bfed1e4cbd5a16faba90eb3b059ff34c16013ffd08a6" from cache

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-10 06:00.10 ---> using "d9b022096f468b7f7dd99133437b7c9be5e5c44e62b339cae5b58dcd6e646c9f" from cache

/src: (env DEPS "alcotest.1.9.0 asn1-combinators.0.3.2 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bos.0.2.1 cmdliner.1.3.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 csexp.1.5.2 digestif.1.3.0 domain-name.0.4.1 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 eqaf.0.10 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 ipaddr.5.6.1 kdf.1.0.0 logs.0.9.0 macaddr.5.6.1 mirage-crypto.2.0.2 mirage-crypto-ec.2.0.2 mirage-crypto-pk.2.0.2 mirage-crypto-rng.2.0.2 ocaml.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-syntax-shims.1.0.0 ocaml-variants.5.3.0+options ocamlbuild.0.16.1 ocamlfind.1.9.8 ohex.0.2.0 ptime.1.2.0 re.1.13.2 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.1.0 uutf.1.0.4 x509.1.0.6 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.4 --depext-only -y ca-certs.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- 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 bookworm/main amd64 Packages [8791 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [277 kB]
- Fetched 9323 kB in 2s (3736 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ca-certs.dev] synchronised (file:///src)

[NOTE] Package ocaml-variants is already installed (current version is 5.3.0+options).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-effects 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:
    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: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 ... 18778 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 pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- 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+deb12u10) ...
2025-09-10 06:00.10 ---> using "c4ad0a09c0911832f50bee6e656654cfc78a1b3786765a7c427da88a25d4bf7e" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-variants is already installed (current version is 5.3.0+options).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-effects 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 40 packages
  - install alcotest           1.9.0
  - install asn1-combinators   0.3.2
  - install astring            0.8.5
  - install base64             3.5.1
  - install bos                0.2.1
  - install cmdliner           1.3.0
  - install conf-gmp           5
  - install conf-gmp-powm-sec  4
  - install conf-pkg-config    4
  - install csexp              1.5.2
  - install digestif           1.3.0
  - install domain-name        0.4.1
  - install dune               3.20.2
  - install dune-configurator  3.20.2
  - install duration           0.2.1
  - install eqaf               0.10
  - install fmt                0.11.0
  - install fpath              0.7.3
  - install gmap               0.3.0
  - install ipaddr             5.6.1
  - install kdf                1.0.0
  - install logs               0.9.0
  - install macaddr            5.6.1
  - install mirage-crypto      2.0.2
  - install mirage-crypto-ec   2.0.2
  - install mirage-crypto-pk   2.0.2
  - install mirage-crypto-rng  2.0.2
  - install ocaml-syntax-shims 1.0.0
  - install ocamlbuild         0.16.1
  - install ocamlfind          1.9.8
  - install ohex               0.2.0
  - install ptime              1.2.0
  - install re                 1.13.2
  - install rresult            0.7.0
  - install seq                base
  - install stdlib-shims       0.3.0
  - install topkg              1.1.0
  - install uutf               1.0.4
  - install x509               1.0.6
  - install zarith             1.14

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.0  (cached)
-> retrieved asn1-combinators.0.3.2  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-gmp-powm-sec.4  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> retrieved domain-name.0.4.1  (cached)
-> installed conf-gmp-powm-sec.4
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved gmap.0.3.0  (cached)
-> retrieved ipaddr.5.6.1, macaddr.5.6.1  (cached)
-> retrieved kdf.1.0.0  (cached)
-> retrieved logs.0.9.0  (cached)
-> retrieved digestif.1.3.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> retrieved mirage-crypto.2.0.2, mirage-crypto-ec.2.0.2, mirage-crypto-pk.2.0.2, mirage-crypto-rng.2.0.2  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ohex.0.2.0  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.13.2  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved zarith.1.14  (cached)
-> retrieved topkg.1.1.0  (cached)
-> retrieved x509.1.0.6  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed zarith.1.14
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed rresult.0.7.0
-> installed fmt.0.11.0
-> installed uutf.1.0.4
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed logs.0.9.0
-> installed fpath.0.7.3
-> installed bos.0.2.1
-> installed dune.3.20.2
-> installed duration.0.2.1
-> installed gmap.0.3.0
-> installed macaddr.5.6.1
-> installed ohex.0.2.0
-> installed csexp.1.5.2
-> installed asn1-combinators.0.3.2
-> installed base64.3.5.1
-> installed domain-name.0.4.1
-> installed eqaf.0.10
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.13.2
-> installed ipaddr.5.6.1
-> installed dune-configurator.3.20.2
-> installed alcotest.1.9.0
-> installed digestif.1.3.0
-> installed mirage-crypto.2.0.2
-> installed kdf.1.0.0
-> installed mirage-crypto-rng.2.0.2
-> installed mirage-crypto-pk.2.0.2
-> installed mirage-crypto-ec.2.0.2
-> installed x509.1.0.6
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-10 06:01.12 ---> saved as "8b2f65c274920537d45cbb58beb25b008419b0079b08097ab262924f6e147090"

/src: (copy (src .) (dst /src))
2025-09-10 06:01.13 ---> saved as "3039ddc0385d76d65036d01ab1ba1fa648deb158234c0fc2dbd2f5da95754126"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./tests.exe)
Testing `verification tests'.
This run has ID `94GZNTCD'.

  [OK]          X509 certificate validation          0   google.com.
  [OK]          X509 certificate validation          1   extended-validation....
  [OK]          X509 certificate validation          2   self-signed.badssl.com.
  [OK]          X509 certificate validation          3   expired.badssl.com.
  [OK]          X509 certificate validation          4   untrusted-root.badss...
  [OK]          X509 certificate validation          5   wrong.host.badssl.com.
  [OK]          X509 certificate validation          6   incomplete-chain.bad...
  [OK]          X509 certificate validation          7   sha1-intermediate.ba...
  [OK]          X509 certificate validation          8   wrong.host.google.com.

Full test results in `/src/_build/default/test/_build/_tests/verification tests'.
Test Successful in 0.004s. 9 tests run.
tests.exe: [EXEC:55] ['uname' '-s']
2025-09-10 06:01.15 ---> saved as "f802c26c8e76bf9bbabfaaf535b0be5b650041d6974a2be1956f846faccf33e7"
Job succeeded
2025-09-10 06:01.15: Job succeeded