2025-01-17 21:59.06: New job: test mirage/ca-certs https://github.com/mirage/ca-certs.git#refs/pull/36/head (26f1c7b2dc51ba53c3b25f8a3fde4aa0855be826) (linux-x86_64:alpine-3.21-5.3_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-5.3@sha256:dd8bd5730daca2f54c2054aa2189a8460a1950b93d82ac0fcbeab44c2e393a43
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/ca-certs.git" && cd "ca-certs" && git fetch origin "refs/pull/36/head" && git reset --hard 26f1c7b2
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-5.3@sha256:dd8bd5730daca2f54c2054aa2189a8460a1950b93d82ac0fcbeab44c2e393a43
# alpine-3.21-5.3_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 da383c8610c72e3b8a92e6327148910d1d81cd57 || git fetch origin master) && git reset -q --hard da383c8610c72e3b8a92e6327148910d1d81cd57 && 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.8.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.4 conf-gmp-powm-sec.3 conf-pkg-config.4 csexp.1.5.2 digestif.1.2.0 domain-name.0.4.0 dune.3.17.1 dune-configurator.3.17.1 duration.0.2.1 eqaf.0.10 fmt.0.9.0 fpath.0.7.3 gmap.0.3.0 ipaddr.5.6.0 kdf.1.0.0 logs.0.7.0 macaddr.5.6.0 mirage-crypto.1.1.0 mirage-crypto-ec.1.1.0 mirage-crypto-pk.1.1.0 mirage-crypto-rng.1.1.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.15.0 ocamlfind.1.9.6 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.7 uutf.1.0.3 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-01-17 21:59.06: Using cache hint "mirage/ca-certs-ocaml/opam:alpine-3.21-ocaml-5.3@sha256:dd8bd5730daca2f54c2054aa2189a8460a1950b93d82ac0fcbeab44c2e393a43-alpine-3.21-5.3_opam-2.3-be8bf80314fecf96ff34ee2b0e8eced8"
2025-01-17 21:59.06: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:dd8bd5730daca2f54c2054aa2189a8460a1950b93d82ac0fcbeab44c2e393a43)
(comment alpine-3.21-5.3_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 da383c8610c72e3b8a92e6327148910d1d81cd57 || git fetch origin master) && git reset -q --hard da383c8610c72e3b8a92e6327148910d1d81cd57 && 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.8.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.4 conf-gmp-powm-sec.3 conf-pkg-config.4 csexp.1.5.2 digestif.1.2.0 domain-name.0.4.0 dune.3.17.1 dune-configurator.3.17.1 duration.0.2.1 eqaf.0.10 fmt.0.9.0 fpath.0.7.3 gmap.0.3.0 ipaddr.5.6.0 kdf.1.0.0 logs.0.7.0 macaddr.5.6.0 mirage-crypto.1.1.0 mirage-crypto-ec.1.1.0 mirage-crypto-pk.1.1.0 mirage-crypto-rng.1.1.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.15.0 ocamlfind.1.9.6 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.7 uutf.1.0.3 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-01-17 21:59.06: Waiting for resource in pool OCluster
2025-01-18 01:56.20: Waiting for worker…
2025-01-18 01:56.20: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 26f1c7b Silent logs
(from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:dd8bd5730daca2f54c2054aa2189a8460a1950b93d82ac0fcbeab44c2e393a43)
2025-01-18 01:56.21 ---> using "6a093706e05c0e53555e9244d46f7209a1fc612c26c390c11f484f242340b7cc" from cache
/: (comment alpine-3.21-5.3_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-01-18 01:56.21 ---> using "47e2cd9455944f816144a39e11a1b407a2c678674ac47b3a54baf41d5c87bbb6" 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] synchronised from file:///home/opam/opam-repository
2025-01-18 01:56.21 ---> using "05823c35ec1905ed8e3c1eba252d0c71d26c74dfeaca45ec163adeb413086403" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-01-18 01:56.21 ---> using "be40361a26aa90a3ae3280f9b87ab6ad1b9428a5e8cf8827e8aa63325b49635f" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-01-18 01:56.21 ---> using "15fd2c878f779a79d4269fac9181a0eab2a1cfd97f0dab23438ac7ce787314aa" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e da383c8610c72e3b8a92e6327148910d1d81cd57 || git fetch origin master) && git reset -q --hard da383c8610c72e3b8a92e6327148910d1d81cd57 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
f93eb7cb02..da383c8610 master -> origin/master
da383c8610 Merge pull request #27275 from xavierleroy/maintenance-intent
<><> 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)
2025-01-18 01:56.21 ---> using "9b0405fa064a295d5a28b6be0ea6a347534d89797e0bee4f545603e4072f6dc3" from cache
/src: (copy (src ca-certs.opam) (dst ./))
2025-01-18 01:56.21 ---> saved as "01f52a6d47a182f1fd21ca99049aa0295dac93d5e7b4f175f6376b58fd16691e"
/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-01-18 01:56.23 ---> saved as "d2ae285cb722063279afba4dcd2bf5ea1d1e607e97f6fb4c5a59e36b71317510"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-01-18 01:56.24 ---> saved as "1442f18c1e741caf7cdc83f5efd401ee70bfa18879344580e5afdf84c03058fc"
/src: (env DEPS "alcotest.1.8.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.4 conf-gmp-powm-sec.3 conf-pkg-config.4 csexp.1.5.2 digestif.1.2.0 domain-name.0.4.0 dune.3.17.1 dune-configurator.3.17.1 duration.0.2.1 eqaf.0.10 fmt.0.9.0 fpath.0.7.3 gmap.0.3.0 ipaddr.5.6.0 kdf.1.0.0 logs.0.7.0 macaddr.5.6.0 mirage-crypto.1.1.0 mirage-crypto-ec.1.1.0 mirage-crypto-pk.1.1.0 mirage-crypto-rng.1.1.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.15.0 ocamlfind.1.9.6 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.7 uutf.1.0.3 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 "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.21.2-80-g9c49608930e [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.2-81-g19c67be4d3d [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v20250108-687-gb45665c4d12 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20250108-689-gdfc4d4843a4 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20250108-683-g30d16cbf70d [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 55548 distinct packages available
<><> 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-dev
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apk" "add" "gmp-dev"
- (1/2) Installing libgmpxx (6.3.0-r2)
- (2/2) Installing gmp-dev (6.3.0-r2)
- OK: 310 MiB in 104 packages
2025-01-18 01:56.40 ---> saved as "ee5d7cdd26ba2b4f8349113e359c20dfc31f8ca8a4b98c86a766a14ee58867ff"
/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.8.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 4
- install conf-gmp-powm-sec 3
- install conf-pkg-config 4
- install csexp 1.5.2
- install digestif 1.2.0
- install domain-name 0.4.0
- install dune 3.17.1
- install dune-configurator 3.17.1
- install duration 0.2.1
- install eqaf 0.10
- install fmt 0.9.0
- install fpath 0.7.3
- install gmap 0.3.0
- install ipaddr 5.6.0
- install kdf 1.0.0
- install logs 0.7.0
- install macaddr 5.6.0
- install mirage-crypto 1.1.0
- install mirage-crypto-ec 1.1.0
- install mirage-crypto-pk 1.1.0
- install mirage-crypto-rng 1.1.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- 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.7
- install uutf 1.0.3
- 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.4 (cached)
-> retrieved conf-gmp-powm-sec.3 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed conf-gmp.4
-> installed conf-pkg-config.4
-> retrieved domain-name.0.4.0 (cached)
-> retrieved duration.0.2.1 (cached)
-> retrieved eqaf.0.10 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> installed conf-gmp-powm-sec.3
-> 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.7.0 (cached)
-> retrieved digestif.1.2.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved dune.3.17.1, dune-configurator.3.17.1 (cached)
-> retrieved mirage-crypto.1.1.0, mirage-crypto-ec.1.1.0, mirage-crypto-pk.1.1.0, mirage-crypto-rng.1.1.0 (cached)
-> retrieved ohex.0.2.0 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved seq.base (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved zarith.1.14 (cached)
-> installed cmdliner.1.3.0
-> installed seq.base
-> retrieved topkg.1.0.7 (cached)
-> retrieved x509.1.0.5 (cached)
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.15.0
-> installed zarith.1.14
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed logs.0.7.0
-> installed bos.0.2.1
-> installed dune.3.17.1
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed asn1-combinators.0.3.2
-> installed base64.3.5.1
-> installed domain-name.0.4.0
-> installed eqaf.0.10
-> installed gmap.0.3.0
-> installed macaddr.5.6.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ohex.0.2.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.8.0
-> installed dune-configurator.3.17.1
-> installed mirage-crypto.1.1.0
-> installed kdf.1.0.0
-> installed mirage-crypto-rng.1.1.0
-> installed mirage-crypto-pk.1.1.0
-> installed mirage-crypto-ec.1.1.0
-> installed x509.1.0.5
Done.
# To update the current shell environment, run: eval $(opam env)
2025-01-18 01:57.29 ---> saved as "c2314c052bddfa9a0c4dd97b82de0894894d3226f793c86a40f0a36cc744c890"
/src: (copy (src .) (dst /src))
2025-01-18 01:57.29 ---> saved as "ea14b46f82111522e25113ac3125a0a3e345dcc25c65a7e758811933d7760f33"
/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 `6A4KPBI7'.
[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-01-18 01:57.31 ---> saved as "f4b99707848824a101fc9345cd84890fb8ac8bf4cacb3653b2027b25d78d3d02"
Job succeeded
2025-01-18 01:57.31: Job succeeded