- github
- ocaml
- opam-repository
- 4b95ad
- distributions,fedora-41-ocaml-5.3,ppxlib-tools.0.36.0,tests
(not at the head of any monitored branch or PR)
2025-02-24 10:33.51: New job: test ppxlib-tools.0.36.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27478/head (4b95ada6c11ef12719238c1b5587b6e3b0f5c33e)
on fedora-41-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:fedora-41-ocaml-5.3@sha256:0089e33e132e880bebe6d51036d0279837ae157c271a905470fc51ce6dc663d7
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-tools.0.36.0 0.36.0
RUN opam reinstall ppxlib-tools.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 "\"fedora-41\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ppxlib-tools.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-tools.0.36.0) || true
RUN opam reinstall --with-test --verbose ppxlib-tools.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 "\"fedora-41\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ppxlib-tools.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:fedora-41-ocaml-5.3@sha256:0089e33e132e880bebe6d51036d0279837ae157c271a905470fc51ce6dc663d7-ppxlib-tools.0.36.0-4b95ada6c11ef12719238c1b5587b6e3b0f5c33e"
2025-02-24 10:33.51: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-5.3@sha256:0089e33e132e880bebe6d51036d0279837ae157c271a905470fc51ce6dc663d7)
(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-tools.0.36.0 0.36.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppxlib-tools.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 \"\\\"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\" != 'ppxlib-tools.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-tools.0.36.0) || true"))
(run (shell "opam reinstall --with-test --verbose ppxlib-tools.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 \"\\\"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\" != 'ppxlib-tools.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.15: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
Updating files: 97% (21862/22468)
Updating files: 98% (22019/22468)
Updating files: 99% (22244/22468)
Updating files: 100% (22468/22468)
Updating files: 100% (22468/22468), done.
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:fedora-41-ocaml-5.3@sha256:0089e33e132e880bebe6d51036d0279837ae157c271a905470fc51ce6dc663d7)
2025-02-24 10:40.41 ---> saved as "126afa77955ce3881c1d8ca99611ab423774472a88727507152ea60338088f22"
/: (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.41 ---> saved as "999658701644049fee8efa61f2c54a37950de8770915195d86f4166245aae911"
/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.47 ---> saved as "21e2f5306d837a9973ed45a93bdc902b678ad5a45eee6a8ca2aaa9cf5f27a548"
/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=fedora os-version=41
# 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.49 ---> saved as "d4cff4d34fde95d62cb9932edbea83f46d3adabaede559faad3b0b2f413628c4"
/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.18 ---> saved as "b2a395ce541d003c5ce13ea81bbad3f49676aeb99353db5b617389486ca12ebe"
/home/opam: (copy (src .) (dst opam-repository/))
2025-02-24 10:43.24 ---> saved as "26b5482f30b3c204227988cb717d78b0bd8301f90e48af9a36bff9b9c172294b"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-02-24 10:44.32 ---> saved as "9e66f9f46848e6547227177ef887fd352eb90951034ffec2e18b4a83408d51a2"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- Updating and loading repositories:
- Fedora 41 - x86_64 - Updates 100% | 47.9 KiB/s | 17.8 KiB | 00m00s
- Fedora 41 - x86_64 100% | 209.6 KiB/s | 26.8 KiB | 00m00s
- Fedora 41 - x86_64 - Updates 100% | 6.0 MiB/s | 3.9 MiB | 00m01s
- Repositories loaded.
- Metadata cache created.
2025-02-24 10:44.36 ---> saved as "5fdf7e84a39a449426bf044c7f04f3d051c2249556c96f05e94dff7756d70205"
/home/opam: (run (shell "opam pin add -k version -yn ppxlib-tools.0.36.0 0.36.0"))
ppxlib-tools is now pinned to version 0.36.0
2025-02-24 10:44.37 ---> saved as "72f8656d6470f7c2121d724a2f79925e8a854a021037d1b8fb0467e181c0d664"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppxlib-tools.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 \"\\\"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\" != 'ppxlib-tools.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-tools.0.36.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 8 packages
- install cmdliner 1.3.0 [required by ppxlib-tools]
- install dune 3.17.2 [required by ppxlib-tools]
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppxlib 0.36.0 [required by ppxlib-tools]
- install ppxlib-tools 0.36.0 (pinned)
- install sexplib0 v0.17.0 [required by ppxlib]
- install stdlib-shims 0.3.0 [required by ppxlib]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.3.0 (cached)
-> 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, ppxlib-tools.0.36.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed cmdliner.1.3.0
-> 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
-> installed ppxlib-tools.0.36.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 10:45.23 ---> saved as "8a005331687a2777740d4bcaa2fb21afd75064bc206d17773231d61db2aa2c0f"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test ppxlib-tools.0.36.0) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile ppxlib-tools 0.36.0 (pinned)
=== install 3 packages
- install cinaps v0.15.1 [required by ppxlib-tools]
- install re 1.12.0 [required by cinaps]
- install 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 ppxlib-tools.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)
-> removed ppxlib-tools.0.36.0
-> installed seq.base
-> installed re.1.12.0
-> installed cinaps.v0.15.1
-> installed ppxlib-tools.0.36.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 10:45.34 ---> saved as "de6639844b034c05f92afc996fed2038e34630f56efbab3b702b1912bb9e7c2b"
/home/opam: (run (shell "opam reinstall --with-test --verbose ppxlib-tools.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 \"\\\"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\" != 'ppxlib-tools.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
- recompile ppxlib-tools 0.36.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/4: [ppxlib-tools.0.36.0: extract]
-> retrieved ppxlib-tools.0.36.0 (cached)
Processing 2/4: [ppxlib-tools: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ppxlib-tools" "-j" "255" "@install" "@runtest" (CWD=/home/opam/.opam/5.3/.opam-switch/build/ppxlib-tools.0.36.0)
-> compiled ppxlib-tools.0.36.0
-> removed ppxlib-tools.0.36.0
-> installed ppxlib-tools.0.36.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 10:45.43 ---> saved as "af56b5d6cadb7eb16ba4ff0865b20bad6f04073ebea6e22021db5b3d9d0f661c"
Job succeeded
2025-02-24 10:46.48: Job succeeded