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.10_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-4.10@sha256:48695943c9555d3a08e150097535c67d52f58819eb6bc592c398679a2a744452
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.10@sha256:48695943c9555d3a08e150097535c67d52f58819eb6bc592c398679a2a744452
# debian-12-4.10_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.10.2 ocaml-base-compiler.4.10.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.10@sha256:48695943c9555d3a08e150097535c67d52f58819eb6bc592c398679a2a744452-debian-12-4.10_opam-2.2-df175bbc4a49ca0a6dc102eeaa1a7c83"
2024-09-03 20:01.51: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.10@sha256:48695943c9555d3a08e150097535c67d52f58819eb6bc592c398679a2a744452)
(comment debian-12-4.10_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.10.2 ocaml-base-compiler.4.10.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.27: Waiting for worker…
2024-09-05 07:50.51: Got resource from pool OCluster
Building on x86-bm-c11.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.10@sha256:48695943c9555d3a08e150097535c67d52f58819eb6bc592c398679a2a744452)
2024-09-05 07:50.51 ---> using "1171274062e138f4d83d3503b81ae1a38569e1bd12aa4ea9aae9c1899d407bf8" from cache
/: (comment debian-12-4.10_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 "23c3ce6f6a9471e22e964e0919404a9a2f9eac94be800f1acc78ab45d7bb1ecc" 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 "d4b8a094d7a75d0f7cd503c39f273adf4855881abc386e237400daf9817ed3d5" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-119-generic
The OCaml toplevel, version 4.10.2
2.2.1
2024-09-05 07:50.51 ---> using "e87de53e2a6a7c4beb17d49b5a8efda86f6fb980c856d2dc8f15fb6924fb5827" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-09-05 07:50.51 ---> using "784b3019b43cb147dea0a0a5b01c95928aaec5b901fa106a31119fbf80bf0992" 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 "3b34dec7cdd786eaa661b34614ed8c217b7be976e637194aa12d0a461b931fa7" 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 "e54d63abab3b69400bdb021f43147a6123422e806b121aee203e8d1afbe45280"
/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.02 ---> saved as "77f0c04315d98f4a80a4dc63f65c49071ef5bea48200559abbeb9bfc63300e31"
/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.10.2 ocaml-base-compiler.4.10.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 1s (6159 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.10.2).
[NOTE] Package ocaml is already installed (current version is 4.10.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.28 ---> saved as "e933e34452094227d18dddb06cf6ce1bdffc0d14cdcf1c360b89111961141785"
/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.10.2).
[NOTE] Package ocaml is already installed (current version is 4.10.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 re.1.11.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved dune.3.16.0 (cached)
-> retrieved ppxlib.0.33.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 ocaml-compiler-libs.v0.12.4
-> installed cppo.1.7.0
-> installed re.1.11.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:52.58 ---> saved as "cb0faafc28e407a19b030b98e052f9b681414d5a1c943c2ac899bfcdc5b24bfa"
/src: (copy (src .) (dst /src))
2024-09-05 07:52.59 ---> saved as "d3484a63734d4eed82bcaf7c92f26f03e2ce0f4be07ec863a23ef758d05bf7a1"
/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 `1YGF8ZTQ'.
[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.183s. 11 tests run.
(cd _build/default/test/ppx_deriving_qcheck/deriver && ./test_primitives.exe)
Testing `Test_Primitives'.
This run has ID `KXJ5AGMI'.
[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.010s. 11 tests run.
(cd _build/default/test/ppx_deriving_qcheck/deriver && ./test_record.exe)
Testing `Test_Record'.
This run has ID `8KG6BFR8'.
[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.449s. 2 tests run.
(cd _build/default/test/ppx_deriving_qcheck/deriver && ./test_qualified_names.exe)
Testing `Test_Qualified_names'.
This run has ID `0UPLUJS5'.
[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_variants.exe)
qcheck random seed: 116082130
Testing `Test_Variant'.
This run has ID `Y34EE7E3'.
[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_tuple.exe)
qcheck random seed: 597597100
Testing `Test_Tuple'.
This run has ID `CXOIV4YK'.
[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_recursive.exe)
qcheck random seed: 554473774
Testing `Test_Recursive'.
This run has ID `TFB1CSEJ'.
[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.012s. 2 tests run.
(cd _build/default/test/ppx_deriving_qcheck/deriver && ./test_textual.exe)
Testing `ppx_deriving_qcheck tests'.
This run has ID `QVPIX4XR'.
[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.008s. 32 tests run.
2024-09-05 07:53.26 ---> saved as "9bdd3692c833e22f6056f86f0749632142dde650049732813257b12069ebba3e"
Job succeeded
2024-09-05 07:53.26: Job succeeded