- github
- ocaml
- opam-repository
- 48fdb7
- extras,ocaml-5.3-no-flat-float-array,irmin-containers.3.11.0
(not at the head of any monitored branch or PR)
2025-06-22 15:08.56: New job: build irmin-containers.3.11.0, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/28048/head (48fdb7b54bcc9118691798729e3e6d75987a782e)
on debian-12-ocaml-5.3-no-flat-float-array/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/28048/head" && git reset --hard 48fdb7b5
git fetch origin master
git merge --no-edit 2cd8e78594a8943245b8061dbdabd39e7ca492fb
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3-no-flat-float-array@sha256:c830edef0f5393313c156bfeeebec980958145c7bfdbe7331cfe318e4d07b04a
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 irmin-containers.3.11.0 3.11.0
RUN opam reinstall irmin-containers.3.11.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 "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'irmin-containers.3.11.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-06-22 15:08.56: Using cache hint "ocaml/opam:debian-12-ocaml-5.3-no-flat-float-array@sha256:c830edef0f5393313c156bfeeebec980958145c7bfdbe7331cfe318e4d07b04a-irmin-containers.3.11.0-48fdb7b54bcc9118691798729e3e6d75987a782e"
2025-06-22 15:08.56: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3-no-flat-float-array@sha256:c830edef0f5393313c156bfeeebec980958145c7bfdbe7331cfe318e4d07b04a)
(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 irmin-containers.3.11.0 3.11.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall irmin-containers.3.11.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 \"\\\"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\" != 'irmin-containers.3.11.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-06-22 15:08.56: Waiting for resource in pool OCluster
2025-06-22 15:29.13: Waiting for worker…
2025-06-22 15:30.40: Got resource from pool OCluster
Building on phoebe
2025-06-22 15:31.03: Job failed: Disconnected: Switch turned off