- github
- ocaml
- opam-repository
- fd56df
- extras,ppc64-ocaml-4.14,metadata.0.3.1,tests
(not at the head of any monitored branch or PR)
2025-04-01 19:49.18: New job: test metadata.0.3.1, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/27698/head (fd56df80ed95cbe760cf7d92ab5f337d6244e661)
on debian-12-ocaml-4.14/ppc64le
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/27698/head" && git reset --hard fd56df80
git fetch origin master
git merge --no-edit 4d8fa0fb8fce3b6c8b06f29ebcfa844c292d4f3e
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:9550df78458dff06fe2aa8e0f58d9a9378bbf0569185a4c43b3c09945169188f
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 metadata.0.3.1 0.3.1
RUN opam reinstall metadata.0.3.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" != 'metadata.0.3.1' && 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 metadata.0.3.1) || true
RUN opam reinstall --with-test --verbose metadata.0.3.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" != 'metadata.0.3.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 .
2025-04-01 19:49.18: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:9550df78458dff06fe2aa8e0f58d9a9378bbf0569185a4c43b3c09945169188f-metadata.0.3.1-fd56df80ed95cbe760cf7d92ab5f337d6244e661"
2025-04-01 19:49.18: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:9550df78458dff06fe2aa8e0f58d9a9378bbf0569185a4c43b3c09945169188f)
(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 metadata.0.3.1 0.3.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall metadata.0.3.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\" != 'metadata.0.3.1' && 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 metadata.0.3.1) || true"))
(run (shell "opam reinstall --with-test --verbose metadata.0.3.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\" != 'metadata.0.3.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-04-01 19:49.18: Waiting for resource in pool OCluster
2025-04-01 19:49.18: Waiting for worker…
2025-04-01 19:49.19: Got resource from pool OCluster
Building on orithia.caelum.ci.dev
All commits already cached
Updating files: 22% (5048/22765)
Updating files: 23% (5236/22765)
Updating files: 24% (5464/22765)
Updating files: 25% (5692/22765)
Updating files: 26% (5919/22765)
Updating files: 27% (6147/22765)
Updating files: 28% (6375/22765)
Updating files: 29% (6602/22765)
Updating files: 30% (6830/22765)
Updating files: 31% (7058/22765)
Updating files: 32% (7285/22765)
Updating files: 33% (7513/22765)
Updating files: 34% (7741/22765)
Updating files: 35% (7968/22765)
Updating files: 36% (8196/22765)
Updating files: 37% (8424/22765)
Updating files: 38% (8651/22765)
Updating files: 39% (8879/22765)
Updating files: 40% (9106/22765)
Updating files: 41% (9334/22765)
Updating files: 42% (9562/22765)
Updating files: 43% (9789/22765)
Updating files: 44% (10017/22765)
Updating files: 45% (10245/22765)
Updating files: 46% (10472/22765)
Updating files: 47% (10700/22765)
Updating files: 48% (10928/22765)
Updating files: 49% (11155/22765)
Updating files: 50% (11383/22765)
Updating files: 51% (11611/22765)
Updating files: 52% (11838/22765)
Updating files: 53% (12066/22765)
Updating files: 54% (12294/22765)
Updating files: 55% (12521/22765)
Updating files: 56% (12749/22765)
Updating files: 57% (12977/22765)
Updating files: 58% (13204/22765)
Updating files: 59% (13432/22765)
Updating files: 60% (13659/22765)
Updating files: 61% (13887/22765)
Updating files: 62% (14115/22765)
Updating files: 63% (14342/22765)
Updating files: 64% (14570/22765)
Updating files: 65% (14798/22765)
Updating files: 66% (15025/22765)
Updating files: 67% (15253/22765)
Updating files: 68% (15481/22765)
Updating files: 68% (15501/22765)
Updating files: 69% (15708/22765)
Updating files: 70% (15936/22765)
Updating files: 71% (16164/22765)
Updating files: 72% (16391/22765)
Updating files: 73% (16619/22765)
Updating files: 74% (16847/22765)
Updating files: 75% (17074/22765)
Updating files: 76% (17302/22765)
Updating files: 77% (17530/22765)
Updating files: 78% (17757/22765)
Updating files: 79% (17985/22765)
Updating files: 80% (18212/22765)
Updating files: 81% (18440/22765)
Updating files: 82% (18668/22765)
Updating files: 83% (18895/22765)
Updating files: 84% (19123/22765)
Updating files: 85% (19351/22765)
Updating files: 86% (19578/22765)
Updating files: 87% (19806/22765)
Updating files: 88% (20034/22765)
Updating files: 89% (20261/22765)
Updating files: 90% (20489/22765)
Updating files: 91% (20717/22765)
Updating files: 92% (20944/22765)
Updating files: 93% (21172/22765)
Updating files: 94% (21400/22765)
Updating files: 95% (21627/22765)
Updating files: 96% (21855/22765)
Updating files: 97% (22083/22765)
Updating files: 98% (22310/22765)
Updating files: 99% (22538/22765)
Updating files: 100% (22765/22765)
Updating files: 100% (22765/22765), done.
HEAD is now at 4d8fa0fb8f Merge pull request #27693 from hhugo/lwt-ppx
Updating 4d8fa0fb8f..fd56df80ed
Fast-forward
packages/metadata/metadata.0.3.1/opam | 37 +++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 packages/metadata/metadata.0.3.1/opam
(from ocaml/opam:debian-12-ocaml-4.14@sha256:9550df78458dff06fe2aa8e0f58d9a9378bbf0569185a4c43b3c09945169188f)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:9550df78458dff06fe2aa8e0f58d9a9378bbf0569185a4c43b3c09945169188f' locally
docker.io/ocaml/opam@sha256:9550df78458dff06fe2aa8e0f58d9a9378bbf0569185a4c43b3c09945169188f: Pulling from ocaml/opam
Digest: sha256:9550df78458dff06fe2aa8e0f58d9a9378bbf0569185a4c43b3c09945169188f
Status: Downloaded newer image for ocaml/opam@sha256:9550df78458dff06fe2aa8e0f58d9a9378bbf0569185a4c43b3c09945169188f
2025-04-01 19:49.40 ---> using "1d14e4193d2baabdb5e92234d46a07e58aa1dbc067cd9e3b732d9149f39645c8" 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-04-01 19:49.40 ---> using "91b6c4a8260c1a769f93b4cbf9a2228f00f7401f09684b73472272c4c62939f3" 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 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] synchronised from file:///home/opam/opam-repository
2025-04-01 19:49.40 ---> using "edb1862eb78eb180055f44544df3f5ca12b15b7ae6e3f15591be82f20597bbef" 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=ppc64 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 175
# repositories 1 (local)
# 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-04-01 19:49.40 ---> using "2317472d5968501ba278e31bd92db6b4ce492995343a08bd0c9b4eeba0907514" 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-04-01 19:49.40 ---> using "e3acec781ee735d86df7a705bacdfa5cb878a4efae2dfa1768397c1a04406a36" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-04-01 19:50.50 ---> saved as "a727eb1d07544f158870a136522569174f36711e2207b4e9017b05d2a7b16ca9"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-04-01 19:51.48 ---> saved as "7411a1b3ed0a7716d850e10d31c08517ecdb797044b4ca6159790082d4daf959"
/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 bookworm-updates/main ppc64el Packages.diff/Index [16.2 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main ppc64el Packages T-2025-03-27-1414.15-F-2025-03-27-1414.15.pdiff [187 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main ppc64el Packages T-2025-03-27-1414.15-F-2025-03-27-1414.15.pdiff [187 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main ppc64el Packages [236 kB]
- Fetched 356 kB in 0s (835 kB/s)
- Reading package lists...
-
2025-04-01 19:51.51 ---> saved as "e80e159151fd3d13487da5ab2bc598f382f2ea925df031c073f352354b8bd566"
/home/opam: (run (shell "opam pin add -k version -yn metadata.0.3.1 0.3.1"))
metadata is now pinned to version 0.3.1
2025-04-01 19:51.52 ---> saved as "d1bec9f4018db855d8bb2c095152678d9cbc4cea223403904cdc9a9d4636ce1d"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall metadata.0.3.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\" != 'metadata.0.3.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
metadata.0.3.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 2 packages
- install dune 3.17.2 [required by metadata]
- install metadata 0.3.1 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.17.2 (cached)
-> retrieved metadata.0.3.1 (https://github.com/savonet/ocaml-metadata/archive/refs/tags/v0.3.1.tar.gz)
-> installed dune.3.17.2
-> installed metadata.0.3.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-01 19:52.21 ---> saved as "6b698501c3799697c77d7948da527745d4953ed37c3af66cece032bd18ffa442"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test metadata.0.3.1) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile metadata 0.3.1 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed metadata.0.3.1
-> installed metadata.0.3.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-01 19:52.26 ---> saved as "77aacca70ec7052e36ec580a3809b1840888247e193733905aa9c0ba1b639984"
/home/opam: (run (shell "opam reinstall --with-test --verbose metadata.0.3.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\" != 'metadata.0.3.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 1 package
- recompile metadata 0.3.1 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [metadata: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "metadata" "-j" "175" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/metadata.0.3.1)
-> compiled metadata.0.3.1
-> removed metadata.0.3.1
-> installed metadata.0.3.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-01 19:52.31 ---> saved as "f4a9d76efdeb70cb5bd134957bbb0cfbc34eb6cdc1c9844a290439fe4896da9d"
Job succeeded
2025-04-01 19:52.59: Job succeeded