2025-04-15 16:33.09: New job: test mirage/ca-certs https://github.com/mirage/ca-certs.git#refs/heads/main (08765aa5a14bf9f58953981c938ee7291e3700c4) (linux-x86_64:fedora-41-5.3_opam-2.3)
Base: ocaml/opam:fedora-41-ocaml-5.3@sha256:7adec6cf23ec645aedf5e0674c624effa13664bf4a32ea8f7dc72d6039c89f9f
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/ca-certs.git" -b "main" && cd "ca-certs" && git reset --hard 08765aa5
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-41-ocaml-5.3@sha256:7adec6cf23ec645aedf5e0674c624effa13664bf4a32ea8f7dc72d6039c89f9f
# fedora-41-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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 ebbcec92a028ec6a4c71de7a7c3ed42739479745 || git fetch origin master) && git reset -q --hard ebbcec92a028ec6a4c71de7a7c3ed42739479745 && 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.2.0 domain-name.0.4.1 dune.3.18.0 dune-configurator.3.18.0 duration.0.2.1 eqaf.0.10 fmt.0.10.0 fpath.0.7.3 gmap.0.3.0 ipaddr.5.6.0 kdf.1.0.0 logs.0.8.0 macaddr.5.6.0 mirage-crypto.2.0.0 mirage-crypto-ec.2.0.0 mirage-crypto-pk.2.0.0 mirage-crypto-rng.2.0.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ohex.0.2.0 ptime.1.2.0 re.1.12.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4 x509.1.0.5 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --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-04-15 16:33.09: Using cache hint "mirage/ca-certs-ocaml/opam:fedora-41-ocaml-5.3@sha256:7adec6cf23ec645aedf5e0674c624effa13664bf4a32ea8f7dc72d6039c89f9f-fedora-41-5.3_opam-2.3-b285eb3c39f146d21ae6e4f14912cbd7"
2025-04-15 16:33.09: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-5.3@sha256:7adec6cf23ec645aedf5e0674c624effa13664bf4a32ea8f7dc72d6039c89f9f)
(comment fedora-41-5.3_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (network host)
(shell "sudo dnf install -y findutils"))
(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 ebbcec92a028ec6a4c71de7a7c3ed42739479745 || git fetch origin master) && git reset -q --hard ebbcec92a028ec6a4c71de7a7c3ed42739479745 && 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.2.0 domain-name.0.4.1 dune.3.18.0 dune-configurator.3.18.0 duration.0.2.1 eqaf.0.10 fmt.0.10.0 fpath.0.7.3 gmap.0.3.0 ipaddr.5.6.0 kdf.1.0.0 logs.0.8.0 macaddr.5.6.0 mirage-crypto.2.0.0 mirage-crypto-ec.2.0.0 mirage-crypto-pk.2.0.0 mirage-crypto-rng.2.0.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ohex.0.2.0 ptime.1.2.0 re.1.12.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4 x509.1.0.5 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 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-04-15 16:33.09: Waiting for resource in pool OCluster
2025-04-15 16:33.09: Waiting for worker…
2025-04-15 16:44.06: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 08765aa add: additional key path for macos (#28)
(from ocaml/opam:fedora-41-ocaml-5.3@sha256:7adec6cf23ec645aedf5e0674c624effa13664bf4a32ea8f7dc72d6039c89f9f)
Unable to find image 'ocaml/opam:fedora-41-ocaml-5.3@sha256:7adec6cf23ec645aedf5e0674c624effa13664bf4a32ea8f7dc72d6039c89f9f' locally
docker.io/ocaml/opam@sha256:7adec6cf23ec645aedf5e0674c624effa13664bf4a32ea8f7dc72d6039c89f9f: Pulling from ocaml/opam
cc82451c8316: Pulling fs layer
cc82451c8316: Verifying Checksum
cc82451c8316: Download complete
cc82451c8316: Pull complete
Digest: sha256:7adec6cf23ec645aedf5e0674c624effa13664bf4a32ea8f7dc72d6039c89f9f
Status: Downloaded newer image for ocaml/opam@sha256:7adec6cf23ec645aedf5e0674c624effa13664bf4a32ea8f7dc72d6039c89f9f
2025-04-15 16:44.06 ---> using "2e88ed4dcba4576517c9e5c31ec292604a0167c293ab083c7a17d23ea7043a4b" from cache
/: (comment fedora-41-5.3_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Updating and loading repositories:
Fedora 41 - x86_64 100% | 140.1 KiB/s | 26.8 KiB | 00m00s
Fedora 41 - x86_64 - Updates 100% | 162.3 KiB/s | 24.5 KiB | 00m00s
Fedora 41 - x86_64 - Updates 100% | 4.0 MiB/s | 3.8 MiB | 00m01s
Repositories loaded.
Package "findutils-1:4.10.0-4.fc41.x86_64" is already installed.
Nothing to do.
2025-04-15 16:44.06 ---> using "49f03c67259d7c6eb7b329e6dd99562b12957943cdc7eb59c6fccee42cb8c96b" from cache
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-04-15 16:44.06 ---> using "150f83bcd23816c7439e2a7cc0a9510c20852826e7d3646a9a8cf2e4391c06ba" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-04-15 16:44.06 ---> using "5eae61695156baf5e0bfdeb6901d4b1acba7463399b56254fb189971f33ed27b" 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.3.0
2025-04-15 16:44.06 ---> using "a870a43310505ebea3993643cb6ece1ed6774daccf03064ec009dba9a7d20968" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-04-15 16:44.06 ---> using "a82ed21818bd936aec652225771f034594fe03ca3da2cae9c8fcff843f89b805" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e ebbcec92a028ec6a4c71de7a7c3ed42739479745 || git fetch origin master) && git reset -q --hard ebbcec92a028ec6a4c71de7a7c3ed42739479745 && git log --no-decorate -n1 --oneline && opam update -u"))
ebbcec92a0 Merge pull request #23330 from mseri/fix-gmp
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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-04-15 16:44.06 ---> using "856b8f622b09c86fa1d144dfe2905ea80f57070a0b7e3684f83a9f5812904bf9" from cache
/src: (copy (src ca-certs.opam) (dst ./))
2025-04-15 16:44.06 ---> using "9ed6a85e4ba6d9d4c551ae0d11a358c49937936bc368c15f3814d7ab38f25e43" 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-04-15 16:44.06 ---> using "6ab6515496ef956ebe77bcc82ed49866899625c56cda38c277c0bae2bfa4e76f" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-04-15 16:44.06 ---> using "88daaef327fbc60a6e8354346d46e9ffc47ca2f13100496c208fb1cf636a4844" 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.2.0 domain-name.0.4.1 dune.3.18.0 dune-configurator.3.18.0 duration.0.2.1 eqaf.0.10 fmt.0.10.0 fpath.0.7.3 gmap.0.3.0 ipaddr.5.6.0 kdf.1.0.0 logs.0.8.0 macaddr.5.6.0 mirage-crypto.2.0.0 mirage-crypto-ec.2.0.0 mirage-crypto-pk.2.0.0 mirage-crypto-rng.2.0.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ohex.0.2.0 ptime.1.2.0 re.1.12.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4 x509.1.0.5 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 ca-certs.dev $DEPS"))
+ /usr/bin/sudo "yum" "makecache"
- Updating and loading repositories:
- Fedora 41 - x86_64 - Updates 100% | 123.2 KiB/s | 24.5 KiB | 00m00s
- Repositories loaded.
- Metadata cache created.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ca-certs.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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-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:
gmp-devel
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "yum" "install" "-y" "gmp-devel"
- Updating and loading repositories:
- Repositories loaded.
- Package Arch Version Repository Size
- Installing:
- gmp-devel x86_64 1:6.3.0-2.fc41 fedora 352.3 KiB
- Installing dependencies:
- gmp-c++ x86_64 1:6.3.0-2.fc41 fedora 31.8 KiB
-
- Transaction Summary:
- Installing: 2 packages
-
- Total size of inbound packages is 193 KiB. Need to download 193 KiB.
- After this operation, 384 KiB extra will be used (install 384 KiB, remove 0 B).
- [1/2] gmp-c++-1:6.3.0-2.fc41.x86_64 100% | 151.5 KiB/s | 18.6 KiB | 00m00s
- [2/2] gmp-devel-1:6.3.0-2.fc41.x86_64 100% | 1.1 MiB/s | 174.4 KiB | 00m00s
- --------------------------------------------------------------------------------
- [2/2] Total 100% | 650.0 KiB/s | 193.0 KiB | 00m00s
- Running transaction
- [1/4] Verify package files 100% | 2.0 KiB/s | 2.0 B | 00m00s
- [2/4] Prepare transaction 100% | 50.0 B/s | 2.0 B | 00m00s
- [3/4] Installing gmp-c++-1:6.3.0-2.fc41 100% | 15.9 MiB/s | 32.6 KiB | 00m00s
- [4/4] Installing gmp-devel-1:6.3.0-2.fc 100% | 7.2 MiB/s | 354.1 KiB | 00m00s
- Complete!
+ /usr/bin/rpm "-q" "--whatprovides" "gmp-devel"
- gmp-devel-6.3.0-2.fc41.x86_64
2025-04-15 16:44.07 ---> using "84952b5bb311babff477ac42210d138828c69db6c2438e6842a2d82218832742" 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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-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.2.0
- install domain-name 0.4.1
- install dune 3.18.0
- install dune-configurator 3.18.0
- install duration 0.2.1
- install eqaf 0.10
- install fmt 0.10.0
- install fpath 0.7.3
- install gmap 0.3.0
- install ipaddr 5.6.0
- install kdf 1.0.0
- install logs 0.8.0
- install macaddr 5.6.0
- install mirage-crypto 2.0.0
- install mirage-crypto-ec 2.0.0
- install mirage-crypto-pk 2.0.0
- install mirage-crypto-rng 2.0.0
- 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.12.0
- install rresult 0.7.0
- install seq base
- install stdlib-shims 0.3.0
- install topkg 1.0.8
- install uutf 1.0.4
- install x509 1.0.5
- install zarith 1.14
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved asn1-combinators.0.3.2 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved base64.3.5.1 (cached)
-> retrieved bos.0.2.1 (cached)
-> retrieved conf-gmp.5 (cached)
-> retrieved conf-gmp-powm-sec.4 (cached)
-> retrieved alcotest.1.9.0 (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)
-> retrieved duration.0.2.1 (cached)
-> installed conf-gmp-powm-sec.4
-> retrieved eqaf.0.10 (cached)
-> retrieved fmt.0.10.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved gmap.0.3.0 (cached)
-> retrieved ipaddr.5.6.0, macaddr.5.6.0 (cached)
-> retrieved kdf.1.0.0 (cached)
-> retrieved logs.0.8.0 (cached)
-> retrieved digestif.1.2.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ohex.0.2.0 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved dune.3.18.0, dune-configurator.3.18.0 (cached)
-> retrieved mirage-crypto.2.0.0, mirage-crypto-ec.2.0.0, mirage-crypto-pk.2.0.0, mirage-crypto-rng.2.0.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.0.8 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved zarith.1.14 (cached)
-> retrieved x509.1.0.5 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed zarith.1.14
-> installed topkg.1.0.8
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed logs.0.8.0
-> installed bos.0.2.1
-> installed dune.3.18.0
-> installed duration.0.2.1
-> installed gmap.0.3.0
-> 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 macaddr.5.6.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.12.0
-> installed stdlib-shims.0.3.0
-> installed ipaddr.5.6.0
-> installed digestif.1.2.0
-> installed alcotest.1.9.0
-> installed dune-configurator.3.18.0
-> installed mirage-crypto.2.0.0
-> installed kdf.1.0.0
-> installed mirage-crypto-rng.2.0.0
-> installed mirage-crypto-pk.2.0.0
-> installed mirage-crypto-ec.2.0.0
-> installed x509.1.0.5
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-15 16:44.07 ---> using "3a546a5a19f86cbe1579b3e11e5b8747b35ad530815073ae81f752d3509c468b" from cache
/src: (copy (src .) (dst /src))
2025-04-15 16:44.07 ---> saved as "d522e9a8cd296424339e156babdd39ce92f3fcb0f9da8b8a34394b18a6c52429"
/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 `FXGSOCOT'.
[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.002s. 9 tests run.
tests.exe: [EXEC:47] ['uname' '-s']
2025-04-15 16:44.08 ---> saved as "b319c3751315761491fd92a1ccf56c749dd32a31e3fb0dc1e489fc27a684ffa9"
Job succeeded
2025-04-15 16:44.08: Job succeeded