(for PR #28550)

2025-09-18 20:48.58: New job: test tezt.4.2.0, using opam 2.0
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28550/head (4c8ce71f462333fbe6c1361dda9a9a0fec0538a0)
                              on debian-13-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/28550/head" && git reset --hard 4c8ce71f
git fetch origin master
git merge --no-edit a8e705e921fe8c34d04adf522ef716c1fa627f80
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.3@sha256:d96959611c273d7e1726ccd221b4f5e95a02676bef62ee9cd5d6f638aaaa573f
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn tezt.4.2.0 4.2.0
RUN opam depext tezt.4.2.0 && opam reinstall tezt.4.2.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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'tezt.4.2.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam depext --with-test tezt.4.2.0 && opam reinstall --with-test tezt.4.2.0) || true
RUN opam depext --with-test tezt.4.2.0 && opam reinstall --with-test --verbose tezt.4.2.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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'tezt.4.2.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 .

2025-09-18 20:48.58: Using cache hint "ocaml/opam:debian-13-ocaml-5.3@sha256:d96959611c273d7e1726ccd221b4f5e95a02676bef62ee9cd5d6f638aaaa573f-tezt.4.2.0-4c8ce71f462333fbe6c1361dda9a9a0fec0538a0"
2025-09-18 20:48.58: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.3@sha256:d96959611c273d7e1726ccd221b4f5e95a02676bef62ee9cd5d6f638aaaa573f)
 (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"))
 (run (shell "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 depext -u || true"))
 (run (shell "opam pin add -k version -yn tezt.4.2.0 4.2.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam depext tezt.4.2.0 && opam reinstall tezt.4.2.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-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'tezt.4.2.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 (network host)
      (shell "(opam depext --with-test tezt.4.2.0 && opam reinstall --with-test tezt.4.2.0) || true"))
 (run (shell  "opam depext --with-test tezt.4.2.0 && opam reinstall --with-test --verbose tezt.4.2.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-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'tezt.4.2.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-09-18 20:48.58: Waiting for resource in pool OCluster
2025-09-18 20:49.06: Waiting for worker…
2025-09-18 20:53.14: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at a8e705e921 Merge pull request #28540 from raphael-proust/conf-gmp-1-fails
Updating a8e705e921..4c8ce71f46
Fast-forward
 packages/tezt/tezt.3.1.0/opam | 1 +
 packages/tezt/tezt.3.1.1/opam | 1 +
 packages/tezt/tezt.4.0.0/opam | 1 +
 packages/tezt/tezt.4.1.0/opam | 1 +
 packages/tezt/tezt.4.2.0/opam | 1 +
 5 files changed, 5 insertions(+)

(from ocaml/opam:debian-13-ocaml-5.3@sha256:d96959611c273d7e1726ccd221b4f5e95a02676bef62ee9cd5d6f638aaaa573f)
2025-09-18 20:53.16 ---> using "e5ce46144b4e25b3e363c3d09bd5c434fad1097e903303a843a6f78001c9b5bd" 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"))
2025-09-18 20:53.16 ---> using "a572331404cd1dd4d00f21fa44662315310144367c8b3444905d127f19b724da" from cache

/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] Initialised
default (at git+file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2025-09-18 20:53.54 ---> saved as "5fb116da61bcfcc9b7007fcbf12be0f518067e0383b7c2e23ad9341e7d314675"

/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version      2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b) 
# self-upgrade      no
# system            arch=x86_64 os=linux os-distribution=debian os-version=13
# solver            builtin-mccs+glpk
# install-criteria  -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria  -removed,-count[version-lag,solution],-new
# jobs              71
# repositories      1 (version-controlled)
# pinned            1 (version)
# current-switch    5.3
2025-09-18 20:53.54 ---> saved as "351436958f92f78a88e06fe38470767537ad17251d2926563985d8c31bc97ed7"

/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-09-18 20:54.10 ---> saved as "46d945b90ad5ff5bc26d93d873d4300de075e44872c9b346d663c0b39c5c2fd7"

/home/opam: (copy (src .) (dst opam-repository/))
2025-09-18 20:54.18 ---> saved as "58077f2954ab6009d9bf7c79a48ae7e5aa6ef6b71c95975f36b5a9f69b72768e"

/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 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2025-09-18 20:54.32 ---> saved as "43bfba89f8e9352fbadcbbfc96810f5895d2769cdbaa553058e00b988312471c"

/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 trixie InRelease
Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [40.4 kB]
Fetched 131 kB in 0s (1570 kB/s)
Reading package lists...
# OS package update successful
2025-09-18 20:54.33 ---> saved as "3661b0aa8b242d72c2d08a0c5877d7b7d5f7cc273f896f990ad1b6267acc4b8f"

/home/opam: (run (shell "opam pin add -k version -yn tezt.4.2.0 4.2.0"))
tezt is now pinned to version 4.2.0
2025-09-18 20:54.33 ---> saved as "f953e0281711ee7d03b92f78ef33d3a93cb223ce815b88a5fce2dc3c927c3be5"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext tezt.4.2.0 && opam reinstall tezt.4.2.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-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'tezt.4.2.0' && 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
# No extra OS packages requirements found.
# All required OS packages found.
tezt.4.2.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install ocamlbuild        0.16.1  [required by jsonm]
  - install seq               base    [required by re]
  - install ocamlfind         1.9.8   [required by jsonm]
  - install dune              3.20.2  [required by tezt]
  - install topkg             1.1.0   [required by jsonm]
  - install base-bytes        base    [required by ocplib-endian]
  - install sexplib0          v0.17.0 [required by ezjsonm]
  - install re                1.13.2  [required by tezt]
  - install cstruct           4.0.0   [required by hex]
  - install csexp             1.5.2   [required by dune-configurator]
  - install cppo              1.8.0   [required by lwt]
  - install clap              0.3.0   [required by tezt]
  - install uutf              1.0.4   [required by ezjsonm]
  - install hex               1.5.0   [required by ezjsonm]
  - install dune-configurator 3.20.2  [required by lwt]
  - install ocplib-endian     1.2     [required by lwt]
  - install jsonm             1.0.2   [required by ezjsonm]
  - install lwt               5.9.2   [required by tezt]
  - install ezjsonm           1.3.0   [required by tezt]
  - install tezt              4.2.0*
===== 20 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[clap.0.3.0] found in cache
[cppo.1.8.0] found in cache
[csexp.1.5.2] found in cache
[cstruct.4.0.0] found in cache
[dune.3.20.2] found in cache
[dune-configurator.3.20.2] found in cache
[ezjsonm.1.3.0] found in cache
[hex.1.5.0] found in cache
[jsonm.1.0.2] found in cache
[lwt.5.9.2] found in cache
[ocamlbuild.0.16.1] found in cache
[ocamlfind.1.9.8] found in cache
[ocplib-endian.1.2] found in cache
[re.1.13.2] found in cache
[sexplib0.v0.17.0] found in cache
[tezt.4.2.0] found in cache
[topkg.1.1.0] found in cache
[uutf.1.0.4] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed seq.base
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed uutf.1.0.4
-> installed jsonm.1.0.2
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed clap.0.3.0
-> installed cstruct.4.0.0
-> installed cppo.1.8.0
-> installed re.1.13.2
-> installed sexplib0.v0.17.0
-> installed hex.1.5.0
-> installed ocplib-endian.1.2
-> installed ezjsonm.1.3.0
-> installed dune-configurator.3.20.2
-> installed lwt.5.9.2
-> installed tezt.4.2.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-09-18 20:55.08 ---> saved as "9ad96bcebec5e2b3a6ba98e13a66bd2f6f631bd17df62f6265d103a22bc73b78"

/home/opam: (run (network host)
                 (shell "(opam depext --with-test tezt.4.2.0 && opam reinstall --with-test tezt.4.2.0) || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
[ERROR] No solution for tezt.4.2.0: The following dependencies couldn't be met:
          - tezt -> ocamlformat = 0.26.2 -> ocamlformat-lib = 0.26.2 -> ocaml < 5.3
              base of this switch (use `--unlock-base' to force)


Command failed: opam list --readonly --with-test --external '--resolve=tezt.4.2.0' --color=never returned 20
2025-09-18 20:55.11 ---> saved as "51f01d47b1ff89c914bd4a190acdae17162cdecc765f61d1be648b3f2bfb0128"

/home/opam: (run (shell  "opam depext --with-test tezt.4.2.0 && opam reinstall --with-test --verbose tezt.4.2.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-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'tezt.4.2.0' && 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
[ERROR] No solution for tezt.4.2.0: The following dependencies couldn't be met:
          - tezt -> ocamlformat = 0.26.2 -> ocamlformat-lib = 0.26.2 -> ocaml < 5.3
              base of this switch (use `--unlock-base' to force)


Command failed: opam list --readonly --with-test --external '--resolve=tezt.4.2.0' --color=never returned 20
"/usr/bin/env" "bash" "-c" "opam depext --with-test tezt.4.2.0 && opam reinstall --with-test --verbose tezt.4.2.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-13\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'tezt.4.2.0' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 20
2025-09-18 20:55.22: Job failed: Failed: Build failed
2025-09-18 20:55.22: Log analysis:
2025-09-18 20:55.22: >>> 
[ERROR] No solution for tezt.4.2.0: The following dependencies couldn't be met:
 (score = 100)
2025-09-18 20:55.22: >>> 
[ERROR] No solution for tezt.4.2.0: The following dependencies couldn't be met:
 (score = 100)
2025-09-18 20:55.22: [SKIP] Package not available