2024-10-24 21:28.55: New job: test ocaml-multicore/picos https://github.com/ocaml-multicore/picos.git#refs/pull/214/head (6437fab8b409ff5abcf0b7238db5f9f8b612e4e0) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:ccf6c32702416c518e03e9cd34cc37592218ba56f1662cc5ce9b9aa324d34f56
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/picos.git" && cd "picos" && git fetch origin "refs/pull/214/head" && git reset --hard 6437fab8
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:ccf6c32702416c518e03e9cd34cc37592218ba56f1662cc5ce9b9aa324d34f56
# debian-12-4.14_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 b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff || git fetch origin master) && git reset -q --hard b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff && 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.7.0 angstrom.0.14.0 asn1-combinators.0.2.4 astring.0.8.5 backoff.0.1.0 base.v0.14.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.1.0 bigarray-compat.1.0.0 bigstringaf.0.1.0 bos.0.1.0 ca-certs.0.1.2 camlp-streams.5.0.1 cmdliner.1.1.0 cohttp.6.0.0~beta2 cohttp-lwt.6.0.0~beta2 cohttp-lwt-unix.6.0.0~beta2 conduit.6.2.2 conduit-lwt.6.2.2 conduit-lwt-unix.6.2.2 conf-gmp.1 conf-gmp-powm-sec.1 conf-npm.1 conf-perl.1 conf-pkg-config.1.0 containers.2.8 cppo.1.6.1 csexp.1.3.2 cstruct.6.0.0 domain-local-await.1.0.1 domain-name.0.3.0 domain_shims.0.1.0 dscheck.0.5.0 dune.3.14.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 duration.0.1.0 eqaf.0.8 fmt.0.9.0 fpath.0.7.3 gen.0.2.2 gmap.0.3.0 host-arch-x86_64.1 host-system-other.1 http.6.0.0~beta2 ipaddr.4.0.0 ipaddr-sexp.4.0.0 jbuilder.1.0+beta20.1 js_of_ocaml.5.4.0 js_of_ocaml-compiler.5.4.0 logs.0.7.0 lwt.5.7.0 macaddr.4.0.0 magic-mime.1.0.0 mdx.2.4.0 menhir.20200123 menhirLib.20200123 menhirSdk.20200123 mirage-crypto.0.10.4 mirage-crypto-pk.0.10.4 mirage-crypto-rng.0.10.4 mirage-no-solo5.1 mirage-no-xen.1 mtime.2.0.0 multicore-bench.0.1.7 multicore-magic.2.3.0 multicore-magic-dscheck.2.3.0 num.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.11.0 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.4 ocamlbuild.0.14.0 ocamlfind.1.9.1 ocplib-endian.1.0 oseq.0.4.1 parsexp.v0.14.1 ppx_derivers.1.0 ppx_sexp_conv.v0.14.3 ppxlib.0.24.0 psq.0.2.1 ptime.0.8.5 qcheck-core.0.21.2 qcheck-multicoretests-util.0.3 qcheck-stm.0.3 re.1.9.0 result.1.5 rresult.0.4.0 sedlex.2.3 seq.0.2.2 sexplib.v0.14.0 sexplib0.v0.14.0 stdlib-shims.0.1.0 stringext.1.4.0 thread-local-storage.0.2 thread-table.1.0.0 topkg.1.0.3 tsort.1.0.0 uchar.0.0.2 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.1 x509.0.11.0 yojson.2.1.0 zarith.1.4"
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-10-24 21:28.55: Using cache hint "ocaml-multicore/picos-ocaml/opam:debian-12-ocaml-4.14@sha256:ccf6c32702416c518e03e9cd34cc37592218ba56f1662cc5ce9b9aa324d34f56-debian-12-4.14_opam-2.2-6c3005ccf3024979ed8c7bd616071ed7"
2024-10-24 21:28.55: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:ccf6c32702416c518e03e9cd34cc37592218ba56f1662cc5ce9b9aa324d34f56)
(comment debian-12-4.14_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 b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff || git fetch origin master) && git reset -q --hard b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff && 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.7.0 angstrom.0.14.0 asn1-combinators.0.2.4 astring.0.8.5 backoff.0.1.0 base.v0.14.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.1.0 bigarray-compat.1.0.0 bigstringaf.0.1.0 bos.0.1.0 ca-certs.0.1.2 camlp-streams.5.0.1 cmdliner.1.1.0 cohttp.6.0.0~beta2 cohttp-lwt.6.0.0~beta2 cohttp-lwt-unix.6.0.0~beta2 conduit.6.2.2 conduit-lwt.6.2.2 conduit-lwt-unix.6.2.2 conf-gmp.1 conf-gmp-powm-sec.1 conf-npm.1 conf-perl.1 conf-pkg-config.1.0 containers.2.8 cppo.1.6.1 csexp.1.3.2 cstruct.6.0.0 domain-local-await.1.0.1 domain-name.0.3.0 domain_shims.0.1.0 dscheck.0.5.0 dune.3.14.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 duration.0.1.0 eqaf.0.8 fmt.0.9.0 fpath.0.7.3 gen.0.2.2 gmap.0.3.0 host-arch-x86_64.1 host-system-other.1 http.6.0.0~beta2 ipaddr.4.0.0 ipaddr-sexp.4.0.0 jbuilder.1.0+beta20.1 js_of_ocaml.5.4.0 js_of_ocaml-compiler.5.4.0 logs.0.7.0 lwt.5.7.0 macaddr.4.0.0 magic-mime.1.0.0 mdx.2.4.0 menhir.20200123 menhirLib.20200123 menhirSdk.20200123 mirage-crypto.0.10.4 mirage-crypto-pk.0.10.4 mirage-crypto-rng.0.10.4 mirage-no-solo5.1 mirage-no-xen.1 mtime.2.0.0 multicore-bench.0.1.7 multicore-magic.2.3.0 multicore-magic-dscheck.2.3.0 num.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.11.0 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.4 ocamlbuild.0.14.0 ocamlfind.1.9.1 ocplib-endian.1.0 oseq.0.4.1 parsexp.v0.14.1 ppx_derivers.1.0 ppx_sexp_conv.v0.14.3 ppxlib.0.24.0 psq.0.2.1 ptime.0.8.5 qcheck-core.0.21.2 qcheck-multicoretests-util.0.3 qcheck-stm.0.3 re.1.9.0 result.1.5 rresult.0.4.0 sedlex.2.3 seq.0.2.2 sexplib.v0.14.0 sexplib0.v0.14.0 stdlib-shims.0.1.0 stringext.1.4.0 thread-local-storage.0.2 thread-table.1.0.0 topkg.1.0.3 tsort.1.0.0 uchar.0.0.2 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.1 x509.0.11.0 yojson.2.1.0 zarith.1.4")
(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-10-24 21:28.55: Waiting for resource in pool OCluster
2024-10-24 21:28.55: Waiting for worker…
2024-10-24 21:28.55: Got resource from pool OCluster
Building on x86-bm-c15.sw.ocaml.org
All commits already cached
HEAD is now at 6437fab Introduce `Per_thread` cache
(from ocaml/opam:debian-12-ocaml-4.14@sha256:ccf6c32702416c518e03e9cd34cc37592218ba56f1662cc5ce9b9aa324d34f56)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:ccf6c32702416c518e03e9cd34cc37592218ba56f1662cc5ce9b9aa324d34f56' locally
docker.io/ocaml/opam@sha256:ccf6c32702416c518e03e9cd34cc37592218ba56f1662cc5ce9b9aa324d34f56: Pulling from ocaml/opam
eacc47a85629: Pulling fs layer
eacc47a85629: Verifying Checksum
eacc47a85629: Download complete
eacc47a85629: Pull complete
Digest: sha256:ccf6c32702416c518e03e9cd34cc37592218ba56f1662cc5ce9b9aa324d34f56
Status: Downloaded newer image for ocaml/opam@sha256:ccf6c32702416c518e03e9cd34cc37592218ba56f1662cc5ce9b9aa324d34f56
2024-10-24 21:28.55 ---> using "adbbb34af03d384c47ca5794dffabe555b79b97b6e5aa7ebc9d3cd20586d155a" from cache
/: (comment debian-12-4.14_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-10-24 21:28.55 ---> using "fa5ba3d7df0e232917dec84b25ad39ca22bd5648af8a94bace9f4f9922dd36a2" 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-10-24 21:28.55 ---> using "ee97eb618518975c4929ef21da27766ca95d812f576d00c46b1fb6fb7cb67c59" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 4.14.2
2.2.1
2024-10-24 21:28.55 ---> using "ff8fac32e8ae49834f5efcd6de1d1dfe1159dc4962dc14d64164c9b6a6f7272d" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-10-24 21:28.55 ---> using "44e867324918f3b0856c68e7bd89ae0f2631930ccc2e18890ebfdbf433d6c411" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff || git fetch origin master) && git reset -q --hard b8e118d3efb119e22f2e979ec1c6aa3e5aacdeff && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
75006f8c5e..55561eeb85 master -> origin/master
b8e118d3ef Merge pull request #26758 from polytypic/release-multicore-bench-0.1.7
<><> 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-10-24 21:28.55 ---> using "d66e2c0f08d4cb30211fd5a2acf886f9de2cd469e757b70ed85ed5d251616b8d" 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-10-24 21:28.55 ---> using "5ace2d5d868d344e1a9c3dac61f6ccba8e4d23db41009d5888fcac89141ea1bd" 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-10-24 21:28.55 ---> using "1ad01261d091d9879860d318dd23e2459400e1059b8bad419db0bbce5a1cf858" from cache
/src: (env DEPS "alcotest.1.7.0 angstrom.0.14.0 asn1-combinators.0.2.4 astring.0.8.5 backoff.0.1.0 base.v0.14.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.1.0 bigarray-compat.1.0.0 bigstringaf.0.1.0 bos.0.1.0 ca-certs.0.1.2 camlp-streams.5.0.1 cmdliner.1.1.0 cohttp.6.0.0~beta2 cohttp-lwt.6.0.0~beta2 cohttp-lwt-unix.6.0.0~beta2 conduit.6.2.2 conduit-lwt.6.2.2 conduit-lwt-unix.6.2.2 conf-gmp.1 conf-gmp-powm-sec.1 conf-npm.1 conf-perl.1 conf-pkg-config.1.0 containers.2.8 cppo.1.6.1 csexp.1.3.2 cstruct.6.0.0 domain-local-await.1.0.1 domain-name.0.3.0 domain_shims.0.1.0 dscheck.0.5.0 dune.3.14.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 duration.0.1.0 eqaf.0.8 fmt.0.9.0 fpath.0.7.3 gen.0.2.2 gmap.0.3.0 host-arch-x86_64.1 host-system-other.1 http.6.0.0~beta2 ipaddr.4.0.0 ipaddr-sexp.4.0.0 jbuilder.1.0+beta20.1 js_of_ocaml.5.4.0 js_of_ocaml-compiler.5.4.0 logs.0.7.0 lwt.5.7.0 macaddr.4.0.0 magic-mime.1.0.0 mdx.2.4.0 menhir.20200123 menhirLib.20200123 menhirSdk.20200123 mirage-crypto.0.10.4 mirage-crypto-pk.0.10.4 mirage-crypto-rng.0.10.4 mirage-no-solo5.1 mirage-no-xen.1 mtime.2.0.0 multicore-bench.0.1.7 multicore-magic.2.3.0 multicore-magic-dscheck.2.3.0 num.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.11.0 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.4 ocamlbuild.0.14.0 ocamlfind.1.9.1 ocplib-endian.1.0 oseq.0.4.1 parsexp.v0.14.1 ppx_derivers.1.0 ppx_sexp_conv.v0.14.3 ppxlib.0.24.0 psq.0.2.1 ptime.0.8.5 qcheck-core.0.21.2 qcheck-multicoretests-util.0.3 qcheck-stm.0.3 re.1.9.0 result.1.5 rresult.0.4.0 sedlex.2.3 seq.0.2.2 sexplib.v0.14.0 sexplib0.v0.14.0 stdlib-shims.0.1.0 stringext.1.4.0 thread-local-storage.0.2 thread-table.1.0.0 topkg.1.0.3 tsort.1.0.0 uchar.0.0.2 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.1 x509.0.11.0 yojson.2.1.0 zarith.1.4")
/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"
- 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 amd64 Packages [188 kB]
- Fetched 292 kB in 0s (823 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[picos.dev] synchronised (no changes)
[picos_aux.dev] synchronised (no changes)
[picos_io.dev] synchronised (no changes)
[picos_io_cohttp.dev] synchronised (no changes)
[picos_lwt.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-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 host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 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-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
- Preparing to unpack .../373-node-get-value_
2024-10-24 21:28.55 ---> using "2d97fa8ef9b5f8c94ad273ea3e509598b7d1326c2843a068dbbbcc328afbbf1f" 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-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 host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 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-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 102 packages
- install alcotest 1.7.0
- install angstrom 0.14.0
- install asn1-combinators 0.2.4
- install astring 0.8.5
- install backoff 0.1.0
- install base v0.14.2
- install base-bytes base
- install base64 3.1.0
- install bigarray-compat 1.0.0
- install bigstringaf 0.1.0
- install bos 0.1.0
- install ca-certs 0.1.2
- install camlp-streams 5.0.1
- install cmdliner 1.1.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.2
- install conduit-lwt 6.2.2
- install conduit-lwt-unix 6.2.2
- install conf-gmp 1
- install conf-gmp-powm-sec 1
- install conf-npm 1
- install conf-perl 1
- install conf-pkg-config 1.0
- install containers 2.8
- install cppo 1.6.1
- install csexp 1.3.2
- install cstruct 6.0.0
- install domain-local-await 1.0.1
- install domain-name 0.3.0
- install domain_shims 0.1.0
- install dscheck 0.5.0
- install dune 3.14.0
- install dune-configurator 2.3.0
- install dune-private-libs 2.3.0
- install duration 0.1.0
- install eqaf 0.8
- install fmt 0.9.0
- install fpath 0.7.3
- install gen 0.2.2
- install gmap 0.3.0
- install http 6.0.0~beta2
- install ipaddr 4.0.0
- install ipaddr-sexp 4.0.0
- install jbuilder 1.0+beta20.1
- install js_of_ocaml 5.4.0
- install js_of_ocaml-compiler 5.4.0
- install logs 0.7.0
- install lwt 5.7.0
- install macaddr 4.0.0
- install magic-mime 1.0.0
- install mdx 2.4.0
- install menhir 20200123
- install menhirLib 20200123
- install menhirSdk 20200123
- install mirage-crypto 0.10.4
- install mirage-crypto-pk 0.10.4
- install mirage-crypto-rng 0.10.4
- install mirage-no-solo5 1
- install mirage-no-xen 1
- install mtime 2.0.0
- install multicore-bench 0.1.7
- install multicore-magic 2.3.0
- install multicore-magic-dscheck 2.3.0
- install num 1.0
- install ocaml-compiler-libs v0.11.0
- install ocaml-syntax-shims 1.0.0
- install ocaml-version 3.6.4
- install ocamlbuild 0.14.0
- install ocamlfind 1.9.1
- install ocplib-endian 1.0
- install oseq 0.4.1
- install parsexp v0.14.1
- install ppx_derivers 1.0
- install ppx_sexp_conv v0.14.3
- install ppxlib 0.24.0
- install psq 0.2.1
- install ptime 0.8.5
- install qcheck-core 0.21.2
- install qcheck-multicoretests-util 0.3
- install qcheck-stm 0.3
- install re 1.9.0
- install result 1.5
- install rresult 0.4.0
- install sedlex 2.3
- install seq 0.2.2
- install sexplib v0.14.0
- install sexplib0 v0.14.0
- install stdlib-shims 0.1.0
- install stringext 1.4.0
- install thread-local-storage 0.2
- install thread-table 1.0.0
- install topkg 1.0.3
- install tsort 1.0.0
- install uchar 0.0.2
- install uri 4.4.0
- install uri-sexp 4.4.0
- install uutf 1.0.1
- install x509 0.11.0
- install yojson 2.1.0
- install zarith 1.4
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.14.0 (cached)
-> retrieved asn1-combinators.0.2.4 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved alcotest.1.7.0 (cached)
-> retrieved backoff.0.1.0 (cached)
-> retrieved base.v0.14.2 (cached)
-> retrieved base64.3.1.0 (cached)
-> retrieved bigarray-compat.1.0.0 (cached)
-> retrieved bigstringaf.0.1.0 (cached)
-> retrieved ca-certs.0.1.2 (cached)
-> retrieved bos.0.1.0 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cmdliner.1.1.0 (cached)
-> retrieved conf-gmp.1 (cached)
-> retrieved conf-gmp-powm-sec.1 (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.2, conduit-lwt.6.2.2, conduit-lwt-unix.6.2.2 (cached)
-> retrieved containers.2.8 (cached)
-> installed conf-gmp.1
-> installed conf-perl.1
-> installed conf-pkg-config.1.0
-> retrieved cppo.1.6.1 (cached)
-> retrieved csexp.1.3.2 (cached)
-> retrieved domain-local-await.1.0.1 (cached)
-> retrieved domain-name.0.3.0 (cached)
-> retrieved domain_shims.0.1.0 (cached)
-> retrieved cstruct.6.0.0 (cached)
-> installed conf-gmp-powm-sec.1
-> retrieved dscheck.0.5.0 (cached)
-> retrieved duration.0.1.0 (cached)
-> retrieved eqaf.0.8 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved gen.0.2.2 (cached)
-> retrieved gmap.0.3.0 (cached)
-> retrieved ipaddr.4.0.0, ipaddr-sexp.4.0.0, macaddr.4.0.0 (cached)
-> retrieved jbuilder.1.0+beta20.1 (cached)
-> installed conf-npm.1
-> retrieved dune-configurator.2.3.0, dune-private-libs.2.3.0 (cached)
-> retrieved dune.3.14.0 (cached)
-> retrieved js_of_ocaml.5.4.0, js_of_ocaml-compiler.5.4.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved lwt.5.7.0 (cached)
-> retrieved magic-mime.1.0.0 (cached)
-> retrieved mdx.2.4.0 (cached)
-> retrieved menhir.20200123, menhirLib.20200123, menhirSdk.20200123 (cached)
-> installed cmdliner.1.1.0
-> installed mirage-no-solo5.1
-> installed mirage-no-xen.1
-> retrieved mirage-crypto.0.10.4, mirage-crypto-pk.0.10.4, mirage-crypto-rng.0.10.4 (cached)
-> retrieved mtime.2.0.0 (cached)
-> retrieved multicore-bench.0.1.7 (cached)
-> retrieved multicore-magic.2.3.0, multicore-magic-dscheck.2.3.0 (cached)
-> retrieved num.1.0 (cached)
-> retrieved ocaml-compiler-libs.v0.11.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.3.6.4 (cached)
-> retrieved ocplib-endian.1.0 (cached)
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved ocamlfind.1.9.1 (cached)
-> retrieved oseq.0.4.1 (cached)
-> retrieved parsexp.v0.14.1 (cached)
-> retrieved ppx_derivers.1.0 (cached)
-> retrieved ppx_sexp_conv.v0.14.3 (cached)
-> retrieved psq.0.2.1 (cached)
-> retrieved ptime.0.8.5 (cached)
-> retrieved qcheck-core.0.21.2 (cached)
-> retrieved qcheck-multicoretests-util.0.3, qcheck-stm.0.3 (cached)
-> retrieved re.1.9.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved ppxlib.0.24.0 (cached)
-> retrieved rresult.0.4.0 (cached)
-> retrieved sedlex.2.3 (cached)
-> retrieved seq.0.2.2 (cached)
-> retrieved sexplib.v0.14.0 (cached)
-> retrieved sexplib0.v0.14.0 (cached)
-> retrieved stdlib-shims.0.1.0 (cached)
-> retrieved stringext.1.4.0 (cached)
-> retrieved thread-local-storage.0.2 (cached)
-> retrieved thread-table.1.0.0 (cached)
-> retrieved tsort.1.0.0 (cached)
-> retrieved uchar.0.0.2 (cached)
-> retrieved topkg.1.0.3 (cached)
-> retrieved uutf.1.0.1 (cached)
-> retrieved uri.4.4.0, uri-sexp.4.4.0 (cached)
-> retrieved x509.0.11.0 (cached)
-> retrieved yojson.2.1.0 (cached)
-> retrieved zarith.1.4 (cached)
-> installed ocamlfind.1.9.1
-> installed base-bytes.base
-> installed num.1.0
-> installed ocamlbuild.0.14.0
-> installed zarith.1.4
-> installed uchar.0.0.2
-> installed jbuilder.1.0+beta20.1
-> installed ppx_derivers.1.0
-> installed bigstringaf.0.1.0
-> installed cppo.1.6.1
-> installed ocaml-compiler-libs.v0.11.0
-> installed topkg.1.0.3
-> installed stringext.1.4.0
-> installed astring.0.8.5
-> installed duration.0.1.0
-> installed fmt.0.9.0
-> installed gen.0.2.2
-> installed dune.3.14.0
-> installed fpath.0.7.3
-> installed magic-mime.1.0.0
-> installed backoff.0.1.0
-> installed base64.3.1.0
-> installed bigarray-compat.1.0.0
-> installed camlp-streams.5.0.1
-> installed domain-name.0.3.0
-> installed domain_shims.0.1.0
-> installed gmap.0.3.0
-> installed http.6.0.0~beta2
-> installed macaddr.4.0.0
-> installed menhirLib.20200123
-> installed menhirSdk.20200123
-> installed mtime.2.0.0
-> installed multicore-magic.2.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-version.3.6.4
-> installed ocplib-endian.1.0
-> installed cstruct.6.0.0
-> installed dune-private-libs.2.3.0
-> installed qcheck-core.0.21.2
-> installed result.1.5
-> installed seq.0.2.2
-> installed sexplib0.v0.14.0
-> installed stdlib-shims.0.1.0
-> installed thread-local-storage.0.2
-> installed thread-table.1.0.0
-> installed uutf.1.0.1
-> installed eqaf.0.8
-> installed csexp.1.3.2
-> installed qcheck-multicoretests-util.0.3
-> installed psq.0.2.1
-> installed domain-local-await.1.0.1
-> installed angstrom.0.14.0
-> installed rresult.0.4.0
-> installed oseq.0.4.1
-> installed ipaddr.4.0.0
-> installed dune-configurator.2.3.0
-> installed qcheck-stm.0.3
-> installed re.1.9.0
-> installed yojson.2.1.0
-> installed alcotest.1.7.0
-> installed uri.4.4.0
-> installed multicore-bench.0.1.7
-> installed containers.2.8
-> installed mirage-crypto.0.10.4
-> installed tsort.1.0.0
-> installed dscheck.0.5.0
-> installed multicore-magic-dscheck.2.3.0
-> installed menhir.20200123
-> installed lwt.5.7.0
-> installed base.v0.14.2
-> installed parsexp.v0.14.1
-> installed sexplib.v0.14.0
-> installed ppxlib.0.24.0
-> installed ppx_sexp_conv.v0.14.3
-> installed sedlex.2.3
-> installed ipaddr-sexp.4.0.0
-> installed uri-sexp.4.4.0
-> installed js_of_ocaml-compiler.5.4.0
-> installed js_of_ocaml.5.4.0
-> installed logs.0.7.0
-> installed ptime.0.8.5
-> installed mirage-crypto-rng.0.10.4
-> installed asn1-combinators.0.2.4
-> installed mirage-crypto-pk.0.10.4
-> installed conduit.6.2.2
-> installed cohttp.6.0.0~beta2
-> installed mdx.2.4.0
-> installed bos.0.1.0
-> installed x509.0.11.0
-> installed conduit-lwt.6.2.2
-> installed ca-certs.0.1.2
-> installed cohttp-lwt.6.0.0~beta2
-> installed conduit-lwt-unix.6.2.2
-> installed cohttp-lwt-unix.6.0.0~beta2
Done.
# Run eval $(opam env) to update the current shell environment
2024-10-24 21:28.55 ---> using "58b6c80601fa1f2191aee23e26472a346a1a46675fffcd3180d59cc9a9cf94bd" from cache
/src: (copy (src .) (dst /src))
2024-10-24 21:28.56 ---> saved as "b9f4a79292e2dbafdba38b743a3a67d4b32dc9c64b6493ffe27b7936bd431e3b"
/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 threads on OCaml 4:
Looping server running
Server listening
Server accepting
Client B running
Client A running
Client B connected
Client A connected
Client B wrote 100
Client A wrote 100
Server accepted client
Server accepting
Server read 100
Server accepted client
Server wrote 50
Client B read 50
Server read 100
Server accepting
Server wrote 50
Client A read 50
Server and Client test: OK
(cd _build/default/test && ./test_mpscq.exe)
random seed: 640371722226609722
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Mpscq sequential
================================================================================
success (ran 1 tests)
random seed: 1665558226792684766
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Mpscq sequential
================================================================================
success (ran 1 tests)
random seed: 4139488979192669692
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.1s Mpscq sequential
================================================================================
success (ran 1 tests)
random seed: 884242150810599045
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.1s Mpscq sequential
================================================================================
success (ran 1 tests)
random seed: 2989448778391558759
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.1s Mpscq sequential
================================================================================
success (ran 1 tests)
random seed: 1933318918617642721
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Mpscq sequential
================================================================================
success (ran 1 tests)
(cd _build/default/bench && ./main.exe -brief 'Picos Computation')
Picos Computation:
attach detach pairs over time/1 worker:
5.87 M/s
attach detach pairs over time/trivial:
15.54 M/s
time per attach detach pair/1 worker:
170.49 ns
time per attach detach pair/trivial:
64.36 ns
(cd _build/default/bench && ./main.exe -brief 'Picos Current')
Picos Current:
ops over time/1 worker:
102.83 M/s
time per op/1 worker:
9.73 ns
(cd _build/default/bench && ./main.exe -brief 'Picos FLS (excluding Current)')
Picos FLS (excluding Current):
gets over time/1 worker:
194.24 M/s
sets over time/1 worker:
76.46 M/s
time per get/1 worker:
5.15 ns
time per set/1 worker:
13.08 ns
(cd _build/default/bench && ./main.exe -brief 'Picos TLS')
Picos TLS:
gets over time/1 worker:
144.75 M/s
sets over time/1 worker:
51.73 M/s
time per get/1 worker:
6.91 ns
time per set/1 worker:
19.33 ns
(cd _build/default/test && ./test_finally.exe)
Testing `Picos_finally'.
This run has ID `RS5DRUEJ'.
[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 DLS')
Picos DLS:
gets over time/1 worker:
248.31 M/s
sets over time/1 worker:
108.43 M/s
time per get/1 worker:
4.03 ns
time per set/1 worker:
9.22 ns
(cd _build/default/test && ./test_sync.exe -- Event 0)
Testing `Picos_sync'.
This run has ID `RVI94EYN'.
[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.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.105s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Lazy 0)
Testing `Picos_sync'.
This run has ID `FRWP24V6'.
[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.
[SKIP] Non-cancelable ops 0 are not canceled.
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 `A6L92Y1R'.
[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.
[SKIP] Non-cancelable ops 0 are not canceled.
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 `KBXQ062Z'.
[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.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Semaphore 1)
Testing `Picos_sync'.
This run has ID `GL4NVYO0'.
[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.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.016s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Non-cancelable ops' 0)
Testing `Picos_sync'.
This run has ID `ZL8P717W'.
[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.
[SKIP] Event 0 basics.
[OK] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.001s. 1 test run.
(cd _build/default/bench && ./main.exe -brief 'Picos Mutex')
Picos Mutex:
locked yields over time/1 fiber:
0.08 M/s
locked yields over time/256 fibers:
0.02 M/s
locked yields over time/2 fibers:
0.05 M/s
locked yields over time/4 fibers:
0.07 M/s
locked yields over time/8 fibers:
0.05 M/s
time per locked yield/1 fiber:
12849.22 ns
time per locked yield/256 fibers:
55515.15 ns
time per locked yield/2 fibers:
20204.57 ns
time per locked yield/4 fibers:
14624.55 ns
time per locked yield/8 fibers:
18744.97 ns
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 0)
Testing `Picos_sync'.
This run has ID `09KB0DQ2'.
[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.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.014s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 1)
Testing `Picos_sync'.
This run has ID `WMQMGEKZ'.
[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.
[SKIP] Non-cancelable ops 0 are not canceled.
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_picos.exe)
Testing `Picos'.
This run has ID `ZA9D66N8'.
[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 0.451s. 7 tests run.
(cd _build/default/test && ./test_io.exe)
Testing `Picos_io'.
This run has ID `2DQFMEAS'.
[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.431s. 6 tests run.
(cd _build/default/test && ./test_io_cohttp.exe)
Uri: //127.0.0.1:48317/hello-io-cohttp
Method: POST
host: 127.0.0.1:48317
user-agent: ocaml-cohttp/v6.0.0_beta2
content-length: 17
Body: It's-a-Me, Picos!
(cd _build/default/test && ./test_structured.exe)
Testing `Picos_structured'.
This run has ID `7JOYIHHV'.
[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.626s. 14 tests run.
(cd _build/default/bench && ./main.exe -brief 'Picos Semaphore')
Picos Semaphore:
acquired yields over time/4 fibers, 1 resource:
0.02 M/s
acquired yields over time/4 fibers, 2 resources:
0.03 M/s
acquired yields over time/4 fibers, 3 resources:
0.04 M/s
acquired yields over time/4 fibers, 4 resources:
0.08 M/s
time per acquired yield/4 fibers, 1 resource:
40360.72 ns
time per acquired yield/4 fibers, 2 resources:
29599.88 ns
time per acquired yield/4 fibers, 3 resources:
24833.97 ns
time per acquired yield/4 fibers, 4 resources:
12806.76 ns
(cd _build/default/bench && ./main.exe -brief 'Picos Spawn')
Picos Spawn:
(cd _build/default/test && ./test_select.exe)
Testing `Picos_select'.
This run has ID `U61N65SB'.
[OK] Intr 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_select'.
Test Successful in 1.620s. 1 test run.
(cd _build/default/test && ./test_io_with_lwt.exe)
Testing `Picos_io_with_lwt'.
This run has ID `M365N41N'.
[OK] Unix 0 system.
Full test results in `/src/_build/default/test/_build/_tests/Picos_io_with_lwt'.
Test Successful in 2.013s. 1 test run.
(cd _build/default/bench && ./main.exe -brief 'Picos Yield')
Picos Yield:
time per yield/100 fibers:
31423.99 ns
time per yield/10 fibers:
14173.79 ns
time per yield/1 fiber:
15955.55 ns
yields over time/100 fibers:
0.03 M/s
yields over time/10 fibers:
0.07 M/s
yields over time/1 fiber:
0.06 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos Cancel_after with Picos_select')
Picos Cancel_after with Picos_select:
async round-trips over time/1 worker:
0.18 M/s
round-trips over time/1 worker:
0.01 M/s
time per async round-trip/1 worker:
5415.27 ns
time per round-trip/1 worker:
72356.49 ns
(cd _build/default/bench && ./main.exe -brief 'Ref with Picos_sync.Mutex')
Ref with Picos_sync.Mutex:
ops over time/cas int (checked):
7.02 M/s
ops over time/cas int (unchecked):
19.99 M/s
ops over time/get (checked):
4.99 M/s
ops over time/get (unchecked):
19.77 M/s
ops over time/incr (checked):
4.90 M/s
ops over time/incr (unchecked):
18.50 M/s
ops over time/push & pop (checked):
4.25 M/s
ops over time/push & pop (unchecked):
16.51 M/s
ops over time/swap (checked):
7.98 M/s
ops over time/swap (unchecked):
16.77 M/s
ops over time/xchg int (checked):
9.60 M/s
ops over time/xchg int (unchecked):
18.06 M/s
time per op/cas int (checked):
142.44 ns
time per op/cas int (unchecked):
50.01 ns
time per op/get (checked):
200.50 ns
time per op/get (unchecked):
50.59 ns
time per op/incr (checked):
203.97 ns
time per op/incr (unchecked):
54.05 ns
time per op/push & pop (checked):
235.36 ns
time per op/push & pop (unchecked):
60.58 ns
time per op/swap (checked):
125.28 ns
time per op/swap (unchecked):
59.63 ns
time per op/xchg int (checked):
104.21 ns
time per op/xchg int (unchecked):
55.37 ns
(cd _build/default/bench && ./main.exe -brief Picos_mpmcq)
Picos_mpmcq:
messages over time/one domain:
16.93 M/s
time per message/one domain:
59.08 ns
(cd _build/default/bench && ./main.exe -brief Picos_mpscq)
Picos_mpscq:
messages over time/one domain:
23.00 M/s
time per message/one domain:
43.48 ns
(cd _build/default/test && /usr/bin/node test_js_of_ocaml.bc.js)
Hello, from js_of_ocaml with Picos!
(cd _build/default/bench && ./main.exe -brief Picos_htbl)
Picos_htbl:
operations over time/1 worker, 10% reads:
7.90 M/s
operations over time/1 worker, 50% reads:
9.09 M/s
operations over time/1 worker, 90% reads:
13.03 M/s
time per operation/1 worker, 10% reads:
126.56 ns
time per operation/1 worker, 50% reads:
110.07 ns
time per operation/1 worker, 90% reads:
76.72 ns
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 2)
Testing `Picos_sync'.
This run has ID `143B1XLK'.
[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.
[SKIP] Non-cancelable ops 0 are not canceled.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 3.474s. 1 test run.
(cd _build/default/bench && ./main.exe -brief Picos_stdio)
Picos_stdio:
blocking reads over time/1 worker:
0.02 M/s
non-blocking reads over time/1 worker:
0.31 M/s
time per blocking read/1 worker:
40386.03 ns
time per non-blocking read/1 worker:
3244.19 ns
(cd _build/default/bench && ./main.exe -brief 'Picos_sync Stream')
Picos_sync Stream:
messages over time/one domain:
7.51 M/s
time per message/one domain:
133.15 ns
(cd _build/default/bench && ./main.exe -brief Fib)
Fib:
(cd _build/default/bench && ./main.exe -brief 'Picos binaries')
Picos binaries:
binary size/picos:
86.36 kB
binary size/picos.domain:
7.56 kB
binary size/picos.thread:
4.31 kB
binary size/picos_aux.htbl:
54.14 kB
binary size/picos_aux.mpmcq:
17.62 kB
binary size/picos_aux.mpscq:
20.38 kB
binary size/picos_aux.rc:
19.68 kB
binary size/picos_io:
96.98 kB
binary size/picos_io.fd:
9.88 kB
binary size/picos_io.select:
62.94 kB
binary size/picos_io_cohttp:
47.04 kB
binary size/picos_mux.thread:
26.71 kB
binary size/picos_std.awaitable:
34.91 kB
binary size/picos_std.event:
26.00 kB
binary size/picos_std.finally:
19.84 kB
binary size/picos_std.structured:
86.16 kB
binary size/picos_std.sync:
121.53 kB
(cd _build/default/bench && ./main.exe -brief 'Bounded_q with Picos_sync')
Bounded_q with Picos_sync:
messages over time/one domain:
5.93 M/s
time per message/one domain:
168.97 ns
(cd _build/default/bench && ./main.exe -brief 'Memory usage')
Memory usage:
(cd _build/default/test && ./test_schedulers.exe)
Testing `Picos schedulers'.
This run has ID `419WPJGM'.
[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 21.449s. 8 tests run.
(cd _build/default/test && ./test_htbl.exe)
random seed: 1649968490473321492
generated error fail pass / total time test name
[â
“] 32 0 0 32 / 32 0.0s Htbl sequential
[✓] 32 0 0 32 / 32 4.0s Htbl concurrent
================================================================================
success (ran 2 tests)
random seed: 1423764112751831937
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Htbl sequential
[✓] 64 0 0 64 / 64 5.4s Htbl concurrent
================================================================================
success (ran 2 tests)
random seed: 4557991296970150188
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.1s Htbl sequential
[✓] 128 0 0 128 / 128 6.4s Htbl concurrent
================================================================================
success (ran 2 tests)
random seed: 3559862239329987860
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.1s Htbl sequential
[✓] 256 0 0 256 / 256 14.5s Htbl concurrent
================================================================================
success (ran 2 tests)
random seed: 3443830706347929619
generated error fail pass / total time test name
[✓] 463 0 0 463 / 463 0.2s Htbl sequential
[✓] 463 0 0 463 / 463 26.7s Htbl concurrent
================================================================================
success (ran 2 tests)
random seed: 4391711456709472184
generated error fail pass / total time test name
[✓] 42 0 0 42 / 42 0.0s Htbl sequential
[✓] 42 0 0 42 / 42 1.8s Htbl concurrent
================================================================================
success (ran 2 tests)
random seed: 3998041514263523690
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Htbl sequential
[✓] 32 0 0 32 / 32 1.1s Htbl concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test && ./test_mpmcq.exe)
random seed: 353978480200031922
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Mpmcq sequential
[✓] 32 0 0 32 / 32 2.8s Mpmcq concurrent
================================================================================
success (ran 2 tests)
random seed: 357649506235887646
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.1s Mpmcq sequential
[✓] 64 0 0 64 / 64 4.9s Mpmcq concurrent
================================================================================
success (ran 2 tests)
random seed: 622028079340084841
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Mpmcq sequential
[✓] 128 0 0 128 / 128 9.5s Mpmcq concurrent
================================================================================
success (ran 2 tests)
random seed: 2705924586142067653
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.1s Mpmcq sequential
[✓] 256 0 0 256 / 256 18.8s Mpmcq concurrent
================================================================================
success (ran 2 tests)
random seed: 3725938551579752157
generated error fail pass / total time test name
[✓] 314 0 0 314 / 314 0.2s Mpmcq sequential
[✓] 314 0 0 314 / 314 14.9s Mpmcq concurrent
================================================================================
success (ran 2 tests)
random seed: 2573279891644208761
generated error fail pass / total time test name
[✓] 134 0 0 134 / 134 0.0s Mpmcq sequential
[✓] 134 0 0 134 / 134 7.4s Mpmcq concurrent
================================================================================
success (ran 2 tests)
random seed: 2616220542846657719
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Mpmcq sequential
[✓] 32 0 0 32 / 32 2.1s Mpmcq concurrent
================================================================================
success (ran 2 tests)
2024-10-24 21:29.59 ---> saved as "2de57a6e1b0f6bbc448f02e982408e397a0e425c8e4ae2a97ca9db21462ca2b5"
Job succeeded
2024-10-24 21:29.59: Job succeeded