(not at the head of any monitored branch or PR)
2025-04-16 07:32.08: New job: test azure-cosmos-db.0.2.1 with ca-certs.1.0.1, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27764/head (b7ee11260826c0c63ececdc0a5719b3240aab107)
                              on debian-12-ocaml-5.3/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/27764/head" && git reset --hard b7ee1126
git fetch origin master
git merge --no-edit e6dedb1eed4b290f755e8755ac00728e09854600
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:cda55e84863b5c1f4e5bd28bdeb54129bfbff2dd578bbcc8ffdb236107584a66
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
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 ca-certs.1.0.1 1.0.1
RUN opam reinstall ca-certs.1.0.1; \
    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" != 'ca-certs.1.0.1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall azure-cosmos-db.0.2.1; \
    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" != 'azure-cosmos-db.0.2.1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test azure-cosmos-db.0.2.1) || true
RUN opam reinstall --with-test --verbose azure-cosmos-db.0.2.1; \
    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" != 'azure-cosmos-db.0.2.1' && 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 .

2025-04-16 07:32.08: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:cda55e84863b5c1f4e5bd28bdeb54129bfbff2dd578bbcc8ffdb236107584a66-ca-certs.1.0.1-azure-cosmos-db.0.2.1-b7ee11260826c0c63ececdc0a5719b3240aab107"
2025-04-16 07:32.08: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:cda55e84863b5c1f4e5bd28bdeb54129bfbff2dd578bbcc8ffdb236107584a66)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "opam option solver=builtin-0install && opam config report"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (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 ca-certs.1.0.1 1.0.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ca-certs.1.0.1;\
             \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\" != 'ca-certs.1.0.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall azure-cosmos-db.0.2.1;\
             \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\" != 'azure-cosmos-db.0.2.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test azure-cosmos-db.0.2.1) || true"))
 (run (shell  "opam reinstall --with-test --verbose azure-cosmos-db.0.2.1;\
             \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\" != 'azure-cosmos-db.0.2.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-04-16 07:32.08: Waiting for resource in pool OCluster
2025-04-16 07:33.41: Waiting for worker…
2025-04-16 07:37.49: Got resource from pool OCluster
Building on x86-bm-c4.sw.ocaml.org
All commits already cached
Updating files:  90% (20624/22874)
Updating files:  91% (20816/22874)
Updating files:  92% (21045/22874)
Updating files:  93% (21273/22874)
Updating files:  94% (21502/22874)
Updating files:  95% (21731/22874)
Updating files:  96% (21960/22874)
Updating files:  97% (22188/22874)
Updating files:  98% (22417/22874)
Updating files:  99% (22646/22874)
Updating files: 100% (22874/22874)
Updating files: 100% (22874/22874), done.
HEAD is now at e6dedb1eed Merge pull request #27749 from toots/opam-publish-ffmpeg.1.2.3
Updating e6dedb1eed..b7ee112608
Fast-forward
 packages/ca-certs/ca-certs.1.0.1/opam | 61 +++++++++++++++++++++++++++++++++++
 1 file changed, 61 insertions(+)
 create mode 100644 packages/ca-certs/ca-certs.1.0.1/opam

(from ocaml/opam:debian-12-ocaml-5.3@sha256:cda55e84863b5c1f4e5bd28bdeb54129bfbff2dd578bbcc8ffdb236107584a66)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:cda55e84863b5c1f4e5bd28bdeb54129bfbff2dd578bbcc8ffdb236107584a66' locally
docker.io/ocaml/opam@sha256:cda55e84863b5c1f4e5bd28bdeb54129bfbff2dd578bbcc8ffdb236107584a66: Pulling from ocaml/opam
6e811e1a652c: Pulling fs layer
6e811e1a652c: Verifying Checksum
6e811e1a652c: Download complete
6e811e1a652c: Pull complete
Digest: sha256:cda55e84863b5c1f4e5bd28bdeb54129bfbff2dd578bbcc8ffdb236107584a66
Status: Downloaded newer image for ocaml/opam@sha256:cda55e84863b5c1f4e5bd28bdeb54129bfbff2dd578bbcc8ffdb236107584a66
2025-04-16 07:37.51 ---> using "19877b52b990c5a970510eb0ace473d379b5f4771b9feb9f573b1d3119b07d2c" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-04-16 07:37.51 ---> using "550b69c93d946a55d41462b7604fba2d67116ffb7c8221e9358a8ca9597536fd" 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
[NOTE] The 'jobs' option was reset, its value was 39 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=39 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-04-16 07:37.51 ---> using "556c029363058726120c2953b64c2d4d8b77051685d49900092a3f3cce52c805" from cache

/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version         2.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=12
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 31
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.3
# invariant            ["ocaml-base-compiler" {>= "5.3.0"}]
# compiler-packages    ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.3.0
2025-04-16 07:37.51 ---> using "a747fc8554f5f2099069be875560ccf94a560a163a78897f95d7954e01a022d2" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/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/"))
2025-04-16 07:37.51 ---> using "61976586f3455bcbd9af3b8241ee63dbd3fa15477767db98aa1afe09ceba869e" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-04-16 07:37.52 ---> using "3e568afa6a2eaba76cd6e387c2e718e72ac12176b03b9fcb1b4d59b6eadf3003" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-04-16 07:37.52 ---> using "02375c0d999ae36b5b4bdc419b437445fe0b149e988b48f48f95170266a73cba" 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 [254 kB]
- Fetched 357 kB in 0s (1373 kB/s)
- Reading package lists...
2025-04-16 07:37.52 ---> using "a99ae5ef05cb3571f8619ce8bc125766b319903e77cd089dc2608a575850642a" from cache

/home/opam: (run (shell "opam pin add -k version -yn ca-certs.1.0.1 1.0.1"))
ca-certs is now pinned to version 1.0.1
2025-04-16 07:37.52 ---> using "028c09f4a4de01464dbb0958dfc7329cb6931380b501a121cfbba87dc6b4aa10" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ca-certs.1.0.1;\
                        \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\" != 'ca-certs.1.0.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ca-certs.1.0.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 34 packages
  - install asn1-combinators  0.3.2          [required by x509]
  - install astring           0.8.5          [required by bos]
  - install base64            3.5.1          [required by x509]
  - install bos               0.2.1          [required by ca-certs]
  - install ca-certs          1.0.1 (pinned)
  - install conf-gmp          5              [required by conf-gmp-powm-sec, zarith]
  - install conf-gmp-powm-sec 4              [required by mirage-crypto-pk]
  - install conf-pkg-config   4              [required by zarith]
  - install csexp             1.5.2          [required by dune-configurator]
  - install digestif          1.2.0          [required by ca-certs]
  - install domain-name       0.4.1          [required by x509]
  - install dune              3.18.0         [required by ca-certs]
  - install dune-configurator 3.18.0         [required by mirage-crypto]
  - install duration          0.2.1          [required by mirage-crypto-rng]
  - install eqaf              0.10           [required by digestif, mirage-crypto]
  - install fmt               0.10.0         [required by bos, x509]
  - install fpath             0.7.3          [required by ca-certs]
  - install gmap              0.3.0          [required by x509]
  - install ipaddr            5.6.0          [required by x509]
  - install kdf               1.0.0          [required by x509]
  - install logs              0.8.0          [required by ca-certs]
  - install macaddr           5.6.0          [required by ipaddr]
  - install mirage-crypto     2.0.0          [required by ca-certs]
  - install mirage-crypto-ec  2.0.0          [required by x509]
  - install mirage-crypto-pk  2.0.0          [required by x509]
  - install mirage-crypto-rng 2.0.0          [required by x509]
  - install ocamlbuild        0.16.1         [required by bos, ptime]
  - install ocamlfind         1.9.8          [required by bos, ptime]
  - install ohex              0.2.0          [required by ca-certs]
  - install ptime             1.2.0          [required by ca-certs]
  - install rresult           0.7.0          [required by bos]
  - install topkg             1.0.8          [required by bos, ptime]
  - install x509              1.0.5          [required by ca-certs]
  - install zarith            1.14           [required by mirage-crypto-pk]

The following system packages will first need to be installed:
    libgmp-dev 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" "libgmp-dev" "pkg-config"
- 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 ... 18778 files and directories currently installed.)
- Preparing to unpack .../0-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 .../1-libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-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 libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-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+deb12u10) ...

