- github
- ocaml
- opam-repository
- 4b95ad
- distributions,archlinux-ocaml-5.3,ppxlib.0.36.0,tests
(not at the head of any monitored branch or PR)
2025-02-24 10:33.51: New job: test ppxlib.0.36.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27478/head (4b95ada6c11ef12719238c1b5587b6e3b0f5c33e)
on archlinux-ocaml-5.3/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/27478/head" && git reset --hard 4b95ada6
git fetch origin master
git merge --no-edit 4022a684b64be8161a05cf897f492f8680792469
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:archlinux-ocaml-5.3@sha256:a815a75417b8c7e3b18015e96b53ebf9032450bc2cb82a10e2c4f5c470dc9d33
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /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 ppxlib.0.36.0 0.36.0
RUN opam reinstall ppxlib.0.36.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 "\"archlinux\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ppxlib.0.36.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 ppxlib.0.36.0) || true
RUN opam reinstall --with-test --verbose ppxlib.0.36.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 "\"archlinux\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ppxlib.0.36.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-02-24 10:33.51: Using cache hint "ocaml/opam:archlinux-ocaml-5.3@sha256:a815a75417b8c7e3b18015e96b53ebf9032450bc2cb82a10e2c4f5c470dc9d33-ppxlib.0.36.0-4b95ada6c11ef12719238c1b5587b6e3b0f5c33e"
2025-02-24 10:33.51: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-5.3@sha256:a815a75417b8c7e3b18015e96b53ebf9032450bc2cb82a10e2c4f5c470dc9d33)
(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 "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 ppxlib.0.36.0 0.36.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppxlib.0.36.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 \"\\\"archlinux\\\"\"; 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.36.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 ppxlib.0.36.0) || true"))
(run (shell "opam reinstall --with-test --verbose ppxlib.0.36.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 \"\\\"archlinux\\\"\"; 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.36.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-02-24 10:33.51: Waiting for resource in pool OCluster
2025-02-24 10:33.52: Waiting for worker…
2025-02-24 10:39.27: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 4022a684b6 Merge pull request #27464 from hannesm/release-crunch-v4.0.0
Merge made by the 'ort' strategy.
packages/ppxlib-tools/ppxlib-tools.0.36.0/opam | 44 ++++++++++++++++++
packages/ppxlib/ppxlib.0.36.0/opam | 62 ++++++++++++++++++++++++++
2 files changed, 106 insertions(+)
create mode 100644 packages/ppxlib-tools/ppxlib-tools.0.36.0/opam
create mode 100644 packages/ppxlib/ppxlib.0.36.0/opam
(from ocaml/opam:archlinux-ocaml-5.3@sha256:a815a75417b8c7e3b18015e96b53ebf9032450bc2cb82a10e2c4f5c470dc9d33)
2025-02-24 10:40.50 ---> saved as "266aa9451ea1d1c83d9cdbc5b83e297b5da8d635c44f4334fd8c70cb1a6f20df"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-02-24 10:40.50 ---> saved as "a3dcdf463fbe2ca74f911a36a7dfef863c72551abf7e836d8db403f7d59f2764"
/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-02-24 10:41.50 ---> saved as "52041427e89343329a1f3e8b5bc836efb5e1e74e1b7f175ffdec35401ad8a398"
/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.4.0~alpha1~dev (34b7b4ec4af0ebd3c8fc4aee8088471be2ad48c7)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=arch os-version=20250209.0.306557
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 255
# repositories 1 (local), 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.3
# invariant ["ocaml-base-compiler" {>= "5.3.0"}]
# compiler-packages ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.3.0
2025-02-24 10:41.51 ---> saved as "b02df2e2f2a96a52b212293aad75833729420e654b8541f1918f9f012f317fcb"
/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-02-24 10:42.15 ---> saved as "75138296fecd006276dfe2cf3defb64ef2ba20240b39f42d4738e0123b671f03"
/home/opam: (copy (src .) (dst opam-repository/))
2025-02-24 10:43.10 ---> saved as "43d1d8d8496f8e659be1ebddedc39bd2391c60845c41431e0c9415a23b5bacc6"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-02-24 10:44.17 ---> saved as "cc1c8c8644f9ac10690d2478de8d31c11a89c6d4f1d4a1a278df004cee4892ba"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
- core downloading...
- extra downloading...
2025-02-24 10:44.17 ---> saved as "22b74b8a29b44f4f2b9d227fbef0be7af7481b72b5e2f7d624fc70a92d9d775a"
/home/opam: (run (shell "opam pin add -k version -yn ppxlib.0.36.0 0.36.0"))
ppxlib is now pinned to version 0.36.0
2025-02-24 10:44.18 ---> saved as "be6ab63d90db4a78fe1dc4ada68ce47797099001329fdda8c877f51d06cbeb56"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppxlib.0.36.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 \"\\\"archlinux\\\"\"; 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.36.0' && 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.36.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 6 packages
∗ dune 3.17.2 [required by ppxlib]
∗ ocaml-compiler-libs v0.17.0 [required by ppxlib]
∗ ppx_derivers 1.2.1 [required by ppxlib]
∗ ppxlib 0.36.0 (pinned)
∗ sexplib0 v0.17.0 [required by ppxlib]
∗ stdlib-shims 0.3.0 [required by ppxlib]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved dune.3.17.2 (cached)
⬇ retrieved ocaml-compiler-libs.v0.17.0 (cached)
⬇ retrieved ppx_derivers.1.2.1 (cached)
⬇ retrieved ppxlib.0.36.0 (cached)
⬇ retrieved sexplib0.v0.17.0 (cached)
⬇ retrieved stdlib-shims.0.3.0 (cached)
∗ installed dune.3.17.2
∗ installed ppx_derivers.1.2.1
∗ installed stdlib-shims.0.3.0
∗ installed sexplib0.v0.17.0
∗ installed ocaml-compiler-libs.v0.17.0
∗ installed ppxlib.0.36.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 10:45.04 ---> saved as "f82f0c82823e5f63e76d5f13a9f3b22d16a722d7243fa52ac513311858cec5f5"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test ppxlib.0.36.0) || true"))
The following actions will be performed:
=== recompile 1 package
↻ ppxlib 0.36.0 (pinned)
=== install 4 packages
∗ cinaps v0.15.1 [required by ppxlib]
∗ ocamlfind 1.9.8 [required by ppxlib]
∗ re 1.12.0 [required by ppxlib]
∗ seq base [required by re]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved cinaps.v0.15.1 (https://github.com/ocaml-ppx/cinaps/archive/v0.15.1.tar.gz)
⬇ retrieved ocamlfind.1.9.8 (https://github.com/ocaml/ocamlfind/archive/refs/tags/findlib-1.9.8.tar.gz)
⬇ retrieved ppxlib.0.36.0 (https://github.com/ocaml-ppx/ppxlib/archive/3374fe83926ea192ceccc9977032bff72ecaf2f7.tar.gz)
⬇ retrieved re.1.12.0 (https://github.com/ocaml/ocaml-re/releases/download/1.12.0/re-1.12.0.tbz)
⬇ retrieved seq.base (2 extra sources)
⬇ retrieved seq.base (2 extra sources)
∗ installed seq.base
∗ installed re.1.12.0
∗ installed cinaps.v0.15.1
⊘ removed ppxlib.0.36.0
∗ installed ocamlfind.1.9.8
∗ installed ppxlib.0.36.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 10:45.40 ---> saved as "cb02a8638c1af11937c4859fdb64c1653b622c80ddf01cc7466da3e10e77c6fb"
/home/opam: (run (shell "opam reinstall --with-test --verbose ppxlib.0.36.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 \"\\\"archlinux\\\"\"; 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.36.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
↻ ppxlib 0.36.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/4: [ppxlib.0.36.0: extract]
⬇ retrieved ppxlib.0.36.0 (cached)
Processing 2/4: [ppxlib: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ppxlib" "-j" "255" "@install" "@runtest" (CWD=/home/opam/.opam/5.3/.opam-switch/build/ppxlib.0.36.0)
λ compiled ppxlib.0.36.0
⊘ removed ppxlib.0.36.0
∗ installed ppxlib.0.36.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 10:46.11 ---> saved as "930777583126133f0da34ff172748f26ad16e3bf30561f5e2bc50fb11b95ce27"
Job succeeded
2025-02-24 10:47.29: Job succeeded