(for PR #24267)
2025-10-17 13:54.21: New job: build orrandomForest.1.0.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/24267/head (41de505ec8ff3637ab3cb06a41ccbc29683f566c)
on opensuse-tumbleweed-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/24267/head" && git reset --hard 41de505e
git fetch origin master
git merge --no-edit 5bf570252bd9fee71938b828ca0b86573c1e3355
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-tumbleweed-ocaml-5.4@sha256:96558c06a9c8d637e19630f6fc57c7f6a0cb09e844c631bacc853170d9575f6d
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 orrandomForest.1.0.0 1.0.0
RUN opam reinstall orrandomForest.1.0.0; \
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" != 'orrandomForest.1.0.0' && 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-10-17 13:54.21: Using cache hint "ocaml/opam:opensuse-tumbleweed-ocaml-5.4@sha256:96558c06a9c8d637e19630f6fc57c7f6a0cb09e844c631bacc853170d9575f6d-orrandomForest.1.0.0-41de505ec8ff3637ab3cb06a41ccbc29683f566c"
2025-10-17 13:54.21: Using OBuilder spec:
((from ocaml/opam:opensuse-tumbleweed-ocaml-5.4@sha256:96558c06a9c8d637e19630f6fc57c7f6a0cb09e844c631bacc853170d9575f6d)
(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 orrandomForest.1.0.0 1.0.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall orrandomForest.1.0.0;\
\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\" != 'orrandomForest.1.0.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-10-17 13:54.21: Connecting to build cluster…
2025-10-17 13:54.21: Waiting for resource in pool OCluster
2025-10-17 14:14.29: Waiting for worker…
2025-10-17 14:17.08: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at 5bf570252b Merge pull request #28700 from drjdn/opam-publish-p5scm.0.5.0
Merge made by the 'ort' strategy.
packages/odnnr/odnnr.2.0.0/opam | 4 +---
packages/oplsr/oplsr.8.0.1/opam | 3 +--
packages/orrandomForest/orrandomForest.1.0.0/opam | 5 +----
packages/orrandomForest/orrandomForest.2.0.1/opam | 7 +------
packages/orrandomForest/orrandomForest.3.0.0/opam | 7 +------
packages/orsvm_e1071/orsvm_e1071.2.0.0/opam | 3 ---
packages/orsvm_e1071/orsvm_e1071.3.0.0/opam | 5 +----
packages/orsvm_e1071/orsvm_e1071.3.0.1/opam | 2 +-
packages/orsvm_e1071/orsvm_e1071.3.0.2/opam | 2 +-
packages/orsvm_e1071/orsvm_e1071.4.0.0/opam | 2 +-
packages/orxgboost/orxgboost.1.0.1/opam | 5 +----
packages/orxgboost/orxgboost.1.1.0/opam | 5 +----
packages/orxgboost/orxgboost.1.2.0/opam | 5 +----
13 files changed, 12 insertions(+), 43 deletions(-)
(from ocaml/opam:opensuse-tumbleweed-ocaml-5.4@sha256:96558c06a9c8d637e19630f6fc57c7f6a0cb09e844c631bacc853170d9575f6d)
Unable to find image 'ocaml/opam:opensuse-tumbleweed-ocaml-5.4@sha256:96558c06a9c8d637e19630f6fc57c7f6a0cb09e844c631bacc853170d9575f6d' locally
docker.io/ocaml/opam@sha256:96558c06a9c8d637e19630f6fc57c7f6a0cb09e844c631bacc853170d9575f6d: Pulling from ocaml/opam
1a75afe8393a: Already exists
f5c8bd42745b: Pulling fs layer
7bffc7aa9e33: Pulling fs layer
3333208aa607: Pulling fs layer
4da22755b100: Pulling fs layer
27bef26340c8: Pulling fs layer
ce1ccc171915: Pulling fs layer
f5c8bd42745b: Waiting
9b69e046bfa7: Pulling fs layer
4da22755b100: Waiting
3333208aa607: Waiting
7bffc7aa9e33: Waiting
27bef26340c8: Waiting
9b69e046bfa7: Waiting
f5c8bd42745b: Verifying Checksum
f5c8bd42745b: Download complete
f5c8bd42745b: Pull complete
7bffc7aa9e33: Verifying Checksum
7bffc7aa9e33: Download complete
7bffc7aa9e33: Pull complete
3333208aa607: Verifying Checksum
3333208aa607: Download complete
3333208aa607: Pull complete
4da22755b100: Verifying Checksum
4da22755b100: Download complete
27bef26340c8: Download complete
ce1ccc171915: Verifying Checksum
ce1ccc171915: Download complete
9b69e046bfa7: Verifying Checksum
9b69e046bfa7: Download complete
4da22755b100: Pull complete
27bef26340c8: Pull complete
ce1ccc171915: Pull complete
9b69e046bfa7: Pull complete
Digest: sha256:96558c06a9c8d637e19630f6fc57c7f6a0cb09e844c631bacc853170d9575f6d
Status: Downloaded newer image for ocaml/opam@sha256:96558c06a9c8d637e19630f6fc57c7f6a0cb09e844c631bacc853170d9575f6d
2025-10-17 14:17.34 ---> using "2d7958b593bffb3c0818147969a5f684ad7010725948848c0b916ac25500e800" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-10-17 14:17.34 ---> using "75577a965aab0e567b8176800a1f873724bada09c65b18e4650df00be93a74c8" 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
2025-10-17 14:17.34 ---> using "688d8068e207c8b540c433188abbcd192c76b4d98f188422be391f53e6ce6ff5" 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.4.1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=opensuse-tumbleweed os-version=20251007
# 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.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
2025-10-17 14:17.34 ---> using "2fad1fb2b0ba5ae10ee35ddbcd554d51cca06e0dc3aa883eeb7bbd06e28778c8" 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/"))
2025-10-17 14:17.34 ---> using "80e4013cb9d0f45645f76b8d84ffc51d150323d01c7bbaf24af0fc8321cb2695" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-10-17 14:17.35 ---> using "cb4aa63f2480a39b46aeac460e7ae37dd08844cce0fb4b864b945b69e69582cf" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-10-17 14:17.41 ---> saved as "224fd5d57ec9df384c2a2f90f5a84e7279b15bcdd4a8b956e4104ea3900b0007"
/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-10-17 14:19.29 ---> saved as "0a349b0928ed797cdbe35677f2b0215fc1c50f1cf613e0e02182a2ca4c3c7714"
/home/opam: (run (shell "opam pin add -k version -yn orrandomForest.1.0.0 1.0.0"))
orrandomForest is now pinned to version 1.0.0
2025-10-17 14:19.30 ---> saved as "52c9fb2c2529afbd52c2f17324b27a20100bd29bcbf1a0445d8e1b4081cfc4fd"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall orrandomForest.1.0.0;\
\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\" != 'orrandomForest.1.0.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
orrandomForest.1.0.0 is not installed. Install it? [Y/n] y
* Incompatible packages:
- (invariant) -> ocaml-base-compiler >= 5.4.0
- orrandomForest < 2.0.1 -> dolog < 4.0.0 -> ocaml < 5.0.0 -> dkml-base-compiler
You can temporarily relax the switch invariant with `--update-invariant'
* Incompatible packages:
- (invariant) -> ocaml-base-compiler >= 5.4.0
- orrandomForest < 2.0.1 -> dolog < 4.0.0 -> ocaml < 5.0.0 -> ocaml-variants
* Missing dependency:
- orrandomForest < 2.0.1 -> dolog < 4.0.0 -> ocaml < 5.0.0 -> ocaml-base-compiler (<= 3.07+1 | = 3.07+2 | = 3.08.0 | = 3.08.1 | = 3.08.2 | = 3.08.3 | = 3.08.4 | = 3.09.0) | ocaml-system (<= 3.07+1 | = 3.07+2 | >= 3.08.0) | ocaml-variants < 3.09.1~
not available because the package is pinned to version 5.4.0
unmet availability conditions, e.g. 'sys-ocaml-version = "5.4.0" & (os != "win32" | sys-ocaml-libc = "msvc")'
no matching version
* Missing dependency:
- orrandomForest < 2.0.1 -> dolog < 4.0.0 -> ocaml < 5.0.0 -> ocaml-variants -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- orrandomForest < 2.0.1 -> dolog < 4.0.0 -> ocaml < 5.0.0 -> ocaml-variants -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall orrandomForest.1.0.0;
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" != 'orrandomForest.1.0.0' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1" failed with exit status 20
2025-10-17 14:19.50: Job failed: Failed: Build failed
2025-10-17 14:19.50: Log analysis:
2025-10-17 14:19.50: >>>
No solution found, exiting
(score = 100)
2025-10-17 14:19.50: [SKIP] Package not available