- github
- ocaml
- opam-repository
- 4bb6e5
- extras,opam-2.0-ocaml-5.3,alcotest.1.9.0,tests
(not at the head of any monitored branch or PR)
2025-03-13 09:14.37: New job: test alcotest.1.9.0, using opam 2.0
from https://github.com/ocaml/opam-repository.git#refs/pull/27617/head (4bb6e5fd95bc05a3bab58b600d1ff773fc909158)
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/27617/head" && git reset --hard 4bb6e5fd
git fetch origin master
git merge --no-edit 5ab9f3c9e8c50d4858e5b871d7544019a20f89e2
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:bc8aaa1230ecb57c5762546b9227e538394dff3b0a270fc783baf8bc6bd0bf51
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn alcotest.1.9.0 1.9.0
RUN opam depext alcotest.1.9.0 && opam reinstall alcotest.1.9.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" != 'alcotest.1.9.0' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN (opam depext --with-test alcotest.1.9.0 && opam reinstall --with-test alcotest.1.9.0) || true
RUN opam depext --with-test alcotest.1.9.0 && opam reinstall --with-test --verbose alcotest.1.9.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" != 'alcotest.1.9.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-13 09:14.37: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:bc8aaa1230ecb57c5762546b9227e538394dff3b0a270fc783baf8bc6bd0bf51-alcotest.1.9.0-4bb6e5fd95bc05a3bab58b600d1ff773fc909158"
2025-03-13 09:14.37: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:bc8aaa1230ecb57c5762546b9227e538394dff3b0a270fc783baf8bc6bd0bf51)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "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 depext -u || true"))
(run (shell "opam pin add -k version -yn alcotest.1.9.0 1.9.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext alcotest.1.9.0 && opam reinstall alcotest.1.9.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\" != 'alcotest.1.9.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 depext --with-test alcotest.1.9.0 && opam reinstall --with-test alcotest.1.9.0) || true"))
(run (shell "opam depext --with-test alcotest.1.9.0 && opam reinstall --with-test --verbose alcotest.1.9.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\" != 'alcotest.1.9.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-13 09:14.37: Waiting for resource in pool OCluster
2025-03-13 09:16.11: Waiting for worker…
2025-03-13 09:19.10: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
Updating files: 85% (19254/22646)
Updating files: 86% (19476/22646)
Updating files: 87% (19703/22646)
Updating files: 88% (19929/22646)
Updating files: 89% (20155/22646)
Updating files: 90% (20382/22646)
Updating files: 91% (20608/22646)
Updating files: 92% (20835/22646)
Updating files: 93% (21061/22646)
Updating files: 94% (21288/22646)
Updating files: 95% (21514/22646)
Updating files: 96% (21741/22646)
Updating files: 97% (21967/22646)
Updating files: 98% (22194/22646)
Updating files: 99% (22420/22646)
Updating files: 100% (22646/22646)
Updating files: 100% (22646/22646), done.
HEAD is now at 5ab9f3c9e8 Merge pull request #27610 from Alasdair/release-sail-0.19
Updating 5ab9f3c9e8..4bb6e5fd95
Fast-forward
packages/alcotest-async/alcotest-async.1.9.0/opam | 49 ++++++++++++++++++
packages/alcotest-js/alcotest-js.1.9.0/opam | 45 ++++++++++++++++
packages/alcotest-lwt/alcotest-lwt.1.9.0/opam | 45 ++++++++++++++++
.../alcotest-mirage/alcotest-mirage.1.9.0/opam | 47 +++++++++++++++++
packages/alcotest/alcotest.1.9.0/opam | 60 ++++++++++++++++++++++
5 files changed, 246 insertions(+)
create mode 100644 packages/alcotest-async/alcotest-async.1.9.0/opam
create mode 100644 packages/alcotest-js/alcotest-js.1.9.0/opam
create mode 100644 packages/alcotest-lwt/alcotest-lwt.1.9.0/opam
create mode 100644 packages/alcotest-mirage/alcotest-mirage.1.9.0/opam
create mode 100644 packages/alcotest/alcotest.1.9.0/opam
(from ocaml/opam:debian-12-ocaml-5.3@sha256:bc8aaa1230ecb57c5762546b9227e538394dff3b0a270fc783baf8bc6bd0bf51)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:bc8aaa1230ecb57c5762546b9227e538394dff3b0a270fc783baf8bc6bd0bf51' locally
docker.io/ocaml/opam@sha256:bc8aaa1230ecb57c5762546b9227e538394dff3b0a270fc783baf8bc6bd0bf51: Pulling from ocaml/opam
bffb52139beb: Pulling fs layer
bffb52139beb: Waiting
bffb52139beb: Verifying Checksum
bffb52139beb: Download complete
bffb52139beb: Pull complete
Digest: sha256:bc8aaa1230ecb57c5762546b9227e538394dff3b0a270fc783baf8bc6bd0bf51
Status: Downloaded newer image for ocaml/opam@sha256:bc8aaa1230ecb57c5762546b9227e538394dff3b0a270fc783baf8bc6bd0bf51
2025-03-13 09:20.24 ---> using "4c4507dc2c915bc2fe880d11485a066845ce2ccaf87ae0c7a8ec26d34c0670c5" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2025-03-13 09:20.24 ---> using "4b68de1bf38207b6e857f8fd0c237dbf01b9476a4e13e91e2ddd1f8e64a0beaf" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.
[WARNING] Recommended dependencies -- most packages rely on these:
- m4
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-03-13 09:20.24 ---> using "4dae10fb1b94080b9ff0b91e71ccf6368f3190cf12680d9fb533a6c70dd7d9f9" from cache
/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version 2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# solver builtin-mccs+glpk
# install-criteria -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria -removed,-count[version-lag,solution],-new
# jobs 39
# repositories 1 (local), 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.3
2025-03-13 09:20.24 ---> using "a54c8103cf7c9f736adab0862bd13e2be19cee582888704529469211eef299cf" 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-13 09:20.24 ---> using "a9a3fbe8e72bffaa8af7ea3572bd9901e1537c13dbaf69b1e02f6bce2419377e" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-03-13 09:20.27 ---> saved as "9d1c0c2a3b58f868c037fa3067704ec7e80f15272fd021b48c168bc31a9639e2"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-03-13 09:20.52 ---> saved as "1ca570657d9030d5e6ad7de4e255ca3f455ffde0848e40cfeda576c9b5811567"
/home/opam: (run (network host)
(shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "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-security bookworm-security/main amd64 Packages [246 kB]
Fetched 349 kB in 0s (945 kB/s)
Reading package lists...
# OS package update successful
2025-03-13 09:20.55 ---> saved as "1b242b74bcf64c4f2d7ec59be3523980fa2e88a1201a286f9971d088620ac7d7"
/home/opam: (run (shell "opam pin add -k version -yn alcotest.1.9.0 1.9.0"))
alcotest is now pinned to version 1.9.0
2025-03-13 09:20.57 ---> saved as "705f1c2c39addbf7df269988c572d740fd039e889849d81f87e4c5edd7e742e2"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext alcotest.1.9.0 && opam reinstall alcotest.1.9.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\" != 'alcotest.1.9.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
alcotest.1.9.0 is not installed. Install it? [Y/n] y
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 dune 3.17.2 [required by alcotest]
- install topkg 1.0.8 [required by fmt, astring, uutf]
- install stdlib-shims 0.3.0 [required by alcotest]
- install re 1.12.0 [required by alcotest]
- install ocaml-syntax-shims 1.0.0 [required by alcotest]
- 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*
===== 13 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[alcotest.1.9.0] found in cache
[astring.0.8.5] found in cache
[cmdliner.1.3.0] found in cache
[dune.3.17.2] found in cache
[fmt.0.10.0] found in cache
[ocaml-syntax-shims.1.0.0] found in cache
[ocamlbuild.0.16.1] found in cache
[ocamlfind.1.9.8] found in cache
[re.1.12.0] found in cache
[stdlib-shims.0.3.0] found in cache
[topkg.1.0.8] found in cache
[uutf.1.0.4] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed seq.base
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> 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 dune.3.17.2
-> installed stdlib-shims.0.3.0
-> installed re.1.12.0
-> installed ocaml-syntax-shims.1.0.0
-> installed alcotest.1.9.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-03-13 09:21.37 ---> saved as "31c3d1db42a44b35fdb0318164f5cee46a66be4e857bb41bb3dfd43fe8140204"
/home/opam: (run (network host)
(shell "(opam depext --with-test alcotest.1.9.0 && opam reinstall --with-test alcotest.1.9.0) || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following actions will be performed:
- recompile alcotest 1.9.0*
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed alcotest.1.9.0
-> installed alcotest.1.9.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-03-13 09:21.56 ---> saved as "040255e168c15d17251357f274d50fd265220f09837358523ea2b60106d6dfb6"
/home/opam: (run (shell "opam depext --with-test alcotest.1.9.0 && opam reinstall --with-test --verbose alcotest.1.9.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\" != 'alcotest.1.9.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following actions will be performed:
- recompile alcotest 1.9.0*
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/3: [alcotest: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "alcotest" "-j" "39" "@install" "@runtest" (CWD=/home/opam/.opam/5.3/.opam-switch/build/alcotest.1.9.0)
- (cd _build/default/examples && ./simple.exe)
- Testing `Utils'.
- This run has ID `8KKDIMHH'.
-
- [OK] string-case 0 Lower case.
- [OK] string-case 1 Capitalization.
- [OK] string-concat 0 String mashing.
- [OK] list-concat 0 List mashing.
-
- Full test results in `~/.opam/5.3/.opam-switch/build/alcotest.1.9.0/_build/default/examples/_build/_tests/Utils'.
- Test Successful in 0.000s. 4 tests run.
- (cd _build/default/examples && ./floats.exe)
- Testing `Float tests'.
- This run has ID `4IUBPKSJ'.
-
- [OK] Edge cases 0 NaN.
- [OK] Edge cases 1 ∞.
- [OK] Other floats 0 others.
-
- Full test results in `~/.opam/5.3/.opam-switch/build/alcotest.1.9.0/_build/default/examples/_build/_tests/Float tests'.
- Test Successful in 0.000s. 3 tests run.
-> compiled alcotest.1.9.0
-> removed alcotest.1.9.0
-> installed alcotest.1.9.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-03-13 09:22.14 ---> saved as "032be63cd28d0ba4e8c5a31298d38b2db2cdc88624e6f16affbb077a1edcc0b7"
Job succeeded
2025-03-13 09:23.01: Job succeeded