(for PR #25379)

2025-01-10 07:44.36: New job: build vlt.0.1.2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/25379/head (2cfe47973fc11d3a31efa7de47bc64adcf96560d)
                              on fedora-41-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/25379/head" && git reset --hard 2cfe4797
git fetch origin master
git merge --no-edit 67e940587b8aca227f511e1943bcd31eabe6b1db
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-41-ocaml-5.3@sha256:13cf73d0d99ba7326fdb4265f9b2d3ee11bb6229fe4c901ead84bb64cdd0a1a9
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 vlt.0.1.2 0.1.2
RUN opam reinstall vlt.0.1.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 "\"fedora-41\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'vlt.0.1.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-01-10 07:44.36: Using cache hint "ocaml/opam:fedora-41-ocaml-5.3@sha256:13cf73d0d99ba7326fdb4265f9b2d3ee11bb6229fe4c901ead84bb64cdd0a1a9-vlt.0.1.2-2cfe47973fc11d3a31efa7de47bc64adcf96560d"
2025-01-10 07:44.36: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-5.3@sha256:13cf73d0d99ba7326fdb4265f9b2d3ee11bb6229fe4c901ead84bb64cdd0a1a9)
 (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 vlt.0.1.2 0.1.2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall vlt.0.1.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 \"\\\"fedora-41\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'vlt.0.1.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-01-10 07:44.36: Connecting to build cluster…
2025-01-10 07:44.36: Waiting for resource in pool OCluster
2025-01-10 07:44.40: Waiting for worker…
2025-01-10 07:44.55: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
Updating files:  77% (22370/28895)
Updating files:  78% (22539/28895)
Updating files:  79% (22828/28895)
Updating files:  80% (23116/28895)
Updating files:  81% (23405/28895)
Updating files:  82% (23694/28895)
Updating files:  83% (23983/28895)
Updating files:  84% (24272/28895)
Updating files:  85% (24561/28895)
Updating files:  86% (24850/28895)
Updating files:  87% (25139/28895)
Updating files:  88% (25428/28895)
Updating files:  89% (25717/28895)
Updating files:  90% (26006/28895)
Updating files:  91% (26295/28895)
Updating files:  92% (26584/28895)
Updating files:  93% (26873/28895)
Updating files:  94% (27162/28895)
Updating files:  95% (27451/28895)
Updating files:  96% (27740/28895)
Updating files:  97% (28029/28895)
Updating files:  98% (28318/28895)
Updating files:  99% (28607/28895)
Updating files: 100% (28895/28895)
Updating files: 100% (28895/28895), done.
HEAD is now at 67e940587b Merge pull request #27236 from kit-ty-kate/opam-publish-mccs.1.1-19
Merge made by the 'ort' strategy.
 packages/vlt/vlt.0.1.2/opam | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
 create mode 100644 packages/vlt/vlt.0.1.2/opam

(from ocaml/opam:fedora-41-ocaml-5.3@sha256:13cf73d0d99ba7326fdb4265f9b2d3ee11bb6229fe4c901ead84bb64cdd0a1a9)
Unable to find image 'ocaml/opam:fedora-41-ocaml-5.3@sha256:13cf73d0d99ba7326fdb4265f9b2d3ee11bb6229fe4c901ead84bb64cdd0a1a9' locally
Error response from daemon: Get "https://registry-1.docker.io/v2/ocaml/opam/manifests/sha256:13cf73d0d99ba7326fdb4265f9b2d3ee11bb6229fe4c901ead84bb64cdd0a1a9": Get "https://auth.docker.io/token?scope=repository%3Aocaml%2Fopam%3Apull&service=registry.docker.io": net/http: TLS handshake timeout
Uncaught exception: Failure("\"docker\" \"create\" \"--\" \"ocaml/opam:fedora-41-ocaml-5.3@sha256:13cf73d0d99ba7326fdb4265f9b2d3ee11bb6229fe4c901ead84bb64cdd0a1a9\" failed with exit status 1")
2025-01-10 07:47.02: Job failed: Failed: Internal error