(for PR #27453)

2025-02-17 01:48.29: New job: test owee.0.8, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27453/head (7f5e4ebe590177150a262f97807f05af19cbd3a6)
                              on debian-12-ocaml-4.13/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/27453/head" && git reset --hard 7f5e4ebe
git fetch origin master
git merge --no-edit a17a63ad3c59d7e1f745e87d85b858a34e0cda25
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.13@sha256:b79c24dca625bbec6413dfdcf3ad7aa33b3935ec77503b5b7522ed53dc59ef7a
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /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 owee.0.8 0.8
RUN opam reinstall owee.0.8; \
    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" != 'owee.0.8' && 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 owee.0.8) || true
RUN opam reinstall --with-test --verbose owee.0.8; \
    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" != 'owee.0.8' && 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-02-17 01:48.29: Using cache hint "ocaml/opam:debian-12-ocaml-4.13@sha256:b79c24dca625bbec6413dfdcf3ad7aa33b3935ec77503b5b7522ed53dc59ef7a-owee.0.8-7f5e4ebe590177150a262f97807f05af19cbd3a6"
2025-02-17 01:48.29: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.13@sha256:b79c24dca625bbec6413dfdcf3ad7aa33b3935ec77503b5b7522ed53dc59ef7a)
 (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 "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 owee.0.8 0.8"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall owee.0.8;\
             \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\" != 'owee.0.8' && 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 owee.0.8) || true"))
 (run (shell  "opam reinstall --with-test --verbose owee.0.8;\
             \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\" != 'owee.0.8' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-02-17 01:48.29: Waiting for resource in pool OCluster
2025-02-17 01:48.29: Waiting for worker…
2025-02-17 01:50.25: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
Updating files:  93% (21805/23369)
Updating files:  94% (21967/23369)
Updating files:  95% (22201/23369)
Updating files:  96% (22435/23369)
Updating files:  97% (22668/23369)
Updating files:  98% (22902/23369)
Updating files:  99% (23136/23369)
Updating files: 100% (23369/23369)
Updating files: 100% (23369/23369), done.
HEAD is now at a17a63ad3c Merge pull request #27452 from chetmurthy/release-pcre2-ocaml-8.0.3
Updating a17a63ad3c..7f5e4ebe59
Fast-forward
 packages/owee/owee.0.8/opam | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 packages/owee/owee.0.8/opam

(from ocaml/opam:debian-12-ocaml-4.13@sha256:b79c24dca625bbec6413dfdcf3ad7aa33b3935ec77503b5b7522ed53dc59ef7a)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.13@sha256:b79c24dca625bbec6413dfdcf3ad7aa33b3935ec77503b5b7522ed53dc59ef7a' locally
docker.io/ocaml/opam@sha256:b79c24dca625bbec6413dfdcf3ad7aa33b3935ec77503b5b7522ed53dc59ef7a: Pulling from ocaml/opam
f5e76ecb0fc1: Pulling fs layer
f5e76ecb0fc1: Verifying Checksum
f5e76ecb0fc1: Download complete
f5e76ecb0fc1: Pull complete
Digest: sha256:b79c24dca625bbec6413dfdcf3ad7aa33b3935ec77503b5b7522ed53dc59ef7a
Status: Downloaded newer image for ocaml/opam@sha256:b79c24dca625bbec6413dfdcf3ad7aa33b3935ec77503b5b7522ed53dc59ef7a
2025-02-17 01:50.44 ---> using "859b931f958f6b14f0b4905d1c616f8ea3847a88b0dc8c8924e69fc5f7886a2f" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-02-17 01:50.44 ---> using "81c9db0215c1e391a844c2894c0ac64e449c24556b84e3266a181bff5347ae2d" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] no changes from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-02-17 01:50.44 ---> using "5eaa9d386bc4419cc2f0ee547c6014837a6aaf4bfd66fe6364ddf28c3fe2c4be" 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.4.0~alpha1~dev (747e73667ad9d054b0f736be205c0013e1bec087)
# 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                 71
# repositories         1 (local), 1 (version-controlled)
# pinned               1 (version)
# current-switch       4.13
# invariant            ["ocaml-base-compiler" {= "4.13.1"}]
# compiler-packages    ocaml-base-compiler.4.13.1, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.13/lib/ocaml/stublibs:/home/opam/.opam/4.13/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.13.1
2025-02-17 01:50.44 ---> using "8fe6230b759a19ffd891555b84d8077b384b548b3dba3ef3e650b2347221c7a1" 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-02-17 01:50.44 ---> using "93da0b5002e624ebfb72f044ddceb55c1165bb0da47ff6712dd368b1c356b28a" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-02-17 01:50.55 ---> saved as "8d4659f7d76eab98958cb04f41456cab53835a7c0702543154af6234443974cb"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-02-17 01:51.47 ---> saved as "0cd84ef73f45ac8d8e7dd2f4f23e0729cf766daa1fe559b82561d64dae3d93ed"

/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 [245 kB]
- Fetched 348 kB in 1s (463 kB/s)
- Reading package lists...
- 
2025-02-17 01:51.48 ---> saved as "6a98c45d143bc8a3f6ae90d4f2e5602d8fddb0a1e880977536304dcfd83edfc2"

/home/opam: (run (shell "opam pin add -k version -yn owee.0.8 0.8"))
owee is now pinned to version 0.8
2025-02-17 01:51.50 ---> saved as "6ffe007b2e8c8fd2ab518677cd2529782a3003dd1859fe0bfd55f03c157689a4"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall owee.0.8;\
                        \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\" != 'owee.0.8' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
owee.0.8 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
  - install dune 3.17.2       [required by owee]
  - install owee 0.8 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.17.2  (cached)
-> retrieved owee.0.8  (https://github.com/let-def/owee/releases/download/v0.8/owee-0.8.tbz)
-> installed dune.3.17.2
-> installed owee.0.8
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-17 01:52.32 ---> saved as "8cd2e1d6608d0f6ab720cb46a707139f30ee4dd6a05c2bbead0f70513683a046"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test owee.0.8) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile owee     0.8 (pinned)
=== install 1 package
  - install   cmdliner 1.3.0        [required by owee]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.3.0  (https://erratique.ch/software/cmdliner/releases/cmdliner-1.3.0.tbz)
-> removed   owee.0.8
-> installed cmdliner.1.3.0
-> installed owee.0.8
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-17 01:52.55 ---> saved as "afcb4003302a03dc50ee32c55e067e5734ca3b3f29f09861aa08972b68f44ecf"

/home/opam: (run (shell  "opam reinstall --with-test --verbose owee.0.8;\
                        \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\" != 'owee.0.8' && 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 owee 0.8 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/4: [owee: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "owee" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/4.13/.opam-switch/build/owee.0.8)
-> compiled  owee.0.8
-> removed   owee.0.8
-> installed owee.0.8
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-17 01:53.12 ---> saved as "a8a10454e19fea16cc9e5698a7f363de7b98074eec091c833d3614d15a1fe82d"
Job succeeded
2025-02-17 01:53.19: Job succeeded