- github
- ocaml
- opam-repository
- 279169
- extras,s390x-ocaml-5.2,ocamlformat-rpc-lib.0.27.0
(not at the head of any monitored branch or PR)
2024-11-29 15:19.42: New job: build ocamlformat-rpc-lib.0.27.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/26998/head (27916977327321391ddd0aadb9e4d7c2d461e743)
on debian-12-ocaml-5.2/s390x
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/26998/head" && git reset --hard 27916977
git fetch origin master
git merge --no-edit 0b65c91e7650d82e2c12fe1f64a466d2c6954272
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.2@sha256:d3419247a0b0039e57e4b0569f64d4370ef0842c19846170f491b6df63ae8801
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 ocamlformat-rpc-lib.0.27.0 0.27.0
RUN opam reinstall ocamlformat-rpc-lib.0.27.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" != 'ocamlformat-rpc-lib.0.27.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 .
2024-11-29 15:19.42: Using cache hint "ocaml/opam:debian-12-ocaml-5.2@sha256:d3419247a0b0039e57e4b0569f64d4370ef0842c19846170f491b6df63ae8801-ocamlformat-rpc-lib.0.27.0-27916977327321391ddd0aadb9e4d7c2d461e743"
2024-11-29 15:19.42: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.2@sha256:d3419247a0b0039e57e4b0569f64d4370ef0842c19846170f491b6df63ae8801)
(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 ocamlformat-rpc-lib.0.27.0 0.27.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocamlformat-rpc-lib.0.27.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\" != 'ocamlformat-rpc-lib.0.27.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2024-11-29 15:19.42: Waiting for resource in pool OCluster
2024-11-29 15:19.43: Waiting for worker…
2024-11-29 15:25.38: Got resource from pool OCluster
Building on s390x-worker-02.marist.ci.dev
Updating files: 74% (24568/32803)
Updating files: 75% (24603/32803)
Updating files: 76% (24931/32803)
Updating files: 77% (25259/32803)
Updating files: 78% (25587/32803)
Updating files: 79% (25915/32803)
Updating files: 80% (26243/32803)
Updating files: 81% (26571/32803)
Updating files: 82% (26899/32803)
Updating files: 83% (27227/32803)
Updating files: 84% (27555/32803)
Updating files: 85% (27883/32803)
Updating files: 86% (28211/32803)
Updating files: 87% (28539/32803)
Updating files: 88% (28867/32803)
Updating files: 89% (29195/32803)
Updating files: 90% (29523/32803)
Updating files: 91% (29851/32803)
Updating files: 92% (30179/32803)
Updating files: 93% (30507/32803)
Updating files: 94% (30835/32803)
Updating files: 95% (31163/32803)
Updating files: 96% (31491/32803)
Updating files: 97% (31819/32803)
Updating files: 98% (32147/32803)
Updating files: 99% (32475/32803)
Updating files: 100% (32803/32803)
Updating files: 100% (32803/32803), done.
HEAD is now at 92b868bc24 Merge commit '2c4b80464196cbaf18b44e342e09490f39e5eac8'
HEAD is now at 0b65c91e76 Merge pull request #26997 from hannesm/revive-rml
Updating 0b65c91e76..2791697732
Fast-forward
.../ocamlformat-lib/ocamlformat-lib.0.27.0/opam | 68 ++++++++++++++++++++++
.../ocamlformat-rpc-lib.0.27.0/opam | 49 ++++++++++++++++
packages/ocamlformat/ocamlformat.0.27.0/opam | 59 +++++++++++++++++++
3 files changed, 176 insertions(+)
create mode 100644 packages/ocamlformat-lib/ocamlformat-lib.0.27.0/opam
create mode 100644 packages/ocamlformat-rpc-lib/ocamlformat-rpc-lib.0.27.0/opam
create mode 100644 packages/ocamlformat/ocamlformat.0.27.0/opam
(from ocaml/opam:debian-12-ocaml-5.2@sha256:d3419247a0b0039e57e4b0569f64d4370ef0842c19846170f491b6df63ae8801)
2024-11-29 15:25.42 ---> using "512168db7d5845abfd11f72876378ca34dfcbb641dec98539c9fdd279f83852e" 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-11-29 15:25.42 ---> using "705cab937d0f3f1582a16ec8e16aa7610d4bf26e618f3d4f1ae9467ce9bbfd5c" 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-11-29 15:25.42 ---> using "631e1c3260d698e6804dd667d327c371fd8e3b79a0a5332d0caf139b03f2440d" from cache
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-49-generic
The OCaml toplevel, version 5.2.1
2.4.0~alpha1~dev
2024-11-29 15:25.42 ---> using "91e0364fc6f1ed0faed620d0eb7945a17e8c3f8faa7a6fa4e048eba2125dce83" 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-11-29 15:25.42 ---> using "350da9d00af321fa8cfe950d781ba515086bc16572011afec41f9bd2bba4d6a1" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2024-11-29 15:25.56 ---> saved as "eda34ad412f8348d897c34ede815fddbaed1bb05705f83ee28c7cf544f76ab42"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-11-29 15:26.41 ---> saved as "3a344e1c5cd6d873af911a876109da90cbf009fc898e65e4e60039ccf65eba1a"
/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 bookworm-updates/main s390x Packages.diff/Index [12.8 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main s390x Packages T-2024-11-27-1405.46-F-2024-11-27-1405.46.pdiff [435 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main s390x Packages T-2024-11-27-1405.46-F-2024-11-27-1405.46.pdiff [435 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main s390x Packages [195 kB]
- Fetched 312 kB in 0s (757 kB/s)
- Reading package lists...
-
2024-11-29 15:26.43 ---> saved as "911da24d975ccb47b4bcfaf8d947897c23763dac6f63e28b6681755512e4af4c"
/home/opam: (run (shell "opam pin add -k version -yn ocamlformat-rpc-lib.0.27.0 0.27.0"))
ocamlformat-rpc-lib is now pinned to version 0.27.0
2024-11-29 15:26.44 ---> saved as "aa93eaa1156e1bb8912151ae8a6a80865b4a7307c6ddd2635231b789d2cf75e1"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocamlformat-rpc-lib.0.27.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\" != 'ocamlformat-rpc-lib.0.27.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ocamlformat-rpc-lib.0.27.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 3 packages
- install csexp 1.5.2 [required by ocamlformat-rpc-lib]
- install dune 3.17.0 [required by ocamlformat-rpc-lib]
- install ocamlformat-rpc-lib 0.27.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2 (cached)
-> retrieved dune.3.17.0 (cached)
-> retrieved ocamlformat-rpc-lib.0.27.0 (https://github.com/ocaml-ppx/ocamlformat/releases/download/0.27.0/ocamlformat-0.27.0.tbz)
-> installed dune.3.17.0
-> installed csexp.1.5.2
-> installed ocamlformat-rpc-lib.0.27.0
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-29 15:27.24 ---> saved as "43d038613431cbed8a0a3a1c439f5ee5d613e6e6a482c57a69e06408d4f3244b"
Job succeeded
2024-11-29 15:27.29: Job succeeded