- github
- ocaml
- opam-repository
- 5c9a27
- extras,arm64-ocaml-4.14,gendarme.0.2.0,tests
(not at the head of any monitored branch or PR)
2025-05-30 12:58.37: 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 debian-12-ocaml-4.14/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/27964/head" && git reset --hard 5c9a2728
git fetch origin master
git merge --no-edit edaf2946e3454afde810eb17e5013eb7b2d138e3
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:9e51fdef5a71fb9e6540d194a052ee59af667d91a923540fb567b722cdd635e7
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 "\"debian-12\""; 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 "\"debian-12\""; 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.37: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:9e51fdef5a71fb9e6540d194a052ee59af667d91a923540fb567b722cdd635e7-gendarme.0.2.0-5c9a2728e7d2b266922147072939cfcd1b8ac827"
2025-05-30 12:58.37: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:9e51fdef5a71fb9e6540d194a052ee59af667d91a923540fb567b722cdd635e7)
(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 \"\\\"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\" != '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 \"\\\"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\" != '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.37: Waiting for resource in pool OCluster
2025-05-30 12:58.38: Waiting for worker…
2025-05-30 13:00.42: Got resource from pool OCluster
Building on okypous.caelum.ci.dev
All commits already cached
Updating files: 68% (15967/23169)
Updating files: 69% (15987/23169)
Updating files: 70% (16219/23169)
Updating files: 71% (16450/23169)
Updating files: 72% (16682/23169)
Updating files: 73% (16914/23169)
Updating files: 74% (17146/23169)
Updating files: 75% (17377/23169)
Updating files: 76% (17609/23169)
Updating files: 77% (17841/23169)
Updating files: 78% (18072/23169)
Updating files: 79% (18304/23169)
Updating files: 80% (18536/23169)
Updating files: 81% (18767/23169)
Updating files: 82% (18999/23169)
Updating files: 83% (19231/23169)
Updating files: 84% (19462/23169)
Updating files: 85% (19694/23169)
Updating files: 86% (19926/23169)
Updating files: 87% (20158/23169)
Updating files: 88% (20389/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:debian-12-ocaml-4.14@sha256:9e51fdef5a71fb9e6540d194a052ee59af667d91a923540fb567b722cdd635e7)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:9e51fdef5a71fb9e6540d194a052ee59af667d91a923540fb567b722cdd635e7' locally
docker.io/ocaml/opam@sha256:9e51fdef5a71fb9e6540d194a052ee59af667d91a923540fb567b722cdd635e7: Pulling from ocaml/opam
f818a69ff453: Already exists
Digest: sha256:9e51fdef5a71fb9e6540d194a052ee59af667d91a923540fb567b722cdd635e7
Status: Downloaded newer image for ocaml/opam@sha256:9e51fdef5a71fb9e6540d194a052ee59af667d91a923540fb567b722cdd635e7
2025-05-30 13:00.42 ---> using "59b79989c8ea8a4997dc4a139dc13a6d3c317570f8611cb0b1d9dc29ba63fb42" from cache
/: (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:00.42 ---> using "6fb0da0b1d061f8ce352e60bc1debb07b8273a8c330922bfbb904c496aaa893b" 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.
Continue? [y/n] y
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.
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-05-30 13:00.42 ---> using "3fed2231570532ef1b750e67b3e6d4dddbf0e79cfab86082c8d0977ae7d1d960" from cache
/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=arm64 os=linux os-distribution=debian os-version=12
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 79
# 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:00.42 ---> using "e76373344b5314058cc4b9358071970a84c90e0496fbe50b7d21b4ef112ca4d9" from cache
/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:00.42 ---> using "ced146cc671f1919fe7445e5aa854115fd371980f6584a319a2bcc4cda686d35" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-05-30 13:00.44 ---> using "beb2ba6a2bb7ad62bd81a522bc9ada4a17c20abb3f7d5e61601cb337377066c9" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-05-30 13:00.46 ---> saved as "7b93c98fcc30ed183bf8f82abd4d91021d07098cf5578bfe4770e4785777e028"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- 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/main arm64 Packages [8693 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages [261 kB]
- Fetched 9208 kB in 2s (3781 kB/s)
- Reading package lists...
-
2025-05-30 13:00.49 ---> saved as "5d4dfff5fe83504466904f147b5b0db4686909033d57a05d79be29335cf3bfe6"
/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 13:00.52 ---> saved as "c6e6f7ba09088462c037748058a04931631110582f29339b55183c4ee0b38e8d"
/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 \"\\\"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\" != '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 13:01.23 ---> saved as "171513c32366b006f682c8c84e60cb0aef502f8db92d0cf0e635f0ccb4575e06"
/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 13:01.29 ---> saved as "b659ca9b88bc545821fd2ffe0290f460fbe0eeda20936bec07aec0ea51471adb"
/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 \"\\\"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\" != '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" "79" "@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 13:01.35 ---> saved as "23131111765633737897ef006d95ac162541346130a53e6df16ec59bde1c3f31"
Job succeeded
2025-05-30 13:01.44: Job succeeded