- github
- ocaml
- opam-repository
- b5d19e
- distributions,debian-testing-ocaml-4.14,junit_alcotest.2.2.0,tests
(not at the head of any monitored branch or PR)
2025-02-10 19:01.43: New job: test junit_alcotest.2.2.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27179/head (b5d19e192c34b6eaa3dceec327ed5e7cad9e24fa)
on debian-testing-ocaml-4.14/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 b5d19e19
git fetch origin master
git merge --no-edit e41dcf1317027b68f2446cba5fefed79d9087146
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-testing-ocaml-4.14@sha256:10e504242f2981ae536780ab374ba85389d5af3c22e6d06b3e3792506c928b0c
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_alcotest.2.2.0 2.2.0
RUN opam reinstall junit_alcotest.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-testing\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'junit_alcotest.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_alcotest.2.2.0) || true
RUN opam reinstall --with-test --verbose junit_alcotest.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-testing\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'junit_alcotest.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-10 19:01.43: Using cache hint "ocaml/opam:debian-testing-ocaml-4.14@sha256:10e504242f2981ae536780ab374ba85389d5af3c22e6d06b3e3792506c928b0c-junit_alcotest.2.2.0-b5d19e192c34b6eaa3dceec327ed5e7cad9e24fa"
2025-02-10 19:01.43: Using OBuilder spec:
((from ocaml/opam:debian-testing-ocaml-4.14@sha256:10e504242f2981ae536780ab374ba85389d5af3c22e6d06b3e3792506c928b0c)
(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_alcotest.2.2.0 2.2.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall junit_alcotest.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-testing\\\"\"; 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_alcotest.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_alcotest.2.2.0) || true"))
(run (shell "opam reinstall --with-test --verbose junit_alcotest.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-testing\\\"\"; 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_alcotest.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-10 19:01.43: Waiting for resource in pool OCluster
2025-02-11 08:17.42: Waiting for worker…
2025-02-11 08:20.38: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
Updating files: 90% (21044/23307)
Updating files: 91% (21210/23307)
Updating files: 92% (21443/23307)
Updating files: 93% (21676/23307)
Updating files: 94% (21909/23307)
Updating files: 95% (22142/23307)
Updating files: 96% (22375/23307)
Updating files: 97% (22608/23307)
Updating files: 98% (22841/23307)
Updating files: 99% (23074/23307)
Updating files: 100% (23307/23307)
Updating files: 100% (23307/23307), done.
HEAD is now at e41dcf1317 Merge pull request #27400 from hannesm/release-tcpip-v9.0.0
Merge made by the 'ort' strategy.
packages/junit/junit.2.2.0/opam | 41 +++++++++++++++++++++++
packages/junit_alcotest/junit_alcotest.2.2.0/opam | 41 +++++++++++++++++++++++
packages/junit_ounit/junit_ounit.2.2.0/opam | 41 +++++++++++++++++++++++
3 files changed, 123 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:debian-testing-ocaml-4.14@sha256:10e504242f2981ae536780ab374ba85389d5af3c22e6d06b3e3792506c928b0c)
Unable to find image 'ocaml/opam:debian-testing-ocaml-4.14@sha256:10e504242f2981ae536780ab374ba85389d5af3c22e6d06b3e3792506c928b0c' locally
docker.io/ocaml/opam@sha256:10e504242f2981ae536780ab374ba85389d5af3c22e6d06b3e3792506c928b0c: Pulling from ocaml/opam
997beacae7a8: Pulling fs layer
997beacae7a8: Verifying Checksum
997beacae7a8: Download complete
997beacae7a8: Pull complete
Digest: sha256:10e504242f2981ae536780ab374ba85389d5af3c22e6d06b3e3792506c928b0c
Status: Downloaded newer image for ocaml/opam@sha256:10e504242f2981ae536780ab374ba85389d5af3c22e6d06b3e3792506c928b0c
2025-02-11 08:21.14 ---> using "d2ade6df380c963245c0513dea1e04aef1ca0f1cb22c1ef6d1268e715ab95f55" 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-11 08:21.14 ---> using "ebbad518985c3299456d74fb6ae38c690c4188ed0669395a507fdafb6afedf3e" 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] no changes from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-02-11 08:21.14 ---> using "6dadf66e586fd04d7aa3fd961d8c51305862e07d8c707b25ee0a27d0414f98ae" 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.4.0~alpha1~dev (747e73667ad9d054b0f736be205c0013e1bec087)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=unknown
# 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 4.14
# invariant ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2025-02-11 08:21.14 ---> using "113c60b03bda4c674c4d25191429a3998e37e5eacbc4ad564cf8f263f90da52b" 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-02-11 08:21.14 ---> using "8ef5e0cc289a78c9aaa049f920a876a4c934806637c0065219b552510a3fc004" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-02-11 08:21.15 ---> using "637b1672f89c805d56498bc4a40b6f82d6193129f2a86a3cbc20d899a51cf04b" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-02-11 08:22.02 ---> saved as "3ed77e5a62ef2e79db443b227a6c480aaeb1ea6a07917c14f128e9d1fead5822"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian testing InRelease [175 kB]
- Get:2 http://deb.debian.org/debian testing-updates InRelease [49.6 kB]
- Get:3 http://deb.debian.org/debian-security testing-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian testing/main amd64 Packages.diff/Index [27.9 kB]
- Get:5 http://deb.debian.org/debian testing/main amd64 Packages 2025-02-09-1438.19.pdiff [2418 B]
- Get:6 http://deb.debian.org/debian testing/main amd64 Packages 2025-02-09-2016.33.pdiff [3510 B]
- Get:7 http://deb.debian.org/debian testing/main amd64 Packages 2025-02-10-0213.27.pdiff [65.0 kB]
- Get:8 http://deb.debian.org/debian testing/main amd64 Packages 2025-02-10-0811.26.pdiff [323 B]
- Get:9 http://deb.debian.org/debian testing/main amd64 Packages 2025-02-10-1412.30.pdiff [13.2 kB]
- Get:10 http://deb.debian.org/debian testing/main amd64 Packages 2025-02-10-2031.41.pdiff [7494 B]
- Get:11 http://deb.debian.org/debian testing/main amd64 Packages 2025-02-11-0214.31.pdiff [94.2 kB]
- Get:11 http://deb.debian.org/debian testing/main amd64 Packages 2025-02-11-0214.31.pdiff [94.2 kB]
- Fetched 487 kB in 1s (700 kB/s)
- Reading package lists...
-
2025-02-11 08:22.04 ---> saved as "f2a8b208690cd06f469a3b98e45d499d9eff89b9f971b7f21729c9fd367e35bf"
/home/opam: (run (shell "opam pin add -k version -yn junit_alcotest.2.2.0 2.2.0"))
junit_alcotest is now pinned to version 2.2.0
2025-02-11 08:22.06 ---> saved as "9f367b7353837eac008cae40c52cade136d768f2fda7618f2f4396e6e6071dab"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall junit_alcotest.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-testing\\\"\"; 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_alcotest.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_alcotest.2.2.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 17 packages
- install alcotest 1.8.0 [required by junit_alcotest]
- install astring 0.8.5 [required by alcotest]
- install cmdliner 1.3.0 [required by alcotest]
- install dune 3.17.2 [required by junit_alcotest]
- install fmt 0.9.0 [required by alcotest]
- install junit 2.2.0 [required by junit_alcotest]
- install junit_alcotest 2.2.0 (pinned)
- install ocaml-syntax-shims 1.0.0 [required by alcotest]
- install ocamlbuild 0.15.0 [required by uutf, astring, fmt, ptime]
- install ocamlfind 1.9.8 [required by uutf, astring, fmt, ptime]
- install ptime 1.2.0 [required by junit]
- install re 1.12.0 [required by alcotest]
- install seq base [required by re, tyxml]
- install stdlib-shims 0.3.0 [required by alcotest]
- install topkg 1.0.7 [required by uutf, astring, fmt, ptime]
- install tyxml 4.6.0 [required by junit]
- install uutf 1.0.3 [required by alcotest]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.8.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved dune.3.17.2 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved junit.2.2.0, junit_alcotest.2.2.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ptime.1.2.0 (cached)
-> installed cmdliner.1.3.0
-> 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 fmt.0.9.0
-> installed ptime.1.2.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.8.0
-> installed tyxml.4.6.0
-> installed junit.2.2.0
-> installed junit_alcotest.2.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-11 08:22.40 ---> saved as "85f1c9516c3cfcef9762787eb274169d896cf561c405e0d265e14e51afebb300"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test junit_alcotest.2.2.0) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile junit_alcotest 2.2.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed junit_alcotest.2.2.0
-> installed junit_alcotest.2.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-11 08:22.47 ---> saved as "df1eee25cf4a3a01542de1ec7c54f8fc8ca1b2cc934dc3a6c3fe44f739ccb6b0"
/home/opam: (run (shell "opam reinstall --with-test --verbose junit_alcotest.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-testing\\\"\"; 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_alcotest.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_alcotest 2.2.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [junit_alcotest: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "junit_alcotest" "-j" "255" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/junit_alcotest.2.2.0)
- (cd _build/default/alcotest/test && ./alcotest_report.exe)
- Testing `Skip test suite'.
- This run has ID `1KJSY3J8'.
-
- [SKIP] Skipped tests 0 Skipped quick.
- [SKIP] Skipped tests 1 Skipped slow.
-
- Full test results in `~/.opam/4.14/.opam-switch/build/junit_alcotest.2.2.0/_build/default/alcotest/test/_build/_tests/Skip test suite'.
- Test Successful in 0.000s. 0 test run.
- Testing `My first test'.
- This run has ID `PJJ262VQ'.
-
- [FAIL] Basic tests 0 Test with unexpected exception.
- [OK] Basic tests 1 Capitalize.
- [OK] Basic tests 2 Add entries.
- [FAIL] Basic tests 3 Test with wrong result.
- [SKIP] Basic tests 4 Test skipped.
-
- ┌──────────────────────────────────────────────────────────────────────────────┐
- │ [FAIL] Basic tests 0 Test with unexpected exception. │
- └──────────────────────────────────────────────────────────────────────────────┘
- [invalid] 7
- Raised at Stdlib.invalid_arg in file "stdlib.ml", line 30, characters 20-45
- Called from Dune__exe__Alcotest_report.raise_unexpected_exn in file "alcotest/test/alcotest_report.ml", line 14, characters 46-63
- Called from Junit_alcotest.wrap_test.test in file "alcotest/junit_alcotest.ml", line 22, characters 6-13
- Re-raised at Junit_alcotest.wrap_test.test in file "alcotest/junit_alcotest.ml", line 48, characters 6-17
- Called from Alcotest_engine__Core.Make.protect_test.(fun) in file "src/alcotest-engine/core.ml", line 186, characters 17-23
- Called from Alcotest_engine__Monad.Identity.catch in file "src/alcotest-engine/monad.ml", line 24, characters 31-35
-
- Logs saved to `~/.opam/4.14/.opam-switch/build/junit_alcotest.2.2.0/_build/default/alcotest/test/_build/_tests/My first test/Basic tests.000.output'.
- ──────────────────────────────────────────────────────────────────────────────
-
-
- ┌──────────────────────────────────────────────────────────────────────────────┐
- │ [FAIL] Basic tests 3 Test with wrong result. │
- └──────────────────────────────────────────────────────────────────────────────┘
- ASSERT string_of_int equals to '7'
- File "alcotest/junit_alcotest.ml", line 22, character 6:
- FAIL string_of_int equals to '7'
-
- Expected: `"7"'
- Received: `"8"'
-
- Raised at Alcotest_engine__Test.check in file "src/alcotest-engine/test.ml", line 203, characters 4-261
- Called from Junit_alcotest.wrap_test.test in file "alcotest/junit_alcotest.ml", line 22, characters 6-13
- Re-raised at Junit_alcotest.wrap_test.test in file "alcotest/junit_alcotest.ml", line 48, characters 6-17
- Called from Alcotest_engine__Core.Make.protect_test.(fun) in file "src/alcotest-engine/core.ml", line 186, characters 17-23
- Called from Alcotest_engine__Monad.Identity.catch in file "src/alcotest-engine/monad.ml", line 24, characters 31-35
-
- Logs saved to `~/.opam/4.14/.opam-switch/build/junit_alcotest.2.2.0/_build/default/alcotest/test/_build/_tests/My first test/Basic tests.003.output'.
- ──────────────────────────────────────────────────────────────────────────────
-
- Full test results in `~/.opam/4.14/.opam-switch/build/junit_alcotest.2.2.0/_build/default/alcotest/test/_build/_tests/My first test'.
- 2 failures! in 0.000s. 4 tests run.
- Testing `My second test'.
- This run has ID `6MV0RO6E'.
-
- [FAIL] Basic tests 0 Test with unexpected exception.
- [OK] Basic tests 1 Capitalize.
- [OK] Basic tests 2 Add entries.
- [FAIL] Basic tests 3 Test with wrong result.
- [SKIP] Basic tests 4 Test skipped.
-
- ┌──────────────────────────────────────────────────────────────────────────────┐
- │ [FAIL] Basic tests 0 Test with unexpected exception. │
- └──────────────────────────────────────────────────────────────────────────────┘
- [invalid] 7
- Raised at Stdlib.invalid_arg in file "stdlib.ml", line 30, characters 20-45
- Called from Dune__exe__Alcotest_report.raise_unexpected_exn in file "alcotest/test/alcotest_report.ml", line 14, characters 46-63
- Called from Junit_alcotest.wrap_test.test in file "alcotest/junit_alcotest.ml", line 22, characters 6-13
- Re-raised at Junit_alcotest.wrap_test.test in file "alcotest/junit_alcotest.ml", line 48, characters 6-17
- Called from Alcotest_engine__Core.Make.protect_test.(fun) in file "src/alcotest-engine/core.ml", line 186, characters 17-23
- Called from Alcotest_engine__Monad.Identity.catch in file "src/alcotest-engine/monad.ml", line 24, characters 31-35
-
- Logs saved to `~/.opam/4.14/.opam-switch/build/junit_alcotest.2.2.0/_build/default/alcotest/test/_build/_tests/My second test/Basic tests.000.output'.
- ──────────────────────────────────────────────────────────────────────────────
-
-
- ┌──────────────────────────────────────────────────────────────────────────────┐
- │ [FAIL] Basic tests 3 Test with wrong result. │
- └──────────────────────────────────────────────────────────────────────────────┘
- ASSERT string_of_int equals to '7'
- File "alcotest/junit_alcotest.ml", line 22, character 6:
- FAIL string_of_int equals to '7'
-
- Expected: `"7"'
- Received: `"8"'
-
- Raised at Alcotest_engine__Test.check in file "src/alcotest-engine/test.ml", line 203, characters 4-261
- Called from Junit_alcotest.wrap_test.test in file "alcotest/junit_alcotest.ml", line 22, characters 6-13
- Re-raised at Junit_alcotest.wrap_test.test in file "alcotest/junit_alcotest.ml", line 48, characters 6-17
- Called from Alcotest_engine__Core.Make.protect_test.(fun) in file "src/alcotest-engine/core.ml", line 186, characters 17-23
- Called from Alcotest_engine__Monad.Identity.catch in file "src/alcotest-engine/monad.ml", line 24, characters 31-35
-
- Logs saved to `~/.opam/4.14/.opam-switch/build/junit_alcotest.2.2.0/_build/default/alcotest/test/_build/_tests/My second test/Basic tests.003.output'.
- ──────────────────────────────────────────────────────────────────────────────
-
- Full test results in `~/.opam/4.14/.opam-switch/build/junit_alcotest.2.2.0/_build/default/alcotest/test/_build/_tests/My second test'.
- 2 failures! in 0.000s. 4 tests run.
- Testing `Success test suite'.
- This run has ID `AFYDZM8T'.
-
- [OK] Good tests 0 Capitalize.
- [OK] Good tests 1 Add entries.
-
- Full test results in `~/.opam/4.14/.opam-switch/build/junit_alcotest.2.2.0/_build/default/alcotest/test/_build/_tests/Success test suite'.
- Test Successful in 0.000s. 2 tests run.
-> compiled junit_alcotest.2.2.0
-> removed junit_alcotest.2.2.0
-> installed junit_alcotest.2.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-11 08:22.54 ---> saved as "5f149b6cae109f8f5e7bb640395570c957b6e24a6118a82191b1264ce06399b5"
Job succeeded
2025-02-11 08:23.13: Job succeeded