2024-05-10 19:04.37: New job: test dinosaure/art https://github.com/dinosaure/art.git#refs/heads/main (70be87b6ba81db459decf21291f8f606400e8fbf) (linux-s390x:debian-12-4.14_s390x_opam-2.1)
Base: ocaml/opam@sha256:03a5a4ddf0eae514071c7504a3f0b49a917eaf2f7acd6806bc53498398aa1b85
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/dinosaure/art.git" -b "main" && cd "art" && git reset --hard 70be87b6
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:03a5a4ddf0eae514071c7504a3f0b49a917eaf2f7acd6806bc53498398aa1b85
# debian-12-4.14_s390x_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 rowex.opam art.opam ./
RUN opam pin add -yn rowex.dev './' && \
opam pin add -yn art.dev './'
ENV DEPS="afl-persistent.1.4 alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.2.0 cppo.1.6.9 crowbar.0.2.1 dune.3.15.2 fmt.0.9.0 monolith.20230604 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 pprint.20230830 re.1.11.0 seq.base 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.1 --depext-only -y art.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=art @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-05-10 19:04.37: Using cache hint "dinosaure/art-ocaml/opam@sha256:03a5a4ddf0eae514071c7504a3f0b49a917eaf2f7acd6806bc53498398aa1b85-debian-12-4.14_s390x_opam-2.1-d6f9050a563d77745524358d8e3cf978"
2024-05-10 19:04.37: Using OBuilder spec:
((from ocaml/opam@sha256:03a5a4ddf0eae514071c7504a3f0b49a917eaf2f7acd6806bc53498398aa1b85)
(comment debian-12-4.14_s390x_opam-2.1)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.1 /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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src rowex.opam art.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn rowex.dev './' && \
\nopam pin add -yn art.dev './'"))
(env DEPS "afl-persistent.1.4 alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.2.0 cppo.1.6.9 crowbar.0.2.1 dune.3.15.2 fmt.0.9.0 monolith.20230604 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 pprint.20230830 re.1.11.0 seq.base 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.1 --depext-only -y art.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 --only-packages=art @install @check @runtest && rm -rf _build"))
)
2024-05-10 19:04.37: Waiting for resource in pool OCluster
2024-05-11 03:56.23: Waiting for worker…
2024-05-11 06:38.58: Got resource from pool OCluster
Building on s390x-worker-01.marist.ci.dev
All commits already cached
HEAD is now at 70be87b Merge pull request #55 from dinosaure/fuzz-rowex
(from ocaml/opam@sha256:03a5a4ddf0eae514071c7504a3f0b49a917eaf2f7acd6806bc53498398aa1b85)
Unable to find image 'ocaml/opam@sha256:03a5a4ddf0eae514071c7504a3f0b49a917eaf2f7acd6806bc53498398aa1b85' locally
docker.io/ocaml/opam@sha256:03a5a4ddf0eae514071c7504a3f0b49a917eaf2f7acd6806bc53498398aa1b85: Pulling from ocaml/opam
2bdc516b692a: Pulling fs layer
2bdc516b692a: Verifying Checksum
2bdc516b692a: Download complete
2bdc516b692a: Pull complete
Digest: sha256:03a5a4ddf0eae514071c7504a3f0b49a917eaf2f7acd6806bc53498398aa1b85
Status: Downloaded newer image for ocaml/opam@sha256:03a5a4ddf0eae514071c7504a3f0b49a917eaf2f7acd6806bc53498398aa1b85
2024-05-11 06:38.59 ---> using "8996bcdb05f2890613e4a5e164dd9dd2f7c66284ebfc49b1df9eef1d9b3fb2b6" from cache
/: (comment debian-12-4.14_s390x_opam-2.1)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-05-11 06:38.59 ---> using "35551480ee274ddc04c523c838f09ee488f7c690e7831cdce4e4888be941464c" 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.
Continue? [Y/n] This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, which can't be reverted.
You may want to back it up before going further.
y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-05-11 06:38.59 ---> using "ba3df16b7be8cc0f363f5ba867e5ac7dec53d17524c16f9ccc0a0895cc259b51" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.14.2
2.1.5
2024-05-11 06:38.59 ---> using "dbdd76886ffdb8778be181b501d45f65d3898eeb32a30492a07d791224da1d0d" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-05-11 06:38.59 ---> using "07de7ac86eac1b4e84149bd8006e10df0f53ade9d91a679613ca85c0dc81c5d5" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
eb2dcab0d8..2ae169d7d0 master -> origin/master
307e33d08f @dra27 and @Octachron maintain the 4.08+ packages
<><> 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-05-11 06:38.59 ---> using "adcd6fcc63bfeb62f3fac23ee66fc494f7e345afc05147ed09bb5441d86ed240" from cache
/src: (copy (src rowex.opam art.opam) (dst ./))
2024-05-11 06:39.01 ---> saved as "0093f450f3ff01112ab74f27f801caa3eb642dc91612638878e99ab52168b9e4"
/src: (run (network host)
(shell "opam pin add -yn rowex.dev './' && \
\nopam pin add -yn art.dev './'"))
Package rowex does not exist, create as a NEW package? [Y/n] y
[rowex.dev] synchronised (file:///src)
rowex is now pinned to file:///src (version dev)
[art.dev] synchronised (file:///src)
art is now pinned to file:///src (version dev)
2024-05-11 06:39.07 ---> saved as "bc4331e60b423c30406b0afa83e6fae579496d7f6752be98addefe3e4a688de6"
/src: (env DEPS "afl-persistent.1.4 alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.2.0 cppo.1.6.9 crowbar.0.2.1 dune.3.15.2 fmt.0.9.0 monolith.20230604 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 pprint.20230830 re.1.11.0 seq.base 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.1 --depext-only -y art.dev $DEPS"))
+ /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-security bookworm-security/main s390x Packages [146 kB]
- Fetched 250 kB in 1s (476 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[art.dev] synchronised (no changes)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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-05-11 06:39.23 ---> saved as "84b5daca876820c13adc4e60f097a132733cf3c648ce109389573ed4bd2d9b9b"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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 ocamlbuild 0.14.3
- install cmdliner 1.2.0
- install ocamlfind 1.9.6
- install seq base
- install dune 3.15.2
- install topkg 1.0.7
- install base-bytes base
- install stdlib-shims 0.3.0
- install re 1.11.0
- install pprint 20230830
- install ocaml-syntax-shims 1.0.0
- install cppo 1.6.9
- install afl-persistent 1.4
- install uutf 1.0.3
- install fmt 0.9.0
- install astring 0.8.5
- install ocplib-endian 1.2
- install monolith 20230604
- install alcotest 1.7.0
- install crowbar 0.2.1
===== 20 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved afl-persistent.1.4 (cached)
-> retrieved alcotest.1.7.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved cmdliner.1.2.0 (cached)
-> retrieved cppo.1.6.9 (cached)
-> retrieved crowbar.0.2.1 (cached)
-> retrieved dune.3.15.2 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved monolith.20230604 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.14.3 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved pprint.20230830 (cached)
-> retrieved re.1.11.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved uutf.1.0.3 (cached)
-> installed cmdliner.1.2.0
-> installed ocamlbuild.0.14.3
-> installed seq.base
-> installed dune.3.15.2
-> installed afl-persistent.1.4
-> installed cppo.1.6.9
-> installed ocaml-syntax-shims.1.0.0
-> installed pprint.20230830
-> installed stdlib-shims.0.3.0
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed re.1.11.0
-> installed monolith.20230604
-> installed ocplib-endian.1.2
-> installed crowbar.0.2.1
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed alcotest.1.7.0
Done.
<><> afl-persistent.1.4 installed successfully ><><><><><><><><><><><><><><><><>
=> afl-persistent is installed, but since the current OCaml compiler does
not enable AFL instrumentation by default, most packages will not be
instrumented and fuzzing with afl-fuzz may not be effective.
To globally enable AFL instrumentation, create an OCaml switch like:
opam switch create 4.14.2+afl ocaml-variants.4.14.2+options ocaml-option-afl
# Run eval $(opam env) to update the current shell environment
2024-05-11 06:41.05 ---> saved as "2a83ff13f11d0398d44d9070b1da1d67a163b488f566dca1a17e5052899c91bd"
/src: (copy (src .) (dst /src))
2024-05-11 06:41.11 ---> saved as "06e0b753e405bf7025c5403f3a97639a586c6a84542fc6a99c55b5d6509c22fb"
/src: (run (shell "opam exec -- dune build --only-packages=art @install @check @runtest && rm -rf _build"))
File "conf/dune", line 7, characters 12-29:
7 | (libraries dune-configurator))
^^^^^^^^^^^^^^^^^
Error: Library "dune-configurator" not found.
-> required by _build/default/conf/endian.o
-> required by alias conf/check
File "conf/dune", line 20, characters 12-29:
20 | (libraries dune-configurator))
^^^^^^^^^^^^^^^^^
Error: Library "dune-configurator" not found.
-> required by _build/default/conf/cpu.o
-> required by alias conf/check
File "lib/dune", line 53, characters 25-35:
53 | (libraries rresult mmap persistent))
^^^^^^^^^^
Error: Library "persistent" not found.
-> required by library "part" in _build/default/lib
-> required by _build/default/lib/msync.o
-> required by alias lib/check
File "conf/dune", line 12, characters 12-29:
12 | (libraries dune-configurator))
^^^^^^^^^^^^^^^^^
Error: Library "dune-configurator" not found.
-> required by _build/default/conf/.sse.eobjs/byte/dune__exe__Sse.cmi
-> required by alias conf/check
File "bin/dune", line 7, characters 51-67:
7 | (libraries part fmt logs.fmt fmt.tty astring mmap rowex.persistent))
^^^^^^^^^^^^^^^^
Error: Library "rowex.persistent" not found.
-> required by _build/default/bin/getpagesize.o
-> required by alias bin/check
File "fuzz/dune", line 14, characters 12-21:
14 | (libraries rowex.mem crowbar))
^^^^^^^^^
Error: Library "rowex.mem" not found.
-> required by _build/default/fuzz/fuzz_rowex.exe
-> required by alias fuzz/runtest in fuzz/dune:26
File "test/dune", line 48, characters 2-18:
48 | rowex.persistent
^^^^^^^^^^^^^^^^
Error: Library "rowex.persistent" not found.
-> required by
_build/default/test/.parallel_index.eobjs/byte/dune__exe__Parallel_index.cmi
-> required by alias test/check
File "test/dune", line 19, characters 2-5:
19 | bos))
^^^
Error: Library "bos" not found.
-> required by
_build/default/test/.persistent.eobjs/byte/dune__exe__Persistent.cmi
-> required by alias test/check
File "test/dune", line 24, characters 33-37:
24 | (libraries logs.fmt fmt.tty fmt logs unix))
^^^^
Error: Library "logs" not found.
-> required by library "fiber" in _build/default/test
-> required by _build/default/test/.fiber.objs/byte/fiber.cmi
-> required by alias test/check
File "test/dune", line 29, characters 24-29:
29 | (libraries rresult fmt fpath unix))
^^^^^
Error: Library "fpath" not found.
-> required by library "tmp" in _build/default/test
-> required by _build/default/test/.tmp.objs/byte/tmp.cmi
-> required by alias test/check
(cd _build/default/test && ./test.exe --color=always)
Testing `art'.
This run has ID `275ON1HK'.
[OK] art 0 test01.
[OK] art 1 test02.
[OK] art 2 test03.
[OK] art 3 test04.
[OK] art 4 test05.
[OK] art 5 test06.
[OK] art 6 test07.
[OK] art 7 test08.
[OK] art 8 test09.
[OK] art 9 test10.
[OK] art 10 test11.
[OK] art 11 test12.
[OK] art 12 test13.
[OK] art 13 test14.
[OK] art 14 test15.
[OK] art 15 test31.
[OK] art 16 test35.
[OK] art 17 test36.
[OK] art 18 test38.
[OK] minimum 0 test16.
[OK] minimum 1 test17.
[OK] minimum 2 test18.
[OK] minimum 3 test19.
[OK] minimum 4 test20.
[OK] remove 0 test21.
[OK] remove 1 test22.
[OK] remove 2 test23.
[OK] remove 3 test24.
[OK] remove 4 test25.
[OK] remove 5 test26.
[OK] remove 6 test27.
[OK] remove 7 test28.
[OK] remove 8 test32.
[OK] remove 9 test33.
[OK] remove 10 test37.
[OK] iter 0 test29.
[OK] prefix_iter 0 test34.
[OK] caml 0 caml.
[OK] caml 1 caml.
[OK] caml 2 caml.
[OK] caml 3 caml.
Full test results in `/src/_build/default/test/_build/_tests/art'.
Test Successful in 0.241s. 41 tests run.
(cd _build/default/fuzz && ./fuzz.exe)
art0: PASS
art1: PASS
art2: PASS
art/minimum: PASS
art/remove0: PASS
art/remove1: PASS
"/bin/bash" "-c" "opam exec -- dune build --only-packages=art @install @check @runtest && rm -rf _build" failed with exit status 1
2024-05-11 06:41.16: Job failed: Failed: Build failed