- github
- ocaml
- opam-repository
- 62ea4a
- extras,opam-2.1-ocaml-5.3,tsort.2.2.0,tests
(not at the head of any monitored branch or PR)
2025-03-30 17:17.00: New job: test tsort.2.2.0, using opam 2.1
from https://github.com/ocaml/opam-repository.git#refs/pull/27695/head (62ea4a5f124e7fecd2ffc92dfd29b3e252b0fa08)
on debian-12-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/27695/head" && git reset --hard 62ea4a5f
git fetch origin master
git merge --no-edit a8a89f62d8abd2a9f0cbb04826bfec1ef6b563e7
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:95d5766899a6b34da07175cc6752839c58f5cf0b22c08bfac36916a324e0182b
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.1 /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 tsort.2.2.0 2.2.0
RUN opam reinstall tsort.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 "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'tsort.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 tsort.2.2.0) || true
RUN opam reinstall --with-test --verbose tsort.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 "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'tsort.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-03-30 17:17.00: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:95d5766899a6b34da07175cc6752839c58f5cf0b22c08bfac36916a324e0182b-tsort.2.2.0-62ea4a5f124e7fecd2ffc92dfd29b3e252b0fa08"
2025-03-30 17:17.00: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:95d5766899a6b34da07175cc6752839c58f5cf0b22c08bfac36916a324e0182b)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.1 /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 tsort.2.2.0 2.2.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall tsort.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 \"\\\"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\" != 'tsort.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 tsort.2.2.0) || true"))
(run (shell "opam reinstall --with-test --verbose tsort.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 \"\\\"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\" != 'tsort.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-03-30 17:17.00: Waiting for resource in pool OCluster
2025-03-30 17:17.01: Waiting for worker…
2025-03-30 17:27.23: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
Updating files: 48% (10990/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: 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: 88% (20094/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 a8a89f62d8 Merge pull request #27687 from codinuum/diffast-20250328
Updating a8a89f62d8..62ea4a5f12
Fast-forward
packages/tsort/tsort.2.2.0/opam | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
create mode 100644 packages/tsort/tsort.2.2.0/opam
(from ocaml/opam:debian-12-ocaml-5.3@sha256:95d5766899a6b34da07175cc6752839c58f5cf0b22c08bfac36916a324e0182b)
2025-03-30 17:27.29 ---> using "f4aecc5a2ed834d2fb296b652823b8fe58aa33c4554a4174b68da852723cb8fe" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2025-03-30 17:27.29 ---> using "adbbf96e51de594678fba54628cfcb79fd8314cc8e531ef624d9475ad7ea1d1d" 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.
Continue? [Y/n] y
This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, which can't be reverted.
You may want to back it up before going further.
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-03-30 17:27.29 ---> using "256d1b585297ff3502b7a5a0e9d390ea7e3443d3538032e40bb699ed8a982389" 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.1.6 (263921263e1f745613e2882745114b7b08f3608b)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# solver builtin-0install
# install-criteria
# upgrade-criteria
# jobs 39
# repositories 1 (local), 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.3
# 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-03-30 17:27.29 ---> using "02de02dc6c2caf1c2826b910d965ca87006f4159ed2cd39ac048b79394673d50" 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-03-30 17:27.29 ---> using "c1a6ce95b4ffc796b49e294b5d98d6ccd6ebf77f9821319f5e1007f62e859418" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-03-30 17:31.35 ---> saved as "cb81b978321fa5ba0a72dbaa2ad9e981be44eeeea1534df07aceb39a49e24832"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-03-30 17:32.12 ---> saved as "2210595eab7ac5d5be8d7c027ae8e2bb7a216e024c3bd8eba3b14592c7db76d7"
/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 amd64 Packages.diff/Index [16.2 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 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 amd64 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 amd64 Packages [250 kB]
- Fetched 370 kB in 1s (338 kB/s)
- Reading package lists...
-
2025-03-30 17:32.15 ---> saved as "dd01c14de4bcdcf907204b0bfd8968c491b66e8a8ff5e018e8be5594fd16ebac"
/home/opam: (run (shell "opam pin add -k version -yn tsort.2.2.0 2.2.0"))
tsort is now pinned to version 2.2.0
2025-03-30 17:32.18 ---> saved as "b4fc3a92acb90bacf3cf5ce2d1a1450e13e8e8472c56b80352eb17cefd94c4d8"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall tsort.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 \"\\\"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\" != 'tsort.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"))
tsort.2.2.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
- install dune 3.17.2 [required by tsort]
- install tsort 2.2.0*
===== 2 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.17.2 (cached)
-> retrieved tsort.2.2.0 (cached)
-> installed dune.3.17.2
-> installed tsort.2.2.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-03-30 17:34.16 ---> saved as "745f2ba58ca73cd30c8cffe349c9967f5cf6f7098db84a6bff4858f8f71d5cbd"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test tsort.2.2.0) || true"))
The following actions will be performed:
- install cmdliner 1.3.0 [required by alcotest]
- install seq base [required by re]
- install ocamlbuild 0.16.1 [required by fmt, astring, uutf]
- install ocamlfind 1.9.8 [required by fmt, astring, uutf]
- install ocaml-syntax-shims 1.0.0 [required by alcotest]
- install stdlib-shims 0.3.0 [required by alcotest]
- install re 1.12.0 [required by alcotest]
- install topkg 1.0.8 [required by fmt, astring, uutf]
- install uutf 1.0.4 [required by alcotest]
- install fmt 0.10.0 [required by alcotest]
- install astring 0.8.5 [required by alcotest]
- install alcotest 1.9.0 [required by tsort]
- recompile tsort 2.2.0*
===== 12 to install | 1 to recompile =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.0 (https://github.com/mirage/alcotest/releases/download/1.9.0/alcotest-1.9.0.tbz)
-> retrieved astring.0.8.5 (https://erratique.ch/software/astring/releases/astring-0.8.5.tbz)
-> retrieved cmdliner.1.3.0 (https://erratique.ch/software/cmdliner/releases/cmdliner-1.3.0.tbz)
-> retrieved fmt.0.10.0 (https://erratique.ch/software/fmt/releases/fmt-0.10.0.tbz)
-> retrieved ocaml-syntax-shims.1.0.0 (https://github.com/ocaml-ppx/ocaml-syntax-shims/releases/download/1.0.0/ocaml-syntax-shims-1.0.0.tbz)
-> retrieved ocamlbuild.0.16.1 (https://github.com/ocaml/ocamlbuild/archive/refs/tags/0.16.1.tar.gz)
-> retrieved ocamlfind.1.9.8 (https://github.com/ocaml/ocamlfind/archive/refs/tags/findlib-1.9.8.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)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0 (https://github.com/ocaml/stdlib-shims/releases/download/0.3.0/stdlib-shims-0.3.0.tbz)
-> retrieved topkg.1.0.8 (https://erratique.ch/software/topkg/releases/topkg-1.0.8.tbz)
-> installed ocaml-syntax-shims.1.0.0
-> retrieved uutf.1.0.4 (https://erratique.ch/software/uutf/releases/uutf-1.0.4.tbz)
-> installed stdlib-shims.0.3.0
-> installed re.1.12.0
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> removed tsort.2.2.0
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed alcotest.1.9.0
-> installed tsort.2.2.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-03-30 17:35.51 ---> saved as "1cd1750d7a5133305bef32a3d0b2e20c64a43c91abefcce8a1c68e170b43a96a"
/home/opam: (run (shell "opam reinstall --with-test --verbose tsort.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 \"\\\"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\" != 'tsort.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 tsort 2.2.0*
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [tsort: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "tsort" "-j" "39" "@install" "@runtest" (CWD=/home/opam/.opam/5.3/.opam-switch/build/tsort.2.2.0)
- (cd _build/default/src/test && ./test_tsort.exe)
- Testing `Tsort'.
- This run has ID `K5TQH2UM'.
-
- [OK] Tsort 0 find nonexistent nodes.
- [OK] Tsort 1 sort.
- [OK] Tsort 2 find s.c. components.
- [OK] Tsort 3 sort s.c. components.
- [OK] Tsort 4 find dependencies.
- [OK] Tsort 5 add_missing_nodes.
-
- Full test results in `~/.opam/5.3/.opam-switch/build/tsort.2.2.0/_build/default/src/test/_build/_tests/Tsort'.
- Test Successful in 0.002s. 6 tests run.
-> compiled tsort.2.2.0
-> removed tsort.2.2.0
-> installed tsort.2.2.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-03-30 17:36.35 ---> saved as "79ae612402c7ce9dd831a51d6564fec220bb856a3f520ce7b43d24e6af991943"
Job succeeded
2025-03-30 17:41.53: Job succeeded