(for PR #27984)

2025-06-09 18:40.28: 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 opensuse-tumbleweed-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/27984/head" && git reset --hard 9e2b2f55
git fetch origin master
git merge --no-edit 6db96b377f993aa0c7ffb5c06737929e583f3305
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-tumbleweed-ocaml-5.3@sha256:9b9071d78a6511544b843586078053c098ad0017cd23769bd8828851db45af2f
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 "\"opensuse-tumbleweed\""; 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 "\"opensuse-tumbleweed\""; 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.28: Using cache hint "ocaml/opam:opensuse-tumbleweed-ocaml-5.3@sha256:9b9071d78a6511544b843586078053c098ad0017cd23769bd8828851db45af2f-runtime_events_tools_bare.0.5.2-9e2b2f55a32eeb63c1566ddc5da11e048a0b45a9"
2025-06-09 18:40.28: Using OBuilder spec:
((from ocaml/opam:opensuse-tumbleweed-ocaml-5.3@sha256:9b9071d78a6511544b843586078053c098ad0017cd23769bd8828851db45af2f)
 (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 \"\\\"opensuse-tumbleweed\\\"\"; 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 \"\\\"opensuse-tumbleweed\\\"\"; 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.28: Waiting for resource in pool OCluster
2025-06-09 18:40.28: Waiting for worker…
2025-06-09 18:40.28: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
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.
 .../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:opensuse-tumbleweed-ocaml-5.3@sha256:9b9071d78a6511544b843586078053c098ad0017cd23769bd8828851db45af2f)
Unable to find image 'ocaml/opam:opensuse-tumbleweed-ocaml-5.3@sha256:9b9071d78a6511544b843586078053c098ad0017cd23769bd8828851db45af2f' locally
docker.io/ocaml/opam@sha256:9b9071d78a6511544b843586078053c098ad0017cd23769bd8828851db45af2f: Pulling from ocaml/opam
780273ccb6b6: Pulling fs layer
5b6c5bc904d4: Pulling fs layer
ad4fce8f720d: Pulling fs layer
c770a59348ab: Pulling fs layer
ea0efcbd7a8a: Pulling fs layer
f2810bee91f1: Pulling fs layer
3ad56a8e8e1e: Pulling fs layer
46824c97f509: Pulling fs layer
5b6c5bc904d4: Waiting
ea0efcbd7a8a: Waiting
ad4fce8f720d: Waiting
c770a59348ab: Waiting
f2810bee91f1: Waiting
3ad56a8e8e1e: Waiting
46824c97f509: Waiting
5b6c5bc904d4: Verifying Checksum
5b6c5bc904d4: Download complete
ad4fce8f720d: Verifying Checksum
ad4fce8f720d: Download complete
c770a59348ab: Verifying Checksum
c770a59348ab: Download complete
ea0efcbd7a8a: Verifying Checksum
ea0efcbd7a8a: Download complete
f2810bee91f1: Download complete
3ad56a8e8e1e: Verifying Checksum
3ad56a8e8e1e: Download complete
46824c97f509: Verifying Checksum
46824c97f509: Download complete
780273ccb6b6: Verifying Checksum
780273ccb6b6: Download complete
780273ccb6b6: Pull complete
5b6c5bc904d4: Pull complete
ad4fce8f720d: Pull complete
c770a59348ab: Pull complete
ea0efcbd7a8a: Pull complete
f2810bee91f1: Pull complete
3ad56a8e8e1e: Pull complete
46824c97f509: Pull complete
Digest: sha256:9b9071d78a6511544b843586078053c098ad0017cd23769bd8828851db45af2f
Status: Downloaded newer image for ocaml/opam@sha256:9b9071d78a6511544b843586078053c098ad0017cd23769bd8828851db45af2f
2025-06-09 18:44.02 ---> saved as "c59d44876f50be224818e89c0497fdd1224c5890b4d70051c4b6552ff70cb72c"

/: (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:44.03 ---> saved as "7359833c6c378d5596dbe74a4dfb80c0fc586abf68cf107ebd2a1201434dc11d"

/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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-09 18:44.37 ---> saved as "9b95751af8dad151853a01429675a9c35019a9f3acc0237734e99d3a4f8d0706"

/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=opensuse-tumbleweed os-version=20250605
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# 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-06-09 18:44.38 ---> saved as "02aef54f196ff85644fb04b0736c02827eb9821f3c1bf20fb86848d4d4f9d676"

/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:44.45 ---> saved as "87abf42595aaf0e788f6e3ec1e477af820eb2949b9797a931c8726010d232ac6"

/home/opam: (copy (src .) (dst opam-repository/))
2025-06-09 18:44.52 ---> saved as "23b7ba35c94215fcc6088b61ccfc6b57633994105cc0812345f5d8cfefe08477"

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Repository 'openSUSE-Tumbleweed-Update' is up to date.
- Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata [...
- Looking for gpg keys in repository openSUSE-Tumbleweed-Non-Oss.
-   gpgkey=http://download.opensuse.org/tumbleweed/repo/non-oss/repodata/repomd.xml.key
- ......done]
- Building repository 'openSUSE-Tumbleweed-Non-Oss' cache [....done]
- Retrieving repository 'openSUSE-Tumbleweed-Oss' metadata [...
- 
- Looking for gpg keys in repository openSUSE-Tumbleweed-Oss.
-   gpgkey=http://download.opensuse.org/tumbleweed/repo/oss/repodata/repomd.xml.key
- ...........
- ..........
- .......done]
- Building repository 'openSUSE-Tumbleweed-Oss' cache [..
- ..done]
- All repositories have been refreshed.
2025-06-09 18:45.29 ---> saved as "040ba05d0b88dbb94ac775b90c4a0d0e4e3ad8b1aa7287de7f0f2a0550f099bd"

/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:45.30 ---> saved as "597781117bfaa75e9724aadea051178d885a6c6579056fb1c368651c4f8e5e79"

/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 \"\\\"opensuse-tumbleweed\\\"\"; 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:46.09 ---> saved as "362a8885ad9bbe8e070333f7afdbaa942541f12df9174a3fdb57d31ce1b6d45f"

/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:46.17 ---> saved as "8e8c35d36cf2f4b0527a84d559711e3aebcb09ca5151213928abeb955ced6ffa"

/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 \"\\\"opensuse-tumbleweed\\\"\"; 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" "71" "@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:46.25 ---> saved as "73f9c35fcf1d5c75d3c2d8df82af66907a3309067223c175efaa569358830753"
Job succeeded
2025-06-09 18:46.34: Job succeeded