2025-04-18 18:28.27: New job: test mirage/ca-certs https://github.com/mirage/ca-certs.git#refs/heads/main (319c8a6e7c06da6a4fc3dab5db41cdd28be2e9cf) (linux-x86_64:opensuse-15.6-4.14_opam-2.3)
Base: ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:47d797c8147acdb02c0f48d59701b679e410a8ac3a650b3f1b6efad54031b83a
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:opensuse-15.6-ocaml-4.14@sha256:47d797c8147acdb02c0f48d59701b679e410a8ac3a650b3f1b6efad54031b83a
# opensuse-15.6-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
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 5afc819055f4ae8f1195b0588a75ae3258f52bce || git fetch origin master) && git reset -q --hard 5afc819055f4ae8f1195b0588a75ae3258f52bce && 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-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.18.1 dune-configurator.3.18.1 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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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.6 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-18 18:28.27: Using cache hint "mirage/ca-certs-ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:47d797c8147acdb02c0f48d59701b679e410a8ac3a650b3f1b6efad54031b83a-opensuse-15.6-4.14_opam-2.3-3aad463a3f71735c616ce6f27f66727b"
2025-04-18 18:28.27: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:47d797c8147acdb02c0f48d59701b679e410a8ac3a650b3f1b6efad54031b83a)
(comment opensuse-15.6-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(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 5afc819055f4ae8f1195b0588a75ae3258f52bce || git fetch origin master) && git reset -q --hard 5afc819055f4ae8f1195b0588a75ae3258f52bce && 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-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.18.1 dune-configurator.3.18.1 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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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.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.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-18 18:28.27: Waiting for resource in pool OCluster
2025-04-18 20:54.23: Waiting for worker…
2025-04-18 20:57.44: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
HEAD is now at 319c8a6 changes for 1.0.1
(from ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:47d797c8147acdb02c0f48d59701b679e410a8ac3a650b3f1b6efad54031b83a)
2025-04-18 20:57.44 ---> using "07b674cb35417a3a07176929203438f443e716ba7d7f974a52b3ec1a2e0f3dad" from cache
/: (comment opensuse-15.6-4.14_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-04-18 20:57.44 ---> using "8e90436ae2ea49b252c19b2104fd379efa6a9a87c9333947060f509ee9adaf19" 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.
Continue? [y/n] y
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.
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-04-18 20:57.44 ---> using "580c03c99b65efb374f4a4eb0e09baa80a6a32ea8cac1b1cc0ad176839532733" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-04-18 20:57.44 ---> using "024411469989fa952a505119c3daede42e3b05643dc379706162722b4c0696a2" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-04-18 20:57.44 ---> using "6591d20ee9a0fe5a64bd0f2ee317b4283114200703e1bb921e85fa4ba04e6bb4" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 5afc819055f4ae8f1195b0588a75ae3258f52bce || git fetch origin master) && git reset -q --hard 5afc819055f4ae8f1195b0588a75ae3258f52bce && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
34a3fc46c3..999bff3ed8 master -> origin/master
5afc819055 Merge pull request #27763 from hannesm/release-x509-v1.0.6
<><> 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-18 20:57.44 ---> using "3c886f8bc276d6d17fcffbedc0f53907409f1425a3390d1f7157226636e12611" from cache
/src: (copy (src ca-certs.opam) (dst ./))
2025-04-18 20:57.45 ---> saved as "bf2f4c8a1dad844c3cb9a5e9ac3ae7f74d54befae53c3fd1ad50e6650f6ccbbc"
/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-18 20:58.28 ---> saved as "baa492bde90f21d052106fcd9f058c03b4f1addaf155fd820b011f8ab83c2b39"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-04-18 20:58.28 ---> saved as "022624cbf91def6c10c222e2995ceb61c9ad0fe7907963689b4d9a889c75d014"
/src: (env DEPS "alcotest.1.9.0 asn1-combinators.0.3.2 astring.0.8.5 base-bigarray.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.18.1 dune-configurator.3.18.1 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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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.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.3 --depext-only -y ca-certs.dev $DEPS"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Retrieving repository 'Update repository of openSUSE Backports' metadata [...
- .......
- ...done]
- Building repository 'Update repository of openSUSE Backports' cache [....done]
- Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata [....
- .........
- .........
- .........
- ........
- done]
- Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache [..
- ..done]
- Retrieving repository 'Main Update Repository' metadata [.
- ..
- .
- .
- .
- ..
- ...
- done]
- Building repository 'Main Update Repository' cache [..
- ..done]
- Repository 'Update Repository (Non-Oss)' is up to date.
- Repository 'Non-OSS Repository' is up to date.
- Repository 'Main Repository' is up to date.
- All repositories have been refreshed.
<><> 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 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 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-devel
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "zypper" "--non-interactive" "install" "gmp-devel"
- Loading repository data...
- Reading installed packages...
- Resolving package dependencies...
-
- The following 2 NEW packages are going to be installed:
- gmp-devel libgmpxx4
-
- 2 new packages to install.
-
- Package download size: 2.2 MiB
-
- Package install size change:
- | 6.7 MiB required by packages that will be installed
- 6.7 MiB | - 0 B released by packages that will be removed
-
- Backend: classic_rpmtrans
- Continue? [y/n/v/...? shows all options] (y): y
- Retrieving: libgmpxx4-6.1.2-4.9.1.x86_64 (Main Repository) (1/2), 17.1 KiB
- Retrieving: libgmpxx4-6.1.2-4.9.1.x86_64.rpm [..done (17.1 KiB/s)]
- Retrieving: gmp-devel-6.1.2-4.9.1.x86_64 (Main Repository) (2/2), 2.2 MiB
- Retrieving: gmp-devel-6.1.2-4.9.1.x86_64.rpm [.
- ..done (2.3 MiB/s)]
-
- Checking for file conflicts: [..done]
- (1/2) Installing: libgmpxx4-6.1.2-4.9.1.x86_64 [..done]
- (2/2) Installing: gmp-devel-6.1.2-4.9.1.x86_64 [......
- done]
2025-04-18 21:00.27 ---> saved as "6d7e7c603c0f827a5dd1a8219c4f6093f4aa8b84064a0696086a12894d016af6"
/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 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 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 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.18.1
- install dune-configurator 3.18.1
- 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.6
- 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)
-> retrieved eqaf.0.10 (cached)
-> retrieved fmt.0.10.0 (cached)
-> installed conf-gmp-powm-sec.4
-> 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.3.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved dune.3.18.1, dune-configurator.3.18.1 (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 ocamlfind.1.9.8 (cached)
-> retrieved ohex.0.2.0 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved seq.base (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed cmdliner.1.3.0
-> installed seq.base
-> retrieved topkg.1.0.8 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved x509.1.0.6 (cached)
-> retrieved zarith.1.14 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> 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 logs.0.8.0
-> installed fpath.0.7.3
-> installed bos.0.2.1
-> installed dune.3.18.1
-> 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.3.0
-> installed alcotest.1.9.0
-> installed dune-configurator.3.18.1
-> 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.6
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-18 21:01.51 ---> saved as "2e4ef608cd00cd6fd648dd5e98704c916e7d47b27a35c29693143c0532f0a961"
/src: (copy (src .) (dst /src))
2025-04-18 21:01.51 ---> saved as "4e31980252b7c2ecc6fb4f9785e9d48b8098af9d34ff30f66e58e3028891b780"
/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 `5IDS6ACR'.
[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.003s. 9 tests run.
tests.exe: [EXEC:46] ['uname' '-s']
2025-04-18 21:01.53 ---> saved as "0848b39f45d753b65902985d0649e6dd4442dfa177c4c9856d911793bb7f2403"
Job succeeded
2025-04-18 21:01.53: Job succeeded