Organisationsmirageca-certs08765a ()opensuse-15.6-4.14_opam-2.3

opensuse-15.6-4.14_opam-2.3

Link Copied
Code Copied

Logs

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:opensuse-15.6-4.14_opam-2.3)
Base: ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:b86121fc3de588dc0cc6cdb3e334b34f324a0d5e1af53f2dd6fc5d677ccb1f42
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:opensuse-15.6-ocaml-4.14@sha256:b86121fc3de588dc0cc6cdb3e334b34f324a0d5e1af53f2dd6fc5d677ccb1f42
# 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 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-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.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.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:opensuse-15.6-ocaml-4.14@sha256:b86121fc3de588dc0cc6cdb3e334b34f324a0d5e1af53f2dd6fc5d677ccb1f42-opensuse-15.6-4.14_opam-2.3-9975481c6b9193b060fb1a23f1fae9fe"
2025-04-15 16:33.09: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:b86121fc3de588dc0cc6cdb3e334b34f324a0d5e1af53f2dd6fc5d677ccb1f42)
(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 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-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.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.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.04: 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:opensuse-15.6-ocaml-4.14@sha256:b86121fc3de588dc0cc6cdb3e334b34f324a0d5e1af53f2dd6fc5d677ccb1f42)
Unable to find image 'ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:b86121fc3de588dc0cc6cdb3e334b34f324a0d5e1af53f2dd6fc5d677ccb1f42' locally
docker.io/ocaml/opam@sha256:b86121fc3de588dc0cc6cdb3e334b34f324a0d5e1af53f2dd6fc5d677ccb1f42: Pulling from ocaml/opam
c76fd876b2f2: Pulling fs layer
c76fd876b2f2: Verifying Checksum
c76fd876b2f2: Download complete
c76fd876b2f2: Pull complete
Digest: sha256:b86121fc3de588dc0cc6cdb3e334b34f324a0d5e1af53f2dd6fc5d677ccb1f42
Status: Downloaded newer image for ocaml/opam@sha256:b86121fc3de588dc0cc6cdb3e334b34f324a0d5e1af53f2dd6fc5d677ccb1f42
2025-04-15 16:44.05 ---> using "3b7e8a4fb21f4034347e11519504df3808a360be032bbbf7c465c3f2423c3629" 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-15 16:44.05 ---> using "f8d64e200258fee472f888537ceb960c5e22e288e48e49d7c445bb7a8c255d27" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-04-15 16:44.05 ---> using "a3c6816a84321cb1d33a816e8ee54eaa422a535338cf11ec5af37a2e19e94ad1" 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-15 16:44.05 ---> using "7528dbfbe3383afd600072bc24930dbc369ace9c55e70a3b9e75078fd5686756" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-04-15 16:44.05 ---> using "4fad7a1ddfe50de196575d881f4ad00b5db49adda955546e96b25a8a842f96a5" 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"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
a8ed476033..70b82be6e2  master     -> origin/master
ebbcec92a0 Merge pull request #23330 from mseri/fix-gmp


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[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-04-15 16:44.05 ---> using "2df5680fd23be09b5662b6ccb1367a3d0d94e664d80763e9c4a908ca95f9a4c9" from cache


/src: (copy (src ca-certs.opam) (dst ./))
2025-04-15 16:44.05 ---> using "061a2864772df7f4e6d255ec432db99dc66904913ac7c77eb8f127660e054f61" 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.05 ---> using "44f2e1afb11572d587b4b190edf79d38ddf6add3c7bc7d50990000bfe98e6511" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-04-15 16:44.05 ---> using "2e160e9b6bc458df2fe64ddccd62bcbacbf25b8c2914cdf4248b1d1064625338" from cache


/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.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.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.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 "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]
- Retrieving repository 'Update Repository (Non-Oss)' metadata [..
- ......done]
- Building repository 'Update Repository (Non-Oss)' cache [....done]
- 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 (5.1 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-15 16:44.05 ---> using "f600960b07834bc1bbc543b238dfdbf0f27e6d6bec860c2308264c2232197077" 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 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.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 alcotest.1.9.0  (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)
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.10  (cached)
-> installed conf-gmp-powm-sec.4
-> 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 dune.3.18.0, dune-configurator.3.18.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> 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 rresult.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.0.8  (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 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 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.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.05 ---> using "ee0e32977e2bdce6b371d707d48457551d3b8e52dddd0dd856a3350013f57b6c" from cache


/src: (copy (src .) (dst /src))
2025-04-15 16:44.05 ---> saved as "4acbf90463f00649cba56894d4a6806217ff947fb500b34b40e71ef0c5ade2a7"


/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 `6ZAIB8MT'.


[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:47] ['uname' '-s']
2025-04-15 16:44.06 ---> saved as "465e9d1e4a87c354acc15fc833b89c41bb949598d54f36e86a070b2c4e7c2161"
Job succeeded
2025-04-15 16:44.07: Job succeeded