(for PR #29258)

2026-01-21 13:57.58: New job: test reason.3.17.3, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29258/head (1254c043ffa352731f4d34dd88feacb6acdb9f33)
                              on fedora-43-ocaml-5.4/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/29258/head" && git reset --hard 1254c043
git fetch origin master
git merge --no-edit 10a02a697b08f6d78a6c4c2cb9a76136afc7776d
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-43-ocaml-5.4@sha256:1e157411a029dc296401a6334a17eeba0eb85cc40889b2644a1eb588b63a2ed2
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 reason.3.17.3 3.17.3
RUN opam reinstall reason.3.17.3; \
    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-43\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'reason.3.17.3' && 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 reason.3.17.3) || true
RUN opam reinstall --with-test --verbose reason.3.17.3; \
    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-43\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'reason.3.17.3' && 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 .

2026-01-21 13:57.58: Using cache hint "ocaml/opam:fedora-43-ocaml-5.4@sha256:1e157411a029dc296401a6334a17eeba0eb85cc40889b2644a1eb588b63a2ed2-reason.3.17.3-1254c043ffa352731f4d34dd88feacb6acdb9f33"
2026-01-21 13:57.58: Using OBuilder spec:
((from ocaml/opam:fedora-43-ocaml-5.4@sha256:1e157411a029dc296401a6334a17eeba0eb85cc40889b2644a1eb588b63a2ed2)
 (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 reason.3.17.3 3.17.3"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall reason.3.17.3;\
             \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-43\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'reason.3.17.3' && 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 reason.3.17.3) || true"))
 (run (shell  "opam reinstall --with-test --verbose reason.3.17.3;\
             \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-43\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'reason.3.17.3' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-01-21 13:57.58: Waiting for resource in pool OCluster
2026-01-21 13:58.00: Waiting for worker…
2026-01-21 13:58.02: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 10a02a697b Merge pull request #29249 from panglesd/release-slipshow-v0.8.0
Updating 10a02a697b..1254c043ff
Fast-forward
 packages/reason/reason.3.17.3/opam | 52 ++++++++++++++++++++++++++++++++++++++
 packages/rtop/rtop.3.17.3/opam     | 45 +++++++++++++++++++++++++++++++++
 2 files changed, 97 insertions(+)
 create mode 100644 packages/reason/reason.3.17.3/opam
 create mode 100644 packages/rtop/rtop.3.17.3/opam

(from ocaml/opam:fedora-43-ocaml-5.4@sha256:1e157411a029dc296401a6334a17eeba0eb85cc40889b2644a1eb588b63a2ed2)
2026-01-21 13:59.11 ---> using "563e5d8b9f29a10b04d1d47babf031cb5cb9e45915fe6744769ea81d40437d42" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-01-21 13:59.11 ---> using "e8e94176244ec8681f2986dd72bd593f333bdbc2f88bbcb302834b35716aba50" 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 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
2026-01-21 13:59.11 ---> using "01fc7c0691f4733dae33afed3324b756f5adae23e649af9f578ac4e1c51367cd" 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.5.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=fedora os-version=43
# 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.4
# invariant            ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages    ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.0
2026-01-21 13:59.11 ---> using "a8eace04e44e96490d98dd71c337412f44cbe32748c5747a797e5f7ebdde76ca" 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/"))
2026-01-21 13:59.11 ---> using "eaeb7137240ddeb924bfa449d8aceee6856befa2e044a9e1bd9f4bcdc93f259a" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-21 13:59.20 ---> saved as "83cf7fa5ad1711415c0a6bb233a28205ecc8e48658915c6c72c0e9582e48c50f"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-21 13:59.40 ---> saved as "78f28fd9a8a25a7907fec084fe85eae719df240ba555c10e9fb57b6b03402da1"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
-  Fedora 43 - x86_64 - Updates           100% |  19.4 KiB/s |   9.6 KiB |  00m00s
- Repositories loaded.
- Metadata cache created.
2026-01-21 13:59.43 ---> saved as "c0ba3b6edcb8f3efdbaa0cba0b712d9af27f9f9488d8ddb19b1faab243332c76"

/home/opam: (run (shell "opam pin add -k version -yn reason.3.17.3 3.17.3"))
reason is now pinned to version 3.17.3
2026-01-21 13:59.43 ---> saved as "705d196006677f425a1930966865606fdc800cb17df27d02e2b96b9a350ce8c6"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall reason.3.17.3;\
                        \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-43\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'reason.3.17.3' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
reason.3.17.3 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 17 packages
  - install cmdliner            2.1.0           [required by reason]
  - install cppo                1.8.0           [required by reason]
  - install dune                3.21.0          [required by reason]
  - install dune-build-info     3.21.0          [required by reason]
  - install fix                 20250919        [required by reason]
  - install menhir              20250912        [required by reason]
  - install menhirCST           20250912        [required by menhir]
  - install menhirLib           20250912        [required by menhir]
  - install menhirSdk           20250912        [required by menhir]
  - install merlin-extend       0.6.2           [required by reason]
  - install ocaml-compiler-libs v0.17.0         [required by ppxlib]
  - install ocamlfind           1.9.8           [required by reason]
  - install ppx_derivers        1.2.1           [required by ppxlib]
  - install ppxlib              0.37.0          [required by reason]
  - install reason              3.17.3 (pinned)
  - install sexplib0            v0.17.0         [required by ppxlib]
  - install stdlib-shims        0.3.0           [required by ppxlib]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved dune.3.21.0, dune-build-info.3.21.0  (cached)
-> retrieved fix.20250919  (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912  (cached)
-> retrieved merlin-extend.0.6.2  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> installed cmdliner.2.1.0
-> retrieved ppxlib.0.37.0  (cached)
-> retrieved reason.3.17.3  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.21.0
-> installed cppo.1.8.0
-> installed menhirCST.20250912
-> installed fix.20250919
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed merlin-extend.0.6.2
-> installed menhirSdk.20250912
-> installed sexplib0.v0.17.0
-> installed menhirLib.20250912
-> installed dune-build-info.3.21.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed menhir.20250912
-> installed ppxlib.0.37.0
-> installed reason.3.17.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-21 14:00.46 ---> saved as "7084068f08e8ed7bd0b7c311f23153fd0e9523f915436eec94141b2753033cda"

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   reason.3.17.3
-> installed reason.3.17.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-21 14:01.05 ---> saved as "4f084fdaedd1fedbbf3b61c00b9fa898a0907cea5321ff527815f6355a9f0f61"

/home/opam: (run (shell  "opam reinstall --with-test --verbose reason.3.17.3;\
                        \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-43\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'reason.3.17.3' && 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 reason 3.17.3 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/4: [reason: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "reason" "-j" "255" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/reason.3.17.3)
- (cd _build/default/src/refmt && /usr/sbin/bash -e -u -o pipefail -c 'echo let version = \"$(git rev-parse --verify HEAD)\"') > _build/default/src/refmt/git_commit.ml
- fatal: not a git repository (or any parent up to mount point /)
- Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
- (cd _build/default/src/refmt && /usr/sbin/bash -e -u -o pipefail -c 'echo let short_version = \"$(git rev-parse --short HEAD)\"') > _build/default/src/refmt/git_commit.ml
- fatal: not a git repository (or any parent up to mount point /)
- Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
-> compiled  reason.3.17.3
-> removed   reason.3.17.3
-> installed reason.3.17.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-21 14:01.22 ---> saved as "e0d81e865488c7c7a87059926994bde3b6c98c5322419e0f917522481a9a0018"
Job succeeded
2026-01-21 14:02.44: Job succeeded