- github
- ocaml
- opam-repository
- 62ea4a
- extras,opam-2.2-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.2
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.2 /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.2 /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.53: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
Updating files: 47% (10902/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: 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: 96% (21955/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.57 ---> using "f4aecc5a2ed834d2fb296b652823b8fe58aa33c4554a4174b68da852723cb8fe" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2025-03-30 17:27.57 ---> using "17c0f1622a17150d8968f7760b8809074a787ce24e66ce82bb6c152f1761bb5a" 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
[NOTE] The 'jobs' option was reset, its value was 39 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=39 --global
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.57 ---> using "0c72d8edacdaafbf885f40c2e75b0adb5ed60c71f3306bf39193939663bee703" 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.2.1 (01e9a24a61e23e42d513b4b775d8c30c807439b2)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# solver builtin-0install
# install-criteria
# upgrade-criteria
# 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-03-30 17:27.57 ---> using "a27478fa3828e881029ec0d2af66fb81e7f3988ce593484fad50784a1a83c09f" 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.57 ---> using "b812ab03a03ef2db316d8f503dc316717408156fcbd7e874f07d7a5c9c98d79d" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-03-30 17:31.47 ---> saved as "4acb6937eaf42fc601d6f09a69941efb799787a98785dde27eaa204d70d28392"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-03-30 17:33.40 ---> saved as "fbd120c581a202ce6ed949341f490a8755e3cb7babf2d0e22e805b9db9d5f116"
/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 (485 kB/s)
- Reading package lists...
-
2025-03-30 17:33.43 ---> saved as "607235486c1de5efc047b3d73aaefe4d596bffced1aa1d88f0484b4ebb9b6528"
/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:33.48 ---> saved as "4b985be6966f8fa121eb078ad472299c5945227df42d3735eb43360b94e16e51"
/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 2 packages
- install dune 3.17.2 [required by tsort]
- install tsort 2.2.0 (pinned)
<><> 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:35.24 ---> saved as "06910f47475f312bd7634f06ce8b79ac2fd118274e0bf3dd3de27de0627d93b7"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test tsort.2.2.0) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile tsort 2.2.0 (pinned)
=== install 12 packages
- install alcotest 1.9.0 [required by tsort]
- install astring 0.8.5 [required by alcotest]
- install cmdliner 1.3.0 [required by alcotest]
- install fmt 0.10.0 [required by alcotest]
- install ocaml-syntax-shims 1.0.0 [required by alcotest]
- install ocamlbuild 0.16.1 [required by fmt, astring, uutf]
- install ocamlfind 1.9.8 [required by fmt, astring, uutf]
- install re 1.12.0 [required by alcotest]
- install seq base [required by re]
- install stdlib-shims 0.3.0 [required by alcotest]
- install topkg 1.0.8 [required by fmt, astring, uutf]
- install uutf 1.0.4 [required by alcotest]
<><> 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)
-> installed ocaml-syntax-shims.1.0.0
-> 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)
-> 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)
-> retrieved uutf.1.0.4 (https://erratique.ch/software/uutf/releases/uutf-1.0.4.tbz)
-> installed stdlib-shims.0.3.0
-> installed cmdliner.1.3.0
-> installed re.1.12.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:36.30 ---> saved as "0092bad3cfbaa9a20e20d0f156c538dcd591a16aa8aeff49563b38ba9975ea96"
/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 1 package
- recompile tsort 2.2.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [tsort: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "tsort" "-j" "255" "@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 `26K1MR7M'.
-
- [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.53 ---> saved as "49c68550dff56802cf03cfcc1c9eb3d1605013047231655fbc5109c7a3425682"
Job succeeded
2025-03-30 17:42.11: Job succeeded