Organisationsmirageca-certs319c8a (main)fedora-41-4.14_opam-2.3

fedora-41-4.14_opam-2.3

Logs

Show full logs
2025-04-18 18:27.47: New job: test mirage/ca-certs https://github.com/mirage/ca-certs.git#refs/heads/main (319c8a6e7c06da6a4fc3dab5db41cdd28be2e9cf) (linux-x86_64:fedora-41-4.14_opam-2.3)
Base: ocaml/opam:fedora-41-ocaml-4.14@sha256:14d377975426471f4b1d67396474437023ebf81493e48d1e3e6ab15a35b057e1
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:fedora-41-ocaml-4.14@sha256:14d377975426471f4b1d67396474437023ebf81493e48d1e3e6ab15a35b057e1
# fedora-41-4.14_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 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:27.47: Using cache hint "mirage/ca-certs-ocaml/opam:fedora-41-ocaml-4.14@sha256:14d377975426471f4b1d67396474437023ebf81493e48d1e3e6ab15a35b057e1-fedora-41-4.14_opam-2.3-3aad463a3f71735c616ce6f27f66727b"
2025-04-18 18:27.47: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-4.14@sha256:14d377975426471f4b1d67396474437023ebf81493e48d1e3e6ab15a35b057e1)
 (comment fedora-41-4.14_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 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:27.47: Waiting for resource in pool OCluster
2025-04-18 20:32.41: Waiting for worker…
2025-04-18 20:35.14: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 319c8a6 changes for 1.0.1

(from ocaml/opam:fedora-41-ocaml-4.14@sha256:14d377975426471f4b1d67396474437023ebf81493e48d1e3e6ab15a35b057e1)
2025-04-18 21:10.09 ---> using "1a5da118544e048938c91250565bc7be370509f46ff96c9f5048110c5f746a01" from cache

/: (comment fedora-41-4.14_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 - Updates           100% |  72.0 KiB/s |  23.8 KiB |  00m00s
 Fedora 41 - x86_64 - Updates           100% |   3.2 MiB/s |   4.0 MiB |  00m01s
Repositories loaded.
Package "findutils-1:4.10.0-4.fc41.x86_64" is already installed.

Nothing to do.
2025-04-18 21:10.09 ---> using "97c65539079f33242057540a7cdad3f24b80ee3c48233ce1e9b3b8bbd9b6aaf3" from cache

/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-04-18 21:10.09 ---> using "e03048cac9921b6106c51c2db65d59d6674eac82c9cd3f02215d3676f9265f96" 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-18 21:10.09 ---> using "17b43395530846d4f31630da67b0f016418b81deb813f3a3d548542e01d9afab" 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 21:10.09 ---> using "83ff5a8b13f6ea41013dd49a5d61043ed65b0ff50446878d234d1e47fb7c21e4" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-04-18 21:10.09 ---> using "44b12a379979d2a75ca2d506eb078fecd96a47811125849c32ea38fbcad28ed4" 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 21:10.09 ---> using "04c863c862cc1ccc6404961e28c1790011ce018422103ba74ce69544b3737113" from cache

/src: (copy (src ca-certs.opam) (dst ./))
2025-04-18 21:10.09 ---> saved as "e32f373a47736350015d2a9a0c3e9fced869d3b3ec7aba7c007c90b7b7edd20b"

/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 21:10.10 ---> saved as "dd194799afca07f2a10a1016a18f09daa030d53103ec184f1e3b32a05a37d85e"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-04-18 21:10.10 ---> saved as "99232e306f5c79aa24b9ec75cb3a50f8c5c9097fdc2dee75c7fd5750a233ed98"

/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 "yum" "makecache"
- Updating and loading repositories:
- 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 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 "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% | 358.3 KiB/s |  18.6 KiB |  00m00s
- [2/2] gmp-devel-1:6.3.0-2.fc41.x86_64   100% |   2.8 MiB/s | 174.4 KiB |  00m00s
- --------------------------------------------------------------------------------
- [2/2] Total                             100% | 906.3 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% |  54.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.5 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-18 21:10.21 ---> saved as "d52f76efd280041e4b9838985c11052240ceeb4ef5b900e0eae1f7c9eb3d985f"

/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)
-> 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.3.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (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 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.4  (cached)
-> retrieved zarith.1.14  (cached)
-> installed cmdliner.1.3.0
-> installed seq.base
-> retrieved topkg.1.0.8  (cached)
-> retrieved x509.1.0.6  (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 fpath.0.7.3
-> installed logs.0.8.0
-> installed bos.0.2.1
-> installed dune.3.18.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.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.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:11.03 ---> saved as "37a522432ba9251e00c77e8e0d7a9598290703dd8b0f7c5bb3478bc43764d1e4"

/src: (copy (src .) (dst /src))
2025-04-18 21:11.03 ---> saved as "584aa8520e6f936e23e254fcbfd25e093c62b8a9d57f3c44118b9de30a07f815"

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

  [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:46] ['uname' '-s']
2025-04-18 21:11.04 ---> saved as "c240ea6ada2e9e5e181035c20ac6411fba68bcb3f4411f73ca67249f3c550359"
Job succeeded
2025-04-18 21:11.04: Job succeeded