- github
- ocaml
- opam-repository
- 279169
- distributions,fedora-40-ocaml-5.2,ocamlformat.0.27.0,tests
(not at the head of any monitored branch or PR)
2024-11-29 15:19.42: New job: test ocamlformat.0.27.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/26998/head (27916977327321391ddd0aadb9e4d7c2d461e743)
on fedora-40-ocaml-5.2/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/26998/head" && git reset --hard 27916977
git fetch origin master
git merge --no-edit 0b65c91e7650d82e2c12fe1f64a466d2c6954272
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-40-ocaml-5.2@sha256:5b31d7a6011bff61800de669bc2d222059a2ac45008b5d2b274cfa567ced53e8
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.0.27.0 0.27.0
RUN opam reinstall ocamlformat.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 "\"fedora-40\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ocamlformat.0.27.0' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN (opam reinstall --with-test ocamlformat.0.27.0) || true
RUN opam reinstall --with-test --verbose ocamlformat.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 "\"fedora-40\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ocamlformat.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:fedora-40-ocaml-5.2@sha256:5b31d7a6011bff61800de669bc2d222059a2ac45008b5d2b274cfa567ced53e8-ocamlformat.0.27.0-27916977327321391ddd0aadb9e4d7c2d461e743"
2024-11-29 15:19.42: Using OBuilder spec:
((from ocaml/opam:fedora-40-ocaml-5.2@sha256:5b31d7a6011bff61800de669bc2d222059a2ac45008b5d2b274cfa567ced53e8)
(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.0.27.0 0.27.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocamlformat.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 \"\\\"fedora-40\\\"\"; 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.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"))
(run (network host)
(shell "(opam reinstall --with-test ocamlformat.0.27.0) || true"))
(run (shell "opam reinstall --with-test --verbose ocamlformat.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 \"\\\"fedora-40\\\"\"; 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.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:24.18: Waiting for worker…
2024-11-29 15:28.06: Got resource from pool OCluster
Building on x86-bm-c17.sw.ocaml.org
All commits already cached
Updating files: 48% (15869/32803)
Updating files: 49% (16074/32803)
Updating files: 50% (16402/32803)
Updating files: 51% (16730/32803)
Updating files: 52% (17058/32803)
Updating files: 53% (17386/32803)
Updating files: 54% (17714/32803)
Updating files: 55% (18042/32803)
Updating files: 56% (18370/32803)
Updating files: 57% (18698/32803)
Updating files: 58% (19026/32803)
Updating files: 59% (19354/32803)
Updating files: 60% (19682/32803)
Updating files: 61% (20010/32803)
Updating files: 62% (20338/32803)
Updating files: 63% (20666/32803)
Updating files: 64% (20994/32803)
Updating files: 65% (21322/32803)
Updating files: 66% (21650/32803)
Updating files: 67% (21979/32803)
Updating files: 68% (22307/32803)
Updating files: 69% (22635/32803)
Updating files: 70% (22963/32803)
Updating files: 71% (23291/32803)
Updating files: 72% (23619/32803)
Updating files: 73% (23947/32803)
Updating files: 74% (24275/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: 89% (29428/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 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:fedora-40-ocaml-5.2@sha256:5b31d7a6011bff61800de669bc2d222059a2ac45008b5d2b274cfa567ced53e8)
2024-11-29 15:28.55 ---> saved as "d2a5832ab045e758243c8d2b3a3248632adf4fbefcd3488f2aaf7ac0948cb014"
/: (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:28.55 ---> saved as "02b2ef52435d530c691068e9ba65edb790c0fdb8ae4b2b391745d136e193abe6"
/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:30.17 ---> saved as "49d7812a9888191bda0e3a0c1f404db4108fd803be71087fd7e93230051f2bba"
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 5.2.1
2.4.0~alpha1~dev
2024-11-29 15:30.17 ---> saved as "2ff61c276b2a853ce145edde72a99fe3b1dd30839ea82f0ec03fed110d844d34"
/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:30.23 ---> saved as "2c82441214adba78aba860b2bb3218686817103b610055862464ec90e879dda9"
/home/opam: (copy (src .) (dst opam-repository/))
2024-11-29 15:30.33 ---> saved as "f8c400394b45dbb39e6d8bed71447cc705469aad1e6ad87a2c36a2ff3aae3116"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-11-29 15:31.31 ---> saved as "16d803781c11ce295587bf5c47bc649854ac90fee28312b3e04265f5fc91db7b"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- Fedora 40 - x86_64 332 kB/s | 28 kB 00:00
- Fedora 40 openh264 (From Cisco) - x86_64 15 kB/s | 989 B 00:00
- Fedora 40 - x86_64 - Updates 285 kB/s | 23 kB 00:00
- Fedora 40 - x86_64 - Updates 6.4 MB/s | 4.2 MB 00:00
- Metadata cache created.
2024-11-29 15:31.39 ---> saved as "4bcd469c883487ef3d3258a526a814f3bad7cedb9dcfffd4a18da3eadd03f8c8"
/home/opam: (run (shell "opam pin add -k version -yn ocamlformat.0.27.0 0.27.0"))
ocamlformat is now pinned to version 0.27.0
2024-11-29 15:31.40 ---> saved as "602c3cf97d1b27655906af059c8d1a2202caad33ca40acd920df06eeb6cf1b2e"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocamlformat.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 \"\\\"fedora-40\\\"\"; 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.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.0.27.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 31 packages
- install astring 0.8.5 [required by ocamlformat-lib]
- install base v0.17.1 [required by ocamlformat-lib]
- install base-bytes base [required by ocp-indent]
- install camlp-streams 5.0.1 [required by ocamlformat-lib]
- install cmdliner 1.3.0 [required by ocamlformat]
- install csexp 1.5.2 [required by ocamlformat]
- install dune 3.17.0 [required by ocamlformat]
- install dune-build-info 3.17.0 [required by ocamlformat-lib]
- install dune-configurator 3.17.0 [required by base]
- install either 1.0.0 [required by ocamlformat-lib]
- install fix 20230505 [required by ocamlformat-lib]
- install fpath 0.7.3 [required by ocamlformat-lib]
- install menhir 20240715 [required by ocamlformat-lib]
- install menhirCST 20240715 [required by menhir]
- install menhirLib 20240715 [required by ocamlformat-lib]
- install menhirSdk 20240715 [required by ocamlformat-lib]
- install ocaml-version 3.7.1 [required by ocamlformat-lib]
- install ocaml_intrinsics_kernel v0.17.1 [required by base]
- install ocamlbuild 0.15.0 [required by fpath, astring, uuseg]
- install ocamlfind 1.9.6 [required by ocp-indent, astring, fpath, uuseg]
- install ocamlformat 0.27.0 (pinned)
- install ocamlformat-lib 0.27.0 [required by ocamlformat]
- install ocp-indent 1.8.1 [required by ocamlformat-lib]
- install re 1.12.0 [required by ocamlformat]
- install seq base [required by re]
- install sexplib0 v0.17.0 [required by base]
- install stdio v0.17.0 [required by ocamlformat-lib]
- install topkg 1.0.7 [required by fpath, astring, uuseg]
- install uucp 16.0.0 [required by uuseg]
- install uuseg 16.0.0 [required by ocamlformat-lib]
- install uutf 1.0.3 [required by ocamlformat-lib]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved base.v0.17.1 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved dune.3.17.0, dune-build-info.3.17.0, dune-configurator.3.17.0 (cached)
-> retrieved either.1.0.0 (cached)
-> retrieved fix.20230505 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> installed cmdliner.1.3.0
-> retrieved ocaml-version.3.7.1 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ocamlformat.0.27.0, ocamlformat-lib.0.27.0 (cached)
-> retrieved ocp-indent.1.8.1 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdio.v0.17.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved uucp.16.0.0 (cached)
-> retrieved uuseg.16.0.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.17.0
-> installed camlp-streams.5.0.1
-> installed csexp.1.5.2
-> installed either.1.0.0
-> installed fix.20230505
-> installed menhirCST.20240715
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> installed ocaml-version.3.7.1
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed sexplib0.v0.17.0
-> installed re.1.12.0
-> installed ocp-indent.1.8.1
-> installed dune-build-info.3.17.0
-> installed dune-configurator.3.17.0
-> installed base.v0.17.1
-> installed stdio.v0.17.0
-> installed menhir.20240715
-> installed uucp.16.0.0
-> installed uuseg.16.0.0
-> installed ocamlformat-lib.0.27.0
-> installed ocamlformat.0.27.0
Done.
<><> ocp-indent.1.8.1 installed successfully ><><><><><><><><><><><><><><><><><>
=> This package requires additional configuration for use in editors. Install package 'user-setup', or manually:
* for Emacs, add these lines to ~/.emacs:
(add-to-list 'load-path "/home/opam/.opam/5.2/share/emacs/site-lisp")
(require 'ocp-indent)
* for Vim, add this line to ~/.vimrc:
set rtp^="/home/opam/.opam/5.2/share/ocp-indent/vim"
# To update the current shell environment, run: eval $(opam env)
2024-11-29 15:33.19 ---> saved as "2c94c2b5c73ad6c3024c72b712f46f5af512293f04b9a48cb4c5c26dc71052e5"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test ocamlformat.0.27.0) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile ocamlformat 0.27.0 (pinned)
=== install 1 package
- install ocamlformat-rpc-lib 0.27.0 [required by ocamlformat]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlformat.0.27.0, ocamlformat-rpc-lib.0.27.0 (https://github.com/ocaml-ppx/ocamlformat/releases/download/0.27.0/ocamlformat-0.27.0.tbz)
-> removed ocamlformat.0.27.0
-> installed ocamlformat-rpc-lib.0.27.0
-> installed ocamlformat.0.27.0
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-29 15:33.48 ---> saved as "d47e2c8a53f75a5dfbaaed98faaa743f25b9d58c28af14b2eb25f24c2d52847b"
/home/opam: (run (shell "opam reinstall --with-test --verbose ocamlformat.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 \"\\\"fedora-40\\\"\"; 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.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"))
The following actions will be performed:
=== recompile 1 package
- recompile ocamlformat 0.27.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [ocamlformat: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ocamlformat" "-j" "31" "@install" "@runtest" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ocamlformat.0.27.0)
-> compiled ocamlformat.0.27.0
-> removed ocamlformat.0.27.0
-> installed ocamlformat.0.27.0
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-29 15:34.12 ---> saved as "fa0cfd76f5f6db30a9d78836927023604bbfcdae1403037405e9520a30268ce0"
Job succeeded
2024-11-29 15:34.20: Job succeeded