- github
- ocaml
- opam-repository
- f6ea57
- extras,opam-2.1-ocaml-4.14,dates_calc.0.0.7
(not at the head of any monitored branch or PR)
2024-10-22 08:26.30: New job: build dates_calc.0.0.7, using opam 2.1
from https://github.com/ocaml/opam-repository.git#refs/pull/26738/head (f6ea578b505d61e1e6d77f06345b4a505d933e6c)
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/26738/head" && git reset --hard f6ea578b
git fetch origin master
git merge --no-edit 1a7dae545ec9b9fb34684697f6619e017c852318
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:faf55c369e346f142ea082ea3f50f98f1cb41ea794a1c4c29d46b6e224ad8344
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="1000"
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 dates_calc.0.0.7 0.0.7
RUN opam reinstall dates_calc.0.0.7; \
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" != 'dates_calc.0.0.7' && 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 .
2024-10-22 08:26.30: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:faf55c369e346f142ea082ea3f50f98f1cb41ea794a1c4c29d46b6e224ad8344-dates_calc.0.0.7-f6ea578b505d61e1e6d77f06345b4a505d933e6c"
2024-10-22 08:26.30: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:faf55c369e346f142ea082ea3f50f98f1cb41ea794a1c4c29d46b6e224ad8344)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMSOLVERTIMEOUT 1000)
(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 dates_calc.0.0.7 0.0.7"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dates_calc.0.0.7;\
\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\" != 'dates_calc.0.0.7' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2024-10-22 08:26.30: Waiting for resource in pool OCluster
2024-10-22 08:26.31: Waiting for worker…
2024-10-22 08:26.31: Got resource from pool OCluster
Building on x86-bm-c6.sw.ocaml.org
All commits already cached
Updating files: 56% (18445/32492)
Updating files: 57% (18521/32492)
Updating files: 58% (18846/32492)
Updating files: 59% (19171/32492)
Updating files: 60% (19496/32492)
Updating files: 61% (19821/32492)
Updating files: 62% (20146/32492)
Updating files: 63% (20470/32492)
Updating files: 64% (20795/32492)
Updating files: 65% (21120/32492)
Updating files: 66% (21445/32492)
Updating files: 67% (21770/32492)
Updating files: 68% (22095/32492)
Updating files: 69% (22420/32492)
Updating files: 70% (22745/32492)
Updating files: 71% (23070/32492)
Updating files: 72% (23395/32492)
Updating files: 73% (23720/32492)
Updating files: 74% (24045/32492)
Updating files: 75% (24369/32492)
Updating files: 76% (24694/32492)
Updating files: 77% (25019/32492)
Updating files: 78% (25344/32492)
Updating files: 79% (25669/32492)
Updating files: 80% (25994/32492)
Updating files: 81% (26319/32492)
Updating files: 82% (26644/32492)
Updating files: 83% (26969/32492)
Updating files: 84% (27294/32492)
Updating files: 85% (27619/32492)
Updating files: 86% (27944/32492)
Updating files: 87% (28269/32492)
Updating files: 88% (28593/32492)
Updating files: 89% (28918/32492)
Updating files: 90% (29243/32492)
Updating files: 91% (29568/32492)
Updating files: 92% (29893/32492)
Updating files: 93% (30218/32492)
Updating files: 94% (30543/32492)
Updating files: 95% (30868/32492)
Updating files: 96% (31193/32492)
Updating files: 97% (31518/32492)
Updating files: 98% (31843/32492)
Updating files: 99% (32168/32492)
Updating files: 100% (32492/32492)
Updating files: 100% (32492/32492), done.
HEAD is now at 1a7dae545e Merge pull request #26772 from jajimajp/release-trs-v1.0.0
Merge made by the 'ort' strategy.
packages/dates_calc/dates_calc.0.0.7/opam | 42 +++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
create mode 100644 packages/dates_calc/dates_calc.0.0.7/opam
(from ocaml/opam:debian-12-ocaml-4.14@sha256:faf55c369e346f142ea082ea3f50f98f1cb41ea794a1c4c29d46b6e224ad8344)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:faf55c369e346f142ea082ea3f50f98f1cb41ea794a1c4c29d46b6e224ad8344' locally
docker.io/ocaml/opam@sha256:faf55c369e346f142ea082ea3f50f98f1cb41ea794a1c4c29d46b6e224ad8344: Pulling from ocaml/opam
f98104cffda4: Pulling fs layer
f98104cffda4: Verifying Checksum
f98104cffda4: Download complete
f98104cffda4: Pull complete
Digest: sha256:faf55c369e346f142ea082ea3f50f98f1cb41ea794a1c4c29d46b6e224ad8344
Status: Downloaded newer image for ocaml/opam@sha256:faf55c369e346f142ea082ea3f50f98f1cb41ea794a1c4c29d46b6e224ad8344
2024-10-22 08:29.18 ---> saved as "6bf95384274f9e5d0b44a886ce58fc0f363a723977ae427a4071d8ef093cd376"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-10-22 08:29.18 ---> saved as "98df21300dd9b70c8c7c3912c844de568527f6292a76da8fe36e759f26204922"
/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.1, 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
2024-10-22 08:30.28 ---> saved as "7968f40c1ee3fdb89c176e01541a02b39e3bc9776a58608e80028590b1e89b0e"
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 4.14.2
2.1.6
2024-10-22 08:30.28 ---> saved as "262822e516fc8a7e0632a2ef70eaeace2647ec651c9cc3159bd9adb1614085b7"
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMSOLVERTIMEOUT 1000)
/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/"))
2024-10-22 08:30.48 ---> saved as "5ba231c28dc73f013315e0037b344552366e0ef6e187d0402eb5dddd01183f7e"
/home/opam: (copy (src .) (dst opam-repository/))
2024-10-22 08:31.10 ---> saved as "5d7f7aeb13c48e3e30e565e89c80e315533b02b32ced6419e2140d0df0ae8f01"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-10-22 08:31.31 ---> saved as "c9632dd79d899dbff47afb5a9ecfe3ae0558b22d75db515946525b8b7541e402"
/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 [188 kB]
- Fetched 292 kB in 0s (1247 kB/s)
- Reading package lists...
2024-10-22 08:31.32 ---> saved as "ae1c0d0009b1dffd420bab7ed674a853b91f08ad55e05f87d040a5bf9632cd0d"
/home/opam: (run (shell "opam pin add -k version -yn dates_calc.0.0.7 0.0.7"))
dates_calc is now pinned to version 0.0.7
2024-10-22 08:31.33 ---> saved as "be7cd239586955503d874ca4fe10dbe5ef4c1cf49206424751f7dfe81158f184"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dates_calc.0.0.7;\
\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\" != 'dates_calc.0.0.7' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
dates_calc.0.0.7 is not installed. Install it? [Y/n] y
The following actions will be performed:
- install dune 3.16.0 [required by dates_calc]
- install dates_calc 0.0.7*
===== 2 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dates_calc.0.0.7 (cached)
-> retrieved dune.3.16.0 (cached)
-> installed dune.3.16.0
-> installed dates_calc.0.0.7
Done.
# Run eval $(opam env) to update the current shell environment
2024-10-22 08:32.10 ---> saved as "ca33e8b129318cf244c83fc7e468e3495a80ff242e1a88589782caf614347066"
Job succeeded
2024-10-22 08:32.18: Job succeeded