2024-10-29 20:00.48: New job: test ocaml-multicore/picos https://github.com/ocaml-multicore/picos.git#refs/heads/experiment-using-shallow-effects (ff7de856884175c169154ec528b0a0ec253dad57) (linux-x86_64:debian-12-5.0_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-5.0@sha256:048d3a9efcac9097d565712e989daef53d8d93dcd58792bf6986c6cc3cc9bcf3
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 ff7de856
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.0@sha256:048d3a9efcac9097d565712e989daef53d8d93dcd58792bf6986c6cc3cc9bcf3
# debian-12-5.0_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 668080c004886a5b499064856b133b42e7d8c649 || git fetch origin master) && git reset -q --hard 668080c004886a5b499064856b133b42e7d8c649 && 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.1 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-x86_64.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.8.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.7 multicore-magic.2.3.0 multicore-magic-dscheck.2.3.0 num.1.5-1 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.9 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.3 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.5 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-10-29 20:00.48: Using cache hint "ocaml-multicore/picos-ocaml/opam:debian-12-ocaml-5.0@sha256:048d3a9efcac9097d565712e989daef53d8d93dcd58792bf6986c6cc3cc9bcf3-debian-12-5.0_opam-2.2-32378b97d7625ee7b24fb8727aec0804"
2024-10-29 20:00.48: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.0@sha256:048d3a9efcac9097d565712e989daef53d8d93dcd58792bf6986c6cc3cc9bcf3)
(comment debian-12-5.0_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 668080c004886a5b499064856b133b42e7d8c649 || git fetch origin master) && git reset -q --hard 668080c004886a5b499064856b133b42e7d8c649 && 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.1 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-x86_64.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.8.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.7 multicore-magic.2.3.0 multicore-magic-dscheck.2.3.0 num.1.5-1 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.9 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.3 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.5 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-10-29 20:00.48: Waiting for resource in pool OCluster
2024-10-29 20:03.44: Waiting for worker…
2024-10-29 20:07.23: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
All commits already cached
HEAD is now at ff7de85 Experiment to use shallow effects in `picos_mux.fifo`
(from ocaml/opam:debian-12-ocaml-5.0@sha256:048d3a9efcac9097d565712e989daef53d8d93dcd58792bf6986c6cc3cc9bcf3)
2024-10-29 20:07.23 ---> using "06fb78b61fbbb43249d328f1c63ee838b7e6066503a39f63e3195b8875abb5a3" from cache
/: (comment debian-12-5.0_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-29 20:07.23 ---> using "12f59978830934afce4fe4347258494e5b604356e4f0449c45630a1052d38b45" 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-29 20:07.23 ---> using "5cf8eb77645a71b14465c154dc0ba24e3c00acef7ec5578f50ee9d3380e0852d" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 5.0.0
2.2.1
2024-10-29 20:07.23 ---> using "4d7d38e3f84ed93d6ff045cb662e8c1dbf1824eef9d5405156d89b473aa7aa5f" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-10-29 20:07.23 ---> using "bbe5096de08dfd2917d6051d325d36ab695301cc38f073e71a65ce0ffb68e8a0" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 668080c004886a5b499064856b133b42e7d8c649 || git fetch origin master) && git reset -q --hard 668080c004886a5b499064856b133b42e7d8c649 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
75006f8c5e..668080c004 master -> origin/master
668080c004 Merge pull request #26805 from toots/opam-publish-sedlex.3.3
<><> 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-29 20:08.46 ---> saved as "03f4bee5928c0683b02dfda24d23dc0ac2cc972db657faa0f9644f39e920a9b1"
/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-29 20:08.46 ---> saved as "694b361ede905918ed501377fd3cc502f937ab3cda39a7302e8d4a615f7a8dc9"
/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-29 20:09.07 ---> saved as "b5665ec6a43d6d4cae5915002760a09243fa08bb086a925eb7c32aa8362106c5"
/src: (env DEPS "alcotest.1.8.0 angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 backoff.0.1.1 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-x86_64.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.8.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.7 multicore-magic.2.3.0 multicore-magic-dscheck.2.3.0 num.1.5-1 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.9 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.3 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.5 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"
- 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 [190 kB]
- Fetched 293 kB in 0s (922 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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.0.0).
[NOTE] Package ocaml is already installed (current version is 5.0.0).
[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-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
- Preparing to unpack .../375-node-is-primitive
2024-10-29 20:10.21 ---> saved as "af50c1844a59aeebde429c799f9ca2994c10b73c276752224202f61c830b51de"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.0.0).
[NOTE] Package ocaml is already installed (current version is 5.0.0).
[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-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.1
- 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.8.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.7
- install multicore-magic 2.3.0
- install multicore-magic-dscheck 2.3.0
- install num 1.5-1
- install ocaml-compiler-libs v0.12.4
- install ocaml-syntax-shims 1.0.0
- install ocaml-version 3.6.9
- 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.3
- 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.5
- 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 astring.0.8.5 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved backoff.0.1.1 (cached)
-> retrieved base.v0.16.3 (cached)
-> retrieved base64.3.5.1 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved bos.0.2.1 (cached)
-> retrieved ca-certs.1.0.0 (cached)
-> retrieved camlp-streams.5.0.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 js_of_ocaml.5.8.2, js_of_ocaml-compiler.5.8.2 (cached)
-> retrieved digestif.1.2.0 (cached)
-> retrieved dune.3.16.0, dune-configurator.3.16.0 (cached)
-> retrieved kdf.1.0.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved lwt.5.8.0 (cached)
-> retrieved magic-mime.1.3.1 (cached)
-> installed cmdliner.1.3.0
-> retrieved mdx.2.4.1 (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> retrieved mtime.2.1.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.5-1 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.3.6.9 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ocplib-endian.1.2 (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 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 ppxlib.0.33.0 (cached)
-> retrieved qcheck-multicoretests-util.0.4, qcheck-stm.0.4 (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.3 (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.5 (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 ocamlbuild.0.15.0
-> installed zarith.1.14
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed uutf.1.0.3
-> installed mtime.2.1.0
-> installed fmt.0.9.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.16.0
-> installed backoff.0.1.1
-> installed csexp.1.5.2
-> installed asn1-combinators.0.3.2
-> installed base64.3.5.1
-> installed camlp-streams.5.0.1
-> 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 gen.1.1
-> installed gmap.0.3.0
-> installed http.6.0.0~beta2
-> installed cppo.1.7.0
-> installed macaddr.5.6.0
-> installed magic-mime.1.3.1
-> installed menhirCST.20240715
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> installed multicore-magic.2.3.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-version.3.6.9
-> installed ohex.0.2.0
-> installed oseq.0.5.1
-> installed ppx_derivers.1.2.1
-> installed psq.0.2.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 re.1.12.0
-> installed ipaddr.5.6.0
-> installed qcheck-core.0.22
-> installed domain-local-await.1.0.1
-> installed yojson.2.2.2
-> installed digestif.1.2.0
-> installed qcheck-multicoretests-util.0.4
-> installed multicore-bench.0.1.7
-> installed qcheck-stm.0.4
-> installed alcotest.1.8.0
-> installed dune-configurator.3.16.0
-> installed parsexp.v0.16.0
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed sexplib.v0.16.0
-> installed mirage-crypto.1.1.0
-> installed containers.3.14
-> installed kdf.1.0.0
-> installed uri.4.4.0
-> installed dscheck.0.5.0
-> installed multicore-magic-dscheck.2.3.0
-> installed lwt.5.8.0
-> installed base.v0.16.3
-> installed menhir.20240715
-> installed ppxlib.0.33.0
-> installed ppx_sexp_conv.v0.16.0
-> installed sedlex.3.3
-> 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 conduit.6.2.3
-> installed cohttp.6.0.0~beta2
-> installed mdx.2.4.1
-> installed bos.0.2.1
-> installed conduit-lwt.6.2.3
-> installed cohttp-lwt.6.0.0~beta2
-> installed mirage-crypto-ec.1.1.0
-> installed x509.1.0.5
-> 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-10-29 20:13.55 ---> saved as "47659fab02b3b38f80abed955bb2b510de30109c75d85b8738414fa3b4d3b1f9"
/src: (copy (src .) (dst /src))
2024-10-29 20:13.55 ---> saved as "6b630a95ebcd39a8791d1e220a86d8427bfc912e174263290c5eac21463c6a24"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test_select.exe)
Testing `Picos_select'.
This run has ID `UMNB5NB6'.
Full test results in `/src/_build/default/test/_build/_tests/Picos_select'.
Test Successful in 0.000s. 0 test run.
(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 A running
Client A connected
Client A wrote 100
Client B running
Client B connected
Client B wrote 100
Server accepted client
Server read 100
Server wrote 50
Server accepting
Server accepted client
Server read 100
Server wrote 50
Server accepting
Client A read 50
Client B read 50
Server and Client test: OK
(cd _build/default/test && ./test_lwt_unix.exe)
Testing `Picos_lwt'.
This run has ID `BDMA1MCE'.
[OK] Basics 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_lwt'.
Test Successful in 0.057s. 1 test run.
(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/test && ./test_finally.exe)
Testing `Picos_finally'.
This run has ID `E7137VZG'.
[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.023s. 2 tests run.
(cd _build/default/test && ./test_sync.exe -- Event 0)
Testing `Picos_sync'.
This run has ID `PMWX1K3V'.
[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.126s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Lazy 0)
Testing `Picos_sync'.
This run has ID `JB4ULKLH'.
[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.016s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Lazy 1)
Testing `Picos_sync'.
This run has ID `FWVYO03U'.
[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.021s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Semaphore 0)
Testing `Picos_sync'.
This run has ID `PEVFPIYP'.
[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.001s. 1 test run.
(cd _build/default/test && ./test_io.exe)
Testing `Picos_io'.
This run has ID `QCFOWYIB'.
[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.528s. 6 tests run.
(cd _build/default/test && ./test_sync.exe -- Semaphore 1)
Testing `Picos_sync'.
This run has ID `XQX7SW1X'.
[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.314s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Non-cancelable ops' 0)
Testing `Picos_sync'.
This run has ID `G9X9AOE0'.
[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/test && ./test_sync.exe -- 'Mutex and Condition' 0)
Testing `Picos_sync'.
This run has ID `BGVW6WH1'.
[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.017s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 1)
Testing `Picos_sync'.
This run has ID `6FUM8ONC'.
[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.011s. 1 test run.
(cd _build/default/test && ./test_structured.exe)
Testing `Picos_structured'.
This run has ID `38KW4A2N'.
[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.758s. 14 tests run.
(cd _build/default/bench && ./main.exe -brief 'Picos Computation')
Picos Computation:
attach detach pairs over time/1 worker:
2.86 M/s
attach detach pairs over time/2 workers:
2.85 M/s
attach detach pairs over time/4 workers:
1.37 M/s
attach detach pairs over time/trivial:
5.32 M/s
time per attach detach pair/1 worker:
350.25 ns
time per attach detach pair/2 workers:
701.32 ns
time per attach detach pair/4 workers:
2923.47 ns
time per attach detach pair/trivial:
187.93 ns
(cd _build/default/test && ./test_io_cohttp.exe)
Uri: //127.0.0.1:58439/hello-io-cohttp
Method: POST
host: 127.0.0.1:58439
user-agent: ocaml-cohttp/v6.0.0_beta2
content-length: 17
Body: It's-a-Me, Picos!
(cd _build/default/bench && ./main.exe -brief 'Picos Current')
Picos Current:
ops over time/1 worker:
8.01 M/s
ops over time/2 workers:
16.88 M/s
ops over time/4 workers:
36.07 M/s
time per op/1 worker:
124.87 ns
time per op/2 workers:
118.50 ns
time per op/4 workers:
110.88 ns
(cd _build/default/test && ./test_picos_dscheck.exe)
Testing `Picos DSCheck'.
This run has ID `60YLXY6L'.
[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 1.164s. 3 tests run.
(cd _build/default/test && ./test_io_with_lwt.exe)
Testing `Picos_io_with_lwt'.
This run has ID `791DQCPK'.
[OK] Unix 0 system.
Full test results in `/src/_build/default/test/_build/_tests/Picos_io_with_lwt'.
Test Successful in 2.080s. 1 test run.
(cd _build/default/bench && ./main.exe -brief 'Picos FLS (excluding Current)')
Picos FLS (excluding Current):
gets over time/1 worker:
96.51 M/s
gets over time/2 workers:
170.64 M/s
gets over time/4 workers:
351.02 M/s
sets over time/1 worker:
61.87 M/s
sets over time/2 workers:
104.99 M/s
sets over time/4 workers:
213.64 M/s
time per get/1 worker:
10.36 ns
time per get/2 workers:
11.72 ns
time per get/4 workers:
11.40 ns
time per set/1 worker:
16.16 ns
time per set/2 workers:
19.05 ns
time per set/4 workers:
18.72 ns
(cd _build/default/test && ./test_mpmcq_dscheck.exe)
Testing `Picos_mpmcq DSCheck'.
This run has ID `PGHXAH8W'.
[OK] Multiple pushes and pops 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_mpmcq DSCheck'.
Test Successful in 2.705s. 1 test run.
(cd _build/default/bench && ./main.exe -brief 'Picos TLS')
Picos TLS:
gets over time/1 worker:
63.05 M/s
gets over time/2 workers:
101.34 M/s
gets over time/4 workers:
247.06 M/s
sets over time/1 worker:
31.07 M/s
sets over time/2 workers:
53.04 M/s
sets over time/4 workers:
106.73 M/s
time per get/1 worker:
15.86 ns
time per get/2 workers:
19.74 ns
time per get/4 workers:
16.19 ns
time per set/1 worker:
32.19 ns
time per set/2 workers:
37.71 ns
time per set/4 workers:
37.48 ns
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 2)
Testing `Picos_sync'.
This run has ID `RJ36GTUT'.
[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 2.821s. 1 test run.
(cd _build/default/bench && ./main.exe -brief 'Picos DLS')
Picos DLS:
gets over time/1 worker:
55.46 M/s
gets over time/2 workers:
116.77 M/s
gets over time/4 workers:
206.59 M/s
sets over time/1 worker:
44.52 M/s
sets over time/2 workers:
86.65 M/s
sets over time/4 workers:
57.03 M/s
time per get/1 worker:
18.03 ns
time per get/2 workers:
17.13 ns
time per get/4 workers:
19.36 ns
time per set/1 worker:
22.46 ns
time per set/2 workers:
23.08 ns
time per set/4 workers:
70.14 ns
(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_schedulers.exe)
Testing `Picos schedulers'.
This run has ID `0WJMHBZ1'.
[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 31.159s. 8 tests run.
(cd _build/default/bench && ./main.exe -brief 'Picos Mutex')
Picos Mutex:
locked yields over time/1024 fibers:
0.13 M/s
locked yields over time/1 fiber:
1.05 M/s
locked yields over time/256 fibers:
0.12 M/s
locked yields over time/2 domains:
0.10 M/s
locked yields over time/2 fibers:
0.55 M/s
locked yields over time/4 domains:
0.01 M/s
locked yields over time/4 fibers:
0.30 M/s
locked yields over time/512 fibers:
0.15 M/s
locked yields over time/8 domains:
0.00 M/s
locked yields over time/8 fibers:
0.43 M/s
time per locked yield/1024 fibers:
7678.34 ns
time per locked yield/1 fiber:
950.89 ns
time per locked yield/256 fibers:
8167.56 ns
time per locked yield/2 domains:
20346.97 ns
time per locked yield/2 fibers:
1822.64 ns
time per locked yield/4 domains:
402176.01 ns
time per locked yield/4 fibers:
3287.78 ns
time per locked yield/512 fibers:
6476.34 ns
time per locked yield/8 domains:
3519412.47 ns
time per locked yield/8 fibers:
2330.85 ns
(cd _build/default/test && ./test_picos.exe)
Testing `Picos'.
This run has ID `CTQQJ1AS'.
[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 46.023s. 7 tests run.
(cd _build/default/bench && ./main.exe -brief 'Picos Semaphore')
Picos Semaphore:
acquired yields over time/4 domains, 1 resource:
0.37 M/s
acquired yields over time/4 domains, 2 resources:
0.97 M/s
acquired yields over time/4 domains, 3 resources:
2.26 M/s
acquired yields over time/4 domains, 4 resources:
3.53 M/s
acquired yields over time/4 fibers, 1 resource:
0.39 M/s
acquired yields over time/4 fibers, 2 resources:
0.53 M/s
acquired yields over time/4 fibers, 3 resources:
0.61 M/s
acquired yields over time/4 fibers, 4 resources:
1.41 M/s
time per acquired yield/4 domains, 1 resource:
10859.42 ns
time per acquired yield/4 domains, 2 resources:
4109.34 ns
time per acquired yield/4 domains, 3 resources:
1766.43 ns
time per acquired yield/4 domains, 4 resources:
1133.24 ns
time per acquired yield/4 fibers, 1 resource:
2565.24 ns
time per acquired yield/4 fibers, 2 resources:
1889.47 ns
time per acquired yield/4 fibers, 3 resources:
1633.52 ns
time per acquired yield/4 fibers, 4 resources:
707.64 ns
(cd _build/default/bench && ./main.exe -brief 'Picos Spawn')
Picos Spawn:
spawns over time/with packed computation:
2.21 M/s
time per spawn/with packed computation:
453.09 ns
(cd _build/default/bench && ./main.exe -brief 'Picos Yield')
Picos Yield:
time per yield/10000 fibers:
504.88 ns
time per yield/1000 fibers:
214.41 ns
time per yield/100 fibers:
177.67 ns
time per yield/10 fibers:
196.71 ns
time per yield/1 fiber:
219.51 ns
yields over time/10000 fibers:
1.98 M/s
yields over time/1000 fibers:
4.66 M/s
yields over time/100 fibers:
5.63 M/s
yields over time/10 fibers:
5.08 M/s
yields over time/1 fiber:
4.56 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.20 M/s
async round-trips over time/2 workers:
0.33 M/s
async round-trips over time/4 workers:
0.57 M/s
round-trips over time/1 worker:
0.04 M/s
round-trips over time/2 workers:
0.07 M/s
round-trips over time/4 workers:
0.13 M/s
time per async round-trip/1 worker:
5117.33 ns
time per async round-trip/2 workers:
6136.92 ns
time per async round-trip/4 workers:
7029.71 ns
time per round-trip/1 worker:
25472.07 ns
time per round-trip/2 workers:
30121.04 ns
time per round-trip/4 workers:
30470.77 ns
(cd _build/default/test && ./test_mpmcq.exe)
random seed: 439832717370078865
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Mpmcq sequential
[✓] 32 0 0 32 / 32 18.2s Mpmcq parallel
================================================================================
success (ran 2 tests)
random seed: 37786666704263
6482
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Mpmcq sequential
[✓] 64 0 0 64 / 64 27.3s Mpmcq parallel
================================================================================
success (ran 2 tests)
random seed: 1908127874761317296
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Mpmcq sequential
[✓] 32 0 0 32 / 32 1.6s Mpmcq parallel
================================================================================
success (ran 2 tests)
random seed: 3856591492462677156
generated error fail pass / total time test name
[✓] 35 0 0 35 / 35 0.0s Mpmcq sequential
[✓] 35 0 0 35 / 35 1.7s Mpmcq parallel
================================================================================
success (ran 2 tests)
random seed: 4579263095982706257
generated error fail pass / total time test name
[✓] 37 0 0 37 / 37 0.0s Mpmcq sequential
[✓] 37 0 0 37 / 37 1.6s Mpmcq parallel
================================================================================
success (ran 2 tests)
random seed: 2810402993619865865
generated error fail pass / total time test name
[✓] 38 0 0 38 / 38 0.0s Mpmcq sequential
[✓] 38 0 0 38 / 38 2.1s Mpmcq parallel
================================================================================
success (ran 2 tests)
random seed: 1042910524764080611
generated error fail pass / total time test name
[✓] 33 0 0 33 / 33 0.0s Mpmcq sequential
[✓] 33 0 0 33 / 33 2.0s Mpmcq parallel
================================================================================
success (ran 2 tests)
random seed: 406674955435362270
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Mpmcq sequential
[✓] 32 0 0 32 / 32 1.2s Mpmcq parallel
================================================================================
success (ran 2 tests)
random seed: 4302916737725974153
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Mpmcq sequential
[✓] 32 0 0 32 / 32 1.4s Mpmcq parallel
================================================================================
success (ran 2 tests)
random seed: 3309486345425878400
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Mpmcq sequential
[✓] 32 0 0 32 / 32 1.6s Mpmcq parallel
================================================================================
success (ran 2 tests)
random seed: 928823234130660475
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Mpmcq sequential
[✓] 32 0 0 32 / 32 1.8s Mpmcq parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test && ./test_htbl.exe)
random seed: 3820475789655640076
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Htbl sequential
[✓] 32 0 0 32 / 32 5.0s Htbl parallel
================================================================================
success (ran 2 tests)
random seed: 3897554266874568163
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Htbl sequential
[✓] 64 0 0 64 / 64 38.5s Htbl parallel
================================================================================
success (ran 2 tests)
random seed: 3301777627545942589
generated error fail pass / total time test name
[✓] 36 0 0 36 / 36 0.0s Htbl sequential
[✓] 36 0 0 36 / 36 3.0s Htbl parallel
================================================================================
success (ran 2 tests)
random seed: 1450640537169219303
generated error fail pass / total time test name
[✓] 38 0 0 38 / 38 0.0s Htbl sequential
[✓] 38 0 0 38 / 38 1.9s Htbl parallel
================================================================================
success (ran 2 tests)
random seed: 1451479089823118307
generated error fail pass / total time test name
[✓] 40 0 0 40 / 40 0.0s Htbl sequential
[✓] 40 0 0 40 / 40 3.2s Htbl parallel
================================================================================
success (ran 2 tests)
random seed: 48437737365053531
generated error fail pass / total time test name
[✓] 34 0 0 34 / 34 0.0s Htbl sequential
[✓] 34 0 0 34 / 34 1.5s Htbl parallel
================================================================================
success (ran 2 tests)
random seed: 547599735661156260
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Htbl sequential
[✓] 32 0 0 32 / 32 1.9s Htbl parallel
================================================================================
success (ran 2 tests)
random seed: 2614134954878837130
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Htbl sequential
[✓] 32 0 0 32 / 32 1.3s Htbl parallel
================================================================================
success (ran 2 tests)
random seed: 85282934135039589
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Htbl sequential
[✓] 32 0 0 32 / 32 3.2s Htbl parallel
================================================================================
success (ran 2 tests)
random seed: 1804069421147829395
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Htbl sequential
[✓] 32 0 0 32 / 32 1.3s Htbl parallel
================================================================================
success (ran 2 tests)
(cd _build/default/bench && ./main.exe -brief 'Ref with Picos_sync.Mutex')
Ref with Picos_sync.Mutex:
ops over time/cas int (checked):
2.46 M/s
ops over time/cas int (unchecked):
9.91 M/s
ops over time/get (checked):
3.12 M/s
ops over time/get (unchecked):
11.41 M/s
ops over time/incr (checked):
3.14 M/s
ops over time/incr (unchecked):
12.39 M/s
ops over time/push & pop (checked):
3.59 M/s
ops over time/push & pop (unchecked):
7.89 M/s
ops over time/swap (checked):
3.11 M/s
ops over time/swap (unchecked):
12.41 M/s
ops over time/xchg int (checked):
2.72 M/s
ops over time/xchg int (unchecked):
11.25 M/s
time per op/cas int (checked):
406.01 ns
time per op/cas int (unchecked):
100.96 ns
time per op/get (checked):
320.24 ns
time per op/get (unchecked):
87.65 ns
time per op/incr (checked):
318.81 ns
time per op/incr (unchecked):
80.73 ns
time per op/push & pop (checked):
278.52 ns
time per op/push & pop (unchecked):
126.71 ns
time per op/swap (checked):
321.74 ns
time per op/swap (unchecked):
80.56 ns
time per op/xchg int (checked):
367.11 ns
time per op/xchg int (unchecked):
88.92 ns
(cd _build/default/bench && ./main.exe -brief Picos_mpmcq)
Picos_mpmcq:
messages over time/1 nb adder, 1 nb taker:
18.54 M/s
messages over time/1 nb adder, 2 nb takers:
6.62 M/s
messages over time/1 nb adder, 4 nb takers:
4.73 M/s
messages over time/2 nb adders, 1 nb taker:
6.26 M/s
messages over time/2 nb adders, 2 nb takers:
9.50 M/s
messages over time/2 nb adders, 4 nb takers:
12.80 M/s
messages over time/4 nb adders, 1 nb taker:
7.65 M/s
messages over time/4 nb adders, 2 nb takers:
8.78 M/s
messages over time/4 nb adders, 4 nb takers:
6.09 M/s
messages over time/one domain:
8.32 M/s
time per message/1 nb adder, 1 nb taker:
107.90 ns
time per message/1 nb adder, 2 nb takers:
453.42 ns
time per message/1 nb adder, 4 nb takers:
1056.77 ns
time per message/2 nb adders, 1 nb taker:
479.14 ns
time per message/2 nb adders, 2 nb takers:
420.96 ns
time per message/2 nb adders, 4 nb takers:
468.66 ns
time per message/4 nb adders, 1 nb taker:
653.83 ns
time per message/4 nb adders, 2 nb takers:
683.02 ns
time per message/4 nb adders, 4 nb takers:
1313.04 ns
time per message/one domain:
120.13 ns
(cd _build/default/test && ./test_mpscq.exe)
random seed: 3251783897232706317
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Mpscq sequential
[✓] 32 0 0 32 / 32 21.2s Mpscq parallel
================================================================================
success (ran 2 tests)
random seed: 1454044708622097596
generated error fail pass / total time test name
[✓] 58 0 0 58 / 58 0.0s Mpscq sequential
[✓] 58 0 0 58 / 58 24.8s Mpscq parallel
================================================================================
success (ran 2 tests)
random seed: 1366026674970135846
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: 2850840760397282294
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Mpscq sequential
[✓] 32 0 0 32 / 32 2.5s Mpscq parallel
================================================================================
success (ran 2 tests)
random seed: 4030925544172934620
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Mpscq sequential
[✓] 32 0 0 32 / 32 3.0s Mpscq parallel
================================================================================
success (ran 2 tests)
random seed: 3480209577895694274
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Mpscq sequential
[✓] 32 0 0 32 / 32 2.1s Mpscq parallel
================================================================================
success (ran 2 tests)
random seed: 3940785742201543934
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Mpscq sequential
[✓] 32 0 0 32 / 32 2.1s Mpscq parallel
================================================================================
success (ran 2 tests)
random seed: 3688286241441070561
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Mpscq sequential
[✓] 32 0 0 32 / 32 0.8s Mpscq parallel
================================================================================
success (ran 2 tests)
random seed: 504685361208261156
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Mpscq sequential
[✓] 32 0 0 32 / 32 1.0s Mpscq parallel
================================================================================
success (ran 2 tests)
random seed: 3390954723516230968
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Mpscq sequential
[✓] 32 0 0 32 / 32 5.7s Mpscq parallel
================================================================================
success (ran 2 tests)
(cd _build/default/bench && ./main.exe -brief Picos_mpscq)
Picos_mpscq:
messages over time/1 nb adder, 1 nb taker:
19.41 M/s
messages over time/2 nb adders, 1 nb taker:
16.92 M/s
messages over time/4 nb adders, 1 nb taker:
5.65 M/s
messages over time/one domain:
10.68 M/s
time per message/1 nb adder, 1 nb taker:
103.05 ns
time per message/2 nb adders, 1 nb taker:
177.34 ns
time per message/4 nb adders, 1 nb taker:
885.69 ns
time per message/one domain:
93.60 ns
(cd _build/default/bench && ./main.exe -brief Picos_htbl)
Picos_htbl:
operations over time/1 worker, 10% reads:
6.18 M/s
operations over time/1 worker, 50% reads:
7.09 M/s
operations over time/1 worker, 90% reads:
10.11 M/s
operations over time/2 workers, 10% reads:
6.34 M/s
operations over time/2 workers, 50% reads:
8.47 M/s
operations over time/2 workers, 90% reads:
16.19 M/s
operations over time/4 workers, 10% reads:
13.04 M/s
operations over time/4 workers, 50% reads:
20.87 M/s
operations over time/4 workers, 90% reads:
29.53 M/s
operations over time/8 workers, 10% reads:
28.94 M/s
operations over time/8 workers, 50% reads:
42.10 M/s
operations over time/8 workers, 90% reads:
58.69 M/s
time per operation/1 worker, 10% reads:
161.82 ns
time per operation/1 worker, 50% reads:
141.06 ns
time per operation/1 worker, 90% reads:
98.93 ns
time per operation/2 workers, 10% reads:
315.44 ns
time per operation/2 workers, 50% reads:
236.00 ns
time per operation/2 workers, 90% reads:
123.55 ns
time per operation/4 workers, 10% reads:
306.69 ns
time per operation/4 workers, 50% reads:
191.64 ns
time per operation/4 workers, 90% reads:
135.44 ns
time per operation/8 workers, 10% reads:
276.48 ns
time per operation/8 workers, 50% reads:
190.01 ns
time per operation/8 workers, 90% reads:
136.31 ns
(cd _build/default/bench && ./main.exe -brief Picos_stdio)
Picos_stdio:
non-blocking reads over time/1 worker:
0.71 M/s
non-blocking reads over time/2 workers:
1.13 M/s
non-blocking reads over time/4 workers:
1.80 M/s
time per non-blocking read/1 worker:
1404.07 ns
time per non-blocking read/2 workers:
1777.20 ns
time per non-blocking read/4 workers:
2217.94 ns
(cd _build/default/bench && ./main.exe -brief 'Picos_sync Stream')
Picos_sync Stream:
messages over time/1 nb pusher, 1 nb reader:
3.93 M/s
messages over time/2 nb pushers, 1 nb reader:
3.54 M/s
messages over time/4 nb pushers, 1 nb reader:
4.33 M/s
messages over time/one domain:
5.92 M/s
time per message/1 nb pusher, 1 nb reader:
508.87 ns
time per message/2 nb pushers, 1 nb reader:
846.89 ns
time per message/4 nb pushers, 1 nb reader:
1154.85 ns
time per message/one domain:
168.98 ns
(cd _build/default/bench && ./main.exe -brief Fib)
Fib:
spawns over time/1 mfifo, fib 20:
0.69 M/s
spawns over time/1 rando, fib 20:
0.35 M/s
spawns over time/2 mfifos, fib 20:
1.07 M/s
spawns over time/2 randos, fib 20:
0.38 M/s
spawns over time/4 mfifos, fib 20:
2.79 M/s
spawns over time/4 randos, fib 20:
0.74 M/s
spawns over time/8 mfifos, fib 20:
3.50 M/s
spawns over time/8 randos, fib 20:
0.99 M/s
time per spawn/1 mfifo, fib 20:
1439.83 ns
time per spawn/1 rando, fib 20:
2850.13 ns
time per spawn/2 mfifos, fib 20:
1877.26 ns
time per spawn/2 randos, fib 20:
5242.25 ns
time per spawn/4 mfifos, fib 20:
1435.77 ns
time per spawn/4 randos, fib 20:
5420.72 ns
time per spawn/8 mfifos, fib 20:
2286.95 ns
time per spawn/8 randos, fib 20:
8056.78 ns
(cd _build/default/bench && ./main.exe -brief 'Picos binaries')
Picos binaries:
binary size/picos:
101.09 kB
binary size/picos.domain:
5.11 kB
binary size/picos.thread:
4.58 kB
binary size/picos_aux.htbl:
56.94 kB
binary size/picos_aux.mpmcq:
18.08 kB
binary size/picos_aux.mpscq:
21.65 kB
binary size/picos_aux.rc:
20.59 kB
binary size/picos_io:
121.56 kB
binary size/picos_io.fd:
11.06 kB
binary size/picos_io.select:
68.20 kB
binary size/picos_io_cohttp:
51.02 kB
binary size/picos_lwt:
33.04 kB
binary size/picos_lwt.unix:
16.92 kB
binary size/picos_mux.fifo:
31.14 kB
binary size/picos_mux.multififo:
67.80 kB
binary size/picos_mux.random:
54.87 kB
binary size/picos_mux.thread:
28.58 kB
binary size/picos_std.awaitable:
38.71 kB
binary size/picos_std.event:
27.45 kB
binary size/picos_std.finally:
21.81 kB
binary size/picos_std.structured:
94.10 kB
binary size/picos_std.sync:
130.38 kB
(cd _build/default/bench && ./main.exe -brief 'Bounded_q with Picos_sync')
Bounded_q with Picos_sync:
messages over time/1 adder, 1 taker:
4.04 M/s
messages over time/1 adder, 2 takers:
0.30 M/s
messages over time/1 adder, 4 takers:
0.12 M/s
messages over time/2 adders, 1 taker:
0.30 M/s
messages over time/2 adders, 2 takers:
0.22 M/s
messages over time/2 adders, 4 takers:
0.15 M/s
messages over time/4 adders, 1 taker:
0.25 M/s
messages over time/4 adders, 2 takers:
0.24 M/s
messages over time/4 adders, 4 takers:
0.20 M/s
messages over time/one domain:
3.14 M/s
time per message/1 adder, 1 taker:
534.55 ns
time per message/1 adder, 2 takers:
9969.32 ns
time per message/1 adder, 4 takers:
41324.93 ns
time per message/2 adders, 1 taker:
9919.40 ns
time per message/2 adders, 2 takers:
18218.77 ns
time per message/2 adders, 4 takers:
38964.38 ns
time per message/4 adders, 1 taker:
20334.90 ns
time per message/4 adders, 2 takers:
24775.91 ns
time per message/4 adders, 4 takers:
39987.25 ns
time per message/one domain:
318.75 ns
(cd _build/default/bench && ./main.exe -brief 'Memory usage')
Memory usage:
stack and heap used/Fun.protect:
80.00 B
stack and heap used/fiber in a bundle:
224.00 B
stack and heap used/fiber in a flock:
240.00 B
stack and heap used/fiber with shared computation & latch:
224.00 B
stack and heap used/finally:
48.00 B
stack and heap used/instantiate:
96.00 B
stack and heap used/join_after bundle:
280.00 B
stack and heap used/join_after flock:
280.00 B
stack and heap used/lastly:
32.00 B
stack and heap used/promise in a bundle:
344.00 B
stack and heap used/promise in a flock:
360.00 B
2024-10-29 20:15.25 ---> saved as "5400c5ddc6cb7e7e6ef6d76cf0e017a58978655a1f61781206c31dad0f59dfac"
Job succeeded
2024-10-29 20:15.25: Job succeeded