- github
- ocaml
- opam-repository
- a3b516
- distributions,fedora-41-ocaml-5.3,junit_ounit.2.2.0,tests
(not at the head of any monitored branch or PR)
2025-02-26 14:59.56: New job: test junit_ounit.2.2.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27179/head (a3b5164831db81464b015f5a4c2eadaac5712852)
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/27179/head" && git reset --hard a3b51648
git fetch origin master
git merge --no-edit 1d1ea2841b231665859c831a77400c2a4deca6f4
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 junit_ounit.2.2.0 2.2.0
RUN opam reinstall junit_ounit.2.2.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" != 'junit_ounit.2.2.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 junit_ounit.2.2.0) || true
RUN opam reinstall --with-test --verbose junit_ounit.2.2.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" != 'junit_ounit.2.2.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-26 14:59.56: Using cache hint "ocaml/opam:fedora-41-ocaml-5.3@sha256:0089e33e132e880bebe6d51036d0279837ae157c271a905470fc51ce6dc663d7-junit_ounit.2.2.0-a3b5164831db81464b015f5a4c2eadaac5712852"
2025-02-26 14:59.56: 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 junit_ounit.2.2.0 2.2.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall junit_ounit.2.2.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\" != 'junit_ounit.2.2.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 junit_ounit.2.2.0) || true"))
(run (shell "opam reinstall --with-test --verbose junit_ounit.2.2.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\" != 'junit_ounit.2.2.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-26 14:59.56: Waiting for resource in pool OCluster
2025-02-26 14:59.59: Waiting for worker…
2025-02-26 15:06.46: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 1d1ea2841b Merge pull request #27381 from zapashcanon/conf
Merge made by the 'ort' strategy.
packages/junit/junit.2.2.0/opam | 42 +++++++++++++++++++++++
packages/junit_alcotest/junit_alcotest.2.2.0/opam | 42 +++++++++++++++++++++++
packages/junit_ounit/junit_ounit.2.2.0/opam | 41 ++++++++++++++++++++++
3 files changed, 125 insertions(+)
create mode 100644 packages/junit/junit.2.2.0/opam
create mode 100644 packages/junit_alcotest/junit_alcotest.2.2.0/opam
create mode 100644 packages/junit_ounit/junit_ounit.2.2.0/opam
(from ocaml/opam:fedora-41-ocaml-5.3@sha256:0089e33e132e880bebe6d51036d0279837ae157c271a905470fc51ce6dc663d7)
2025-02-26 15:21.34 ---> using "126afa77955ce3881c1d8ca99611ab423774472a88727507152ea60338088f22" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-02-26 15:21.34 ---> using "999658701644049fee8efa61f2c54a37950de8770915195d86f4166245aae911" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-02-26 15:22.24 ---> 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-26 15:22.25 ---> 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-26 15:22.35 ---> saved as "b2a395ce541d003c5ce13ea81bbad3f49676aeb99353db5b617389486ca12ebe"
/home/opam: (copy (src .) (dst opam-repository/))
2025-02-26 15:22.41 ---> saved as "0680ef6e3993302fbcdb7645f50e258d569e5411e2a79ec92e1842fa3be1bb33"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-02-26 15:23.24 ---> saved as "b2bf14563fbde85ef77905f86f55b9a8fa11253ad0a810c37e229269a81feade"
/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% | 87.1 KiB/s | 21.3 KiB | 00m00s
- Fedora 41 - x86_64 100% | 202.2 KiB/s | 27.3 KiB | 00m00s
- Fedora 41 - x86_64 - Updates 100% | 3.1 MiB/s | 4.1 MiB | 00m01s
- Repositories loaded.
- Metadata cache created.
2025-02-26 15:23.28 ---> saved as "cb9eeac9012e877873ce78d818459c1dd5eba565ba055f1e9ef1225f16ad2042"
/home/opam: (run (shell "opam pin add -k version -yn junit_ounit.2.2.0 2.2.0"))
junit_ounit is now pinned to version 2.2.0
2025-02-26 15:23.29 ---> saved as "1731c133715df693618c7257dad2f6df65b53da19e915490bcad146e806fa3ee"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall junit_ounit.2.2.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\" != 'junit_ounit.2.2.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
junit_ounit.2.2.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 13 packages
- install dune 3.17.2 [required by junit_ounit]
- install junit 2.2.0 [required by junit_ounit]
- install junit_ounit 2.2.0 (pinned)
- install ocamlbuild 0.15.0 [required by ptime]
- install ocamlfind 1.9.8 [required by ptime]
- install ounit2 2.2.7 [required by junit_ounit]
- install ptime 1.2.0 [required by junit]
- install re 1.12.0 [required by tyxml]
- install seq base [required by ounit2]
- install stdlib-shims 0.3.0 [required by ounit2]
- install topkg 1.0.7 [required by ptime]
- install tyxml 4.6.0 [required by junit]
- install uutf 1.0.3 [required by tyxml]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.17.2 (cached)
-> retrieved junit.2.2.0, junit_ounit.2.2.0 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ounit2.2.2.7 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved tyxml.4.6.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed ptime.1.2.0
-> installed dune.3.17.2
-> installed stdlib-shims.0.3.0
-> installed re.1.12.0
-> installed ounit2.2.2.7
-> installed tyxml.4.6.0
-> installed junit.2.2.0
-> installed junit_ounit.2.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-26 15:24.01 ---> saved as "fc89b3763647db1b1a58b3560d86840dd7c0cffb5f22393f5cf59aa7602d8fd5"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test junit_ounit.2.2.0) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile junit_ounit 2.2.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed junit_ounit.2.2.0
-> installed junit_ounit.2.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-26 15:24.06 ---> saved as "f8134ca913d9e749f91c32bf8a460bde01ac72ea3e878d975e00541f2771ff06"
/home/opam: (run (shell "opam reinstall --with-test --verbose junit_ounit.2.2.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\" != 'junit_ounit.2.2.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 junit_ounit 2.2.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [junit_ounit: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "junit_ounit" "-j" "255" "@install" "@runtest" (CWD=/home/opam/.opam/5.3/.opam-switch/build/junit_ounit.2.2.0)
-> compiled junit_ounit.2.2.0
-> removed junit_ounit.2.2.0
-> installed junit_ounit.2.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-26 15:24.13 ---> saved as "3ad776f9a7c6cd7c36e445c14fe4025d94027a777d6c9ad017d2cb7c2f9ee386"
Job succeeded
2025-02-26 15:24.19: Job succeeded