(for PR #23932)

2024-02-08 11:39.21: New job: test hpke.0.0.pre-alpha, using opam 2.0
                              from https://github.com/ocaml/opam-repository.git#refs/pull/23932/head (04858040f13a0b01bae25ee9bb5a66a8430570f1)
                              on debian-12-ocaml-5.1/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/23932/head" && git reset --hard 04858040
git fetch origin master
git merge --no-edit d87a1eb8c3d0e6228e3f957b25aa87f49e397d03
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.1@sha256:b1107df238142d8db3829fbb8cfd7ee409284b5a7e05e2c5154488d322033d98
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="500"
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 depext -u || true
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN opam pin add -k version -yn hpke.0.0.pre-alpha 0.0.pre-alpha
RUN opam depext hpke.0.0.pre-alpha && opam reinstall hpke.0.0.pre-alpha; \
    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" != 'hpke.0.0.pre-alpha' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN (opam depext --with-test hpke.0.0.pre-alpha && opam reinstall --with-test hpke.0.0.pre-alpha) || true
RUN opam depext --with-test hpke.0.0.pre-alpha && opam reinstall --with-test --verbose hpke.0.0.pre-alpha; \
    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" != 'hpke.0.0.pre-alpha' && 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-02-08 11:39.21: Using cache hint "ocaml/opam:debian-12-ocaml-5.1@sha256:b1107df238142d8db3829fbb8cfd7ee409284b5a7e05e2c5154488d322033d98-hpke.0.0.pre-alpha-04858040f13a0b01bae25ee9bb5a66a8430570f1"
2024-02-08 11:39.21: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.1@sha256:b1107df238142d8db3829fbb8cfd7ee409284b5a7e05e2c5154488d322033d98)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMSOLVERTIMEOUT 500)
 (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 depext -u || true"))
 (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (run (shell "opam pin add -k version -yn hpke.0.0.pre-alpha 0.0.pre-alpha"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam depext hpke.0.0.pre-alpha && opam reinstall hpke.0.0.pre-alpha;\
             \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\" != 'hpke.0.0.pre-alpha' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (run (network host)
      (shell "(opam depext --with-test hpke.0.0.pre-alpha && opam reinstall --with-test hpke.0.0.pre-alpha) || true"))
 (run (shell  "opam depext --with-test hpke.0.0.pre-alpha && opam reinstall --with-test --verbose hpke.0.0.pre-alpha;\
             \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\" != 'hpke.0.0.pre-alpha' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2024-02-08 11:39.21: Connecting to build cluster…
2024-02-08 11:39.21: Waiting for resource in pool OCluster
2024-02-08 11:39.29: Waiting for worker…
2024-02-08 11:40.42: Got resource from pool OCluster
Building on marpe.caelum.ci.dev
All commits already cached
HEAD is now at d87a1eb8c3 Merge pull request #25204 from toots/opam-publish-tls-liquidsoap.1-prometheus-liquidsoap.2-liquidsoap.2.2.4-sdl-liquidsoap.3
Merge made by the 'ort' strategy.
 packages/hpke/hpke.0.0.pre-alpha/opam | 43 +++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 packages/hpke/hpke.0.0.pre-alpha/opam

(from ocaml/opam:debian-12-ocaml-5.1@sha256:b1107df238142d8db3829fbb8cfd7ee409284b5a7e05e2c5154488d322033d98)
2024-02-08 11:40.44 ---> using "b27d2334d2f7f26e7b6d0a8979baf30909ac8f375ae435953404a8caec0ee19a" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2024-02-08 11:40.44 ---> saved as "e3c7389730f7d6f4395c59d7b4224a5026b87ec8319e2ab714cac5dfc1a7bc34"

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.

[WARNING] Recommended dependencies -- most packages rely on these:
  - m4

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository): 
    [INFO] opam 2.1 includes many performance improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2024-02-08 11:41.13 ---> saved as "d73e2eaf08e18177c3d49ba5da991c8329501f858b00949801a621421f28d75d"

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMSOLVERTIMEOUT 500)

/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-02-08 11:41.21 ---> saved as "bd7e93d659310da4ec1ee379f757058cc7dd3bdc05ac7fcb3bc0526bccf2bcf4"

/home/opam: (copy (src .) (dst opam-repository/))
2024-02-08 11:41.39 ---> saved as "c3b3f007f16040a386a70b3935d115f22926e58305aa609754de4138fd41d17a"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository): 
    [INFO] opam 2.1 includes many performance improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2024-02-08 11:41.58 ---> saved as "24c2a65277eaa141c5268e92f852ded1b165618b7fe6421302af53d032efd7cd"

/home/opam: (run (network host)
                 (shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "sudo":
    apt-get update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 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 [137 kB]
Fetched 237 kB in 0s (839 kB/s)
Reading package lists...
# OS package update successful
2024-02-08 11:41.59 ---> saved as "55340a27629268759d58cdae377bf1bb88221630fe6a3b05ce7e899db0b23cf7"

/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (run (shell "opam pin add -k version -yn hpke.0.0.pre-alpha 0.0.pre-alpha"))
hpke is now pinned to version 0.0.pre-alpha
2024-02-08 11:42.00 ---> saved as "7c11599542684b0ea169cbd1de31700ac1b42db37a3edd0ca4f912b8e01f03b8"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext hpke.0.0.pre-alpha && opam reinstall hpke.0.0.pre-alpha;\
                        \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\" != 'hpke.0.0.pre-alpha' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
libgmp-dev
The following command needs to be run through "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 ... 18774 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+deb12u3) ...
# OS packages installation successful
hpke.0.0.pre-alpha is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install ocamlbuild        0.14.3         [required by fmt]
  - install conf-gmp          4              [required by conf-gmp-powm-sec, zarith]
  - install ocamlfind         1.9.6          [required by fmt, zarith]
  - install dune              3.13.1         [required by hpke]
  - install conf-gmp-powm-sec 3              [required by mirage-crypto-pk]
  - install zarith            1.13           [required by mirage-crypto-pk]
  - install topkg             1.0.7          [required by fmt]
  - install sexplib0          v0.16.0        [required by mirage-crypto-pk]
  - install duration          0.2.1          [required by mirage-crypto-rng]
  - install csexp             1.5.2          [required by dune-configurator]
  - install fmt               0.9.0          [required by cstruct]
  - install dune-configurator 3.13.1         [required by mirage-crypto, mirage-crypto-rng]
  - install logs              0.7.0          [required by mirage-crypto-rng]
  - install cstruct           6.2.0          [required by hpke]
  - install eqaf              0.9            [required by mirage-crypto-pk]
  - install mirage-crypto     0.11.2         [required by hpke]
  - install mirage-crypto-rng 0.11.2         [required by mirage-crypto-pk]
  - install hkdf              1.0.4          [required by hpke]
  - install mirage-crypto-pk  0.11.2         [required by hpke]
  - install hpke              0.0.pre-alpha*
===== 20 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[csexp.1.5.2] found in cache
[cstruct.6.2.0] found in cache
[dune.3.13.1] found in cache
[dune-configurator.3.13.1] found in cache
[duration.0.2.1] found in cache
[eqaf.0.9] found in cache
[fmt.0.9.0] found in cache
[hkdf.1.0.4] found in cache
[hpke.0.0.pre-alpha] found in cache
[logs.0.7.0] found in cache
[mirage-crypto.0.11.2] found in cache
[mirage-crypto-pk.0.11.2] found in cache
[mirage-crypto-rng.0.11.2] found in cache
[ocamlbuild.0.14.3] found in cache
[ocamlfind.1.9.6] found in cache
[sexplib0.v0.16.0] found in cache
[topkg.1.0.7] found in cache
[zarith.1.13] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-gmp.4
-> installed conf-gmp-powm-sec.3
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.14.3
-> installed zarith.1.13
-> installed topkg.1.0.7
-> installed fmt.0.9.0
-> installed logs.0.7.0
-> installed dune.3.13.1
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed sexplib0.v0.16.0
-> installed eqaf.0.9
-> installed dune-configurator.3.13.1
-> installed mirage-crypto.0.11.2
-> installed hkdf.1.0.4
-> installed mirage-crypto-rng.0.11.2
-> installed mirage-crypto-pk.0.11.2
-> installed hpke.0.0.pre-alpha
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-08 11:42.37 ---> saved as "298ddd5ce2af8478c6050e450706e499fd768a6c232341e5f37941220083fbc5"

/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (run (network host)
                 (shell "(opam depext --with-test hpke.0.0.pre-alpha && opam reinstall --with-test hpke.0.0.pre-alpha) || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
libgmp-dev
# All required OS packages found.
The following actions will be performed:
  - recompile hpke 0.0.pre-alpha*
[hpke.0.0.pre-alpha] downloaded from https://github.com/FantomeBeignet/ohpke/archive/refs/tags/0.0.pre-alpha.tar.gz

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   hpke.0.0.pre-alpha
-> installed hpke.0.0.pre-alpha
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-08 11:42.51 ---> saved as "28767ee72f154820011cd4622619e7facddcd7df2d11672b375c0562081b8512"

/home/opam: (run (shell  "opam depext --with-test hpke.0.0.pre-alpha && opam reinstall --with-test --verbose hpke.0.0.pre-alpha;\
                        \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\" != 'hpke.0.0.pre-alpha' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
libgmp-dev
# All required OS packages found.
The following actions will be performed:
  - recompile hpke 0.0.pre-alpha*
[hpke.0.0.pre-alpha] found in cache
Processing  1/1:

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3: [hpke: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "hpke" "-j" "255" "@install" "@runtest" (CWD=/home/opam/.opam/5.1/.opam-switch/build/hpke.0.0.pre-alpha)
-> compiled  hpke.0.0.pre-alpha
-> removed   hpke.0.0.pre-alpha
-> installed hpke.0.0.pre-alpha
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-08 11:43.04 ---> saved as "58cf326e9b73d2088282e6fb0c4122b04de2411ba7679930bc63ebe3afb1568e"
Job succeeded
2024-02-08 11:43.12: Job succeeded