(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 debian-12-ocaml-5.3/arm64

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@sha256:5b6fdf6e5f6cb072ae2868aa7237fc6471404cd06a5942dcc03b7c44bf1dc213
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.28: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:5b6fdf6e5f6cb072ae2868aa7237fc6471404cd06a5942dcc03b7c44bf1dc213-runtime_events_tools_bare.0.5.2-9e2b2f55a32eeb63c1566ddc5da11e048a0b45a9"
2025-06-09 18:40.28: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:5b6fdf6e5f6cb072ae2868aa7237fc6471404cd06a5942dcc03b7c44bf1dc213)
 (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.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 ainia.caelum.ci.dev
Updating files:  50% (11832/23219)
Updating files:  51% (11842/23219)
Updating files:  52% (12074/23219)
Updating files:  53% (12307/23219)
Updating files:  54% (12539/23219)
Updating files:  55% (12771/23219)
Updating files:  56% (13003/23219)
Updating files:  57% (13235/23219)
Updating files:  58% (13468/23219)
Updating files:  59% (13700/23219)
Updating files:  60% (13932/23219)
Updating files:  61% (14164/23219)
Updating files:  62% (14396/23219)
Updating files:  63% (14628/23219)
Updating files:  64% (14861/23219)
Updating files:  65% (15093/23219)
Updating files:  66% (15325/23219)
Updating files:  67% (15557/23219)
Updating files:  68% (15789/23219)
Updating files:  69% (16022/23219)
Updating files:  70% (16254/23219)
Updating files:  71% (16486/23219)
Updating files:  72% (16718/23219)
Updating files:  73% (16950/23219)
Updating files:  74% (17183/23219)
Updating files:  75% (17415/23219)
Updating files:  76% (17647/23219)
Updating files:  77% (17879/23219)
Updating files:  78% (18111/23219)
Updating files:  79% (18344/23219)
Updating files:  80% (18576/23219)
Updating files:  81% (18808/23219)
Updating files:  82% (19040/23219)
Updating files:  83% (19272/23219)
Updating files:  84% (19504/23219)
Updating files:  85% (19737/23219)
Updating files:  86% (19969/23219)
Updating files:  87% (20201/23219)
Updating files:  88% (20433/23219)
Updating files:  89% (20665/23219)
Updating files:  90% (20898/23219)
Updating files:  91% (21130/23219)
Updating files:  92% (21362/23219)
Updating files:  93% (21594/23219)
Updating files:  94% (21826/23219)
Updating files:  95% (22059/23219)
Updating files:  96% (22291/23219)
Updating files:  97% (22523/23219)
Updating files:  98% (22755/23219)
Updating files:  99% (22987/23219)
Updating files: 100% (23219/23219)
Updating files: 100% (23219/23219), done.
HEAD is now at 0b2c770714 Merge commit '1b214dd1185915e20dd24d04fd5fd7e7b18b7118'
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:debian-12-ocaml-5.3@sha256:5b6fdf6e5f6cb072ae2868aa7237fc6471404cd06a5942dcc03b7c44bf1dc213)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:5b6fdf6e5f6cb072ae2868aa7237fc6471404cd06a5942dcc03b7c44bf1dc213' locally
Error response from daemon: Get "https://registry-1.docker.io/v2/ocaml/opam/manifests/sha256:5b6fdf6e5f6cb072ae2868aa7237fc6471404cd06a5942dcc03b7c44bf1dc213": Get "https://auth.docker.io/token?scope=repository%3Aocaml%2Fopam%3Apull&service=registry.docker.io": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Uncaught exception: Failure("\"docker\" \"create\" \"--\" \"ocaml/opam:debian-12-ocaml-5.3@sha256:5b6fdf6e5f6cb072ae2868aa7237fc6471404cd06a5942dcc03b7c44bf1dc213\" failed with exit status 1")
2025-06-09 18:41.06: Job failed: Failed: Internal error