- github
- ocaml
- opam-repository
- 2f18d5
- extras,opam-2.1-ocaml-5.1,ppxlib.0.32.1,tests
(not at the head of any monitored branch or PR)
2024-04-23 08:55.26: New job: test ppxlib.0.32.1, using opam 2.1
from https://github.com/ocaml/opam-repository.git#refs/pull/25713/head (2f18d58467a890b39d52c3c115d100e5d9be5d53)
on debian-12-ocaml-5.1/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/25713/head" && git reset --hard 2f18d584
git fetch origin master
git merge --no-edit f2df0b10861863463d109941753e969b0f663a6e
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.1@sha256:669c64f0c8e5a1e3d8f00427a9aa7acde43599283cef09c3670c0d9ae5996c2a
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.1 /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="500"
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
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN opam pin add -k version -yn ppxlib.0.32.1 0.32.1
RUN opam reinstall ppxlib.0.32.1; \
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" != 'ppxlib.0.32.1' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN (opam reinstall --with-test ppxlib.0.32.1) || true
RUN opam reinstall --with-test --verbose ppxlib.0.32.1; \
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" != 'ppxlib.0.32.1' && 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-04-23 08:55.26: Using cache hint "ocaml/opam:debian-12-ocaml-5.1@sha256:669c64f0c8e5a1e3d8f00427a9aa7acde43599283cef09c3670c0d9ae5996c2a-ppxlib.0.32.1-2f18d58467a890b39d52c3c115d100e5d9be5d53"
2024-04-23 08:55.26: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.1@sha256:669c64f0c8e5a1e3d8f00427a9aa7acde43599283cef09c3670c0d9ae5996c2a)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.1 /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 500)
(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"))
(env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
(env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
(env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
(run (shell "opam pin add -k version -yn ppxlib.0.32.1 0.32.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppxlib.0.32.1;\
\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\" != 'ppxlib.0.32.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
(env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
(env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
(run (network host)
(shell "(opam reinstall --with-test ppxlib.0.32.1) || true"))
(run (shell "opam reinstall --with-test --verbose ppxlib.0.32.1;\
\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\" != 'ppxlib.0.32.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2024-04-23 08:55.26: Waiting for resource in pool OCluster
2024-04-23 08:55.27: Waiting for worker…
2024-04-23 08:57.50: Got resource from pool OCluster
Building on x86-bm-c15.sw.ocaml.org
All commits already cached
Updating files: 58% (19623/33541)
Updating files: 59% (19790/33541)
Updating files: 60% (20125/33541)
Updating files: 61% (20461/33541)
Updating files: 62% (20796/33541)
Updating files: 63% (21131/33541)
Updating files: 64% (21467/33541)
Updating files: 65% (21802/33541)
Updating files: 66% (22138/33541)
Updating files: 67% (22473/33541)
Updating files: 68% (22808/33541)
Updating files: 69% (23144/33541)
Updating files: 70% (23479/33541)
Updating files: 71% (23815/33541)
Updating files: 72% (24150/33541)
Updating files: 73% (24485/33541)
Updating files: 74% (24821/33541)
Updating files: 75% (25156/33541)
Updating files: 76% (25492/33541)
Updating files: 77% (25827/33541)
Updating files: 78% (26162/33541)
Updating files: 79% (26498/33541)
Updating files: 80% (26833/33541)
Updating files: 81% (27169/33541)
Updating files: 82% (27504/33541)
Updating files: 83% (27840/33541)
Updating files: 84% (28175/33541)
Updating files: 85% (28510/33541)
Updating files: 86% (28846/33541)
Updating files: 87% (29181/33541)
Updating files: 88% (29517/33541)
Updating files: 89% (29852/33541)
Updating files: 90% (30187/33541)
Updating files: 91% (30523/33541)
Updating files: 92% (30858/33541)
Updating files: 93% (31194/33541)
Updating files: 94% (31529/33541)
Updating files: 95% (31864/33541)
Updating files: 96% (32200/33541)
Updating files: 97% (32535/33541)
Updating files: 98% (32871/33541)
Updating files: 99% (33206/33541)
Updating files: 100% (33541/33541)
Updating files: 100% (33541/33541), done.
HEAD is now at f2df0b1086 Merge pull request #25695 from Julow/release-ocamlformat-0.26.2
Updating f2df0b1086..2f18d58467
Fast-forward
packages/ppxlib/ppxlib.0.32.1/opam | 63 +++++++++++++++++++++++++++
packages/ppxlib/ppxlib.0.32.1~5.2preview/opam | 2 +-
2 files changed, 64 insertions(+), 1 deletion(-)
create mode 100644 packages/ppxlib/ppxlib.0.32.1/opam
(from ocaml/opam:debian-12-ocaml-5.1@sha256:669c64f0c8e5a1e3d8f00427a9aa7acde43599283cef09c3670c0d9ae5996c2a)
2024-04-23 08:57.57 ---> using "ed5fb8a9e5e2e27b45463d40b3dac1cb7c42cfe327eaaa696e4cb23566bf4b9c" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-04-23 08:57.57 ---> using "1e90c7b3b45fed498e614898ab62966bdbdbadec64d146bae2b852e57d8828f4" 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 version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, 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-04-23 08:57.57 ---> using "5256853015df84e7d33b1dddde8e1b1468c8b061a535ea05cbe2af787897debb" from cache
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 5.1.1
2.1.5
2024-04-23 08:57.57 ---> using "48b4e06356762e0518547e3b16a7c1f7ad8f920c9f7170b6e78abe75bf4d71c2" from cache
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMSOLVERTIMEOUT 500)
/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-04-23 08:57.57 ---> using "53dcd8afca66a92f7ad7adf2a4e5cd5885bde495221d003f2b861ec274fbc954" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2024-04-23 08:58.05 ---> saved as "2f0def8e3f0288eeccbba4e1c9aeca898f40e1f18d9258d2c6dbaa47557b4097"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-04-23 08:58.31 ---> saved as "207300aec7e79fca77ab286f1f60e7fd068b472d189e7503f28fb6099c328ff1"
/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 amd64 Packages [155 kB]
- Fetched 258 kB in 0s (787 kB/s)
- Reading package lists...
-
2024-04-23 08:58.32 ---> saved as "2938d40825ccc7d18381b4558c472770e9a1f2034d8ad894165934a3e6abe061"
/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
/home/opam: (run (shell "opam pin add -k version -yn ppxlib.0.32.1 0.32.1"))
ppxlib is now pinned to version 0.32.1
2024-04-23 08:58.37 ---> saved as "2de244fa652a378341ca2142da6122781fe340448fdf7d08af794b4d8e855e7d"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppxlib.0.32.1;\
\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\" != 'ppxlib.0.32.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ppxlib.0.32.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
- install dune 3.15.0 [required by ppxlib]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install sexplib0 v0.16.0 [required by ppxlib]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ocaml-compiler-libs v0.12.4 [required by ppxlib]
- install ppxlib 0.32.1*
===== 6 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.15.0 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppxlib.0.32.1 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed dune.3.15.0
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.16.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ppxlib.0.32.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-23 08:59.37 ---> saved as "95dc6501ffe0bc8cf141b27b7bfb28e006c85c0a77cc09f0cf22a5c3ed9311be"
/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
/home/opam: (run (network host)
(shell "(opam reinstall --with-test ppxlib.0.32.1) || true"))
The following actions will be performed:
- install seq base [required by re]
- install ocamlfind 1.9.6 [required by ppxlib]
- install re 1.11.0 [required by ppxlib]
- install cinaps v0.15.1 [required by ppxlib]
- recompile ppxlib 0.32.1*
===== 4 to install | 1 to recompile =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cinaps.v0.15.1 (https://github.com/ocaml-ppx/cinaps/archive/v0.15.1.tar.gz)
-> retrieved ocamlfind.1.9.6 (http://download.camlcity.org/download/findlib-1.9.6.tar.gz)
-> retrieved re.1.11.0 (https://github.com/ocaml/ocaml-re/releases/download/1.11.0/re-1.11.0.tbz)
-> installed seq.base
-> installed re.1.11.0
-> installed cinaps.v0.15.1
-> removed ppxlib.0.32.1
-> installed ocamlfind.1.9.6
-> installed ppxlib.0.32.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-23 09:00.26 ---> saved as "fbf45cd71933222c6559639fb0d68c318661e94e60a613f9de5e9ad72691e0a0"
/home/opam: (run (shell "opam reinstall --with-test --verbose ppxlib.0.32.1;\
\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\" != 'ppxlib.0.32.1' && 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 ppxlib 0.32.1*
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [ppxlib: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ppxlib" "-j" "31" "@install" "@runtest" (CWD=/home/opam/.opam/5.1/.opam-switch/build/ppxlib.0.32.1)
- (cd _build/default && .bin/expect-test test/driver/transformations/test_412.ml)
- No such package: base
-> compiled ppxlib.0.32.1
-> removed ppxlib.0.32.1
-> installed ppxlib.0.32.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-23 09:01.08 ---> saved as "4e6cac2e932611def54561bd1afadd76c464594ea014d160d96ea8be864b8f19"
Job succeeded
2024-04-23 09:01.17: Job succeeded