<><> 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 ca-certs.1.0.1  (https://github.com/mirage/ca-certs/releases/download/v1.0.1/ca-certs-1.0.1.tbz)
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-gmp-powm-sec.4  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> installed conf-gmp-powm-sec.4
-> retrieved digestif.1.2.0  (cached)
-> retrieved domain-name.0.4.1  (cached)
-> retrieved dune.3.18.0, dune-configurator.3.18.0  (cached)
-> retrieved duration.0.2.1  (cached)
-> 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 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 ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ohex.0.2.0  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved x509.1.0.5  (cached)
-> retrieved zarith.1.14  (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 fmt.0.10.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed logs.0.8.0
-> installed fpath.0.7.3
-> installed bos.0.2.1
-> installed dune.3.18.0
-> installed duration.0.2.1
-> installed ohex.0.2.0
-> installed gmap.0.3.0
-> 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 macaddr.5.6.0
-> installed ipaddr.5.6.0
-> installed digestif.1.2.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
-> installed ca-certs.1.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-16 07:38.13 ---> saved as "cce68b2b9b5c2325d5ed2093167c07920575816ab0e8dadd32f34a65f1a039a7"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall azure-cosmos-db.0.2.1;\
                        \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\" != 'azure-cosmos-db.0.2.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
azure-cosmos-db.0.2.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== recompile 8 packages
  - recompile bos                     0.2.1          [uses fmt]
  - recompile ca-certs                1.0.1 (pinned) [uses bos, logs]
  - recompile fmt                     0.10.0         [uses cmdliner]
  - recompile logs                    0.8.0          [uses cmdliner]
  - recompile mirage-crypto-ec        2.0.0          [uses mirage-crypto-rng]
  - recompile mirage-crypto-pk        2.0.0          [uses mirage-crypto-rng]
  - recompile mirage-crypto-rng       2.0.0          [uses logs]
  - recompile x509                    1.0.5          [uses fmt]
=== install 49 packages
  - install   angstrom                0.16.1         [required by uri]
  - install   atd                     2.16.0         [required by atdgen]
  - install   atdgen                  2.15.0         [required by azure-cosmos-db]
  - install   atdgen-runtime          2.16.0         [required by atdgen]
  - install   azure-cosmos-db         0.2.1
  - install   base                    v0.17.1        [required by ppx_sexp_conv]
  - install   base-bytes              base           [required by ocplib-endian]
  - install   bigstringaf             0.10.0         [required by angstrom]
  - install   biniou                  1.2.2          [required by atdgen]
  - install   camlp-streams           5.0.1          [required by biniou]
  - install   cmdliner                1.3.0          [required by cohttp-lwt-unix]
  - install   cohttp                  6.1.0          [required by azure-cosmos-db]
  - install   cohttp-lwt              6.1.0          [required by cohttp-lwt-unix]
  - install   cohttp-lwt-unix         6.1.0          [required by azure-cosmos-db]
  - install   conduit                 8.0.0          [required by conduit-lwt]
  - install   conduit-lwt             8.0.0          [required by cohttp-lwt-unix]
  - install   conduit-lwt-unix        8.0.0          [required by cohttp-lwt-unix]
  - install   conf-libssl             4              [required by ssl]
  - install   conf-zlib               1              [required by cryptokit]
  - install   cppo                    1.8.0          [required by lwt]
  - install   cryptokit               1.20           [required by azure-cosmos-db]
  - install   easy-format             1.3.4          [required by atd]
  - install   http                    6.1.0          [required by cohttp, cohttp-lwt-unix]
  - install   ipaddr-sexp             5.6.0          [required by conduit-lwt-unix]
  - install   lwt                     5.9.1          [required by azure-cosmos-db]
  - install   lwt_ppx                 5.9.1          [required by azure-cosmos-db]
  - install   lwt_ssl                 1.2.0          [required by azure-cosmos-db]
  - install   magic-mime              1.3.1          [required by cohttp-lwt-unix]
  - install   menhir                  20240715       [required by atd]
  - install   menhirCST               20240715       [required by menhir]
  - install   menhirLib               20240715       [required by menhir]
  - install   menhirSdk               20240715       [required by menhir]
  - install   ocaml-compiler-libs     v0.17.0        [required by ppxlib]
  - install   ocaml-syntax-shims      1.0.0          [required by angstrom]
  - install   ocaml_intrinsics_kernel v0.17.1        [required by base]
  - install   ocplib-endian           1.2            [required by lwt]
  - install   ppx_derivers            1.2.1          [required by ppxlib]
  - install   ppx_sexp_conv           v0.17.0        [required by cohttp, cohttp-lwt-unix]
  - install   ppxlib                  0.35.0         [required by lwt_ppx]
  - install   ppxlib_jane             v0.17.2        [required by ppx_sexp_conv]
  - install   re                      1.12.0         [required by atdgen, cohttp]
  - install   seq                     base           [required by re, yojson]
  - install   sexplib0                v0.17.0        [required by cohttp]
  - install   ssl                     0.7.0          [required by azure-cosmos-db]
  - install   stdlib-shims            0.3.0          [required by ppxlib]
  - install   stringext               1.6.0          [required by cohttp]
  - install   uri                     4.4.0          [required by azure-cosmos-db]
  - install   uri-sexp                4.4.0          [required by cohttp]
  - install   yojson                  2.2.2          [required by atdgen]

The following system packages will first need to be installed:
    libssl-dev zlib1g-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" "libssl-dev" "zlib1g-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libssl-dev: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 ... 18836 files and directories currently installed.)
- Preparing to unpack .../libssl-dev_3.0.15-1~deb12u1_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.0.15-1~deb12u1) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../zlib1g-dev_1%3a1.2.13.dfsg-1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Setting up libssl-dev:amd64 (3.0.15-1~deb12u1) ...
- Setting up zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved atd.2.16.0, atdgen-runtime.2.16.0  (cached)
-> retrieved atdgen.2.15.0  (cached)
-> retrieved azure-cosmos-db.0.2.1  (cached)
-> retrieved base.v0.17.1  (cached)
-> installed base-bytes.base
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved biniou.1.2.2  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cohttp.6.1.0, cohttp-lwt.6.1.0, cohttp-lwt-unix.6.1.0, http.6.1.0  (cached)
-> retrieved conduit.8.0.0, conduit-lwt.8.0.0, conduit-lwt-unix.8.0.0  (cached)
-> retrieved conf-libssl.4  (cached)
-> retrieved cppo.1.8.0  (cached)
-> installed conf-libssl.4
-> installed conf-zlib.1
-> retrieved cryptokit.1.20  (cached)
-> retrieved easy-format.1.3.4  (cached)
-> retrieved fmt.0.10.0  (cached)
-> retrieved ipaddr-sexp.5.6.0  (cached)
-> retrieved logs.0.8.0  (cached)
-> retrieved lwt.5.9.1, lwt_ppx.5.9.1  (cached)
-> retrieved lwt_ssl.1.2.0  (cached)
-> retrieved magic-mime.1.3.1  (cached)
-> installed bigstringaf.0.10.0
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> installed camlp-streams.5.0.1
-> installed http.6.1.0
-> installed easy-format.1.3.4
-> installed menhirCST.20240715
-> retrieved mirage-crypto-ec.2.0.0, mirage-crypto-pk.2.0.0, mirage-crypto-rng.2.0.0  (cached)
-> installed magic-mime.1.3.1
-> installed menhirSdk.20240715
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_sexp_conv.v0.17.0  (cached)
-> installed menhirLib.20240715
-> installed ppx_derivers.1.2.1
-> retrieved ppxlib.0.35.0  (cached)
-> installed cppo.1.8.0
-> installed biniou.1.2.2
-> retrieved ppxlib_jane.v0.17.2  (cached)
-> retrieved re.1.12.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved ssl.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> installed ocaml_intrinsics_kernel.v0.17.1
-> retrieved stringext.1.6.0  (cached)
-> retrieved uri.4.4.0, uri-sexp.4.4.0  (cached)
-> retrieved x509.1.0.5  (cached)
-> retrieved yojson.2.2.2  (cached)
-> installed ocplib-endian.1.2
-> installed stringext.1.6.0
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed sexplib0.v0.17.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed angstrom.0.16.1
-> installed re.1.12.0
-> installed cryptokit.1.20
-> removed   ca-certs.1.0.1
-> removed   bos.0.2.1
-> removed   x509.1.0.5
-> removed   mirage-crypto-ec.2.0.0
-> removed   mirage-crypto-pk.2.0.0
-> removed   mirage-crypto-rng.2.0.0
-> removed   logs.0.8.0
-> removed   fmt.0.10.0
-> installed cmdliner.1.3.0
-> installed ssl.0.7.0
-> installed yojson.2.2.2
-> installed uri.4.4.0
-> installed atdgen-runtime.2.16.0
-> installed fmt.0.10.0
-> installed lwt.5.9.1
-> installed lwt_ssl.1.2.0
-> installed logs.0.8.0
-> installed mirage-crypto-rng.2.0.0
-> installed mirage-crypto-pk.2.0.0
-> installed base.v0.17.1
-> installed bos.0.2.1
-> installed mirage-crypto-ec.2.0.0
-> installed menhir.20240715
-> installed x509.1.0.5
-> installed ca-certs.1.0.1
-> installed atd.2.16.0
-> installed atdgen.2.15.0
-> installed ppxlib.0.35.0
-> installed ppxlib_jane.v0.17.2
-> installed lwt_ppx.5.9.1
-> installed ppx_sexp_conv.v0.17.0
-> installed ipaddr-sexp.5.6.0
-> installed uri-sexp.4.4.0
-> installed conduit.8.0.0
-> installed cohttp.6.1.0
-> installed conduit-lwt.8.0.0
-> installed cohttp-lwt.6.1.0
-> installed conduit-lwt-unix.8.0.0
-> installed cohttp-lwt-unix.6.1.0
-> installed azure-cosmos-db.0.2.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-16 07:40.52 ---> saved as "f5dd7d50c3d470c9d3032389e59fdb5335395475b8addad93ecf341debf12eee"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test azure-cosmos-db.0.2.1) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile azure-cosmos-db 0.2.1
=== install 3 packages
  - install   alcotest        1.9.0 [required by alcotest-lwt]
  - install   alcotest-lwt    1.9.0 [required by azure-cosmos-db]
  - install   uutf            1.0.4 [required by alcotest]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.0, alcotest-lwt.1.9.0  (https://github.com/mirage/alcotest/releases/download/1.9.0/alcotest-1.9.0.tbz)
-> retrieved azure-cosmos-db.0.2.1  (https://bitbucket.org/knaack/azure-cosmos-db/get/a9f6cd4145b2f18c8248e54a28634367ab93c11c.tar.gz)
-> retrieved uutf.1.0.4  (https://erratique.ch/software/uutf/releases/uutf-1.0.4.tbz)
-> removed   azure-cosmos-db.0.2.1
-> installed uutf.1.0.4
-> installed alcotest.1.9.0
-> installed alcotest-lwt.1.9.0
-> installed azure-cosmos-db.0.2.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-16 07:41.08 ---> saved as "246bdb1534d6344874e537808d815875eb70b901682560545c63fd1da57ede96"

/home/opam: (run (shell  "opam reinstall --with-test --verbose azure-cosmos-db.0.2.1;\
                        \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\" != 'azure-cosmos-db.0.2.1' && 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 azure-cosmos-db 0.2.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [azure-cosmos-db.0.2.1: extract]
-> retrieved azure-cosmos-db.0.2.1  (cached)
Processing  2/4: [azure-cosmos-db: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "azure-cosmos-db" "-j" "31" (CWD=/home/opam/.opam/5.3/.opam-switch/build/azure-cosmos-db.0.2.1)
Processing  2/4: [azure-cosmos-db: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "azure-cosmos-db" "-j" "31" (CWD=/home/opam/.opam/5.3/.opam-switch/build/azure-cosmos-db.0.2.1)
- (cd _build/default/test && ./test.exe)
- Testing `Main tests'.
- This run has ID `00LALS0C'.
- 
-   [OK]          utility test                0   x_ms_date.
-   [OK]          utility test                1   adjust_host_no_change.
-   [OK]          utility test                2   adjust_host_change.
-   [OK]          utility test                3   auth_key_test.
-   [OK]          utility test                4   auth_key_test_get_list.
-   [OK]          utility test                5   convert_list_databases_test.
-   [OK]          utility test                6   string_of_bool_true.
-   [OK]          utility test                7   string_of_bool_false.
- 
- Full test results in `~/.opam/5.3/.opam-switch/build/azure-cosmos-db.0.2.1/_build/default/test/_build/_tests/Main tests'.
- Test Successful in 0.001s. 8 tests run.
-> compiled  azure-cosmos-db.0.2.1
-> removed   azure-cosmos-db.0.2.1
-> installed azure-cosmos-db.0.2.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-16 07:41.19 ---> saved as "1c90d9d57d3a031e887bd554d8dbd4069df044c8982651d01efa9bf6cb6c1126"
Job succeeded
2025-04-16 07:41.32: Job succeeded