(for PR #27984)

2025-06-09 18:40.29: New job: test runtime_events_tools_bare.0.5.2, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27984/head (9e2b2f55a32eeb63c1566ddc5da11e048a0b45a9)
                              on debian-12-ocaml-5.3-no-flat-float-array/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/27984/head" && git reset --hard 9e2b2f55
git fetch origin master
git merge --no-edit 6db96b377f993aa0c7ffb5c06737929e583f3305
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3-no-flat-float-array@sha256:e20686d4b276e0ac824d875bac91c019080a8f457566ad017d7a8421921050bf
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 runtime_events_tools_bare.0.5.2 0.5.2
RUN opam reinstall runtime_events_tools_bare.0.5.2; \
    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" != 'runtime_events_tools_bare.0.5.2' && 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 runtime_events_tools_bare.0.5.2) || true
RUN opam reinstall --with-test --verbose runtime_events_tools_bare.0.5.2; \
    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" != 'runtime_events_tools_bare.0.5.2' && 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-06-09 18:40.29: Using cache hint "ocaml/opam:debian-12-ocaml-5.3-no-flat-float-array@sha256:e20686d4b276e0ac824d875bac91c019080a8f457566ad017d7a8421921050bf-runtime_events_tools_bare.0.5.2-9e2b2f55a32eeb63c1566ddc5da11e048a0b45a9"
2025-06-09 18:40.29: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3-no-flat-float-array@sha256:e20686d4b276e0ac824d875bac91c019080a8f457566ad017d7a8421921050bf)
 (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 runtime_events_tools_bare.0.5.2 0.5.2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall runtime_events_tools_bare.0.5.2;\
             \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\" != 'runtime_events_tools_bare.0.5.2' && 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 runtime_events_tools_bare.0.5.2) || true"))
 (run (shell  "opam reinstall --with-test --verbose runtime_events_tools_bare.0.5.2;\
             \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\" != 'runtime_events_tools_bare.0.5.2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-06-09 18:40.29: Waiting for resource in pool OCluster
2025-06-09 18:40.29: Waiting for worker…
2025-06-09 18:40.29: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
Updating files:  98% (22796/23222)
Updating files:  99% (22990/23222)
Updating files: 100% (23222/23222)
Updating files: 100% (23222/23222), done.
HEAD is now at 6db96b377f Merge pull request #28003 from punchagan/opam-publish-opam-ci-check-lint.0.1
Merge made by the 'ort' strategy.
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
warning: The last gc run reported the following. Please correct the root cause
and remove .git/gc.log
Automatic cleanup will not be performed until the file is removed.

warning: There are too many unreachable loose objects; run 'git prune' to remove them.

 .../runtime_events_tools.0.5.2/opam                | 44 ++++++++++++++++++++++
 .../runtime_events_tools_bare.0.5.2/opam           | 39 +++++++++++++++++++
 2 files changed, 83 insertions(+)
 create mode 100644 packages/runtime_events_tools/runtime_events_tools.0.5.2/opam
 create mode 100644 packages/runtime_events_tools_bare/runtime_events_tools_bare.0.5.2/opam

(from ocaml/opam:debian-12-ocaml-5.3-no-flat-float-array@sha256:e20686d4b276e0ac824d875bac91c019080a8f457566ad017d7a8421921050bf)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3-no-flat-float-array@sha256:e20686d4b276e0ac824d875bac91c019080a8f457566ad017d7a8421921050bf' locally
docker.io/ocaml/opam@sha256:e20686d4b276e0ac824d875bac91c019080a8f457566ad017d7a8421921050bf: Pulling from ocaml/opam
12a2d27d6f9e: Pulling fs layer
12a2d27d6f9e: Verifying Checksum
12a2d27d6f9e: Download complete
12a2d27d6f9e: Pull complete
Digest: sha256:e20686d4b276e0ac824d875bac91c019080a8f457566ad017d7a8421921050bf
Status: Downloaded newer image for ocaml/opam@sha256:e20686d4b276e0ac824d875bac91c019080a8f457566ad017d7a8421921050bf
2025-06-09 18:42.41 ---> saved as "9647002212625de89846f744a3b42fb770d240f6ff34d2f151305cd73127d2c9"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-09 18:42.42 ---> saved as "8bc17754e16c6d71326c509eec1ccc13480fd3ff0683fbfacf278ef29054936a"

/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.

Continue? [y/n] y
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.

[NOTE] The 'jobs' option was reset, its value was 71 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=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-09 18:43.10 ---> saved as "831029e72975319c9a2e52b18a51b302e14e0009857e22ae77d6aeab844bf0cc"

/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                 255
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.3
# invariant            ["ocaml-variants" {= "5.3.0+options"}]
# compiler-packages    ocaml-compiler.5.3.0, ocaml-option-no-flat-float-array.1, ocaml-options-only-no-flat-float-array.1, ocaml-variants.5.3.0+options
# 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+options+no-flat-float-array
2025-06-09 18:43.11 ---> saved as "de43a57fcf276b2dff2fdfb3c097ed1e9b99888944f419408836645824e3b266"

/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-06-09 18:43.20 ---> saved as "d3347d81ae041fd8c626f839f7d54693a541c757b4a2f4709f8c546443434d36"

/home/opam: (copy (src .) (dst opam-repository/))
2025-06-09 18:43.26 ---> saved as "5eddcc354e05bed894575134c5ce6c8960b3b5aa4cef0d3ecb3ca88d528b9795"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-09 18:43.48 ---> saved as "61ede5e82f0b67665e93a163f6c384faed433b3e1afeb9cffca43bd600a43a88"

/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 [266 kB]
- Fetched 369 kB in 0s (984 kB/s)
- Reading package lists...
2025-06-09 18:43.49 ---> saved as "d0b18918a5031b0804324ad3f474a28458b9d474f722baead4e9346b0c765409"

/home/opam: (run (shell "opam pin add -k version -yn runtime_events_tools_bare.0.5.2 0.5.2"))
runtime_events_tools_bare is now pinned to version 0.5.2
2025-06-09 18:43.50 ---> saved as "2531cd19f0f66c125bfa5158eb8a82d5f650ccd0b6ba1d1fafc00e95f566ee6b"

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved dune.3.19.0  (cached)
-> retrieved runtime_events_tools_bare.0.5.2  (cached)
-> installed cmdliner.1.3.0
-> installed dune.3.19.0
-> installed runtime_events_tools_bare.0.5.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-09 18:44.16 ---> saved as "0f2c8cf5294df040ea4a866670c50584aa523ef6b31a96b4393bcdf460739752"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test runtime_events_tools_bare.0.5.2) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile runtime_events_tools_bare 0.5.2 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   runtime_events_tools_bare.0.5.2
-> installed runtime_events_tools_bare.0.5.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-09 18:44.21 ---> saved as "70e73602b0c88fa4395ecba05ac942ff947e90295b0585c1afda4b1d3ccf9a3b"

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/4: [runtime_events_tools_bare: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "runtime_events_tools_bare" "-j" "255" "@install" "@runtest" (CWD=/home/opam/.opam/5.3/.opam-switch/build/runtime_events_tools_bare.0.5.2)
-> compiled  runtime_events_tools_bare.0.5.2
-> removed   runtime_events_tools_bare.0.5.2
-> installed runtime_events_tools_bare.0.5.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-09 18:44.25 ---> saved as "5f1cecf23058189fa367d49fef9dd5a6f0c50da56d99170b3a36e8cfdd8ab2b8"
Job succeeded
2025-06-09 18:44.32: Job succeeded