- github
- ocaml
- opam-repository
- 5c9a27
- distributions,fedora-41-ocaml-4.14,gendarme.0.2.0,tests
(not at the head of any monitored branch or PR)
2025-05-30 12:58.36: New job: test gendarme.0.2.0, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/27964/head (5c9a2728e7d2b266922147072939cfcd1b8ac827)
on fedora-41-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/27964/head" && git reset --hard 5c9a2728
git fetch origin master
git merge --no-edit edaf2946e3454afde810eb17e5013eb7b2d138e3
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-41-ocaml-4.14@sha256:699967783e09f6d3a343c44965cc3a90ddbc31b1deb25d38d9ae88f78c0acaa1
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 gendarme.0.2.0 0.2.0
RUN opam reinstall gendarme.0.2.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-41\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'gendarme.0.2.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 gendarme.0.2.0) || true
RUN opam reinstall --with-test --verbose gendarme.0.2.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-41\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'gendarme.0.2.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-05-30 12:58.36: Using cache hint "ocaml/opam:fedora-41-ocaml-4.14@sha256:699967783e09f6d3a343c44965cc3a90ddbc31b1deb25d38d9ae88f78c0acaa1-gendarme.0.2.0-5c9a2728e7d2b266922147072939cfcd1b8ac827"
2025-05-30 12:58.36: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-4.14@sha256:699967783e09f6d3a343c44965cc3a90ddbc31b1deb25d38d9ae88f78c0acaa1)
(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 gendarme.0.2.0 0.2.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall gendarme.0.2.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-41\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'gendarme.0.2.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 gendarme.0.2.0) || true"))
(run (shell "opam reinstall --with-test --verbose gendarme.0.2.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-41\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'gendarme.0.2.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-05-30 12:58.36: Waiting for resource in pool OCluster
2025-05-30 13:56.30: Waiting for worker…
2025-05-30 13:58.30: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
Updating files: 88% (20444/23169)
Updating files: 89% (20621/23169)
Updating files: 90% (20853/23169)
Updating files: 91% (21084/23169)
Updating files: 92% (21316/23169)
Updating files: 93% (21548/23169)
Updating files: 94% (21779/23169)
Updating files: 95% (22011/23169)
Updating files: 96% (22243/23169)
Updating files: 97% (22474/23169)
Updating files: 98% (22706/23169)
Updating files: 99% (22938/23169)
Updating files: 100% (23169/23169)
Updating files: 100% (23169/23169), done.
HEAD is now at edaf2946e3 Merge pull request #27961 from hannesm/fix-dns-cli
Updating edaf2946e3..5c9a2728e7
Fast-forward
packages/gendarme-json/gendarme-json.0.2.0/opam | 37 +++++++++++++++++++
packages/gendarme-yaml/gendarme-yaml.0.2.0/opam | 37 +++++++++++++++++++
packages/gendarme/gendarme.0.2.0/opam | 36 +++++++++++++++++++
packages/ppx_marshal/ppx_marshal.0.2.0/opam | 42 ++++++++++++++++++++++
.../ppx_marshal_ext/ppx_marshal_ext.0.2.0/opam | 39 ++++++++++++++++++++
5 files changed, 191 insertions(+)
create mode 100644 packages/gendarme-json/gendarme-json.0.2.0/opam
create mode 100644 packages/gendarme-yaml/gendarme-yaml.0.2.0/opam
create mode 100644 packages/gendarme/gendarme.0.2.0/opam
create mode 100644 packages/ppx_marshal/ppx_marshal.0.2.0/opam
create mode 100644 packages/ppx_marshal_ext/ppx_marshal_ext.0.2.0/opam
(from ocaml/opam:fedora-41-ocaml-4.14@sha256:699967783e09f6d3a343c44965cc3a90ddbc31b1deb25d38d9ae88f78c0acaa1)
2025-05-30 13:59.02 ---> saved as "5f520fc5cdb299b9ba61051cf3401692cb98592c5251b956cf920eca0e904769"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-05-30 13:59.02 ---> saved as "2b062532a8fd9594dbfb69e5327d12df8db1bb44ab5ff8300ca5f578ae9cd7d6"
/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] Initialised
2025-05-30 13:59.39 ---> saved as "1c295018cee586f16684074d02bc9544c31cd511039113ed961e3421b10f884f"
/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version 2.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=fedora os-version=41
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
# invariant ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2025-05-30 13:59.40 ---> saved as "7cd54dc39b1ecfb7c2b1a952331f09ccab4b5e99081683cc62e655a0ffa8a89f"
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/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/"))
2025-05-30 13:59.56 ---> saved as "7aac8c27b852f223370d3bd825508486b0d3ec93b1cf20796294b0c48c6c1c41"
/home/opam: (copy (src .) (dst opam-repository/))
2025-05-30 14:00.09 ---> saved as "ba320db0dfb5ac97ffea7d4d9aedf062fa9183664b015b22614df3dada0b2749"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-05-30 14:00.46 ---> saved as "141eea9579d5041bf027bf6d5e5488862e51eb7f71fd389f5690b4b61cf58abc"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- Updating and loading repositories:
- Fedora 41 - x86_64 100% | 146.7 KiB/s | 25.8 KiB | 00m00s
- Fedora 41 - x86_64 - Updates 100% | 130.1 KiB/s | 15.7 KiB | 00m00s
- Fedora 41 - x86_64 - Updates 100% | 5.5 MiB/s | 4.8 MiB | 00m01s
- Repositories loaded.
- Metadata cache created.
2025-05-30 14:00.52 ---> saved as "60b1859f526161db6ffc8ea9d9efdc423d5a2fc2d38f68533f74d86400eea63e"
/home/opam: (run (shell "opam pin add -k version -yn gendarme.0.2.0 0.2.0"))
gendarme is now pinned to version 0.2.0
2025-05-30 14:00.53 ---> saved as "176a9dfa07d0f7d93e20653ecbff788c3818a2095ab0e6c3e47c782c0fee9478"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall gendarme.0.2.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-41\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'gendarme.0.2.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
gendarme.0.2.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 2 packages
- install dune 3.19.0 [required by gendarme]
- install gendarme 0.2.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.19.0 (cached)
-> retrieved gendarme.0.2.0 (cached)
-> installed dune.3.19.0
-> installed gendarme.0.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-30 14:01.30 ---> saved as "3f68f42ef044e73d5f87a1b10425d3d79ad4f56e95e750b7da7a71ba162da63b"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test gendarme.0.2.0) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile gendarme 0.2.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed gendarme.0.2.0
-> installed gendarme.0.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-30 14:01.37 ---> saved as "e67a9f7896a77f515f9ee1754a4dd866228a543249d38ca89b3187be59b5b7bd"
/home/opam: (run (shell "opam reinstall --with-test --verbose gendarme.0.2.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-41\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'gendarme.0.2.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 gendarme 0.2.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [gendarme: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "gendarme" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/gendarme.0.2.0)
-> compiled gendarme.0.2.0
-> removed gendarme.0.2.0
-> installed gendarme.0.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-30 14:01.43 ---> saved as "bf5ef8da90b55c29a4241af4982559b0437249ce2142e87fc78c5304d16eb079"
Job succeeded
2025-05-30 14:01.59: Job succeeded