2024-09-03 20:01.51: New job: test tmcgilchrist/qcheck https://github.com/tmcgilchrist/qcheck.git#refs/heads/master (fc2aadd95f6ebb5858246c856b68f7c6e77994c7) (linux-x86_64:debian-12-4.11_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-4.11@sha256:46543cea87197d5f47a6b4e4045ec16cd80d8b0229f9db879541221aa6f9875f
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/tmcgilchrist/qcheck.git" -b "master" && cd "qcheck" && git reset --hard fc2aadd9
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.11@sha256:46543cea87197d5f47a6b4e4045ec16cd80d8b0229f9db879541221aa6f9875f
# debian-12-4.11_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e ed8a57d12c0cad91b64c05f7dd96b87f8e1cd9e3 || git fetch origin master) && git reset -q --hard ed8a57d12c0cad91b64c05f7dd96b87f8e1cd9e3 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 qcheck.opam qcheck-ounit.opam qcheck-core.opam qcheck-alcotest.opam ppx_deriving_qcheck.opam ./
RUN opam pin add -yn qcheck.dev './' && \
opam pin add -yn qcheck-ounit.dev './' && \
opam pin add -yn qcheck-core.dev './' && \
opam pin add -yn qcheck-alcotest.dev './' && \
opam pin add -yn ppx_deriving_qcheck.dev './'
ENV DEPS="alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.7.0 dune.3.16.0 fmt.0.9.0 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.2 ppxlib.0.33.0 re.1.11.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y qcheck.dev qcheck-ounit.dev qcheck-core.dev qcheck-alcotest.dev ppx_deriving_qcheck.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-09-03 20:01.51: Using cache hint "tmcgilchrist/qcheck-ocaml/opam:debian-12-ocaml-4.11@sha256:46543cea87197d5f47a6b4e4045ec16cd80d8b0229f9db879541221aa6f9875f-debian-12-4.11_opam-2.2-eb41af0475576fc222609abbdb0436f3"
2024-09-03 20:01.51: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.11@sha256:46543cea87197d5f47a6b4e4045ec16cd80d8b0229f9db879541221aa6f9875f)
(comment debian-12-4.11_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e ed8a57d12c0cad91b64c05f7dd96b87f8e1cd9e3 || git fetch origin master) && git reset -q --hard ed8a57d12c0cad91b64c05f7dd96b87f8e1cd9e3 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src qcheck.opam qcheck-ounit.opam qcheck-core.opam qcheck-alcotest.opam ppx_deriving_qcheck.opam)
(dst ./))
(run (network host)
(shell "opam pin add -yn qcheck.dev './' && \
\nopam pin add -yn qcheck-ounit.dev './' && \
\nopam pin add -yn qcheck-core.dev './' && \
\nopam pin add -yn qcheck-alcotest.dev './' && \
\nopam pin add -yn ppx_deriving_qcheck.dev './'"))
(env DEPS "alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.7.0 dune.3.16.0 fmt.0.9.0 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.2 ppxlib.0.33.0 re.1.11.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.2 --depext-only -y qcheck.dev qcheck-ounit.dev qcheck-core.dev qcheck-alcotest.dev ppx_deriving_qcheck.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2024-09-03 20:01.51: Waiting for resource in pool OCluster
2024-09-05 07:48.26: Waiting for worker…
2024-09-05 07:50.51: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
All commits already cached
HEAD is now at fc2aadd Merge pull request #221 from gasche/document-to_alcotest
(from ocaml/opam:debian-12-ocaml-4.11@sha256:46543cea87197d5f47a6b4e4045ec16cd80d8b0229f9db879541221aa6f9875f)
2024-09-05 07:50.51 ---> using "46cebaf908121242e389d9f8a0c096e8f62cbf01334970357ff0dbedf0337f1a" from cache
/: (comment debian-12-4.11_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-09-05 07:50.51 ---> using "817ef498f324551564c4f4d8a4cffd39e6be3d462babe741b461cfbc60097fe1" from cache
/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-09-05 07:50.51 ---> using "83d7039f0ae1ef20d9efefb63879a5c33b7ec1f5846bd63153f07d06fea2a2a5" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-119-generic
The OCaml toplevel, version 4.11.2
2.2.1
2024-09-05 07:50.51 ---> using "2ba5a2a6a18007e1f6ab742edf744434cc402fc139d2ccc1139eb4a9a64eb77d" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-09-05 07:50.51 ---> using "e27063ec42a1ffbd245997ef857ad5114aec29522a904ca6e8b52615d65912a4" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e ed8a57d12c0cad91b64c05f7dd96b87f8e1cd9e3 || git fetch origin master) && git reset -q --hard ed8a57d12c0cad91b64c05f7dd96b87f8e1cd9e3 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
e89899ac28..56b5adee12 master -> origin/master
ed8a57d12c Merge pull request #26441 from fpottier/opam-publish-cppo.1.7.0
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-09-05 07:50.51 ---> using "17a71871344f06bb2e80d5e82eccfab20c61f4df83cc20ea085445bb64c78981" from cache
/src: (copy (src qcheck.opam qcheck-ounit.opam qcheck-core.opam qcheck-alcotest.opam ppx_deriving_qcheck.opam)
(dst ./))
2024-09-05 07:50.51 ---> saved as "56bda758c607100390ce5e0160be67183984aa519ab9077d1db454e0bbf93dd1"
/src: (run (network host)
(shell "opam pin add -yn qcheck.dev './' && \
\nopam pin add -yn qcheck-ounit.dev './' && \
\nopam pin add -yn qcheck-core.dev './' && \
\nopam pin add -yn qcheck-alcotest.dev './' && \
\nopam pin add -yn ppx_deriving_qcheck.dev './'"))
[qcheck.dev] synchronised (file:///src)
qcheck is now pinned to file:///src (version dev)
[qcheck-ounit.dev] synchronised (file:///src)
qcheck-ounit is now pinned to file:///src (version dev)
[qcheck-core.dev] synchronised (file:///src)
qcheck-core is now pinned to file:///src (version dev)
[qcheck-alcotest.dev] synchronised (file:///src)
qcheck-alcotest is now pinned to file:///src (version dev)
[ppx_deriving_qcheck.dev] synchronised (file:///src)
ppx_deriving_qcheck is now pinned to file:///src (version dev)
2024-09-05 07:51.07 ---> saved as "398fa66a97381c41ea6ea4a5b1a0b39a2ad3da31005fc699c9cfb22fbd7dc1d0"
/src: (env DEPS "alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.7.0 dune.3.16.0 fmt.0.9.0 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.2 ppxlib.0.33.0 re.1.11.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.2 --depext-only -y qcheck.dev qcheck-ounit.dev qcheck-core.dev qcheck-alcotest.dev ppx_deriving_qcheck.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- 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/main amd64 Packages [8787 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [179 kB]
- Fetched 9221 kB in 2s (3889 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppx_deriving_qcheck.dev] synchronised (no changes)
[qcheck.dev] synchronised (no changes)
[qcheck-alcotest.dev] synchronised (no changes)
[qcheck-core.dev] synchronised (no changes)
[qcheck-ounit.dev] synchronised (no changes)
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.11.2).
[NOTE] Package ocaml is already installed (current version is 4.11.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-09-05 07:51.35 ---> saved as "6e346c2c404e08122c2221f1632cd985297ad2128b9e5b8e56bcf93a6751da97"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.11.2).
[NOTE] Package ocaml is already installed (current version is 4.11.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 21 packages
- install alcotest 1.8.0
- install astring 0.8.5
- install base-bytes base
- install cmdliner 1.3.0
- install cppo 1.7.0
- install dune 3.16.0
- install fmt 0.9.0
- install ocaml-compiler-libs v0.12.4
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- install ounit2 2.2.7
- install ppx_derivers 1.2.1
- install ppx_deriving 6.0.2
- install ppxlib 0.33.0
- install re 1.11.0
- install seq base
- install sexplib0 v0.16.0
- install stdlib-shims 0.3.0
- install topkg 1.0.7
- install uutf 1.0.3
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved cppo.1.7.0 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ounit2.2.2.7 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_deriving.6.0.2 (cached)
-> retrieved dune.3.16.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved ppxlib.0.33.0 (cached)
-> retrieved re.1.11.0 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.7 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed dune.3.16.0
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.16.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.11.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed cppo.1.7.0
-> installed ounit2.2.2.7
-> installed alcotest.1.8.0
-> installed ppxlib.0.33.0
-> installed ppx_deriving.6.0.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-05 07:53.13 ---> saved as "5a2813d1acea69c3d4bebb194292dbb5d2229e8ded07eba0dff3338648a3bfdc"
/src: (copy (src .) (dst /src))
2024-09-05 07:53.13 ---> saved as "6fbda80f71b12e57217da42fc21eb04c94d7b632c47970fb8f9cda20a282f73f"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test/core && ./test.exe)
Testing `QCheck'.
This run has ID `80WPS497'.
[OK] Shrink 0 int_towards.
[OK] Shrink 1 int32_towards.
[OK] Shrink 2 int64_towards.
[OK] Shrink 3 float_towards.
[OK] Gen 0 opt with default ratio.
[OK] Gen 1 opt with custom ratio.
[OK] Test 0 make with custom count.
[OK] Test 1 make with custom count.
[OK] Test 2 make with default count.
[OK] Test 3 make with env count.
[OK] String 0 shrinking.
Full test results in `/src/_build/default/test/core/_build/_tests/QCheck'.
Test Successful in 0.140s. 11 tests run.
(cd _build/default/test/ppx_deriving_qcheck/deriver && ./test_primitives.exe)
Testing `Test_Primitives'.
This run has ID `MJRU0YPY'.
[OK] Primitives 0 test_int.
[OK] Primitives 1 test_unit.
[OK] Primitives 2 test_string.
[OK] Primitives 3 test_char.
[OK] Primitives 4 test_bool.
[OK] Primitives 5 test_float.
[OK] Primitives 6 test_int32.
[OK] Primitives 7 test_int64.
[OK] Primitives 8 test_option.
[OK] Primitives 9 test_array.
[OK] Primitives 10 test_list.
Full test results in `/src/_build/default/test/ppx_deriving_qcheck/deriver/_build/_tests/Test_Primitives'.
Test Successful in 0.008s. 11 tests run.
(cd _build/default/test/ppx_deriving_qcheck/deriver && ./test_qualified_names.exe)
Testing `Test_Qualified_names'.
This run has ID `IEU0AFLA'.
[OK] Qualified names 0 test_module.
[OK] Qualified names 1 test_functor.
Full test results in `/src/_build/default/test/ppx_deriving_qcheck/deriver/_build/_tests/Test_Qualified_names'.
Test Successful in 0.001s. 2 tests run.
(cd _build/default/test/ppx_deriving_qcheck/deriver && ./test_tuple.exe)
qcheck random seed: 349840839
Testing `Test_Tuple'.
This run has ID `TRQDI9Y5'.
[OK] Tuple 0 forall x in ('a', 'b'): x = ('a', 'b').
[OK] Tuple 1 forall x in ('a', 'b', 'c'): x = ('a', 'b'...
[OK] Tuple 2 forall x in ('a', 'b', 'c', 'd'): x = ('a'...
[OK] Tuple 3 forall x in ('a', 'b', 'c', 'd', 'e'): x =...
[OK] Tuple 4 forall x in ('a', 'b', 'c', 'd', 'e', 'f')...
[OK] Tuple 5 forall x in ('a', 'b', 'c', 'd', 'e', 'f',...
[OK] Tuple 6 forall x in ('a', 'b', 'c', 'd', 'e', 'f',...
Full test results in `/src/_build/default/test/ppx_deriving_qcheck/deriver/_build/_tests/Test_Tuple'.
Test Successful in 0.001s. 7 tests run.
(cd _build/default/test/ppx_deriving_qcheck/deriver && ./test_variants.exe)
qcheck random seed: 599637922
Testing `Test_Variant'.
This run has ID `JSHM4HAF'.
[OK] Variants 0 test_variants.
[OK] Variants 1 test_poly_variants.
[OK] Variants 2 gen_letters always produces B.
[OK] Variants 3 gen_poly_letters always produces B.
Full test results in `/src/_build/default/test/ppx_deriving_qcheck/deriver/_build/_tests/Test_Variant'.
Test Successful in 0.001s. 4 tests run.
(cd _build/default/test/ppx_deriving_qcheck/deriver && ./test_recursive.exe)
qcheck random seed: 820601027
Testing `Test_Recursive'.
This run has ID `MCECM0Z5'.
[OK] Recursive 0 test_tree_ref.
[OK] Recursive 1 gen_tree_sized 0 = Node (_, Leaf, Leaf).
Full test results in `/src/_build/default/test/ppx_deriving_qcheck/deriver/_build/_tests/Test_Recursive'.
Test Successful in 0.018s. 2 tests run.
(cd _build/default/test/ppx_deriving_qcheck/deriver && ./test_record.exe)
Testing `Test_Record'.
This run has ID `EU1TH63U'.
[OK] Record 0 test_env.
[OK] Record 1 test_color.
Full test results in `/src/_build/default/test/ppx_deriving_qcheck/deriver/_build/_tests/Test_Record'.
Test Successful in 0.456s. 2 tests run.
(cd _build/default/test/ppx_deriving_qcheck/deriver && ./test_textual.exe)
Testing `ppx_deriving_qcheck tests'.
This run has ID `9AT67GRR'.
[OK] deriving generator good 0 deriving int.
[OK] deriving generator good 1 deriving float.
[OK] deriving generator good 2 deriving char.
[OK] deriving generator good 3 deriving string.
[OK] deriving generator good 4 deriving unit.
[OK] deriving generator good 5 deriving bool.
[OK] deriving generator good 6 deriving int32.
[OK] deriving generator good 7 deriving int32'.
[OK] deriving generator good 8 deriving int64.
[OK] deriving generator good 9 deriving int64'.
[OK] deriving generator good 10 deriving tuple.
[OK] deriving generator good 11 deriving option.
[OK] deriving generator good 12 deriving array.
[OK] deriving generator good 13 deriving list.
[OK] deriving generator good 14 deriving constructors.
[OK] deriving generator good 15 deriving dependencies.
[OK] deriving generator good 16 deriving record.
[OK] deriving generator good 17 deriving equal.
[OK] deriving generator good 18 deriving tree like.
[OK] deriving generator good 19 deriving expr like.
[OK] deriving generator good 20 deriving alpha.
[OK] deriving generator good 21 deriving variant.
[OK] deriving generator good 22 deriving weight construc...
[OK] deriving generator good 23 deriving forest.
[OK] deriving generator good 24 deriving fun primitives.
[OK] deriving generator good 25 deriving fun option.
[OK] deriving generator good 26 deriving fun array.
[OK] deriving generator good 27 deriving fun list.
[OK] deriving generator good 28 deriving fun n.
[OK] deriving generator good 29 deriving fun tuple.
[OK] deriving generator good 30 deriving rec poly variants.
[OK] deriving generator good 31 deriving variant with un...
Full test results in `/src/_build/default/test/ppx_deriving_qcheck/deriver/_build/_tests/ppx_deriving_qcheck tests'.
Test Successful in 0.016s. 32 tests run.
2024-09-05 07:53.40 ---> saved as "6a19d31275bc48786398ae531af9939b5f53ca471e10016ba4012545f514a395"
Job succeeded
2024-09-05 07:53.41: Job succeeded