- github
- ocaml
- opam-repository
- fd56df
- distributions,fedora-41-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 fedora-41-ocaml-4.14/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/27698/head" && git reset --hard fd56df80
git fetch origin master
git merge --no-edit 4d8fa0fb8fce3b6c8b06f29ebcfa844c292d4f3e
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-41-ocaml-4.14@sha256:8cff47a036d8821278466182cbfba2a078ecc964c9e5d777fbc8cb8338b58474
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 "\"fedora-41\""; 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 "\"fedora-41\""; 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:fedora-41-ocaml-4.14@sha256:8cff47a036d8821278466182cbfba2a078ecc964c9e5d777fbc8cb8338b58474-metadata.0.3.1-fd56df80ed95cbe760cf7d92ab5f337d6244e661"
2025-04-01 19:49.18: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-4.14@sha256:8cff47a036d8821278466182cbfba2a078ecc964c9e5d777fbc8cb8338b58474)
(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 \"\\\"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\" != '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 \"\\\"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\" != '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-02 06:32.50: Waiting for worker…
2025-04-02 06:35.10: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files: 87% (19910/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:fedora-41-ocaml-4.14@sha256:8cff47a036d8821278466182cbfba2a078ecc964c9e5d777fbc8cb8338b58474)
Unable to find image 'ocaml/opam:fedora-41-ocaml-4.14@sha256:8cff47a036d8821278466182cbfba2a078ecc964c9e5d777fbc8cb8338b58474' locally
docker.io/ocaml/opam@sha256:8cff47a036d8821278466182cbfba2a078ecc964c9e5d777fbc8cb8338b58474: Pulling from ocaml/opam
36f906d54666: Pulling fs layer
36f906d54666: Download complete
36f906d54666: Pull complete
Digest: sha256:8cff47a036d8821278466182cbfba2a078ecc964c9e5d777fbc8cb8338b58474
Status: Downloaded newer image for ocaml/opam@sha256:8cff47a036d8821278466182cbfba2a078ecc964c9e5d777fbc8cb8338b58474
2025-04-02 06:38.55 ---> saved as "d60b69b250028a453eb4beb879c9c3a2f06a25a2fcdb7dc08ba5b836b16c39c8"
/: (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-02 06:38.55 ---> saved as "e3bcea90f6124db984d5a80daf789887d92f49a84bfb3eaafa071880d02088cb"
/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-02 06:40.03 ---> saved as "d4c2920cd4f0fed25ce0cea1b204a1c0d3eda0f1146067ad768c23c570c42c76"
/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=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 71
# 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-02 06:40.04 ---> saved as "0bc9f23a83732abe4d152a9927d292bffb9554f3b275e9d99e3738d0ee70edb8"
/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-02 06:40.11 ---> saved as "cbf1744f37ec431aa59065315dd1380cb215a4c6b0810a89b73e6f0b748b348c"
/home/opam: (copy (src .) (dst opam-repository/))
2025-04-02 06:40.19 ---> saved as "8313ed927a16d02c5fe88fe8f5c63ecd6416521fa3bc990ab62d79a8fe8e4718"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-04-02 06:41.04 ---> saved as "9c314bba83c4a492de5299fdcf0a99cec325c140fc7a792f8c8e6ddfad85b8ba"
/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% | 70.4 KiB/s | 11.6 KiB | 00m00s
- Fedora 41 - x86_64 - Updates 50% | 589.7 KiB/s | 2.3 MiB | 00m04s
- >>> Status code: 416 for https://mirror.i3d.net/pub/fedora/linux/updates/41/Ever
- >>> Status code: 416 for https://mirror.i3d.net/pub/fedora/linux/updates/41/Ever
- >>> Status code: 416 for http://mirror.i3d.net/pub/fedora/linux/updates/41/Every
- >>> Status code: 416 for http://mirror.i3d.net/pub/fedora/linux/updates/41/Every
- >>> Status code: 404 for https://mirror.init7.net/fedora/fedora/linux/updates/41
- >>> Curl error (23): Failed writing received data to disk/application for https:
- >>> Status code: 404 for http://mirror.init7.net/fedora/fedora/linux/updates/41/
- >>> Status code: 404 for http://mirror.yandex.ru/fedora/linux/updates/41/Everyth
- >>> Status code: 404 for https://mirror.yandex.ru/fedora/linux/updates/41/Everyt
- >>> Curl error (23): Failed writing received data to disk/application for http:/
- >>> Librepo error: Yum repo downloading error: Downloading error(s): repodata/7d
- Failed to download metadata (metalink: "https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64") for repository "updates"
- Librepo error: Yum repo downloading error: Downloading error(s): repodata/7d4b11f257a120123b30550954a2c319c9aa5df484987fa0a98555e8621fc073-primary.xml.zck - Download failed: Curl error (23): Failed writing received data to disk/application for https://mirror.init7.net/fedora/fedora/linux/updates/41/Everything/x86_64/repodata/7d4b11f257a120123b30550954a2c319c9aa5df484987fa0a98555e8621fc073-primary.xml.zck [Failure writing output to destination, passed 153 returned 0]; repodata/019bd3cc05452d9239fdbd500407b0c8dce8e056c37b268cbda74d5484a098a7-updateinfo.xml.zck - Download failed: Curl error (23): Failed writing received data to disk/application for http://ftp.fi.muni.cz/pub/linux/fedora/linux/updates/41/Everything/x86_64/repodata/019bd3cc05452d9239fdbd500407b0c8dce8e056c37b268cbda74d5484a098a7-updateinfo.xml.zck [Failure writing output to destination, passed 3974 returned 0]
Fatal error: System package update failed with exit code 1 at command:
sudo yum makecache
2025-04-02 06:41.08 ---> saved as "e7d9e9c2195c96a1f35493691cf941cd77f6fc18a8a792257c0731f94c27ed69"
/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-02 06:41.09 ---> saved as "dd9ac87a52c3714c45d64c5509f8e1923eea13c0b387e3062f4322623acc8f0b"
/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 \"\\\"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\" != '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 (cached)
-> installed dune.3.17.2
-> installed metadata.0.3.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-02 06:41.39 ---> saved as "95aa64759c219aff7dd9c96b78de19feb71bf13bbc354f41824094afed4249c8"
/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-02 06:41.45 ---> saved as "84693ab37b0aa80ac9301472702262b4f2441dc1b3fe2dac675e13bf534d90b3"
/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 \"\\\"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\" != '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" "71" "@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-02 06:41.51 ---> saved as "5ae599e5e0105f3732acca829727d4d77e53e87bd9f834c74d7ba58cb6ef86c7"
Job succeeded
2025-04-02 06:41.56: Job succeeded