2025-01-11 05:17.30: New job: build linol-eio.0.8, using opam 2.2
from https://github.com/ocaml/opam-repository.git#refs/pull/27246/head (a9279ecc3d9507e2ac76b01c358ecdea7b0c393a)
on debian-12-ocaml-4.14/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/27246/head" && git reset --hard a9279ecc
git fetch origin master
git merge --no-edit 67e940587b8aca227f511e1943bcd31eabe6b1db
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:a65a93c4a095cc9775d83ee598601a4331c579cbba932195941a78b08101e42c
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.2 /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 linol-eio.0.8 0.8
RUN opam reinstall linol-eio.0.8; \
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" != 'linol-eio.0.8' && 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-11 05:17.30: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:a65a93c4a095cc9775d83ee598601a4331c579cbba932195941a78b08101e42c-linol-eio.0.8-a9279ecc3d9507e2ac76b01c358ecdea7b0c393a"
2025-01-11 05:17.30: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:a65a93c4a095cc9775d83ee598601a4331c579cbba932195941a78b08101e42c)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.2 /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 linol-eio.0.8 0.8"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall linol-eio.0.8;\
\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\" != 'linol-eio.0.8' && 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-11 05:17.30: Waiting for resource in pool OCluster
2025-01-11 05:17.32: Waiting for worker…
2025-01-11 05:21.57: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
All commits already cached
Updating files: 82% (23713/28897)
Updating files: 83% (23985/28897)
Updating files: 84% (24274/28897)
Updating files: 85% (24563/28897)
Updating files: 86% (24852/28897)
Updating files: 87% (25141/28897)
Updating files: 88% (25430/28897)
Updating files: 89% (25719/28897)
Updating files: 90% (26008/28897)
Updating files: 91% (26297/28897)
Updating files: 92% (26586/28897)
Updating files: 93% (26875/28897)
Updating files: 94% (27164/28897)
Updating files: 95% (27453/28897)
Updating files: 96% (27742/28897)
Updating files: 97% (28031/28897)
Updating files: 98% (28320/28897)
Updating files: 99% (28609/28897)
Updating files: 100% (28897/28897)
Updating files: 100% (28897/28897), done.
HEAD is now at 67e940587b Merge pull request #27236 from kit-ty-kate/opam-publish-mccs.1.1-19
Updating 67e940587b..a9279ecc3d
Fast-forward
packages/linol-eio/linol-eio.0.8/opam | 41 +++++++++++++++++++++++++++++++++++
packages/linol-lwt/linol-lwt.0.8/opam | 40 ++++++++++++++++++++++++++++++++++
packages/linol/linol.0.8/opam | 41 +++++++++++++++++++++++++++++++++++
3 files changed, 122 insertions(+)
create mode 100644 packages/linol-eio/linol-eio.0.8/opam
create mode 100644 packages/linol-lwt/linol-lwt.0.8/opam
create mode 100644 packages/linol/linol.0.8/opam
(from ocaml/opam:debian-12-ocaml-4.14@sha256:a65a93c4a095cc9775d83ee598601a4331c579cbba932195941a78b08101e42c)
2025-01-11 05:24.02 ---> using "a792e5946b4d48afdcbf520f697909e337e010de14707452e737dfc14fd373cf" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2025-01-11 05:24.02 ---> saved as "28f1c65c7ea4c650a6c30760cb48ee97d1a0c416598fd4ef5111a2000a520eef"
/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] synchronised from file:///home/opam/opam-repository
2025-01-11 05:25.12 ---> saved as "b407a03ec39e038c58edde85e69b582ce9ef3e50216ed53c1a8fa3b9038db639"
/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.2.1 (01e9a24a61e23e42d513b4b775d8c30c807439b2)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# solver builtin-0install
# install-criteria
# upgrade-criteria
# jobs 39
# repositories 1 (local)
# pinned 1 (version)
# current-switch 4.14
# invariant ocaml-base-compiler = 4.14.2
# compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2025-01-11 05:25.13 ---> saved as "18785cbfae74e74ad0e65504a5357da2861aed150afa5b1966636ec096ca8ee4"
/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-01-11 05:25.19 ---> saved as "3a7e9bdb0f98dbd433753b6ad434cec57bd1dac127f48abf299327979b0e6841"
/home/opam: (copy (src .) (dst opam-repository/))
2025-01-11 05:25.34 ---> saved as "821bb4aa6fb31e21512283ff0d5ec91944a7a3cc9829bdc1bb41cb49e9760494"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-01-11 05:26.16 ---> saved as "1e45eb321f8cc325e0de7d5d5f32700af3aea1428f045b50bb49f7cab30b32f2"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [239 kB]
- Fetched 343 kB in 0s (898 kB/s)
- Reading package lists...
-
2025-01-11 05:26.17 ---> saved as "ddc6702b07b24164d63e76c0735affc5fb3acd3afa360f2d845d0f1f767c99a4"
/home/opam: (run (shell "opam pin add -k version -yn linol-eio.0.8 0.8"))
linol-eio is now pinned to version 0.8
2025-01-11 05:26.20 ---> saved as "444c4361e51b208ee3e45f0fe2535256072c5f2b2171da4da76daca27928e83a"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall linol-eio.0.8;\
\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\" != 'linol-eio.0.8' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
linol-eio.0.8 is not installed. Install it? [y/n] y
* No agreement on the version of ocaml:
- (invariant) -> ocaml-base-compiler = 4.14.2 -> ocaml = 4.14.2
- linol-eio >= 0.8 -> eio >= 1.0 -> ocaml >= 5.1.0
You can temporarily relax the switch invariant with `--update-invariant'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall linol-eio.0.8;
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" != 'linol-eio.0.8' && 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-01-11 05:26.44: Job failed: Failed: Build failed
2025-01-11 05:26.44: Log analysis:
2025-01-11 05:26.44: >>>
No solution found, exiting
(score = 100)
2025-01-11 05:26.44: [SKIP] Package not available