Organisationsmirageca-certs37370b (dependabot/github_actions/actions/checkout-6)alpine-3.22-4.14_opam-2.4

alpine-3.22-4.14_opam-2.4

Logs

Show full logs
2025-11-26 10:34.49: New job: test mirage/ca-certs https://github.com/mirage/ca-certs.git#refs/heads/dependabot/github_actions/actions/checkout-6 (37370b5424640be2262939b4674e646e4afe8859) (linux-x86_64:alpine-3.22-4.14_opam-2.4)
Base: ocaml/opam:alpine-3.22-ocaml-4.14@sha256:035343faa2345fbb738069f2d899570ced75942aab3c76ec7fd2353ed127049a
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/mirage/ca-certs.git" -b "dependabot/github_actions/actions/checkout-6" && cd "ca-certs" && git reset --hard 37370b54
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.22-ocaml-4.14@sha256:035343faa2345fbb738069f2d899570ced75942aab3c76ec7fd2353ed127049a
# alpine-3.22-4.14_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 8a324a5b9945e0e515da441ede437f3756caa83d || git fetch origin master) && git reset -q --hard 8a324a5b9945e0e515da441ede437f3756caa83d && 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.1 asn1-combinators.0.3.2 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base base64.3.5.2 bos.0.2.1 cmdliner.2.1.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 csexp.1.5.2 digestif.1.3.0 domain-name.0.5.0 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 eqaf.0.10 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 ipaddr.5.6.1 kdf.1.0.0 logs.0.10.0 macaddr.5.6.1 mirage-crypto.2.0.2 mirage-crypto-ec.2.0.2 mirage-crypto-pk.2.0.2 mirage-crypto-rng.2.0.2 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.14.0 rresult.0.7.0 stdlib-shims.0.3.0 topkg.1.1.1 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.4 --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-11-26 10:34.49: Using cache hint "mirage/ca-certs-ocaml/opam:alpine-3.22-ocaml-4.14@sha256:035343faa2345fbb738069f2d899570ced75942aab3c76ec7fd2353ed127049a-alpine-3.22-4.14_opam-2.4-33c0a22cd4fa17dc2e109b4549efb310"
2025-11-26 10:34.49: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:035343faa2345fbb738069f2d899570ced75942aab3c76ec7fd2353ed127049a)
 (comment alpine-3.22-4.14_opam-2.4)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.4 /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 8a324a5b9945e0e515da441ede437f3756caa83d || git fetch origin master) && git reset -q --hard 8a324a5b9945e0e515da441ede437f3756caa83d && 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.1 asn1-combinators.0.3.2 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base base64.3.5.2 bos.0.2.1 cmdliner.2.1.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 csexp.1.5.2 digestif.1.3.0 domain-name.0.5.0 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 eqaf.0.10 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 ipaddr.5.6.1 kdf.1.0.0 logs.0.10.0 macaddr.5.6.1 mirage-crypto.2.0.2 mirage-crypto-ec.2.0.2 mirage-crypto-pk.2.0.2 mirage-crypto-rng.2.0.2 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.14.0 rresult.0.7.0 stdlib-shims.0.3.0 topkg.1.1.1 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.4 --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-11-26 10:34.49: Waiting for resource in pool OCluster
2025-11-26 13:03.46: Waiting for worker…
2025-11-26 13:06.10: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 37370b5 Bump actions/checkout from 4 to 6

(from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:035343faa2345fbb738069f2d899570ced75942aab3c76ec7fd2353ed127049a)
Unable to find image 'ocaml/opam:alpine-3.22-ocaml-4.14@sha256:035343faa2345fbb738069f2d899570ced75942aab3c76ec7fd2353ed127049a' locally
docker.io/ocaml/opam@sha256:035343faa2345fbb738069f2d899570ced75942aab3c76ec7fd2353ed127049a: Pulling from ocaml/opam
2c9a24bd0ce4: Pulling fs layer
de1201c0f399: Pulling fs layer
92199d46e383: Pulling fs layer
8a5f26de7def: Pulling fs layer
204282843001: Pulling fs layer
92199d46e383: Waiting
8a5f26de7def: Waiting
204282843001: Waiting
2c9a24bd0ce4: Verifying Checksum
2c9a24bd0ce4: Download complete
92199d46e383: Download complete
8a5f26de7def: Verifying Checksum
8a5f26de7def: Download complete
204282843001: Download complete
de1201c0f399: Verifying Checksum
de1201c0f399: Download complete
2c9a24bd0ce4: Pull complete
de1201c0f399: Pull complete
92199d46e383: Pull complete
8a5f26de7def: Pull complete
204282843001: Pull complete
Digest: sha256:035343faa2345fbb738069f2d899570ced75942aab3c76ec7fd2353ed127049a
Status: Downloaded newer image for ocaml/opam@sha256:035343faa2345fbb738069f2d899570ced75942aab3c76ec7fd2353ed127049a
2025-11-26 13:06.11 ---> using "531dd882a2fae5a34a8bfa5ee93af1613955008dcdcd99be6da6c29a1733a42a" from cache

