2024-04-10 15:58.09: New job: test ocaml-multicore/eio https://github.com/ocaml-multicore/eio.git#refs/heads/main (c1c2d634dee8640a386e1343063ad820ae3fe4fd) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:98c4377bc8daaf832afb6c00650bd3630a51f0b8fa043169f81a4626de7f83b1
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/eio.git" -b "main" && cd "eio" && git reset --hard c1c2d634
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:98c4377bc8daaf832afb6c00650bd3630a51f0b8fa043169f81a4626de7f83b1
# debian-12-5.1_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 e76495bf6365bc02fdcf5050134fe94f261e3e04 || git fetch origin master) && git reset -q --hard e76495bf6365bc02fdcf5050134fe94f261e3e04 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 eio_windows.opam eio_posix.opam eio_main.opam eio_linux.opam eio.opam ./
RUN opam pin add -yn eio_windows.dev './' && \
opam pin add -yn eio_posix.dev './' && \
opam pin add -yn eio_main.dev './' && \
opam pin add -yn eio_linux.dev './' && \
opam pin add -yn eio.dev './'
ENV DEPS="afl-persistent.1.1 alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 bigstringaf.0.9.0 camlp-streams.5.0 cmdliner.1.1.0 conf-pkg-config.1.0 containers.3.7 cppo.1.6.6 crowbar.0.2.1 csexp.1.3.2 cstruct.6.0.1 domain-local-await.0.1.0 dscheck.0.1.0 dune.3.9.0 dune-configurator.2.7.0 either.1.0.0 fmt.0.9.0 hmap.0.8.1 iomux.0.2 kcas.0.3.0 logs.0.7.0 lwt.5.7.0 lwt-dllist.1.0.0 mdx.2.4.1 mtime.2.0.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.2.4.0 ocamlbuild.0.14.2 ocamlfind.1.9.5 ocplib-endian.1.1 optint.0.1.0 oseq.0.4.1 psq.0.2.0 re.1.9.0 result.1.5 seq.0.3 stdlib-shims.0.1.0 topkg.1.0.6 uring.0.7 uutf.1.0.3 yojson.2.0.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y eio_windows.dev eio_posix.dev eio_main.dev eio_linux.dev eio.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-04-10 15:58.09: Using cache hint "ocaml-multicore/eio-ocaml/opam@sha256:98c4377bc8daaf832afb6c00650bd3630a51f0b8fa043169f81a4626de7f83b1-debian-12-5.1_opam-2.1-a3507fe5b8d54f79f5f2f3d33d1967bf"
2024-04-10 15:58.09: Using OBuilder spec:
((from ocaml/opam@sha256:98c4377bc8daaf832afb6c00650bd3630a51f0b8fa043169f81a4626de7f83b1)
(comment debian-12-5.1_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 e76495bf6365bc02fdcf5050134fe94f261e3e04 || git fetch origin master) && git reset -q --hard e76495bf6365bc02fdcf5050134fe94f261e3e04 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src eio_windows.opam eio_posix.opam eio_main.opam eio_linux.opam eio.opam)
(dst ./))
(run (network host)
(shell "opam pin add -yn eio_windows.dev './' && \
\nopam pin add -yn eio_posix.dev './' && \
\nopam pin add -yn eio_main.dev './' && \
\nopam pin add -yn eio_linux.dev './' && \
\nopam pin add -yn eio.dev './'"))
(env DEPS "afl-persistent.1.1 alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 bigstringaf.0.9.0 camlp-streams.5.0 cmdliner.1.1.0 conf-pkg-config.1.0 containers.3.7 cppo.1.6.6 crowbar.0.2.1 csexp.1.3.2 cstruct.6.0.1 domain-local-await.0.1.0 dscheck.0.1.0 dune.3.9.0 dune-configurator.2.7.0 either.1.0.0 fmt.0.9.0 hmap.0.8.1 iomux.0.2 kcas.0.3.0 logs.0.7.0 lwt.5.7.0 lwt-dllist.1.0.0 mdx.2.4.1 mtime.2.0.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.2.4.0 ocamlbuild.0.14.2 ocamlfind.1.9.5 ocplib-endian.1.1 optint.0.1.0 oseq.0.4.1 psq.0.2.0 re.1.9.0 result.1.5 seq.0.3 stdlib-shims.0.1.0 topkg.1.0.6 uring.0.7 uutf.1.0.3 yojson.2.0.2")
(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 eio_windows.dev eio_posix.dev eio_main.dev eio_linux.dev eio.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-04-10 15:58.09: Waiting for resource in pool OCluster
2024-04-10 17:32.43: Waiting for worker…
2024-04-10 17:37.18: Got resource from pool OCluster
Building on x86-bm-c19.sw.ocaml.org
HEAD is now at 7c9396e eio_posix: check for ELOOP in low-level fs 'resolve'
HEAD is now at c1c2d63 Merge pull request #723 from jebrosen/fix/openbsd
(from ocaml/opam@sha256:98c4377bc8daaf832afb6c00650bd3630a51f0b8fa043169f81a4626de7f83b1)
Unable to find image 'ocaml/opam@sha256:98c4377bc8daaf832afb6c00650bd3630a51f0b8fa043169f81a4626de7f83b1' locally
docker.io/ocaml/opam@sha256:98c4377bc8daaf832afb6c00650bd3630a51f0b8fa043169f81a4626de7f83b1: Pulling from ocaml/opam
Digest: sha256:98c4377bc8daaf832afb6c00650bd3630a51f0b8fa043169f81a4626de7f83b1
Status: Downloaded newer image for ocaml/opam@sha256:98c4377bc8daaf832afb6c00650bd3630a51f0b8fa043169f81a4626de7f83b1
2024-04-10 17:37.19 ---> using "38038117f9bf8ba0c1f32cce7af18c696639a4132b4370f743e85a0aace32514" from cache
/: (comment debian-12-5.1_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-04-10 17:37.19 ---> using "00445c46e9e0c31309350c64e49aeabfb48c70e3ca6ad27cdf589d864fc4e8bc" 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 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.
Continue? [Y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-04-10 17:37.19 ---> using "b8c7fa64f01a9a64762100e7b81ae000d8b84ebc6fc06ef93a7c179e72905813" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 5.1.1
2.1.5
2024-04-10 17:37.19 ---> using "1f6c2b5605150f1e7f69a347debc77a896b5c19b720d8848ab5f6b16971eeaf8" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-04-10 17:37.19 ---> using "fd3a6cef8b18df2c29dca27f381aff5602566a15b1ff6ad4310a8a4a8c84388b" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e e76495bf6365bc02fdcf5050134fe94f261e3e04 || git fetch origin master) && git reset -q --hard e76495bf6365bc02fdcf5050134fe94f261e3e04 && git log --no-decorate -n1 --oneline && opam update -u"))
e76495bf63 dune 3.9.0 should not be available on macos
<><> 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-04-10 17:38.55 ---> saved as "a73ecf6835e1ce578d91c314d31a046d8686e901e3517eba5d58d5d3aefa5983"
/src: (copy (src eio_windows.opam eio_posix.opam eio_main.opam eio_linux.opam eio.opam)
(dst ./))
2024-04-10 17:38.55 ---> saved as "2bfd098aabbba146f5e6fab885f1633aeab9e6bd2346aca664c3f022654a2061"
/src: (run (network host)
(shell "opam pin add -yn eio_windows.dev './' && \
\nopam pin add -yn eio_posix.dev './' && \
\nopam pin add -yn eio_main.dev './' && \
\nopam pin add -yn eio_linux.dev './' && \
\nopam pin add -yn eio.dev './'"))
[eio_windows.dev] synchronised (file:///src)
eio_windows is now pinned to file:///src (version dev)
[eio_posix.dev] synchronised (file:///src)
eio_posix is now pinned to file:///src (version dev)
[eio_main.dev] synchronised (file:///src)
eio_main is now pinned to file:///src (version dev)
[eio_linux.dev] synchronised (file:///src)
eio_linux is now pinned to file:///src (version dev)
[eio.dev] synchronised (file:///src)
eio is now pinned to file:///src (version dev)
2024-04-10 17:39.13 ---> saved as "893005f4774bc0681d0e0b51b2c2f19b7d0991b84e0daf5bcd738255641c5498"
/src: (env DEPS "afl-persistent.1.1 alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 bigstringaf.0.9.0 camlp-streams.5.0 cmdliner.1.1.0 conf-pkg-config.1.0 containers.3.7 cppo.1.6.6 crowbar.0.2.1 csexp.1.3.2 cstruct.6.0.1 domain-local-await.0.1.0 dscheck.0.1.0 dune.3.9.0 dune-configurator.2.7.0 either.1.0.0 fmt.0.9.0 hmap.0.8.1 iomux.0.2 kcas.0.3.0 logs.0.7.0 lwt.5.7.0 lwt-dllist.1.0.0 mdx.2.4.1 mtime.2.0.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.2.4.0 ocamlbuild.0.14.2 ocamlfind.1.9.5 ocplib-endian.1.1 optint.0.1.0 oseq.0.4.1 psq.0.2.0 re.1.9.0 result.1.5 seq.0.3 stdlib-shims.0.1.0 topkg.1.0.6 uring.0.7 uutf.1.0.3 yojson.2.0.2")
/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 eio_windows.dev eio_posix.dev eio_main.dev eio_linux.dev eio.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]
- Fetched 103 kB in 0s (222 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[eio.dev] synchronised (no changes)
[eio_linux.dev] synchronised (no changes)
[eio_main.dev] synchronised (no changes)
[eio_posix.dev] synchronised (no changes)
[eio_windows.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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.1).
[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-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following system packages will first need to be installed:
pkg-config
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
2024-04-10 17:39.44 ---> saved as "207229b7cda710bc0f3f48fe05b50751c00cb752d02e66d12fdc1aa51a60f00f"
/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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.1).
[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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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 dune 3.9.0
- install cmdliner 1.1.0
- install ocamlbuild 0.14.2
- install ocamlfind 1.9.5
- install conf-pkg-config 1.0
- install stdlib-shims 0.1.0
- install seq 0.3
- install result 1.5
- install optint 0.1.0
- install ocaml-syntax-shims 1.0.0
- install either 1.0.0
- install dune-configurator 2.7.0
- install domain-local-await 0.1.0
- install cppo 1.6.6
- install camlp-streams 5.0
- install bigarray-compat 1.1.0
- install topkg 1.0.6
- install base-bytes base
- install bigstringaf 0.9.0
- install re 1.9.0
- install psq 0.2.0
- install oseq 0.4.1
- install ocaml-version 2.4.0
- install csexp 1.3.2
- install iomux 0.2
- install containers 3.7
- install kcas 0.3.0
- install yojson 2.0.2
- install cstruct 6.0.1
- install uutf 1.0.3
- install mtime 2.0.0
- install hmap 0.8.1
- install fmt 0.9.0
- install astring 0.8.5
- install afl-persistent 1.1
- install ocplib-endian 1.1
- install dscheck 0.1.0
- install uring 0.7
- install alcotest 1.7.0
- install lwt 5.7.0
- install crowbar 0.2.1
- install lwt-dllist 1.0.0
- install logs 0.7.0
- install mdx 2.4.1
===== 44 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved bigarray-compat.1.1.0 (cached)
-> retrieved alcotest.1.7.0 (cached)
-> retrieved bigstringaf.0.9.0 (cached)
-> retrieved camlp-streams.5.0 (cached)
-> retrieved cmdliner.1.1.0 (cached)
-> retrieved containers.3.7 (cached)
-> installed conf-pkg-config.1.0
-> retrieved afl-persistent.1.1 (https://github.com/stedolan/ocaml-afl-persistent/archive/v1.1.tar.gz)
-> retrieved cppo.1.6.6 (cached)
-> retrieved crowbar.0.2.1 (cached)
-> retrieved csexp.1.3.2 (cached)
-> retrieved dscheck.0.1.0 (cached)
-> retrieved cstruct.6.0.1 (cached)
-> retrieved dune-configurator.2.7.0 (cached)
-> retrieved either.1.0.0 (cached)
-> retrieved dune.3.9.0 (cached)
-> retrieved domain-local-await.0.1.0 (https://github.com/ocaml-multicore/domain-local-await/releases/download/0.1.0/domain-local-await-0.1.0.tbz)
-> retrieved fmt.0.9.0 (cached)
-> retrieved hmap.0.8.1 (cached)
-> retrieved iomux.0.2 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved lwt-dllist.1.0.0 (cached)
-> retrieved lwt.5.7.0 (cached)
-> retrieved mdx.2.4.1 (cached)
-> retrieved mtime.2.0.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.2.4.0 (cached)
-> retrieved ocamlbuild.0.14.2 (cached)
-> retrieved ocamlfind.1.9.5 (cached)
-> retrieved ocplib-endian.1.1 (cached)
-> retrieved oseq.0.4.1 (cached)
-> retrieved psq.0.2.0 (cached)
-> retrieved re.1.9.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved seq.0.3 (cached)
-> retrieved stdlib-shims.0.1.0 (cached)
-> retrieved topkg.1.0.6 (cached)
-> retrieved kcas.0.3.0 (https://github.com/ocaml-multicore/kcas/releases/download/0.3.0/kcas-0.3.0.tbz)
-> retrieved uutf.1.0.3 (cached)
-> retrieved yojson.2.0.2 (cached)
-> retrieved optint.0.1.0 (https://github.com/mirage/optint/releases/download/v0.1.0/optint-v0.1.0.tbz)
-> retrieved uring.0.7 (https://github.com/ocaml-multicore/ocaml-uring/releases/download/v0.7/uring-0.7.tbz)
-> installed cmdliner.1.1.0
-> installed ocamlfind.1.9.5
-> installed base-bytes.base
-> installed ocamlbuild.0.14.2
-> installed topkg.1.0.6
-> installed afl-persistent.1.1
-> installed hmap.0.8.1
-> installed uutf.1.0.3
-> installed mtime.2.0.0
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed dune.3.9.0
-> installed domain-local-await.0.1.0
-> installed bigarray-compat.1.1.0
-> installed bigstringaf.0.9.0
-> installed camlp-streams.5.0
-> installed seq.0.3
-> installed either.1.0.0
-> installed result.1.5
-> installed stdlib-shims.0.1.0
-> installed optint.0.1.0
-> installed kcas.0.3.0
-> installed csexp.1.3.2
-> installed ocaml-version.2.4.0
-> installed cstruct.6.0.1
-> installed psq.0.2.0
-> installed oseq.0.4.1
-> installed cppo.1.6.6
-> installed ocaml-syntax-shims.1.0.0
-> installed dune-configurator.2.7.0
-> installed ocplib-endian.1.1
-> installed re.1.9.0
-> installed crowbar.0.2.1
-> installed iomux.0.2
-> installed yojson.2.0.2
-> installed alcotest.1.7.0
-> installed containers.3.7
-> installed uring.0.7
-> installed dscheck.0.1.0
-> installed lwt.5.7.0
-> installed lwt-dllist.1.0.0
-> installed logs.0.7.0
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-10 17:41.24 ---> saved as "cb6df22c0460699d86dadff2805ca21433b0d6e43c18b0a28694bcf99535f2ea"
/src: (copy (src .) (dst /src))
2024-04-10 17:41.24 ---> saved as "c54c1a4d94a9bedef95e968794bb9e74af1a5ca0ae466fdd42e4a49855cdf8c8"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/fuzz && ./fuzz_inherit_fds.exe)
inherit_fds: PASS
(cd _build/default/fuzz && ./fuzz_buf_write.exe)
random ops: PASS
(cd _build/default/fuzz && ./fuzz_buf_read.exe)
random ops: PASS
(cd _build/default/lib_eio_linux/tests && ./test.exe)
Testing `eio_linux'.
This run has ID `TWROD3I9'.
[OK] io 0 copy.
[OK] io 1 direct_copy.
[OK] io 2 poll_add.
[OK] io 3 poll_add_busy.
[OK] io 4 iovec.
[OK] io 5 no_sqe.
[OK] io 6 read_exact.
[OK] io 7 expose_backend.
[OK] io 8 statx.
Full test results in `/src/_build/default/lib_eio_linux/tests/_build/_tests/eio_linux'.
Test Successful in 0.022s. 9 tests run.
2024-04-10 17:41.39 ---> saved as "2d118f11975427493c292899045efb7d325244a7e90964642d260fb6b9d85b17"
Job succeeded
2024-04-10 17:41.40: Job succeeded