(for PR #26626)

2024-09-26 18:19.23: New job: test jose.0.9.0 with conf-gmp.4, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/26626/head (f0506c7525c71122bbde4b8548e98795d0ded492)
                              on debian-12-ocaml-4.14/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/26626/head" && git reset --hard f0506c75
git fetch origin master
git merge --no-edit e8adc678c94cce378a663563e9f1c2eb1248708d
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:83eb8e3ba152b14f5ff0810475c7d6b279f23511d6f1bf34f2ab1e35802f9232
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="1000"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn conf-gmp.4 4
RUN opam reinstall conf-gmp.4; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'conf-gmp.4' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam option solver=builtin-0install
RUN opam reinstall jose.0.9.0; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'jose.0.9.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam option solver=builtin-0install
RUN (opam reinstall --with-test jose.0.9.0) || true
RUN opam reinstall --with-test --verbose jose.0.9.0; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'jose.0.9.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2024-09-26 18:19.23: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:83eb8e3ba152b14f5ff0810475c7d6b279f23511d6f1bf34f2ab1e35802f9232-conf-gmp.4-jose.0.9.0-f0506c7525c71122bbde4b8548e98795d0ded492"
2024-09-26 18:19.23: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:83eb8e3ba152b14f5ff0810475c7d6b279f23511d6f1bf34f2ab1e35802f9232)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMSOLVERTIMEOUT 1000)
 (env OPAMPRECISETRACKING 1)
 (env CI true)
 (env OPAM_REPO_CI true)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (run (shell "opam pin add -k version -yn conf-gmp.4 4"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall conf-gmp.4;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'conf-gmp.4' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (shell "opam option solver=builtin-0install"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall jose.0.9.0;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'jose.0.9.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (shell "opam option solver=builtin-0install"))
 (run (network host)
      (shell "(opam reinstall --with-test jose.0.9.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose jose.0.9.0;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'jose.0.9.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2024-09-26 18:19.23: Connecting to build cluster…
2024-09-26 18:19.23: Waiting for resource in pool OCluster
2024-09-26 18:53.54: Waiting for worker…
2024-09-26 18:59.19: Got resource from pool OCluster
Building on x86-bm-c14.sw.ocaml.org
All commits already cached
Updating files:  50% (16219/32305)
Updating files:  51% (16476/32305)
Updating files:  52% (16799/32305)
Updating files:  53% (17122/32305)
Updating files:  54% (17445/32305)
Updating files:  55% (17768/32305)
Updating files:  56% (18091/32305)
Updating files:  57% (18414/32305)
Updating files:  58% (18737/32305)
Updating files:  59% (19060/32305)
Updating files:  60% (19383/32305)
Updating files:  61% (19707/32305)
Updating files:  62% (20030/32305)
Updating files:  63% (20353/32305)
Updating files:  64% (20676/32305)
Updating files:  65% (20999/32305)
Updating files:  66% (21322/32305)
Updating files:  67% (21645/32305)
Updating files:  68% (21968/32305)
Updating files:  69% (22291/32305)
Updating files:  70% (22614/32305)
Updating files:  71% (22937/32305)
Updating files:  72% (23260/32305)
Updating files:  73% (23583/32305)
Updating files:  74% (23906/32305)
Updating files:  75% (24229/32305)
Updating files:  76% (24552/32305)
Updating files:  77% (24875/32305)
Updating files:  78% (25198/32305)
Updating files:  79% (25521/32305)
Updating files:  80% (25844/32305)
Updating files:  81% (26168/32305)
Updating files:  82% (26491/32305)
Updating files:  83% (26814/32305)
Updating files:  84% (27137/32305)
Updating files:  85% (27460/32305)
Updating files:  86% (27783/32305)
Updating files:  86% (27991/32305)
Updating files:  87% (28106/32305)
Updating files:  88% (28429/32305)
Updating files:  89% (28752/32305)
Updating files:  90% (29075/32305)
Updating files:  91% (29398/32305)
Updating files:  92% (29721/32305)
Updating files:  93% (30044/32305)
Updating files:  94% (30367/32305)
Updating files:  95% (30690/32305)
Updating files:  96% (31013/32305)
Updating files:  97% (31336/32305)
Updating files:  98% (31659/32305)
Updating files:  99% (31982/32305)
Updating files: 100% (32305/32305)
Updating files: 100% (32305/32305), done.
HEAD is now at e8adc678c9 Merge pull request #26618 from samoht/release-semaphore-compat-1.0.2
Updating e8adc678c9..f0506c7525
Fast-forward
 packages/conf-gmp/conf-gmp.4/opam | 2 ++
 1 file changed, 2 insertions(+)

(from ocaml/opam:debian-12-ocaml-4.14@sha256:83eb8e3ba152b14f5ff0810475c7d6b279f23511d6f1bf34f2ab1e35802f9232)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:83eb8e3ba152b14f5ff0810475c7d6b279f23511d6f1bf34f2ab1e35802f9232' locally
docker.io/ocaml/opam@sha256:83eb8e3ba152b14f5ff0810475c7d6b279f23511d6f1bf34f2ab1e35802f9232: Pulling from ocaml/opam
6226aed9c1e0: Pulling fs layer
6226aed9c1e0: Verifying Checksum
6226aed9c1e0: Download complete
6226aed9c1e0: Pull complete
Digest: sha256:83eb8e3ba152b14f5ff0810475c7d6b279f23511d6f1bf34f2ab1e35802f9232
Status: Downloaded newer image for ocaml/opam@sha256:83eb8e3ba152b14f5ff0810475c7d6b279f23511d6f1bf34f2ab1e35802f9232
2024-09-26 18:59.23 ---> using "9f935925852be372324c6cdf4f05c89f9b5031bbe1acaf84acd7af6f02e607d0" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-09-26 18:59.23 ---> using "bd3e443ba2dcdd419af02413d60937c774cea854eb790791d565262229911796" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally 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
2024-09-26 18:59.23 ---> using "afca9c747d6823a7260ee624c089788223b71d9bb12bfdafeb836afddb958cf4" from cache

/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-121-generic
The OCaml toplevel, version 4.14.2
2.3.0~alpha~dev
2024-09-26 18:59.23 ---> using "fb98f83c9c31cd0d1d8ccadb54901ab66bfbc2ced13ed6caa7d2d11e909f8445" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMSOLVERTIMEOUT 1000)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (env CI true)

/home/opam: (env OPAM_REPO_CI true)

/home/opam: (run (shell "rm -rf opam-repository/"))
2024-09-26 18:59.23 ---> using "2ac1aead662973a0e82c58deefd93ab706ec7a6466306fca69d77a56fb9af215" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2024-09-26 18:59.25 ---> using "d6da0930f7c81b37e159805a03260da2d016fa604395c4e82f5f6d92a27b0801" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-09-26 18:59.25 ---> using "dca8712947489c6d3fcaeda0be7dac70d1f6b96e9a0bccdd3c2ed303b787ca8d" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [182 kB]
- Fetched 286 kB in 0s (608 kB/s)
- Reading package lists...
- 
2024-09-26 18:59.25 ---> using "6e19d7592917dd48ece6173a74687c50e002508e08ecf17d1f0be9d0cde866a2" from cache

/home/opam: (run (shell "opam pin add -k version -yn conf-gmp.4 4"))
conf-gmp is now pinned to version 4
2024-09-26 18:59.25 ---> using "9ee39dda91fd79a67d767811d832aeb523088e8ed22f7bda9001823f40c2c6a6" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall conf-gmp.4;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'conf-gmp.4' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
conf-gmp.4 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 1 package
  - install conf-gmp 4 (pinned)

The following system packages will first need to be installed:
    libgmp-dev

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

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18745 files and directories currently installed.)
- Preparing to unpack .../libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Processing triggers for libc-bin (2.36-9+deb12u8) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-gmp.4  (cached)
-> installed conf-gmp.4
Done.
# To update the current shell environment, run: eval $(opam env)
2024-09-26 18:59.25 ---> using "d803308ee027044f1c8e3f9067350dea57cc153bca8e6e496c93ec9aa9eac0fa" from cache

/home/opam: (run (shell "opam option solver=builtin-0install"))
Set to 'builtin-0install' the field solver in global configuration
2024-09-26 18:59.25 ---> using "39d7606004f43a3eeadb3bee5aa1799a82f0bf91eb84bfa9b4be5f63e8d0ae37" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall jose.0.9.0;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'jose.0.9.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
jose.0.9.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 32 packages
  - install asn1-combinators  0.2.6   [required by x509]
  - install astring           0.8.5   [required by jose]
  - install base64            3.5.1   [required by jose]
  - install conf-gmp-powm-sec 3       [required by mirage-crypto-pk]
  - install conf-pkg-config   3       [required by zarith]
  - install csexp             1.5.2   [required by dune-configurator]
  - install cstruct           6.2.0   [required by jose]
  - install domain-name       0.4.0   [required by x509]
  - install dune              3.16.0  [required by jose]
  - install dune-configurator 3.16.0  [required by mirage-crypto]
  - install duration          0.2.1   [required by mirage-crypto-rng]
  - install eqaf              0.9     [required by jose]
  - install fmt               0.9.0   [required by cstruct, x509]
  - install gmap              0.3.0   [required by x509]
  - install ipaddr            5.6.0   [required by x509]
  - install jose              0.9.0
  - install logs              0.7.0   [required by x509]
  - install macaddr           5.6.0   [required by ipaddr]
  - install mirage-crypto     0.11.3  [required by jose]
  - install mirage-crypto-ec  0.11.3  [required by x509]
  - install mirage-crypto-pk  0.11.3  [required by x509]
  - install mirage-crypto-rng 0.11.3  [required by x509]
  - install ocamlbuild        0.15.0  [required by astring, ptime]
  - install ocamlfind         1.9.6   [required by astring, ptime]
  - install pbkdf             1.2.0   [required by x509]
  - install ptime             1.2.0   [required by jose]
  - install seq               base    [required by yojson]
  - install sexplib0          v0.17.0 [required by mirage-crypto-pk]
  - install topkg             1.0.7   [required by astring, ptime]
  - install x509              0.16.5  [required by jose]
  - install yojson            2.2.2   [required by jose]
  - install zarith            1.14    [required by jose]

The following system packages will first need to be installed:
    pkg-config

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

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libpkgconf3:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18767 files and directories currently installed.)
- Preparing to unpack .../libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u8) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved asn1-combinators.0.2.6  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved conf-gmp-powm-sec.3  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.3
-> installed conf-gmp-powm-sec.3
-> retrieved cstruct.6.2.0  (cached)
-> retrieved domain-name.0.4.0  (cached)
-> retrieved dune.3.16.0, dune-configurator.3.16.0  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.9  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved gmap.0.3.0  (cached)
-> retrieved ipaddr.5.6.0, macaddr.5.6.0  (cached)
-> retrieved jose.0.9.0  (https://github.com/ulrikstrid/reason-jose/releases/download/v0.9.0/jose-v0.9.0.tbz)
-> retrieved logs.0.7.0  (cached)
-> retrieved mirage-crypto.0.11.3, mirage-crypto-ec.0.11.3, mirage-crypto-pk.0.11.3, mirage-crypto-rng.0.11.3  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved pbkdf.1.2.0  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved x509.0.16.5  (cached)
-> retrieved yojson.2.2.2  (cached)
-> retrieved zarith.1.14  (cached)
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.15.0
-> installed zarith.1.14
-> installed topkg.1.0.7
-> installed fmt.0.9.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed logs.0.7.0
-> installed dune.3.16.0
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed cstruct.6.2.0
-> installed domain-name.0.4.0
-> installed gmap.0.3.0
-> installed macaddr.5.6.0
-> installed sexplib0.v0.17.0
-> installed yojson.2.2.2
-> installed eqaf.0.9
-> installed asn1-combinators.0.2.6
-> installed ipaddr.5.6.0
-> installed dune-configurator.3.16.0
-> installed mirage-crypto.0.11.3
-> installed pbkdf.1.2.0
-> installed mirage-crypto-rng.0.11.3
-> installed mirage-crypto-pk.0.11.3
-> installed mirage-crypto-ec.0.11.3
-> installed x509.0.16.5
-> installed jose.0.9.0
Done.
# To update the current shell environment, run: eval $(opam env)
2024-09-26 19:00.31 ---> saved as "7b18aad389e45d3726e4a0da291123178e4a3d082467b18bf04f8f950d92fa8d"

/home/opam: (run (shell "opam option solver=builtin-0install"))
No modification in global configuration
2024-09-26 19:00.31 ---> saved as "69ae6cc8d3135b8a06f021ef462266bbf162130e6b59be87e23d1681e346db87"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test jose.0.9.0) || true"))
The following actions will be performed:
=== downgrade 4 packages
  - downgrade mirage-crypto       0.11.3 to 0.10.7 [required by jose]
  - downgrade mirage-crypto-ec    0.11.3 to 0.10.7 [uses mirage-crypto]
  - downgrade mirage-crypto-pk    0.11.3 to 0.10.7 [uses mirage-crypto]
  - downgrade mirage-crypto-rng   0.11.3 to 0.10.7 [required by jose]
=== recompile 8 packages
  - recompile asn1-combinators    0.2.6            [uses cstruct]
  - recompile cstruct             6.2.0            [uses fmt]
  - recompile eqaf                0.9              [uses cstruct]
  - recompile fmt                 0.9.0            [uses cmdliner]
  - recompile jose                0.9.0
  - recompile logs                0.7.0            [uses lwt]
  - recompile pbkdf               1.2.0            [uses mirage-crypto]
  - recompile x509                0.16.5           [uses mirage-crypto]
=== install 22 packages
  - install   alcotest            1.8.0            [required by jose]
  - install   base-bytes          base             [required by ocplib-endian]
  - install   bisect_ppx          2.8.3            [required by jose]
  - install   cmdliner            1.3.0            [required by alcotest, bisect_ppx]
  - install   containers          3.14             [required by jose]
  - install   cppo                1.7.0            [required by lwt]
  - install   either              1.0.0            [required by containers]
  - install   junit               2.0.2            [required by jose]
  - install   junit_alcotest      2.0.2            [required by jose]
  - install   lwt                 5.7.0            [required by mirage-crypto-rng]
  - install   mirage-no-solo5     1                [required by mirage-crypto-pk]
  - install   mirage-no-xen       1                [required by mirage-crypto-pk]
  - install   mtime               2.1.0            [required by mirage-crypto-rng]
  - install   ocaml-compiler-libs v0.12.4          [required by ppxlib]
  - install   ocaml-syntax-shims  1.0.0            [required by alcotest]
  - install   ocplib-endian       1.2              [required by lwt]
  - install   ppx_derivers        1.2.1            [required by ppxlib]
  - install   ppxlib              0.33.0           [required by bisect_ppx]
  - install   re                  1.12.0           [required by alcotest]
  - install   stdlib-shims        0.3.0            [required by alcotest]
  - install   tyxml               4.6.0            [required by junit]
  - install   uutf                1.0.3            [required by alcotest]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.8.0  (https://github.com/mirage/alcotest/releases/download/1.8.0/alcotest-1.8.0.tbz)
-> retrieved asn1-combinators.0.2.6  (https://github.com/mirleft/ocaml-asn1-combinators/releases/download/v0.2.6/asn1-combinators-v0.2.6.tbz)
-> installed base-bytes.base
-> retrieved bisect_ppx.2.8.3  (https://github.com/aantron/bisect_ppx/archive/2.8.3.tar.gz)
-> retrieved cmdliner.1.3.0  (https://erratique.ch/software/cmdliner/releases/cmdliner-1.3.0.tbz)
-> retrieved containers.3.14  (https://github.com/c-cube/ocaml-containers/releases/download/v3.14/containers-3.14.tbz)
-> retrieved cppo.1.7.0  (https://github.com/ocaml-community/cppo/archive/refs/tags/v1.7.0.tar.gz)
-> retrieved cstruct.6.2.0  (https://github.com/mirage/ocaml-cstruct/releases/download/v6.2.0/cstruct-6.2.0.tbz)
-> retrieved either.1.0.0  (https://github.com/mirage/either/releases/download/1.0.0/either-1.0.0.tbz)
-> installed cppo.1.7.0
-> installed either.1.0.0
-> retrieved eqaf.0.9  (https://github.com/mirage/eqaf/releases/download/v0.9/eqaf-0.9.tbz)
-> retrieved fmt.0.9.0  (https://erratique.ch/software/fmt/releases/fmt-0.9.0.tbz)
-> retrieved jose.0.9.0  (https://github.com/ulrikstrid/reason-jose/releases/download/v0.9.0/jose-v0.9.0.tbz)
-> installed cmdliner.1.3.0
-> installed containers.3.14
-> retrieved junit.2.0.2, junit_alcotest.2.0.2  (https://github.com/Khady/ocaml-junit/releases/download/2.0.2/junit-2.0.2.tbz)
-> retrieved logs.0.7.0  (https://erratique.ch/software/logs/releases/logs-0.7.0.tbz)
-> retrieved lwt.5.7.0  (https://github.com/ocsigen/lwt/archive/refs/tags/5.7.0.tar.gz)
-> retrieved mirage-crypto.0.10.7, mirage-crypto-ec.0.10.7, mirage-crypto-pk.0.10.7, mirage-crypto-rng.0.10.7  (https://github.com/mirage/mirage-crypto/releases/download/v0.10.7/mirage-crypto-0.10.7.tbz)
-> installed mirage-no-solo5.1
-> installed mirage-no-xen.1
-> retrieved mtime.2.1.0  (https://erratique.ch/software/mtime/releases/mtime-2.1.0.tbz)
-> retrieved ocaml-compiler-libs.v0.12.4  (https://github.com/janestreet/ocaml-compiler-libs/releases/download/v0.12.4/ocaml-compiler-libs-v0.12.4.tbz)
-> installed mtime.2.1.0
-> retrieved ocaml-syntax-shims.1.0.0  (https://github.com/ocaml-ppx/ocaml-syntax-shims/releases/download/1.0.0/ocaml-syntax-shims-1.0.0.tbz)
-> retrieved ocplib-endian.1.2  (https://github.com/OCamlPro/ocplib-endian/archive/refs/tags/1.2.tar.gz)
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocplib-endian.1.2
-> retrieved pbkdf.1.2.0  (https://github.com/abeaumont/ocaml-pbkdf/archive/1.2.0.tar.gz)
-> installed ocaml-syntax-shims.1.0.0
-> retrieved ppx_derivers.1.2.1  (https://github.com/ocaml-ppx/ppx_derivers/archive/1.2.1.tar.gz)
-> installed ppx_derivers.1.2.1
-> retrieved ppxlib.0.33.0  (https://github.com/ocaml-ppx/ppxlib/releases/download/0.33.0/ppxlib-0.33.0.tbz)
-> retrieved re.1.12.0  (https://github.com/ocaml/ocaml-re/releases/download/1.12.0/re-1.12.0.tbz)
-> retrieved stdlib-shims.0.3.0  (https://github.com/ocaml/stdlib-shims/releases/download/0.3.0/stdlib-shims-0.3.0.tbz)
-> installed stdlib-shims.0.3.0
-> retrieved tyxml.4.6.0  (https://github.com/ocsigen/tyxml/releases/download/4.6.0/tyxml-4.6.0.tbz)
-> retrieved uutf.1.0.3  (https://erratique.ch/software/uutf/releases/uutf-1.0.3.tbz)
-> removed   jose.0.9.0
-> installed re.1.12.0
-> installed lwt.5.7.0
-> retrieved x509.0.16.5  (https://github.com/mirleft/ocaml-x509/releases/download/v0.16.5/x509-0.16.5.tbz)
-> removed   x509.0.16.5
-> removed   asn1-combinators.0.2.6
-> removed   mirage-crypto-ec.0.11.3
-> removed   mirage-crypto-pk.0.11.3
-> removed   mirage-crypto-rng.0.11.3
-> removed   logs.0.7.0
-> removed   pbkdf.1.2.0
-> removed   mirage-crypto.0.11.3
-> removed   eqaf.0.9
-> removed   cstruct.6.2.0
-> removed   fmt.0.9.0
-> installed fmt.0.9.0
-> installed uutf.1.0.3
-> installed cstruct.6.2.0
-> installed eqaf.0.9
-> installed asn1-combinators.0.2.6
-> installed logs.0.7.0
-> installed alcotest.1.8.0
-> installed mirage-crypto.0.10.7
-> installed pbkdf.1.2.0
-> installed tyxml.4.6.0
-> installed mirage-crypto-rng.0.10.7
-> installed junit.2.0.2
-> installed junit_alcotest.2.0.2
-> installed mirage-crypto-pk.0.10.7
-> installed mirage-crypto-ec.0.10.7
-> installed x509.0.16.5
-> installed ppxlib.0.33.0
-> installed bisect_ppx.2.8.3
-> installed jose.0.9.0
Done.
# To update the current shell environment, run: eval $(opam env)
2024-09-26 19:01.23 ---> saved as "2aa6938c80c07961f1f3b42be64e2ee7276db9ff6152aca12de34ad517a8fb09"

/home/opam: (run (shell  "opam reinstall --with-test --verbose jose.0.9.0;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'jose.0.9.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
=== recompile 1 package
  - recompile jose 0.9.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [jose.0.9.0: extract]
-> retrieved jose.0.9.0  (cached)
Processing  2/4: [jose: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "jose" "-j" "39" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/jose.0.9.0)
- (cd _build/default/test && ./test.exe)
- Testing `JWE'.
- This run has ID `03T1H3NU'.
- 
-   [OK]          JWE          0   Can create and validate my own RSA-OAEP with...
-   [OK]          JWE          1   Can create and validate my own RSA_OAEP with...
-   [OK]          JWE          2   Can create and validate my own RSA1_5 with A...
-   [OK]          JWE          3   Can create and validate my own RSA1_5 with A...
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/jose.0.9.0/_build/default/test/_build/_tests/JWE'.
- Test Successful in 0.304s. 4 tests run.
- Testing `JWK'.
- This run has ID `LMDR5R9U'.
- 
-   [OK]          JWK          0   pub - Creates a correct JWK from pem.
-   [OK]          JWK          1   pub - Roundtrip rsa.
-   [OK]          JWK          2   pub - of_pub_json_string.
-   [OK]          JWK          3   pub - make_oct.
-   [OK]          JWK          4   pub - to_pub_json_string oct.
-   [OK]          JWK          5   pub - to_pub_json_string rsa.
-   [OK]          JWK          6   priv - to_pub_json_string rsa.
-   [OK]          JWK          7   pub - of_pub_json_string oct.
-   [OK]          JWK          8   priv - Creates a correct JWK from pem.
-   [OK]          JWK          9   priv - of_priv_json_string rsa.
-   [OK]          JWK         10   priv - Roundtrip.
-   [OK]          JWK         11   priv - Roundtrip to pub.
-   [OK]          JWK         12   priv - to_priv_json_string rsa.
-   [OK]          JWK         13   priv - oct_of_string.
-   [OK]          JWK         14   priv - to_priv_json_string oct.
-   [OK]          JWK         15   priv - of_priv_json_string oct.
-   [OK]          JWK         16   pub - parse without alg and use.
-   [OK]          JWK         17   P256 - thumbprint.
-   [OK]          JWK         18   P384 - thumbprint.
-   [OK]          JWK         19   P256 - thumbprint.
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/jose.0.9.0/_build/default/test/_build/_tests/JWK'.
- Test Successful in 0.031s. 20 tests run.
- Testing `JWKs'.
- This run has ID `VKFD9E1V'.
- 
-   [OK]          JWKs          0   Creates a correct JSON from a JWKs.
-   [OK]          JWKs          1   Creates a correct JWKs from JSON.
-   [OK]          JWKs          2   Parses without alg.
-   [OK]          JWKs          3   Can get correct JWK from Microsoft.
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/jose.0.9.0/_build/default/test/_build/_tests/JWKs'.
- Test Successful in 0.001s. 4 tests run.
- Testing `JWS'.
- This run has ID `ZVBYVI50'.
- 
-   [OK]          JWS          0   fail to parse {}.
-   [OK]          JWS          1   parses a flattened json representation corre...
-   [OK]          JWS          2   Produces the same output.
-   [OK]          JWS          3   Roundtrip with ES384.
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/jose.0.9.0/_build/default/test/_build/_tests/JWS'.
- Test Successful in 0.043s. 4 tests run.
- Testing `JWT'.
- This run has ID `BVXJSSP3'.
- 
-   [OK]          JWT          0   Can validate a RSA256 JWT.
-   [OK]          JWT          1   Can validate a HS256 JWT.
-   [OK]          JWT          2   Can create a JWT with RSA256.
-   [OK]          JWT          3   Can create a JWT with HS256.
-   [OK]          JWT          4   Can create a JWT with ES256.
-   [OK]          JWT          5   Can validate my own RSA JWT (priv rsa).
-   [OK]          JWT          6   Can validate my own RSA JWT (pub rsa).
-   [OK]          JWT          7   Can validate my own OCT JWT.
-   [OK]          JWT          8   Can validate my own EC JWT (pub es256).
-   [OK]          JWT          9   Can validate my own EC JWT (pub es256).
-   [OK]          JWT         10   Can validate my own EC JWT (pub es512).
-   [OK]          JWT         11   Can parse JWT without kid.
-   [OK]          JWT         12   Checks for expiration when calling `of_string`.
-   [OK]          JWT         13   Expiration in the future doesn't fail.
-   [OK]          JWT         14   claim getters.
-   [OK]          JWT         15   Can create JWT without header.
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/jose.0.9.0/_build/default/test/_build/_tests/JWT'.
- Test Successful in 0.131s. 16 tests run.
- Testing `RFC7515'.
- This run has ID `WKDYKKWJ'.
- 
-   [OK]          RFC7515          0   A.1.
-   [OK]          RFC7515          1   A.2.
-   [OK]          RFC7515          2   A.3.
-   [OK]          RFC7515          3   A.4.
-   [OK]          RFC7515          4   A.5.
-   [OK]          RFC7515          5   A.7.
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/jose.0.9.0/_build/default/test/_build/_tests/RFC7515'.
- Test Successful in 0.053s. 6 tests run.
- Testing `RFC7520'.
- This run has ID `VLCFIKK9'.
- 
-   [OK]          JWS RSA            0   Can verify jws.
-   [OK]          JWS RSA            1   Generates the same JWS.
-   [OK]          JWS ECDSA          0   Can verify jws.
-   [OK]          JWS oct            0   Can verify jws.
-   [OK]          JWS oct            1   Generates the same JWS.
-   [OK]          JWS oct            2   Cannot verify invalid signature.
-   [OK]          JWE RSA            0   Can encrypt a JWE Using RSA v1.5 and A...
-   [OK]          JWE RSA            1   Can encrypt a JWE Using RSA-OAEP with ...
-   [OK]          JWE RSA            2   Can decrypt a JWE Using RSA v1.5 and A...
-   [OK]          JWE RSA            3   Can decrypt a JWE Using RSA-OAEP with ...
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/jose.0.9.0/_build/default/test/_build/_tests/RFC7520'.
- Test Successful in 0.194s. 10 tests run.
- Testing `RFC7638'.
- This run has ID `WVEOKLHG'.
- 
-   [OK]          RFC 7638          0   Correct fields are used from public RSA...
-   [OK]          RFC 7638          1   Thumbprint from a private RSA key and i...
-   [OK]          RFC 7638          2   Thumbprint for symmetric keys is never ...
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/jose.0.9.0/_build/default/test/_build/_tests/RFC7638'.
- Test Successful in 0.008s. 3 tests run.
- Testing `RFC8037'.
- This run has ID `SUCHCIMD'.
- 
-   [OK]          RFC 8037          0   A.1. Ed25519 Private Key.
-   [OK]          RFC 8037          1   A.2. Ed25519 Public Key.
-   [OK]          RFC 8037          2   A.3. JWK Thumbprint Canonicalization.
-   [OK]          RFC 8037          3   A.4. Ed25519 Signing.
-   [OK]          RFC 8037          4   A.5. Ed25519 Validation.
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/jose.0.9.0/_build/default/test/_build/_tests/RFC8037'.
- Test Successful in 0.002s. 5 tests run.
-> compiled  jose.0.9.0
-> removed   jose.0.9.0
-> installed jose.0.9.0
Done.
# To update the current shell environment, run: eval $(opam env)
2024-09-26 19:01.36 ---> saved as "5535ac7ed26018430b139e6e4f1ac5a899c8e0b1f0f9c3640626c24c02aa88f6"
Job succeeded
2024-09-26 19:01.53: Job succeeded