/: (comment alpine-3.22-4.14_opam-2.4)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-11-26 13:06.11 ---> using "507063c1b74fbf3591b8000707f7141e7d9263d8707fc37dd0f49dd169f30a0e" 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 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-11-26 13:06.11 ---> using "9c483a511ef96a52f51b043d9ac3558120b21c5b1ee58da619fececf35d4bbe3" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-87-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-11-26 13:06.11 ---> using "8583fff5f319370dc175e995aba62ffa8bba24dfc424b8cb54be47bff1efb9f1" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-11-26 13:06.11 ---> using "f745faa311875526e7918f3f5c3730ebabbe660136bddf1ce47776bee50c9aa0" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 8a324a5b9945e0e515da441ede437f3756caa83d || git fetch origin master) && git reset -q --hard 8a324a5b9945e0e515da441ede437f3756caa83d && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   21f97b2e6d..cdece73aa3  master     -> origin/master
8a324a5b99 Add: cmdliner.2.1.0 (#28962)

<><> 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 at these versions (e.g. "opam upgrade ocaml.5.4.0"), 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-11-26 13:06.11 ---> using "09f68740051af74ef95146674842d219dd8ac01f77f997107a30e033aee9032d" from cache

/src: (copy (src ca-certs.opam) (dst ./))
2025-11-26 13:06.11 ---> using "1823501319cdae2f435f0ea227e643ae2337752d04eeef484702726e2459be18" 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-11-26 13:06.11 ---> using "a49daf665cb3cf62de62441d32027d8da9a5bc418f9e380573ea95c85e4fd678" from cache

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-11-26 13:06.11 ---> using "282c6349f07b384ceb3eed1dc21d472f4b36edbc37cd6936df15c42f5fdc593d" from cache

/src: (env DEPS "alcotest.1.9.1 asn1-combinators.0.3.2 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base base64.3.5.2 bos.0.2.1 cmdliner.2.1.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 csexp.1.5.2 digestif.1.3.0 domain-name.0.5.0 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 eqaf.0.10 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 ipaddr.5.6.1 kdf.1.0.0 logs.0.10.0 macaddr.5.6.1 mirage-crypto.2.0.2 mirage-crypto-ec.2.0.2 mirage-crypto-pk.2.0.2 mirage-crypto-rng.2.0.2 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.14.0 rresult.0.7.0 stdlib-shims.0.3.0 topkg.1.1.1 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.4 --depext-only -y ca-certs.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/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.22.2-251-gc9707f079fc [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.2-249-g3df576da7fc [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v20251016-3365-g4ae03de926e [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20251016-3363-g7502a2752e5 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20251016-3352-g979f14ab304 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 60241 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 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-dev

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

+ /usr/bin/sudo "apk" "add" "gmp-dev"
- (1/2) Installing libgmpxx (6.3.0-r3)
- (2/2) Installing gmp-dev (6.3.0-r3)
- OK: 307 MiB in 104 packages
2025-11-26 13:06.11 ---> using "ae5b1e2b39829d18f6039ea925a1f927991917278a6592fe5ee0744f5819686d" 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 39 packages
  - install alcotest           1.9.1
  - install asn1-combinators   0.3.2
  - install astring            0.8.5
  - install base64             3.5.2
  - install bos                0.2.1
  - install cmdliner           2.1.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.5.0
  - install dune               3.20.2
  - install dune-configurator  3.20.2
  - install duration           0.2.1
  - install eqaf               0.10
  - install fmt                0.11.0
  - install fpath              0.7.3
  - install gmap               0.3.0
  - install ipaddr             5.6.1
  - install kdf                1.0.0
  - install logs               0.10.0
  - install macaddr            5.6.1
  - install mirage-crypto      2.0.2
  - install mirage-crypto-ec   2.0.2
  - install mirage-crypto-pk   2.0.2
  - install mirage-crypto-rng  2.0.2
  - 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.14.0
  - install rresult            0.7.0
  - install stdlib-shims       0.3.0
  - install topkg              1.1.1
  - install uutf               1.0.4
  - install x509               1.0.6
  - install zarith             1.14

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (cached)
-> retrieved asn1-combinators.0.3.2  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base64.3.5.2  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-gmp-powm-sec.4  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> retrieved domain-name.0.5.0  (cached)
-> installed conf-gmp-powm-sec.4
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved gmap.0.3.0  (cached)
-> retrieved ipaddr.5.6.1, macaddr.5.6.1  (cached)
-> retrieved kdf.1.0.0  (cached)
-> retrieved logs.0.10.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.20.2, dune-configurator.3.20.2  (cached)
-> retrieved mirage-crypto.2.0.2, mirage-crypto-ec.2.0.2, mirage-crypto-pk.2.0.2, mirage-crypto-rng.2.0.2  (cached)
-> retrieved ohex.0.2.0  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.1.1  (cached)
-> installed cmdliner.2.1.0
-> 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.1.1
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed logs.0.10.0
-> installed bos.0.2.1
-> installed dune.3.20.2
-> installed duration.0.2.1
-> installed gmap.0.3.0
-> installed ohex.0.2.0
-> installed base64.3.5.2
-> installed domain-name.0.5.0
-> installed csexp.1.5.2
-> installed asn1-combinators.0.3.2
-> installed eqaf.0.10
-> installed macaddr.5.6.1
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.14.0
-> installed stdlib-shims.0.3.0
-> installed ipaddr.5.6.1
-> installed digestif.1.3.0
-> installed alcotest.1.9.1
-> installed dune-configurator.3.20.2
-> installed mirage-crypto.2.0.2
-> installed kdf.1.0.0
-> installed mirage-crypto-rng.2.0.2
-> installed mirage-crypto-pk.2.0.2
-> installed mirage-crypto-ec.2.0.2
-> installed x509.1.0.6
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-26 13:06.11 ---> using "7eb56aec317eefefd7afe34ebeb9d48fd758e3c81a7e4ec28adc06c38427ec1a" from cache

/src: (copy (src .) (dst /src))
2025-11-26 13:06.11 ---> saved as "c04137c839f77944df1bfa0365478f84103c69f3fe4923709331993e6a760b99"

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

  [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-11-26 13:06.12 ---> saved as "cc02378f89a0378605c597b1b1c537598e6a1d430a8667d3188eb22d4dc221f7"
Job succeeded
2025-11-26 13:06.12: Job succeeded