- github
- ocaml
- opam-repository
- f6ea57
- extras,arm64-ocaml-5.2,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 dev
from https://github.com/ocaml/opam-repository.git#refs/pull/26738/head (f6ea578b505d61e1e6d77f06345b4a505d933e6c)
on debian-12-ocaml-5.2/arm64
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-5.2@sha256:e7a6f438c043668b69b201fbd58b234d7b6e9899656c9d5e2738ab821e13f845
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /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-5.2@sha256:e7a6f438c043668b69b201fbd58b234d7b6e9899656c9d5e2738ab821e13f845-dates_calc.0.0.7-f6ea578b505d61e1e6d77f06345b4a505d933e6c"
2024-10-22 08:26.30: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.2@sha256:e7a6f438c043668b69b201fbd58b234d7b6e9899656c9d5e2738ab821e13f845)
(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 "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 molpadia.caelum.ci.dev
Updating files: 51% (16730/32490)
Updating files: 52% (16895/32490)
Updating files: 53% (17220/32490)
Updating files: 54% (17545/32490)
Updating files: 55% (17870/32490)
Updating files: 56% (18195/32490)
Updating files: 57% (18520/32490)
Updating files: 58% (18845/32490)
Updating files: 59% (19170/32490)
Updating files: 60% (19494/32490)
Updating files: 61% (19819/32490)
Updating files: 62% (20144/32490)
Updating files: 63% (20469/32490)
Updating files: 64% (20794/32490)
Updating files: 65% (21119/32490)
Updating files: 66% (21444/32490)
Updating files: 67% (21769/32490)
Updating files: 68% (22094/32490)
Updating files: 69% (22419/32490)
Updating files: 70% (22743/32490)
Updating files: 71% (23068/32490)
Updating files: 72% (23393/32490)
Updating files: 73% (23718/32490)
Updating files: 74% (24043/32490)
Updating files: 75% (24368/32490)
Updating files: 76% (24693/32490)
Updating files: 77% (25018/32490)
Updating files: 78% (25343/32490)
Updating files: 79% (25668/32490)
Updating files: 80% (25992/32490)
Updating files: 81% (26317/32490)
Updating files: 82% (26642/32490)
Updating files: 83% (26967/32490)
Updating files: 84% (27292/32490)
Updating files: 85% (27617/32490)
Updating files: 86% (27942/32490)
Updating files: 87% (28267/32490)
Updating files: 88% (28592/32490)
Updating files: 89% (28917/32490)
Updating files: 90% (29241/32490)
Updating files: 91% (29566/32490)
Updating files: 92% (29891/32490)
Updating files: 93% (30216/32490)
Updating files: 94% (30541/32490)
Updating files: 95% (30866/32490)
Updating files: 96% (31191/32490)
Updating files: 97% (31516/32490)
Updating files: 98% (31841/32490)
Updating files: 99% (32166/32490)
Updating files: 100% (32490/32490)
Updating files: 100% (32490/32490), done.
HEAD is now at bb389b0a08 Merge commit 'c5e83bd460eb5937b7873b4bd723c9416a637268'
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-5.2@sha256:e7a6f438c043668b69b201fbd58b234d7b6e9899656c9d5e2738ab821e13f845)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.2@sha256:e7a6f438c043668b69b201fbd58b234d7b6e9899656c9d5e2738ab821e13f845' locally
docker.io/ocaml/opam@sha256:e7a6f438c043668b69b201fbd58b234d7b6e9899656c9d5e2738ab821e13f845: Pulling from ocaml/opam
Digest: sha256:e7a6f438c043668b69b201fbd58b234d7b6e9899656c9d5e2738ab821e13f845
Status: Downloaded newer image for ocaml/opam@sha256:e7a6f438c043668b69b201fbd58b234d7b6e9899656c9d5e2738ab821e13f845
2024-10-22 08:26.36 ---> using "18f7c323117186d02821a673fea5ba02ceae96c551c0ce21392234b4ed0a97c6" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-10-22 08:26.36 ---> using "3e8a3ea0c36dcf21f2c6789c873d6b5dfa7a9c914b3318653abf028384b031e6" 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 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
2024-10-22 08:26.36 ---> using "145ea43545d8539ec68a47249ee2e8950cf6395dec092f1b46945e204d16612a" from cache
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 5.2.0
2.4.0~alpha1~dev
2024-10-22 08:26.36 ---> using "8c3d7a5d703c0e353b4ca6b6c63360241419a95229c2725e81f4ce5b111f8e8f" from cache
/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:26.36 ---> using "9138394e4776d46c042fa57105e15e86292d17f56c128d92e3b010386ba2c9cc" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2024-10-22 08:26.47 ---> saved as "34b23f3963f0c9f8d33313ff6a648a9a344c3f8fd0edb5ab6c0bea14020e141a"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-10-22 08:27.21 ---> saved as "f31a72f2107f1a8175f7ed657dea7c67c420598178546e4dcada0959450e8969"
/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 arm64 Packages [186 kB]
- Fetched 289 kB in 0s (606 kB/s)
- Reading package lists...
-
2024-10-22 08:27.23 ---> saved as "6d5615e048c7ec0a4047b3ddf9e990b6af51b33d1fa2b3448aaa294bd9aefbd8"
/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:27.24 ---> saved as "c6ec1ebb53f3e5f258c5d1befce4cf9c84cb63c9a859dbb70bcfd04405fc2f6a"
/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 2 packages
- install dates_calc 0.0.7 (pinned)
- install dune 3.16.0 [required by dates_calc]
<><> 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.
# To update the current shell environment, run: eval $(opam env)
2024-10-22 08:28.00 ---> saved as "2e253884597d8cd6946064147b1d27023297f4870690651790546c8a58190076"
Job succeeded
2024-10-22 08:28.12: Job succeeded