- github
- ocaml
- opam-repository
- 072d27
- distributions,fedora-41-ocaml-5.3,nanoev.0.1,tests
(not at the head of any monitored branch or PR)
2025-05-09 16:44.00: New job: test nanoev.0.1, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/27859/head (072d27be86ef0a9ffb174096c6aa591d954571c9)
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/27859/head" && git reset --hard 072d27be
git fetch origin master
git merge --no-edit 0d013e603b5ebf0e9b404e10d5a6839f226e1739
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-41-ocaml-5.3@sha256:abc80c782e7acbd09ffd49defcb056c2fc402593e57bcb537add09330e2c3992
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 nanoev.0.1 0.1
RUN opam reinstall nanoev.0.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" != 'nanoev.0.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 nanoev.0.1) || true
RUN opam reinstall --with-test --verbose nanoev.0.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" != 'nanoev.0.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-05-09 16:44.00: Using cache hint "ocaml/opam:fedora-41-ocaml-5.3@sha256:abc80c782e7acbd09ffd49defcb056c2fc402593e57bcb537add09330e2c3992-nanoev.0.1-072d27be86ef0a9ffb174096c6aa591d954571c9"
2025-05-09 16:44.00: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-5.3@sha256:abc80c782e7acbd09ffd49defcb056c2fc402593e57bcb537add09330e2c3992)
(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 nanoev.0.1 0.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall nanoev.0.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\" != 'nanoev.0.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 nanoev.0.1) || true"))
(run (shell "opam reinstall --with-test --verbose nanoev.0.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\" != 'nanoev.0.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-05-09 16:44.00: Waiting for resource in pool OCluster
2025-05-09 16:44.07: Waiting for worker…
2025-05-09 16:44.09: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
Updating files: 84% (19517/23013)
Updating files: 85% (19562/23013)
Updating files: 86% (19792/23013)
Updating files: 87% (20022/23013)
Updating files: 88% (20252/23013)
Updating files: 89% (20482/23013)
Updating files: 90% (20712/23013)
Updating files: 91% (20942/23013)
Updating files: 92% (21172/23013)
Updating files: 93% (21403/23013)
Updating files: 94% (21633/23013)
Updating files: 95% (21863/23013)
Updating files: 96% (22093/23013)
Updating files: 97% (22323/23013)
Updating files: 98% (22553/23013)
Updating files: 99% (22783/23013)
Updating files: 100% (23013/23013)
Updating files: 100% (23013/23013), done.
HEAD is now at 0d013e603b Merge pull request #27802 from Khady/release-junit-2.3.0
Updating 0d013e603b..072d27be86
Fast-forward
packages/nanoev-picos/nanoev-picos.0.1/opam | 42 ++++++++++++++++++++
packages/nanoev-posix/nanoev-posix.0.1/opam | 45 ++++++++++++++++++++++
packages/nanoev/nanoev.0.1/opam | 41 ++++++++++++++++++++
.../nanoev_tiny_httpd/nanoev_tiny_httpd.0.1/opam | 42 ++++++++++++++++++++
4 files changed, 170 insertions(+)
create mode 100644 packages/nanoev-picos/nanoev-picos.0.1/opam
create mode 100644 packages/nanoev-posix/nanoev-posix.0.1/opam
create mode 100644 packages/nanoev/nanoev.0.1/opam
create mode 100644 packages/nanoev_tiny_httpd/nanoev_tiny_httpd.0.1/opam
(from ocaml/opam:fedora-41-ocaml-5.3@sha256:abc80c782e7acbd09ffd49defcb056c2fc402593e57bcb537add09330e2c3992)
Unable to find image 'ocaml/opam:fedora-41-ocaml-5.3@sha256:abc80c782e7acbd09ffd49defcb056c2fc402593e57bcb537add09330e2c3992' locally
docker.io/ocaml/opam@sha256:abc80c782e7acbd09ffd49defcb056c2fc402593e57bcb537add09330e2c3992: Pulling from ocaml/opam
e0caea583fc1: Pulling fs layer
e0caea583fc1: Waiting
e0caea583fc1: Verifying Checksum
e0caea583fc1: Download complete
e0caea583fc1: Pull complete
Digest: sha256:abc80c782e7acbd09ffd49defcb056c2fc402593e57bcb537add09330e2c3992
Status: Downloaded newer image for ocaml/opam@sha256:abc80c782e7acbd09ffd49defcb056c2fc402593e57bcb537add09330e2c3992
2025-05-09 16:45.44 ---> using "da0437edefc3074e740b2380711421a58ad6af000252c27345a9c063faf0cc10" 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-05-09 16:45.44 ---> using "e833ac3457899ccaae15fb853ecba4205a061c03c99d3b56cfc9dca5fdfd41fe" 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] Initialised
2025-05-09 16:45.44 ---> using "5b9378c4368654a1e42c0b58a1b1b855d77697c967ba417f4988054492006ce4" 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=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 (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-05-09 16:45.44 ---> using "8c5eb5242251e81437c14d007cf8da5cd6a9ff40f0aedf6a46c93dbaa06635e7" 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-05-09 16:45.44 ---> using "fa4e1a05d14195bedfc69d489958d269fa2e804160a92530b9f0c5df587b19e3" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-05-09 16:45.50 ---> saved as "30fb03a52e253335e9c7009f857a251d2fa79591fda29f0ea18ec6f3d6caf589"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-05-09 16:46.13 ---> saved as "ad7c798dd372f051c3e3b3aee835fa4d1048590b4a9376c429ac632ce9941e5a"
/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% | 180.8 KiB/s | 23.5 KiB | 00m00s
- Fedora 41 - x86_64 - Updates 100% | 10.5 MiB/s | 6.4 MiB | 00m01s
- Repositories loaded.
- Metadata cache created.
2025-05-09 16:46.16 ---> saved as "a8271dc06adf6193095d90d734d7ab640b61f6bd4ba28ddcf4901dbc503b1724"
/home/opam: (run (shell "opam pin add -k version -yn nanoev.0.1 0.1"))
nanoev is now pinned to version 0.1
2025-05-09 16:46.18 ---> saved as "0c9946c2d4c41089bfb710d2c131e00473367b87127eec77f3217af81f31ab03"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall nanoev.0.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\" != 'nanoev.0.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
nanoev.0.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 2 packages
- install dune 3.18.2 [required by nanoev]
- install nanoev 0.1 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.18.2 (cached)
-> retrieved nanoev.0.1 (cached)
-> installed dune.3.18.2
-> installed nanoev.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-09 16:46.42 ---> saved as "c3ca7e23c78ebf1452aa97cbd5a4171859cebb8342fab0d7f20d421cc401f4d8"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test nanoev.0.1) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile nanoev 0.1 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed nanoev.0.1
-> installed nanoev.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-09 16:46.47 ---> saved as "721f35f03d6ced36d1a4bf6131100b83e68214a7a2cc3e8e790c813d3f030e57"
/home/opam: (run (shell "opam reinstall --with-test --verbose nanoev.0.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\" != 'nanoev.0.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 nanoev 0.1 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [nanoev: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "nanoev" "-j" "255" "@install" "@runtest" (CWD=/home/opam/.opam/5.3/.opam-switch/build/nanoev.0.1)
-> compiled nanoev.0.1
-> removed nanoev.0.1
-> installed nanoev.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-09 16:46.51 ---> saved as "09ad069e59058da459793d2a9e5b28c73612cbfd35d9f4f24ffef9cc62666c85"
Job succeeded
2025-05-09 16:47.02: Job succeeded