2024-09-18 15:15.01: New job: test ocaml-multicore/picos https://github.com/ocaml-multicore/picos.git#refs/heads/experiment-using-shallow-effects (dae9882590819c937a5dc9a80ffe4424c0ba6d10) (linux-arm64:debian-12-5.2_arm32_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-5.2@sha256:c759ff3266bbc67d2db6dcef3480d966f5b9173c1113b591944d5f8e77daf93b
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/picos.git" -b "experiment-using-shallow-effects" && cd "picos" && git reset --hard dae98825
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.2@sha256:c759ff3266bbc67d2db6dcef3480d966f5b9173c1113b591944d5f8e77daf93b
# debian-12-5.2_arm32_opam-2.2
USER 1000:1000
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 picos_std.opam picos_mux.opam picos_meta.opam picos_lwt.opam picos_io_cohttp.opam picos_io.opam picos_aux.opam picos.opam ./
RUN opam pin add -yn picos_std.dev './' && \
opam pin add -yn picos_mux.dev './' && \
opam pin add -yn picos_meta.dev './' && \
opam pin add -yn picos_lwt.dev './' && \
opam pin add -yn picos_io_cohttp.dev './' && \
opam pin add -yn picos_io.dev './' && \
opam pin add -yn picos_aux.dev './' && \
opam pin add -yn picos.dev './'
ENV DEPS="alcotest.1.8.0 angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 backoff.0.1.0 base.v0.16.3 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 ca-certs.1.0.0 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.0.0~beta2 cohttp-lwt.6.0.0~beta2 cohttp-lwt-unix.6.0.0~beta2 conduit.6.2.3 conduit-lwt.6.2.3 conduit-lwt-unix.6.2.3 conf-bash.1 conf-gmp.4 conf-gmp-powm-sec.3 conf-npm.1 conf-pkg-config.3 containers.3.14 cppo.1.7.0 csexp.1.5.2 digestif.1.2.0 domain-local-await.1.0.1 domain-name.0.4.0 domain_shims.0.1.0 dscheck.0.5.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 either.1.0.0 eqaf.0.10 fmt.0.9.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 host-arch-arm32.1 host-system-other.1 http.6.0.0~beta2 ipaddr.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.5.8.2 js_of_ocaml-compiler.5.8.2 kdf.1.0.0 logs.0.7.0 lwt.5.7.0 macaddr.5.6.0 magic-mime.1.3.1 mdx.2.4.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-crypto.1.1.0 mirage-crypto-ec.1.1.0 mirage-crypto-pk.1.1.0 mirage-crypto-rng.1.1.0 mtime.2.1.0 multicore-bench.0.1.5 multicore-magic.2.3.0 multicore-magic-dscheck.2.3.0 num.1.5-1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-option-bytecode-only.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ohex.0.2.0 oseq.0.5.1 parsexp.v0.16.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.33.0 psq.0.2.1 ptime.1.2.0 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 rresult.0.7.0 sedlex.3.2 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 stringext.1.6.0 thread-local-storage.0.2 thread-table.1.0.0 topkg.1.0.7 tsort.2.1.0 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 x509.1.0.3 yojson.2.2.2 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y picos_std.dev picos_mux.dev picos_meta.dev picos_lwt.dev picos_io_cohttp.dev picos_io.dev picos_aux.dev picos.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-18 15:15.01: Using cache hint "ocaml-multicore/picos-ocaml/opam:debian-12-ocaml-5.2@sha256:c759ff3266bbc67d2db6dcef3480d966f5b9173c1113b591944d5f8e77daf93b-debian-12-5.2_arm32_opam-2.2-7f34a551b7e0d9e974cf1b0398bc9578"
2024-09-18 15:15.01: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.2@sha256:c759ff3266bbc67d2db6dcef3480d966f5b9173c1113b591944d5f8e77daf93b)
(comment debian-12-5.2_arm32_opam-2.2)
(user (uid 1000) (gid 1000))
(shell /usr/bin/linux32 /bin/sh -c)
(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 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src picos_std.opam picos_mux.opam picos_meta.opam picos_lwt.opam picos_io_cohttp.opam picos_io.opam picos_aux.opam picos.opam)
(dst ./))
(run (network host)
(shell "opam pin add -yn picos_std.dev './' && \
\nopam pin add -yn picos_mux.dev './' && \
\nopam pin add -yn picos_meta.dev './' && \
\nopam pin add -yn picos_lwt.dev './' && \
\nopam pin add -yn picos_io_cohttp.dev './' && \
\nopam pin add -yn picos_io.dev './' && \
\nopam pin add -yn picos_aux.dev './' && \
\nopam pin add -yn picos.dev './'"))
(env DEPS "alcotest.1.8.0 angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 backoff.0.1.0 base.v0.16.3 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 ca-certs.1.0.0 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.0.0~beta2 cohttp-lwt.6.0.0~beta2 cohttp-lwt-unix.6.0.0~beta2 conduit.6.2.3 conduit-lwt.6.2.3 conduit-lwt-unix.6.2.3 conf-bash.1 conf-gmp.4 conf-gmp-powm-sec.3 conf-npm.1 conf-pkg-config.3 containers.3.14 cppo.1.7.0 csexp.1.5.2 digestif.1.2.0 domain-local-await.1.0.1 domain-name.0.4.0 domain_shims.0.1.0 dscheck.0.5.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 either.1.0.0 eqaf.0.10 fmt.0.9.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 host-arch-arm32.1 host-system-other.1 http.6.0.0~beta2 ipaddr.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.5.8.2 js_of_ocaml-compiler.5.8.2 kdf.1.0.0 logs.0.7.0 lwt.5.7.0 macaddr.5.6.0 magic-mime.1.3.1 mdx.2.4.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-crypto.1.1.0 mirage-crypto-ec.1.1.0 mirage-crypto-pk.1.1.0 mirage-crypto-rng.1.1.0 mtime.2.1.0 multicore-bench.0.1.5 multicore-magic.2.3.0 multicore-magic-dscheck.2.3.0 num.1.5-1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-option-bytecode-only.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ohex.0.2.0 oseq.0.5.1 parsexp.v0.16.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.33.0 psq.0.2.1 ptime.1.2.0 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 rresult.0.7.0 sedlex.3.2 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 stringext.1.6.0 thread-local-storage.0.2 thread-table.1.0.0 topkg.1.0.7 tsort.2.1.0 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 x509.1.0.3 yojson.2.2.2 zarith.1.14")
(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 picos_std.dev picos_mux.dev picos_meta.dev picos_lwt.dev picos_io_cohttp.dev picos_io.dev picos_aux.dev picos.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-18 15:15.01: Waiting for resource in pool OCluster
2024-09-18 18:34.55: Waiting for worker…
2024-09-18 20:17.00: Got resource from pool OCluster
Building on okypous.caelum.ci.dev
All commits already cached
HEAD is now at dae98825 Experiment to use shallow effects in `picos.fifos`
(from ocaml/opam:debian-12-ocaml-5.2@sha256:c759ff3266bbc67d2db6dcef3480d966f5b9173c1113b591944d5f8e77daf93b)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.2@sha256:c759ff3266bbc67d2db6dcef3480d966f5b9173c1113b591944d5f8e77daf93b' locally
docker.io/ocaml/opam@sha256:c759ff3266bbc67d2db6dcef3480d966f5b9173c1113b591944d5f8e77daf93b: Pulling from ocaml/opam
a7d514534f7f: Already exists
6abf3fbf9b2d: Pulling fs layer
78d0ec2dce2a: Pulling fs layer
710f4c41c7a3: Pulling fs layer
7dd4bd626ace: Pulling fs layer
6d26907217df: Pulling fs layer
ce24837d4cec: Pulling fs layer
da212adb9fbd: Pulling fs layer
6d26907217df: Waiting
da212adb9fbd: Waiting
ce24837d4cec: Waiting
7dd4bd626ace: Waiting
78d0ec2dce2a: Verifying Checksum
78d0ec2dce2a: Download complete
6abf3fbf9b2d: Download complete
710f4c41c7a3: Verifying Checksum
710f4c41c7a3: Download complete
6abf3fbf9b2d: Pull complete
78d0ec2dce2a: Pull complete
710f4c41c7a3: Pull complete
6d26907217df: Verifying Checksum
6d26907217df: Download complete
ce24837d4cec: Verifying Checksum
ce24837d4cec: Download complete
da212adb9fbd: Download complete
7dd4bd626ace: Verifying Checksum
7dd4bd626ace: Download complete
7dd4bd626ace: Pull complete
6d26907217df: Pull complete
ce24837d4cec: Pull complete
da212adb9fbd: Pull complete
Digest: sha256:c759ff3266bbc67d2db6dcef3480d966f5b9173c1113b591944d5f8e77daf93b
Status: Downloaded newer image for ocaml/opam@sha256:c759ff3266bbc67d2db6dcef3480d966f5b9173c1113b591944d5f8e77daf93b
WARNING: The requested image's platform (linux/arm/v7) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
2024-09-18 20:17.00 ---> using "01745a0110b63cb6933dad93376377695f96e6fc394dfd7faf3cbfb730441038" from cache
/: (comment debian-12-5.2_arm32_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (shell /usr/bin/linux32 /bin/sh -c)
/: (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-18 20:17.00 ---> using "e88d2a325cd1b262b1be099c3beffad64793174051055cf6d43891fa2681dfe7" 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-18 20:17.00 ---> using "80b03159597195c45a9dcd03502925236eb4de1330b74bb3d0d87d81787745db" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-119-generic
The OCaml toplevel, version 5.2.0
2.2.1
2024-09-18 20:17.00 ---> using "343836a4a0de71a439d52b6140a1e934b1d0e55c25487eea9e2fd54d2f487237" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-09-18 20:17.00 ---> using "511717593968fcb22aa00d7ab0f582b562babbd43de0e877abf8c7e38c3ec15c" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
e89899ac28..45f961713f master -> origin/master
45f961713f Merge pull request #26585 from dra27/trunk-tweaks
<><> 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-18 20:17.00 ---> using "de7667c2b5ed4973ef0bdfaf390c9d7a24f80fd0e38c3f9038ddb0d4d4c54f53" from cache
/src: (copy (src picos_std.opam picos_mux.opam picos_meta.opam picos_lwt.opam picos_io_cohttp.opam picos_io.opam picos_aux.opam picos.opam)
(dst ./))
2024-09-18 20:17.00 ---> using "6dc8c6d57b52b2d61438118b0b2396579726d801abdd631144f4fe5d9ed217b2" from cache
/src: (run (network host)
(shell "opam pin add -yn picos_std.dev './' && \
\nopam pin add -yn picos_mux.dev './' && \
\nopam pin add -yn picos_meta.dev './' && \
\nopam pin add -yn picos_lwt.dev './' && \
\nopam pin add -yn picos_io_cohttp.dev './' && \
\nopam pin add -yn picos_io.dev './' && \
\nopam pin add -yn picos_aux.dev './' && \
\nopam pin add -yn picos.dev './'"))
[picos_std.dev] synchronised (file:///src)
picos_std is now pinned to file:///src (version dev)
[picos_mux.dev] synchronised (file:///src)
picos_mux is now pinned to file:///src (version dev)
[picos_meta.dev] synchronised (file:///src)
picos_meta is now pinned to file:///src (version dev)
[picos_lwt.dev] synchronised (file:///src)
picos_lwt is now pinned to file:///src (version dev)
[picos_io_cohttp.dev] synchronised (file:///src)
picos_io_cohttp is now pinned to file:///src (version dev)
[picos_io.dev] synchronised (file:///src)
picos_io is now pinned to file:///src (version dev)
[picos_aux.dev] synchronised (file:///src)
picos_aux is now pinned to file:///src (version dev)
[picos.dev] synchronised (file:///src)
picos is now pinned to file:///src (version dev)
2024-09-18 20:17.00 ---> using "51745e6ecdc5cb115156b80c8f40fb5b01429742d52edd4aa93e8e30fc09c5f7" from cache
/src: (env DEPS "alcotest.1.8.0 angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 backoff.0.1.0 base.v0.16.3 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 ca-certs.1.0.0 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.0.0~beta2 cohttp-lwt.6.0.0~beta2 cohttp-lwt-unix.6.0.0~beta2 conduit.6.2.3 conduit-lwt.6.2.3 conduit-lwt-unix.6.2.3 conf-bash.1 conf-gmp.4 conf-gmp-powm-sec.3 conf-npm.1 conf-pkg-config.3 containers.3.14 cppo.1.7.0 csexp.1.5.2 digestif.1.2.0 domain-local-await.1.0.1 domain-name.0.4.0 domain_shims.0.1.0 dscheck.0.5.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 either.1.0.0 eqaf.0.10 fmt.0.9.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 host-arch-arm32.1 host-system-other.1 http.6.0.0~beta2 ipaddr.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.5.8.2 js_of_ocaml-compiler.5.8.2 kdf.1.0.0 logs.0.7.0 lwt.5.7.0 macaddr.5.6.0 magic-mime.1.3.1 mdx.2.4.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-crypto.1.1.0 mirage-crypto-ec.1.1.0 mirage-crypto-pk.1.1.0 mirage-crypto-rng.1.1.0 mtime.2.1.0 multicore-bench.0.1.5 multicore-magic.2.3.0 multicore-magic-dscheck.2.3.0 num.1.5-1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-option-bytecode-only.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ohex.0.2.0 oseq.0.5.1 parsexp.v0.16.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.33.0 psq.0.2.1 ptime.1.2.0 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 rresult.0.7.0 sedlex.3.2 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 stringext.1.6.0 thread-local-storage.0.2 thread-table.1.0.0 topkg.1.0.7 tsort.2.1.0 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 x509.1.0.3 yojson.2.2.2 zarith.1.14")
/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 picos_std.dev picos_mux.dev picos_meta.dev picos_lwt.dev picos_io_cohttp.dev picos_io.dev picos_aux.dev picos.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 armhf Packages [8499 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main armhf Packages.diff/Index [11.7 kB]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main armhf Packages [176 kB]
- Get:7 http://deb.debian.org/debian bookworm-updates/main armhf Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1112 B]
- Get:7 http://deb.debian.org/debian bookworm-updates/main armhf Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1112 B]
- Fetched 8942 kB in 2s (5521 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[picos_aux.dev] synchronised (no changes)
[picos.dev] synchronised (no changes)
[picos_io.dev] synchronised (no changes)
[picos_lwt.dev] synchronised (no changes)
[picos_io_cohttp.dev] synchronised (no changes)
[picos_meta.dev] synchronised (no changes)
[picos_mux.dev] synchronised (no changes)
[picos_std.dev] synchronised (no changes)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-option-bytecode-only 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.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-arm32 is already installed (current version is 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:
libgmp-dev npm pkg-config
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "npm" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected packa
2024-09-18 20:17.00 ---> using "7d44d0e9b7ef6d60e0ef7991b25e4212956253fb070e0b56e2e338d1b9a1dc5c" from cache
/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-option-bytecode-only 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.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-arm32 is already installed (current version is 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 101 packages
- install alcotest 1.8.0
- install angstrom 0.16.1
- install asn1-combinators 0.3.2
- install astring 0.8.5
- install backoff 0.1.0
- install base v0.16.3
- install base-bytes base
- install base64 3.5.1
- install bigstringaf 0.10.0
- install bos 0.2.1
- install ca-certs 1.0.0
- install camlp-streams 5.0.1
- install cmdliner 1.3.0
- install cohttp 6.0.0~beta2
- install cohttp-lwt 6.0.0~beta2
- install cohttp-lwt-unix 6.0.0~beta2
- install conduit 6.2.3
- install conduit-lwt 6.2.3
- install conduit-lwt-unix 6.2.3
- install conf-bash 1
- install conf-gmp 4
- install conf-gmp-powm-sec 3
- install conf-npm 1
- install conf-pkg-config 3
- install containers 3.14
- install cppo 1.7.0
- install csexp 1.5.2
- install digestif 1.2.0
- install domain-local-await 1.0.1
- install domain-name 0.4.0
- install domain_shims 0.1.0
- install dscheck 0.5.0
- install dune 3.16.0
- install dune-configurator 3.16.0
- install duration 0.2.1
- install either 1.0.0
- install eqaf 0.10
- install fmt 0.9.0
- install fpath 0.7.3
- install gen 1.1
- install gmap 0.3.0
- install http 6.0.0~beta2
- install ipaddr 5.6.0
- install ipaddr-sexp 5.6.0
- install js_of_ocaml 5.8.2
- install js_of_ocaml-compiler 5.8.2
- install kdf 1.0.0
- install logs 0.7.0
- install lwt 5.7.0
- install macaddr 5.6.0
- install magic-mime 1.3.1
- install mdx 2.4.1
- install menhir 20240715
- install menhirCST 20240715
- install menhirLib 20240715
- install menhirSdk 20240715
- install mirage-crypto 1.1.0
- install mirage-crypto-ec 1.1.0
- install mirage-crypto-pk 1.1.0
- install mirage-crypto-rng 1.1.0
- install mtime 2.1.0
- install multicore-bench 0.1.5
- install multicore-magic 2.3.0
- install multicore-magic-dscheck 2.3.0
- install num 1.5-1
- install ocaml-compiler-libs v0.17.0
- install ocaml-syntax-shims 1.0.0
- install ocaml-version 3.6.8
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- install ocplib-endian 1.2
- install ohex 0.2.0
- install oseq 0.5.1
- install parsexp v0.16.0
- install ppx_derivers 1.2.1
- install ppx_sexp_conv v0.16.0
- install ppxlib 0.33.0
- install psq 0.2.1
- install ptime 1.2.0
- install qcheck-core 0.22
- install qcheck-multicoretests-util 0.4
- install qcheck-stm 0.4
- install re 1.12.0
- install result 1.5
- install rresult 0.7.0
- install sedlex 3.2
- install seq base
- install sexplib v0.16.0
- install sexplib0 v0.16.0
- install stdlib-shims 0.3.0
- install stringext 1.6.0
- install thread-local-storage 0.2
- install thread-table 1.0.0
- install topkg 1.0.7
- install tsort 2.1.0
- install uri 4.4.0
- install uri-sexp 4.4.0
- install uutf 1.0.3
- install x509 1.0.3
- install yojson 2.2.2
- install zarith 1.14
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved asn1-combinators.0.3.2 (cached)
-> retrieved angstrom.0.16.1 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved backoff.0.1.0 (cached)
-> retrieved base.v0.16.3 (cached)
-> retrieved base64.3.5.1 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved ca-certs.1.0.0 (cached)
-> retrieved bos.0.2.1 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved conf-gmp.4 (cached)
-> retrieved conf-gmp-powm-sec.3 (cached)
-> retrieved cohttp.6.0.0~beta2, cohttp-lwt.6.0.0~beta2, cohttp-lwt-unix.6.0.0~beta2, http.6.0.0~beta2 (cached)
-> retrieved conduit.6.2.3, conduit-lwt.6.2.3, conduit-lwt-unix.6.2.3 (cached)
-> retrieved containers.3.14 (cached)
-> installed conf-bash.1
-> installed conf-gmp.4
-> installed conf-pkg-config.3
-> retrieved cppo.1.7.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved domain-local-await.1.0.1 (cached)
-> retrieved domain-name.0.4.0 (cached)
-> retrieved domain_shims.0.1.0 (cached)
-> installed conf-gmp-powm-sec.3
-> retrieved dscheck.0.5.0 (cached)
-> retrieved duration.0.2.1 (cached)
-> retrieved either.1.0.0 (cached)
-> retrieved eqaf.0.10 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved gen.1.1 (cached)
-> retrieved gmap.0.3.0 (cached)
-> retrieved ipaddr.5.6.0, ipaddr-sexp.5.6.0, macaddr.5.6.0 (cached)
-> installed conf-npm.1
-> retrieved digestif.1.2.0 (cached)
-> retrieved kdf.1.0.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved lwt.5.7.0 (cached)
-> retrieved dune.3.16.0, dune-configurator.3.16.0 (cached)
-> retrieved js_of_ocaml.5.8.2, js_of_ocaml-compiler.5.8.2 (cached)
-> retrieved magic-mime.1.3.1 (cached)
-> retrieved mdx.2.4.1 (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> retrieved mirage-crypto.1.1.0, mirage-crypto-ec.1.1.0, mirage-crypto-pk.1.1.0, mirage-crypto-rng.1.1.0 (cached)
-> retrieved mtime.2.1.0 (cached)
-> installed cmdliner.1.3.0
-> retrieved multicore-bench.0.1.5 (cached)
-> retrieved multicore-magic.2.3.0, multicore-magic-dscheck.2.3.0 (cached)
-> retrieved num.1.5-1 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.3.6.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ohex.0.2.0 (cached)
-> retrieved oseq.0.5.1 (cached)
-> retrieved parsexp.v0.16.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_sexp_conv.v0.16.0 (cached)
-> retrieved psq.0.2.1 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved qcheck-core.0.22 (cached)
-> retrieved qcheck-multicoretests-util.0.4, qcheck-stm.0.4 (cached)
-> retrieved ppxlib.0.33.0 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved rresult.0.7.0 (cached)
-> retrieved sedlex.3.2 (cached)
-> retrieved sexplib.v0.16.0 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved stringext.1.6.0 (cached)
-> retrieved thread-local-storage.0.2 (cached)
-> retrieved thread-table.1.0.0 (cached)
-> retrieved tsort.2.1.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved uri.4.4.0, uri-sexp.4.4.0 (cached)
-> retrieved x509.1.0.3 (cached)
-> retrieved yojson.2.2.2 (cached)
-> retrieved zarith.1.14 (cached)
-> installed num.1.5-1
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed zarith.1.14
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed mtime.2.1.0
-> installed uutf.1.0.3
-> installed ptime.1.2.0
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.16.0
-> installed backoff.0.1.0
-> installed camlp-streams.5.0.1
-> installed base64.3.5.1
-> installed csexp.1.5.2
-> installed asn1-combinators.0.3.2
-> installed domain-name.0.4.0
-> installed domain_shims.0.1.0
-> installed duration.0.2.1
-> installed either.1.0.0
-> installed eqaf.0.10
-> installed cppo.1.7.0
-> installed gen.1.1
-> installed gmap.0.3.0
-> installed http.6.0.0~beta2
-> installed macaddr.5.6.0
-> installed menhirCST.20240715
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> installed multicore-magic.2.3.0
-> installed ocaml-version.3.6.8
-> installed ohex.0.2.0
-> installed oseq.0.5.1
-> installed ppx_derivers.1.2.1
-> installed psq.0.2.1
-> installed qcheck-core.0.22
-> installed re.1.12.0
-> installed magic-mime.1.3.1
-> installed result.1.5
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed thread-local-storage.0.2
-> installed thread-table.1.0.0
-> installed tsort.2.1.0
-> installed ocplib-endian.1.2
-> installed qcheck-multicoretests-util.0.4
-> installed yojson.2.2.2
-> installed ipaddr.5.6.0
-> installed domain-local-await.1.0.1
-> installed qcheck-stm.0.4
-> installed digestif.1.2.0
-> installed multicore-bench.0.1.5
-> installed parsexp.v0.16.0
-> installed sexplib.v0.16.0
-> installed dune-configurator.3.16.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed bigstringaf.0.10.0
-> installed alcotest.1.8.0
-> installed angstrom.0.16.1
-> installed mirage-crypto.1.1.0
-> installed containers.3.14
-> installed kdf.1.0.0
-> installed dscheck.0.5.0
-> installed multicore-magic-dscheck.2.3.0
-> installed lwt.5.7.0
-> installed uri.4.4.0
-> installed base.v0.16.3
-> installed menhir.20240715
-> installed ppxlib.0.33.0
-> installed ppx_sexp_conv.v0.16.0
-> installed sedlex.3.2
-> installed ipaddr-sexp.5.6.0
-> installed uri-sexp.4.4.0
-> installed js_of_ocaml-compiler.5.8.2
-> installed js_of_ocaml.5.8.2
-> installed logs.0.7.0
-> installed mirage-crypto-rng.1.1.0
-> installed mirage-crypto-pk.1.1.0
-> installed bos.0.2.1
-> installed mdx.2.4.1
-> installed conduit.6.2.3
-> installed cohttp.6.0.0~beta2
-> installed conduit-lwt.6.2.3
-> installed cohttp-lwt.6.0.0~beta2
-> installed mirage-crypto-ec.1.1.0
-> installed x509.1.0.3
-> installed ca-certs.1.0.0
-> installed conduit-lwt-unix.6.2.3
-> installed cohttp-lwt-unix.6.0.0~beta2
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-18 20:17.00 ---> using "ff7e04c38c778d28c64c15c3829180bbfa7fb26e6a6879459f860ff32c4fd319" from cache
/src: (copy (src .) (dst /src))
2024-09-18 20:17.01 ---> saved as "e022e0fa95e950267159be6d7891ee5269c9504d0ba624eed33563a849df0fe1"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test_server_and_client.exe)
Using non-blocking sockets and fibers on OCaml 5:
Looping server running
Server listening
Server accepting
Client B running
Client A running
Server accepted client
Client B connected
Client B wrote 100
Client A connected
Client A wrote 100
Server read 100
Server wrote 50
Server accepting
Server accepted client
Client B read 50
Server read 100
Server wrote 50
Server accepting
Client A read 50
Server and Client test: OK
(cd _build/default/bench && ./main.exe -brief 'Picos Computation')
Picos Computation:
time per attach detach pair/trivial:
517.43 ns
attach detach pairs over time/trivial:
1.93 M/s
time per attach detach pair/1 worker:
880.57 ns
attach detach pairs over time/1 worker:
1.14 M/s
time per attach detach pair/2 workers:
1758.31 ns
attach detach pairs over time/2 workers:
1.14 M/s
time per attach detach pair/4 workers:
4875.79 ns
attach detach pairs over time/4 workers:
0.82 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos Current')
Picos Current:
time per op/1 worker:
194.44 ns
ops over time/1 worker:
5.14 M/s
time per op/2 workers:
194.32 ns
ops over time/2 workers:
10.29 M/s
time per op/4 workers:
357.97 ns
ops over time/4 workers:
11.17 M/s
(cd _build/default/test && ./test_lwt_unix.exe)
Testing `Picos_lwt'.
This run has ID `DXDWXYEB'.
[OK] Basics 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_lwt'.
Test Successful in 0.050s. 1 test run.
(cd _build/default/test && ./test_finally.exe)
Testing `Picos_finally'.
This run has ID `S6GJJU6C'.
[OK] move 0 is lazy.
[OK] borrow 0 returns resource.
Full test results in `/src/_build/default/test/_build/_tests/Picos_finally'.
Test Successful in 0.001s. 2 tests run.
(cd _build/default/bench && ./main.exe -brief 'Picos FLS (excluding Current)')
Picos FLS (excluding Current):
time per get/1 worker:
69.44 ns
gets over time/1 worker:
14.40 M/s
time per set/1 worker:
56.97 ns
sets over time/1 worker:
17.55 M/s
time per get/2 workers:
70.58 ns
gets over time/2 workers:
28.34 M/s
time per set/2 workers:
62.74 ns
sets over time/2 workers:
31.88 M/s
time per get/4 workers:
106.97 ns
gets over time/4 workers:
37.68 M/s
time per set/4 workers:
64.48 ns
sets over time/4 workers:
62.04 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos TLS')
Picos TLS:
time per get/1 worker:
111.71 ns
gets over time/1 worker:
8.95 M/s
time per set/1 worker:
92.88 ns
sets over time/1 worker:
10.77 M/s
time per get/2 workers:
121.77 ns
gets over time/2 workers:
16.42 M/s
time per set/2 workers:
110.73 ns
sets over time/2 workers:
18.53 M/s
time per get/4 workers:
111.92 ns
gets over time/4 workers:
35.74 M/s
time per set/4 workers:
156.52 ns
sets over time/4 workers:
25.56 M/s
(cd _build/default/test && ./test_sync.exe -- Event 0)
Testing `Picos_sync'.
This run has ID `22IN54CI'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[OK] Event 0 basics.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.103s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Lazy 0)
Testing `Picos_sync'.
This run has ID `RLQJXWL5'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[OK] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.001s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Lazy 1)
Testing `Picos_sync'.
This run has ID `C6PGE6D3'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Lazy 0 basics.
[OK] Lazy 1 cancelation.
[SKIP] Event 0 basics.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.001s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Semaphore 0)
Testing `Picos_sync'.
This run has ID `NB11CVDI'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[OK] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.002s. 1 test run.
(cd _build/default/bench && ./main.exe -brief 'Picos DLS')
Picos DLS:
time per get/1 worker:
106.12 ns
gets over time/1 worker:
9.42 M/s
time per set/1 worker:
86.96 ns
sets over time/1 worker:
11.50 M/s
time per get/2 workers:
109.70 ns
gets over time/2 workers:
18.23 M/s
time per set/2 workers:
99.73 ns
sets over time/2 workers:
20.05 M/s
time per get/4 workers:
134.29 ns
gets over time/4 workers:
29.79 M/s
time per set/4 workers:
163.52 ns
sets over time/4 workers:
24.46 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos Mutex')
Picos Mutex:
time per locked yield/1 fiber:
1593.05 ns
locked yields over time/1 fiber:
0.63 M/s
time per locked yield/2 fibers:
1387.57 ns
locked yields over time/2 fibers:
0.72 M/s
time per locked yield/4 fibers:
1427.81 ns
locked yields over time/4 fibers:
0.70 M/s
time per locked yield/8 fibers:
1402.89 ns
locked yields over time/8 fibers:
0.71 M/s
time per locked yield/256 fibers:
3763.87 ns
locked yields over time/256 fibers:
0.27 M/s
time per locked yield/512 fibers:
4277.31 ns
locked yields over time/512 fibers:
0.23 M/s
time per locked yield/1024 fibers:
5432.74 ns
locked yields over time/1024 fibers:
0.18 M/s
time per locked yield/2 domains:
10820.28 ns
locked yields over time/2 domains:
0.18 M/s
time per locked yield/4 domains:
25078.98 ns
locked yields over time/4 domains:
0.16 M/s
time per locked yield/8 domains:
63819.67 ns
locked yields over time/8 domains:
0.13 M/s
(cd _build/default/test && ./test_sync.exe -- Semaphore 1)
Testing `Picos_sync'.
This run has ID `CTFPVYAX'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Semaphore 0 basics.
[OK] Semaphore 1 stress.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.346s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 0)
Testing `Picos_sync'.
This run has ID `P0GW8QZH'.
[OK] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.007s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 1)
Testing `Picos_sync'.
This run has ID `W0YILTFE'.
[SKIP] Mutex and Condition 0 basics.
[OK] Mutex and Condition 1 errors.
[SKIP] Mutex and Condition 2 cancelation.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.003s. 1 test run.
(cd _build/default/test && ./test_io.exe)
Testing `Picos_io'.
This run has ID `3E0CKSX0'.
[OK] Unix 0 openfile and read.
[OK] Unix 1 sleepf.
[OK] Unix 2 select empty timeout.
[OK] Unix 3 select empty ∞.
[OK] Unix 4 select.
[OK] Unix 5 system.
Full test results in `/src/_build/default/test/_build/_tests/Picos_io'.
Test Successful in 0.471s. 6 tests run.
(cd _build/default/test && ./test_structured.exe)
Testing `Picos_structured'.
This run has ID `YHOLRRZ4'.
[OK] Bundle 0 fork after terminate.
[OK] Bundle 1 fork after escape.
[OK] Bundle 2 exception in child terminates.
[OK] Bundle 3 cancelation awaits children.
[OK] Bundle 4 block raises when forbidden.
[OK] Bundle 5 block raises Sys_error when fiber finishes.
[OK] Bundle 6 termination nests.
[OK] Bundle 7 promise cancelation does not terminate.
[OK] Bundle 8 error in promise terminates.
[OK] Bundle 9 can wait promises.
[OK] Bundle 10 can select promises.
[OK] Bundle 11 any and all errors.
[OK] Bundle 12 any and all returns.
[OK] Bundle 13 race any.
Full test results in `/src/_build/default/test/_build/_tests/Picos_structured'.
Test Successful in 0.670s. 14 tests run.
(cd _build/default/test && ./test_io_cohttp.exe)
Uri: //127.0.0.1:39585/hello-io-cohttp
Method: POST
host: 127.0.0.1:39585
user-agent: ocaml-cohttp/v6.0.0_beta2
content-length: 17
Body: It's-a-Me, Picos!
(cd _build/default/test && ./test_picos_lwt_unix_with_cohttp.exe)
Uri: //127.0.0.1:8000/hello-lwt
Method: GET
host: 127.0.0.1:8000
user-agent: ocaml-cohttp/v6.0.0_beta2
Body:
(cd _build/default/bench && ./main.exe -brief 'Picos Semaphore')
Picos Semaphore:
time per acquired yield/4 fibers, 1 resource:
7656.82 ns
acquired yields over time/4 fibers, 1 resource:
0.13 M/s
time per acquired yield/4 fibers, 2 resources:
5961.23 ns
acquired yields over time/4 fibers, 2 resources:
0.17 M/s
time per acquired yield/4 fibers, 3 resources:
3570.68 ns
acquired yields over time/4 fibers, 3 resources:
0.28 M/s
time per acquired yield/4 fibers, 4 resources:
1338.38 ns
acquired yields over time/4 fibers, 4 resources:
0.75 M/s
time per acquired yield/4 domains, 1 resource:
18223.83 ns
acquired yields over time/4 domains, 1 resource:
0.22 M/s
time per acquired yield/4 domains, 2 resources:
9248.52 ns
acquired yields over time/4 domains, 2 resources:
0.43 M/s
time per acquired yield/4 domains, 3 resources:
3515.78 ns
acquired yields over time/4 domains, 3 resources:
1.14 M/s
time per acquired yield/4 domains, 4 resources:
2790.27 ns
acquired yields over time/4 domains, 4 resources:
1.44 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos Spawn')
Picos Spawn:
(cd _build/default/bench && ./main.exe -brief 'Picos Yield')
Picos Yield:
time per yield/1 fiber:
636.50 ns
yields over time/1 fiber:
1.57 M/s
time per yield/10 fibers:
553.03 ns
yields over time/10 fibers:
1.81 M/s
time per yield/100 fibers:
626.13 ns
yields over time/100 fibers:
1.60 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos Cancel_after with Picos_select')
Picos Cancel_after with Picos_select:
time per round-trip/1 worker:
23458.57 ns
round-trips over time/1 worker:
0.04 M/s
time per round-trip/2 workers:
23034.17 ns
round-trips over time/2 workers:
0.09 M/s
time per round-trip/4 workers:
31050.52 ns
round-trips over time/4 workers:
0.13 M/s
time per async round-trip/1 worker:
20677.99 ns
async round-trips over time/1 worker:
0.05 M/s
time per async round-trip/2 workers:
19779.94 ns
async round-trips over time/2 workers:
0.10 M/s
time per async round-trip/4 workers:
25734.89 ns
async round-trips over time/4 workers:
0.16 M/s
(cd _build/default/bench && ./main.exe -brief 'Ref with Picos_sync.Mutex')
Ref with Picos_sync.Mutex:
time per op/get (checked):
766.78 ns
ops over time/get (checked):
1.30 M/s
time per op/incr (checked):
796.74 ns
ops over time/incr (checked):
1.26 M/s
time per op/push & pop (checked):
800.53 ns
ops over time/push & pop (checked):
1.25 M/s
time per op/cas int (checked):
805.47 ns
ops over time/cas int (checked):
1.24 M/s
time per op/xchg int (checked):
778.36 ns
ops over time/xchg int (checked):
1.28 M/s
time per op/swap (checked):
808.71 ns
ops over time/swap (checked):
1.24 M/s
time per op/get (unchecked):
339.03 ns
ops over time/get (unchecked):
2.95 M/s
time per op/incr (unchecked):
357.61 ns
ops over time/incr (unchecked):
2.80 M/s
time per op/push & pop (unchecked):
363.63 ns
ops over time/push & pop (unchecked):
2.75 M/s
time per op/cas int (unchecked):
386.40 ns
ops over time/cas int (unchecked):
2.59 M/s
time per op/xchg int (unchecked):
364.60 ns
ops over time/xchg int (unchecked):
2.74 M/s
time per op/swap (unchecked):
351.00 ns
ops over time/swap (unchecked):
2.85 M/s
(cd _build/default/test && ./test_select.exe)
Testing `Picos_select'.
This run has ID `O3MK8IGA'.
[OK] Intr 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_select'.
Test Successful in 2.009s. 1 test run.
(cd _build/default/bench && ./main.exe -brief Picos_mpmcq)
Picos_mpmcq:
time per message/one domain:
383.04 ns
messages over time/one domain:
2.61 M/s
time per message/1 nb adder, 1 nb taker:
690.85 ns
messages over time/1 nb adder, 1 nb taker:
2.90 M/s
time per message/1 nb adder, 2 nb takers:
1081.29 ns
messages over time/1 nb adder, 2 nb takers:
2.77 M/s
time per message/1 nb adder, 4 nb takers:
2117.78 ns
messages over time/1 nb adder, 4 nb takers:
2.36 M/s
time per message/2 nb adders, 1 nb taker:
740.45 ns
messages over time/2 nb adders, 1 nb taker:
4.05 M/s
time per message/2 nb adders, 2 nb takers:
1482.37 ns
messages over time/2 nb adders, 2 nb takers:
2.70 M/s
time per message/2 nb adders, 4 nb takers:
1779.93 ns
messages over time/2 nb adders, 4 nb takers:
3.37 M/s
time per message/4 nb adders, 1 nb taker:
1822.65 ns
messages over time/4 nb adders, 1 nb taker:
2.74 M/s
time per message/4 nb adders, 2 nb takers:
1517.45 ns
messages over time/4 nb adders, 2 nb takers:
3.95 M/s
time per message/4 nb adders, 4 nb takers:
2644.67 ns
messages over time/4 nb adders, 4 nb takers:
3.02 M/s
(cd _build/default/test && ./test_picos.exe)
Testing `Picos'.
This run has ID `XHAJ9LWO'.
[OK] Trigger 0 basics.
[OK] Computation 0 basics.
[OK] Computation 1 tx.
[OK] Computation 2 signals in order.
[OK] Fiber.FLS 0 basics.
[OK] Cancel 0
[OK] Cancel after 0
Full test results in `/src/_build/default/test/_build/_tests/Picos'.
Test Successful in 1.960s. 7 tests run.
(cd _build/default/test && ./test_io_with_lwt.exe)
Testing `Picos_io_with_lwt'.
This run has ID `IHG9CNH2'.
[OK] Unix 0 system.
Full test results in `/src/_build/default/test/_build/_tests/Picos_io_with_lwt'.
Test Successful in 2.016s. 1 test run.
(cd _build/default/bench && ./main.exe -brief Picos_mpscq)
Picos_mpscq:
time per message/one domain:
310.08 ns
messages over time/one domain:
3.22 M/s
time per message/1 nb adder, 1 nb taker:
474.66 ns
messages over time/1 nb adder, 1 nb taker:
4.21 M/s
time per message/2 nb adders, 1 nb taker:
754.64 ns
messages over time/2 nb adders, 1 nb taker:
3.98 M/s
time per message/4 nb adders, 1 nb taker:
1555.77 ns
messages over time/4 nb adders, 1 nb taker:
3.21 M/s
(cd _build/default/test && ./test_picos_dscheck.exe)
Testing `Picos DSCheck'.
This run has ID `J48ZHIPU'.
[OK] Trigger 0 basic contract.
[OK] Computation 0 basic contract.
[OK] Computation 1 removes triggers.
Full test results in `/src/_build/default/test/_build/_tests/Picos DSCheck'.
Test Successful in 2.405s. 3 tests run.
(cd _build/default/bench && ./main.exe -brief Picos_htbl)
Picos_htbl:
time per operation/1 worker, 10% reads:
2160.63 ns
operations over time/1 worker, 10% reads:
0.46 M/s
time per operation/1 worker, 50% reads:
1828.02 ns
operations over time/1 worker, 50% reads:
0.55 M/s
time per operation/1 worker, 90% reads:
1527.98 ns
operations over time/1 worker, 90% reads:
0.65 M/s
time per operation/2 workers, 10% reads:
2294.53 ns
operations over time/2 workers, 10% reads:
0.87 M/s
time per operation/2 workers, 50% reads:
1840.57 ns
operations over time/2 workers, 50% reads:
1.09 M/s
time per operation/2 workers, 90% reads:
1507.75 ns
operations over time/2
workers, 90% reads:
1.33 M/s
time per operation/4 workers, 10% reads:
2342.60 ns
operations over time/4 workers, 10% reads:
1.71 M/s
time per operation/4 workers, 50% reads:
1893.19 ns
operations over time/4 workers, 50% reads:
2.11 M/s
time per operation/4 workers, 90% reads:
1499.37 ns
operations over time/4 workers, 90% reads:
2.67 M/s
time per operation/8 workers, 10% reads:
2501.90 ns
operations over time/8 workers, 10% reads:
3.20 M/s
time per operation/8 workers, 50% reads:
1966.98 ns
operations over time/8 workers, 50% reads:
4.07 M/s
time per operation/8 workers, 90% reads:
1461.67 ns
operations over time/8 workers, 90% reads:
5.47 M/s
(cd _build/default/bench && ./main.exe -brief Picos_stdio)
Picos_stdio:
time per non-blocking read/1 worker:
901.96 ns
non-blocking reads over time/1 worker:
1.11 M/s
time per non-blocking read/2 workers:
963.81 ns
non-blocking reads over time/2 workers:
2.08 M/s
time per non-blocking read/4 workers:
970.85 ns
non-blocking reads over time/4 workers:
4.12 M/s
time per blocking read/1 worker:
11505.96 ns
blocking reads over time/1 worker:
0.09 M/s
time per blocking read/2 workers:
11827.62 ns
blocking reads over time/2 workers:
0.17 M/s
time per blocking read/4 workers:
14509.40 ns
blocking reads over time/4 workers:
0.28 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos_sync Stream')
Picos_sync Stream:
time per message/one domain:
500.68 ns
messages over time/one domain:
2.00 M/s
time per message/1 nb pusher, 1 nb reader:
787.53 ns
messages over time/1 nb pusher, 1 nb reader:
2.54 M/s
time per message/2 nb pushers, 1 nb reader:
1511.02 ns
messages over time/2 nb pushers, 1 nb reader:
1.99 M/s
time per message/4 nb pushers, 1 nb reader:
1255.39 ns
messages over time/4 nb pushers, 1 nb reader:
3.98 M/s
(cd _build/default/bench && ./main.exe -brief Fib)
Fib:
(cd _build/default/bench && ./main.exe -brief 'Picos binaries')
Picos binaries:
(cd _build/default/bench && ./main.exe -brief 'Bounded_q with Picos_sync')
Bounded_q with Picos_sync:
time per message/one domain:
988.33 ns
messages over time/one domain:
1.01 M/s
time per message/1 adder, 1 taker:
10081.07 ns
messages over time/1 adder, 1 taker:
0.20 M/s
time per message/1 adder, 2 takers:
16081.71 ns
messages over time/1 adder, 2 takers:
0.19 M/s
time per message/1 adder, 4 takers:
57443.83 ns
messages over time/1 adder, 4 takers:
0.09 M/s
time per message/2 adders, 1 taker:
12786.49 ns
messages over time/2 adders, 1 taker:
0.23 M/s
time per message/2 adders, 2 takers:
30002.63 ns
messages over time/2 adders, 2 takers:
0.13 M/s
time per message/2 adders, 4 takers:
61254.87 ns
messages over time/2 adders, 4 takers:
0.10 M/s
time per message/4 adders, 1 taker:
19789.34 ns
messages over time/4 adders, 1 taker:
0.26 M/s
time per message/4 adders, 2 takers:
37758.66 ns
messages over time/4 adders, 2 takers:
0.16 M/s
time per message/4 adders, 4 takers:
67001.47 ns
messages over time/4 adders, 4 takers:
0.12 M/s
(cd _build/default/test && ./test_schedulers.exe)
Testing `Picos schedulers'.
This run has ID `UWGVT2BW'.
[OK] Trivial main returns 0
[OK] Scheduler completes main computation 0
[OK] Current 0
[OK] Cancel_after 0 basic.
[OK] Cancel_after 1 long timeout.
[OK] Operation on canceled fiber raises 0
[OK] Cross scheduler wakeup 0
[OK] Fatal exception terminates scheduler 0
Full test results in `/src/_build/default/test/_build/_tests/Picos schedulers'.
Test Successful in 6.350s. 8 tests run.
(cd _build/default/bench && ./main.exe -brief 'Memory usage')
Memory usage:
memory used/fiber in a bundle:
96.00 B
memory used/promise in a bundle:
160.00 B
memory used/fiber in a flock:
104.00 B
memory used/promise in a flock:
164.00 B
memory used/fiber with shared computation & latch:
76.00 B
(cd _build/default/test && ./test_mpmcq_dscheck.exe)
Testing `Picos_mpmcq DSCheck'.
This run has ID `2JETHFJ6'.
[OK] Multiple pushes and pops 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_mpmcq DSCheck'.
Test Successful in 8.408s. 1 test run.
(cd _build/default/test && /usr/bin/node test_js_of_ocaml.bc.js)
Hello, from js_of_ocaml with Picos!
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 2)
Testing `Picos_sync'.
This run has ID `3EEK8P1T'.
[SKIP] Mutex and Condition 0 basics.
[SKIP] Mutex and Condition 1 errors.
[OK] Mutex and Condition 2 cancelation.
[SKIP] Semaphore 0 basics.
[SKIP] Semaphore 1 stress.
[SKIP] Lazy 0 basics.
[SKIP] Lazy 1 cancelation.
[SKIP] Event 0 basics.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 11.334s. 1 test run.
(cd _build/default/test && ./test_mpmcq.exe)
random seed: 1064133036
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Mpmcq sequential
[✓] 32 0 0 32 / 32 3.5s Mpmcq parallel
================================================================================
success (ran 2 tests)
random seed: 921393870
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Mpmcq sequential
[✓] 64 0 0 64 / 64 8.2s Mpmcq parallel
================================================================================
success (ran 2 tests)
random seed: 168691466
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Mpmcq sequential
[✓] 128 0 0 128 / 128 16.9s Mpmcq parallel
================================================================================
success (ran 2 tests)
random seed: 938619873
generated error fail pass / total time test name
[✓] 246 0 0 246 / 246 0.0s Mpmcq sequential
[✓] 246 0 0 246 / 246 31.7s Mpmcq parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test && ./test_htbl.exe)
random seed: 288015006
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Htbl sequential
[✓] 32 0 0 32 / 32 2.4s Htbl parallel
================================================================================
success (ran 2 tests)
random seed: 601653063
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Htbl sequential
[✓] 64 0 0 64 / 64 8.1s Htbl parallel
================================================================================
success (ran 2 tests)
random seed: 894053737
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Htbl sequential
[✓] 128 0 0 128 / 128 16.3s Htbl parallel
================================================================================
success (ran 2 tests)
random seed: 10039382
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Htbl sequential
[✓] 256 0 0 256 / 256 37.6s Htbl parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test && ./test_mpscq.exe)
random seed: 974074947
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Mpscq sequential
[✓] 32 0 0 32 / 32 2.4s Mpscq parallel
================================================================================
success (ran 2 tests)
random seed: 206518382
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Mpscq sequential
[✓] 64 0 0 64 / 64 6.4s Mpscq parallel
================================================================================
success (ran 2 tests)
random seed: 703832231
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Mpscq sequential
[✓] 128 0 0 128 / 128 21.3s Mpscq parallel
================================================================================
success (ran 2 tests)
random seed: 110483848
generated error fail pass / total time test name
[✓] 221 0 0 221 / 221 0.0s Mpscq sequential
[✓] 221 0 0 221 / 221 48.1s Mpscq parallel
================================================================================
success (ran 2 tests)
2024-09-18 20:18.23 ---> saved as "5ecb7942dff31833aa6fc7372cf2d082bc5682c4b9690bfc206a5716bac5e672"
Job succeeded
2024-09-18 20:18.24: Job succeeded