2024-09-18 15:15.05: New job: test ocaml-multicore/picos https://github.com/ocaml-multicore/picos.git#refs/heads/add-full-cml-support (82df273ac9f56460010f9b12e1dd60e395146a2a) (linux-arm64:debian-12-5.2_arm64_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-5.2@sha256:8a12f87ca39d32652b63f70cb4a7986663b03aa9c7c3fee5d1d6dd77d02a29b6
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/picos.git" -b "add-full-cml-support" && cd "picos" && git reset --hard 82df273a
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.2@sha256:8a12f87ca39d32652b63f70cb4a7986663b03aa9c7c3fee5d1d6dd77d02a29b6
# debian-12-5.2_arm64_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 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 picos_std.opam picos_mux.opam picos_meta.opam picos_lwt.opam picos_io_cohttp.opam picos_io.opam picos_aux.opam picos.opam ./
RUN opam pin add -yn picos_std.dev './' && \
opam pin add -yn picos_mux.dev './' && \
opam pin add -yn picos_meta.dev './' && \
opam pin add -yn picos_lwt.dev './' && \
opam pin add -yn picos_io_cohttp.dev './' && \
opam pin add -yn picos_io.dev './' && \
opam pin add -yn picos_aux.dev './' && \
opam pin add -yn picos.dev './'
ENV DEPS="alcotest.1.8.0 angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 backoff.0.1.0 base.v0.17.1 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-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-arm64.1 host-system-other.1 http.6.0.0~beta2 ipaddr.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.5.8.2 js_of_ocaml-compiler.5.8.2 kdf.1.0.0 logs.0.7.0 lwt.5.7.0 macaddr.5.6.0 magic-mime.1.3.1 mdx.2.4.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-crypto.1.1.0 mirage-crypto-ec.1.1.0 mirage-crypto-pk.1.1.0 mirage-crypto-rng.1.1.0 mtime.2.1.0 multicore-bench.0.1.5 multicore-magic.2.3.0 multicore-magic-dscheck.2.3.0 num.1.5-1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ohex.0.2.0 oseq.0.5.1 parsexp.v0.17.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.0 ppxlib.0.33.0 ppxlib_jane.v0.17.0 psq.0.2.1 ptime.1.2.0 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 rresult.0.7.0 sedlex.3.2 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 stringext.1.6.0 thread-local-storage.0.2 thread-table.1.0.0 topkg.1.0.7 tsort.2.1.0 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 x509.1.0.3 yojson.2.2.2 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y picos_std.dev picos_mux.dev picos_meta.dev picos_lwt.dev picos_io_cohttp.dev picos_io.dev picos_aux.dev picos.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-09-18 15:15.05: Using cache hint "ocaml-multicore/picos-ocaml/opam:debian-12-ocaml-5.2@sha256:8a12f87ca39d32652b63f70cb4a7986663b03aa9c7c3fee5d1d6dd77d02a29b6-debian-12-5.2_arm64_opam-2.2-3cdf6818aff199e35c1b0ab166e8dd77"
2024-09-18 15:15.05: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.2@sha256:8a12f87ca39d32652b63f70cb4a7986663b03aa9c7c3fee5d1d6dd77d02a29b6)
(comment debian-12-5.2_arm64_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 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src picos_std.opam picos_mux.opam picos_meta.opam picos_lwt.opam picos_io_cohttp.opam picos_io.opam picos_aux.opam picos.opam)
(dst ./))
(run (network host)
(shell "opam pin add -yn picos_std.dev './' && \
\nopam pin add -yn picos_mux.dev './' && \
\nopam pin add -yn picos_meta.dev './' && \
\nopam pin add -yn picos_lwt.dev './' && \
\nopam pin add -yn picos_io_cohttp.dev './' && \
\nopam pin add -yn picos_io.dev './' && \
\nopam pin add -yn picos_aux.dev './' && \
\nopam pin add -yn picos.dev './'"))
(env DEPS "alcotest.1.8.0 angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 backoff.0.1.0 base.v0.17.1 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-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-arm64.1 host-system-other.1 http.6.0.0~beta2 ipaddr.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.5.8.2 js_of_ocaml-compiler.5.8.2 kdf.1.0.0 logs.0.7.0 lwt.5.7.0 macaddr.5.6.0 magic-mime.1.3.1 mdx.2.4.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-crypto.1.1.0 mirage-crypto-ec.1.1.0 mirage-crypto-pk.1.1.0 mirage-crypto-rng.1.1.0 mtime.2.1.0 multicore-bench.0.1.5 multicore-magic.2.3.0 multicore-magic-dscheck.2.3.0 num.1.5-1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ohex.0.2.0 oseq.0.5.1 parsexp.v0.17.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.0 ppxlib.0.33.0 ppxlib_jane.v0.17.0 psq.0.2.1 ptime.1.2.0 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 rresult.0.7.0 sedlex.3.2 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 stringext.1.6.0 thread-local-storage.0.2 thread-table.1.0.0 topkg.1.0.7 tsort.2.1.0 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 x509.1.0.3 yojson.2.2.2 zarith.1.14")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.2 --depext-only -y picos_std.dev picos_mux.dev picos_meta.dev picos_lwt.dev picos_io_cohttp.dev picos_io.dev picos_aux.dev picos.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2024-09-18 15:15.05: Waiting for resource in pool OCluster
2024-09-18 19:08.02: Waiting for worker…
2024-09-18 20:59.43: Got resource from pool OCluster
Building on molpadia.caelum.ci.dev
All commits already cached
HEAD is now at 82df273a Hmm...
(from ocaml/opam:debian-12-ocaml-5.2@sha256:8a12f87ca39d32652b63f70cb4a7986663b03aa9c7c3fee5d1d6dd77d02a29b6)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.2@sha256:8a12f87ca39d32652b63f70cb4a7986663b03aa9c7c3fee5d1d6dd77d02a29b6' locally
docker.io/ocaml/opam@sha256:8a12f87ca39d32652b63f70cb4a7986663b03aa9c7c3fee5d1d6dd77d02a29b6: Pulling from ocaml/opam
24e337f7a758: Already exists
44eee4c25c0b: Pulling fs layer
2b25fc2b2c4c: Pulling fs layer
eb4054984cde: Pulling fs layer
fe9971c690d9: Pulling fs layer
dc0c90176468: Pulling fs layer
7a494a2d27d6: Pulling fs layer
11f859e6c0b5: Pulling fs layer
dc0c90176468: Waiting
fe9971c690d9: Waiting
11f859e6c0b5: Waiting
7a494a2d27d6: Waiting
2b25fc2b2c4c: Download complete
eb4054984cde: Verifying Checksum
eb4054984cde: Download complete
44eee4c25c0b: Verifying Checksum
44eee4c25c0b: Pull complete
2b25fc2b2c4c: Pull complete
eb4054984cde: Pull complete
dc0c90176468: Verifying Checksum
dc0c90176468: Download complete
7a494a2d27d6: Verifying Checksum
7a494a2d27d6: Download complete
11f859e6c0b5: Download complete
fe9971c690d9: Verifying Checksum
fe9971c690d9: Download complete
fe9971c690d9: Pull complete
dc0c90176468: Pull complete
7a494a2d27d6: Pull complete
11f859e6c0b5: Pull complete
Digest: sha256:8a12f87ca39d32652b63f70cb4a7986663b03aa9c7c3fee5d1d6dd77d02a29b6
Status: Downloaded newer image for ocaml/opam@sha256:8a12f87ca39d32652b63f70cb4a7986663b03aa9c7c3fee5d1d6dd77d02a29b6
2024-09-18 20:59.43 ---> using "287eac288dc1824bb6744f73eabb39a90d4262cae5d9ee6a509405c16319b6dc" from cache
/: (comment debian-12-5.2_arm64_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-09-18 20:59.43 ---> using "2cefd8c1a99228bf0359d3a3d6d71975896684e1d0098bf319a7a8ed13d15e9c" from cache
/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
Continue? [y/n] y
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.
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-09-18 20:59.43 ---> using "133211100f437c70cc205f8e0b49b2310645fa6187a6135dea0ebf4ad76e1ddb" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-119-generic
The OCaml toplevel, version 5.2.0
2.2.1
2024-09-18 20:59.43 ---> using "be7550126bf8e117d68b3e953c67587f2b3a09f22a0e7a17e94e4e79ea0e47e6" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-09-18 20:59.43 ---> using "18b739063ca576bb4c2f2682415f78a62fad31478b87a1f1e1a9cbe41f8f7767" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
e89899ac28..45f961713f master -> origin/master
45f961713f Merge pull request #26585 from dra27/trunk-tweaks
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-09-18 20:59.43 ---> using "34c16c18c8593fb656c5af2bed91fc1c69f99f5cba4e3cf93f1d347f5446c3db" from cache
/src: (copy (src picos_std.opam picos_mux.opam picos_meta.opam picos_lwt.opam picos_io_cohttp.opam picos_io.opam picos_aux.opam picos.opam)
(dst ./))
2024-09-18 20:59.43 ---> using "d52badb9d08ce85ee8aa188f9cf0fc1f9df74229bda4c48a4c3d4461ff80c231" from cache
/src: (run (network host)
(shell "opam pin add -yn picos_std.dev './' && \
\nopam pin add -yn picos_mux.dev './' && \
\nopam pin add -yn picos_meta.dev './' && \
\nopam pin add -yn picos_lwt.dev './' && \
\nopam pin add -yn picos_io_cohttp.dev './' && \
\nopam pin add -yn picos_io.dev './' && \
\nopam pin add -yn picos_aux.dev './' && \
\nopam pin add -yn picos.dev './'"))
[picos_std.dev] synchronised (file:///src)
picos_std is now pinned to file:///src (version dev)
[picos_mux.dev] synchronised (file:///src)
picos_mux is now pinned to file:///src (version dev)
[picos_meta.dev] synchronised (file:///src)
picos_meta is now pinned to file:///src (version dev)
[picos_lwt.dev] synchronised (file:///src)
picos_lwt is now pinned to file:///src (version dev)
[picos_io_cohttp.dev] synchronised (file:///src)
picos_io_cohttp is now pinned to file:///src (version dev)
[picos_io.dev] synchronised (file:///src)
picos_io is now pinned to file:///src (version dev)
[picos_aux.dev] synchronised (file:///src)
picos_aux is now pinned to file:///src (version dev)
[picos.dev] synchronised (file:///src)
picos is now pinned to file:///src (version dev)
2024-09-18 20:59.43 ---> using "eaa2bec3f3ffadeefe8fe0e24305b5003d783c10f55370cb1c5b71545f564cdb" from cache
/src: (env DEPS "alcotest.1.8.0 angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 backoff.0.1.0 base.v0.17.1 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-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-arm64.1 host-system-other.1 http.6.0.0~beta2 ipaddr.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.5.8.2 js_of_ocaml-compiler.5.8.2 kdf.1.0.0 logs.0.7.0 lwt.5.7.0 macaddr.5.6.0 magic-mime.1.3.1 mdx.2.4.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-crypto.1.1.0 mirage-crypto-ec.1.1.0 mirage-crypto-pk.1.1.0 mirage-crypto-rng.1.1.0 mtime.2.1.0 multicore-bench.0.1.5 multicore-magic.2.3.0 multicore-magic-dscheck.2.3.0 num.1.5-1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.6.8 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ohex.0.2.0 oseq.0.5.1 parsexp.v0.17.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.0 ppxlib.0.33.0 ppxlib_jane.v0.17.0 psq.0.2.1 ptime.1.2.0 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 re.1.12.0 result.1.5 rresult.0.7.0 sedlex.3.2 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 stringext.1.6.0 thread-local-storage.0.2 thread-table.1.0.0 topkg.1.0.7 tsort.2.1.0 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 x509.1.0.3 yojson.2.2.2 zarith.1.14")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.2 --depext-only -y picos_std.dev picos_mux.dev picos_meta.dev picos_lwt.dev picos_io_cohttp.dev picos_io.dev picos_aux.dev picos.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm/main arm64 Packages [8689 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main arm64 Packages.diff/Index [11.7 kB]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages [179 kB]
- Get:7 http://deb.debian.org/debian bookworm-updates/main arm64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1115 B]
- Get:7 http://deb.debian.org/debian bookworm-updates/main arm64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1115 B]
- Fetched 9135 kB in 1s (7311 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.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-arm64 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
- Prepari
2024-09-18 20:59.43 ---> using "4c21f6c18433cf2b73a25a18c859068f0151522e8b810360f181dc097b253497" 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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-arm64 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 102 packages
- install alcotest 1.8.0
- install angstrom 0.16.1
- install asn1-combinators 0.3.2
- install astring 0.8.5
- install backoff 0.1.0
- install base v0.17.1
- 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-gmp 4
- install conf-gmp-powm-sec 3
- install conf-npm 1
- install conf-pkg-config 3
- install containers 3.14
- install cppo 1.7.0
- install csexp 1.5.2
- install digestif 1.2.0
- install domain-local-await 1.0.1
- install domain-name 0.4.0
- install domain_shims 0.1.0
- install dscheck 0.5.0
- install dune 3.16.0
- install dune-configurator 3.16.0
- install duration 0.2.1
- install either 1.0.0
- install eqaf 0.10
- install fmt 0.9.0
- install fpath 0.7.3
- install gen 1.1
- install gmap 0.3.0
- install http 6.0.0~beta2
- install ipaddr 5.6.0
- install ipaddr-sexp 5.6.0
- install js_of_ocaml 5.8.2
- install js_of_ocaml-compiler 5.8.2
- install kdf 1.0.0
- install logs 0.7.0
- install lwt 5.7.0
- install macaddr 5.6.0
- install magic-mime 1.3.1
- install mdx 2.4.1
- install menhir 20240715
- install menhirCST 20240715
- install menhirLib 20240715
- install menhirSdk 20240715
- install mirage-crypto 1.1.0
- install mirage-crypto-ec 1.1.0
- install mirage-crypto-pk 1.1.0
- install mirage-crypto-rng 1.1.0
- install mtime 2.1.0
- install multicore-bench 0.1.5
- install multicore-magic 2.3.0
- install multicore-magic-dscheck 2.3.0
- install num 1.5-1
- install ocaml-compiler-libs v0.17.0
- install ocaml-syntax-shims 1.0.0
- install ocaml-version 3.6.8
- install ocaml_intrinsics_kernel v0.17.1
- 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.17.0
- install ppx_derivers 1.2.1
- install ppx_sexp_conv v0.17.0
- install ppxlib 0.33.0
- install ppxlib_jane v0.17.0
- install psq 0.2.1
- install ptime 1.2.0
- install qcheck-core 0.22
- install qcheck-multicoretests-util 0.4
- install qcheck-stm 0.4
- install re 1.12.0
- install result 1.5
- install rresult 0.7.0
- install sedlex 3.2
- install seq base
- install sexplib v0.17.0
- install sexplib0 v0.17.0
- install stdlib-shims 0.3.0
- install stringext 1.6.0
- install thread-local-storage 0.2
- install thread-table 1.0.0
- install topkg 1.0.7
- install tsort 2.1.0
- install uri 4.4.0
- install uri-sexp 4.4.0
- install uutf 1.0.3
- install x509 1.0.3
- install yojson 2.2.2
- install zarith 1.14
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved asn1-combinators.0.3.2 (cached)
-> retrieved angstrom.0.16.1 (cached)
-> retrieved backoff.0.1.0 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved base.v0.17.1 (cached)
-> retrieved base64.3.5.1 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved bos.0.2.1 (cached)
-> retrieved ca-certs.1.0.0 (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-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)
-> retrieved digestif.1.2.0 (cached)
-> installed conf-npm.1
-> retrieved kdf.1.0.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved lwt.5.7.0 (cached)
-> retrieved dune.3.16.0, dune-configurator.3.16.0 (cached)
-> retrieved js_of_ocaml.5.8.2, js_of_ocaml-compiler.5.8.2 (cached)
-> retrieved magic-mime.1.3.1 (cached)
-> retrieved mdx.2.4.1 (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> retrieved mirage-crypto.1.1.0, mirage-crypto-ec.1.1.0, mirage-crypto-pk.1.1.0, mirage-crypto-rng.1.1.0 (cached)
-> retrieved mtime.2.1.0 (cached)
-> installed cmdliner.1.3.0
-> retrieved multicore-bench.0.1.5 (cached)
-> retrieved multicore-magic.2.3.0, multicore-magic-dscheck.2.3.0 (cached)
-> retrieved num.1.5-1 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.3.6.8 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (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 ppx_derivers.1.2.1 (cached)
-> retrieved parsexp.v0.17.0 (cached)
-> retrieved ppx_sexp_conv.v0.17.0 (cached)
-> retrieved ppxlib_jane.v0.17.0 (cached)
-> retrieved ppxlib.0.33.0 (cached)
-> retrieved psq.0.2.1 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved qcheck-core.0.22 (cached)
-> retrieved qcheck-multicoretests-util.0.4, qcheck-stm.0.4 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved rresult.0.7.0 (cached)
-> retrieved sedlex.3.2 (cached)
-> retrieved sexplib.v0.17.0 (cached)
-> retrieved sexplib0.v0.17.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 topkg.1.0.7 (cached)
-> retrieved tsort.2.1.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved uri.4.4.0, uri-sexp.4.4.0 (cached)
-> retrieved x509.1.0.3 (cached)
-> retrieved zarith.1.14 (cached)
-> retrieved yojson.2.2.2 (cached)
-> installed num.1.5-1
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed zarith.1.14
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed 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 dune.3.16.0
-> installed fpath.0.7.3
-> installed backoff.0.1.0
-> installed base64.3.5.1
-> installed camlp-streams.5.0.1
-> installed csexp.1.5.2
-> installed asn1-combinators.0.3.2
-> installed cppo.1.7.0
-> 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 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.17.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-version.3.6.8
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed ohex.0.2.0
-> installed oseq.0.5.1
-> installed ppx_derivers.1.2.1
-> installed psq.0.2.1
-> installed qcheck-core.0.22
-> installed re.1.12.0
-> installed result.1.5
-> installed sexplib0.v0.17.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 yojson.2.2.2
-> installed ocplib-endian.1.2
-> installed ipaddr.5.6.0
-> installed qcheck-multicoretests-util.0.4
-> installed digestif.1.2.0
-> installed domain-local-await.1.0.1
-> installed qcheck-stm.0.4
-> installed multicore-bench.0.1.5
-> installed alcotest.1.8.0
-> installed parsexp.v0.17.0
-> installed dune-configurator.3.16.0
-> installed bigstringaf.0.10.0
-> installed sexplib.v0.17.0
-> installed angstrom.0.16.1
-> installed mirage-crypto.1.1.0
-> installed kdf.1.0.0
-> installed containers.3.14
-> installed dscheck.0.5.0
-> installed multicore-magic-dscheck.2.3.0
-> installed lwt.5.7.0
-> installed uri.4.4.0
-> installed base.v0.17.1
-> installed menhir.20240715
-> installed ppxlib.0.33.0
-> installed ppxlib_jane.v0.17.0
-> installed sedlex.3.2
-> installed ppx_sexp_conv.v0.17.0
-> 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 mirage-crypto-ec.1.1.0
-> installed cohttp-lwt.6.0.0~beta2
-> installed x509.1.0.3
-> installed ca-certs.1.0.0
-> installed conduit-lwt-unix.6.2.3
-> installed cohttp-lwt-unix.6.0.0~beta2
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-18 20:59.43 ---> using "22884ec310b42e0792db0756424da152e6e84ef1d5d619b7b50b366ed60b4a28" from cache
/src: (copy (src .) (dst /src))
2024-09-18 20:59.43 ---> saved as "11118b2c1e50115e30d43ca1c45609e283d2a547f80610acff2d47ba2675c39b"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test_server_and_client.exe)
Using non-blocking sockets and fibers on OCaml 5:
Recursive server running
Server listening
Client B running
Server accepting
Server accepted client
Client A running
Client B connected
Client B wrote 100
Server accepting
Server accepted client
Client A connected
Client A wrote 100
Server read 100
Server wrote 50
Server accepting
Server read 100
Server wrote 50
Client B read 50
Client A read 50
Server and Client test: OK
(cd _build/default/test && ./test_lwt_unix.exe)
Testing `Picos_lwt'.
This run has ID `QC2S01KI'.
[OK] Basics 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_lwt'.
Test Successful in 0.050s. 1 test run.
(cd _build/default/test && ./test_finally.exe)
Testing `Picos_finally'.
This run has ID `S3KQABZ2'.
[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/test && ./test_picos_lwt_unix_with_cohttp.exe)
Unix.Unix_error(Unix.ECONNREFUSED, "connect", "")
(cd _build/default/test && ./test_sync.exe -- Event 0)
Testing `Picos_sync'.
This run has ID `QKN93AHY'.
[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] Ch 0 basics.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.101s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Ch 0)
Testing `Picos_sync'.
This run has ID `8PQT3EVR'.
[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] Ch 0 basics.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.002s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Lazy 0)
Testing `Picos_sync'.
This run has ID `MLPVOJN3'.
[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] Ch 0 basics.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.001s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Lazy 1)
Testing `Picos_sync'.
This run has ID `IITVCYEF'.
[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] Ch 0 basics.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.001s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Semaphore 0)
Testing `Picos_sync'.
This run has ID `TYS82RAJ'.
[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] Ch 0 basics.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.001s. 1 test run.
(cd _build/default/bench && ./main.exe -brief 'Picos Computation')
Picos Computation:
time per attach detach pair/trivial:
59.55 ns
attach detach pairs over time/trivial:
16.79 M/s
time per attach detach pair/1 worker:
135.54 ns
attach detach pairs over time/1 worker:
7.38 M/s
time per attach detach pair/2 workers:
270.13 ns
attach detach pairs over time/2 workers:
7.40 M/s
time per attach detach pair/4 workers:
581.93 ns
attach detach pairs over time/4 workers:
6.87 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos Current')
Picos Current:
time per op/1 worker:
29.94 ns
ops over time/1 worker:
33.40 M/s
time per op/2 workers:
30.79 ns
ops over time/2 workers:
64.96 M/s
time per op/4 workers:
41.97 ns
ops over time/4 workers:
95.32 M/s
(cd _build/default/test && ./test_picos_dscheck.exe)
Testing `Picos DSCheck'.
This run has ID `TNP910CM'.
[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 0.336s. 3 tests run.
(cd _build/default/test && ./test_io.exe)
Testing `Picos_io'.
This run has ID `WNQYHPK0'.
[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.469s. 6 tests run.
(cd _build/default/test && ./test_io_cohttp.exe)
Uri: //127.0.0.1:43327/hello-io-cohttp
Method: POST
host: 127.0.0.1:43327
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 FLS (excluding Current)')
Picos FLS (excluding Current):
time per get/1 worker:
4.72 ns
gets over time/1 worker:
211.77 M/s
time per set/1 worker:
12.62 ns
sets over time/1 worker:
79.26 M/s
time per get/2 workers:
4.79 ns
gets over time/2 workers:
417.84 M/s
time per set/2 workers:
12.93 ns
sets over time/2 workers:
154.64 M/s
time per get/4 workers:
5.10 ns
gets over time/4 workers:
783.91 M/s
time per set/4 workers:
12.75 ns
sets over time/4 workers:
313.75 M/s
(cd _build/default/test && ./test_structured.exe)
Testing `Picos_structured'.
This run has ID `V8GRZ18I'.
[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.654s. 14 tests run.
(cd _build/default/test && ./test_mpmcq_dscheck.exe)
Testing `Picos_mpmcq DSCheck'.
This run has ID `VHU3I41U'.
[OK] Multiple pushes and pops 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_mpmcq DSCheck'.
Test Successful in 1.210s. 1 test run.
(cd _build/default/bench && ./main.exe -brief 'Picos TLS')
Picos TLS:
time per get/1 worker:
7.92 ns
gets over time/1 worker:
126.33 M/s
time per set/1 worker:
19.94 ns
sets over time/1 worker:
50.14 M/s
time per get/2 workers:
8.01 ns
gets over time/2 workers:
249.63 M/s
time per set/2 workers:
19.81 ns
sets over time/2 workers:
100.98 M/s
time per get/4 workers:
8.02 ns
gets over time/4 workers:
498.87 M/s
time per set/4 workers:
19.37 ns
sets over time/4 workers:
206.53 M/s
(cd _build/default/test && ./test_select.exe)
Testing `Picos_select'.
This run has ID `J5TCC335'.
[OK] Intr 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_select'.
Test Successful in 1.707s. 1 test run.
(cd _build/default/bench && ./main.exe -brief 'Picos DLS')
Picos DLS:
time per get/1 worker:
7.07 ns
gets over time/1 worker:
141.37 M/s
time per set/1 worker:
12.98 ns
sets over time/1 worker:
77.06 M/s
time per get/2 workers:
7.38 ns
gets over time/2 workers:
271.18 M/s
time per set/2 workers:
13.30 ns
sets over time/2 workers:
150.35 M/s
time per get/4 workers:
7.11 ns
gets over time/4 workers:
562.27 M/s
time per set/4 workers:
23.33 ns
sets over time/4 workers:
171.44 M/s
(cd _build/default/test && ./test_sync.exe -- Semaphore 1)
Testing `Picos_sync'.
This run has ID `6DDPBAUW'.
[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] Ch 0 basics.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 1.425s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 0)
Testing `Picos_sync'.
This run has ID `1WFP8CYR'.
[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] Ch 0 basics.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.002s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 1)
Testing `Picos_sync'.
This run has ID `SQ1DGFXI'.
[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] Ch 0 basics.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 0.002s. 1 test run.
(cd _build/default/test && /usr/bin/node test_js_of_ocaml.bc.js)
Hello, from js_of_ocaml with Picos!
(cd _build/default/test && ./test_io_with_lwt.exe)
Testing `Picos_io_with_lwt'.
This run has ID `MEF6VE7J'.
[OK] Unix 0 system.
Full test results in `/src/_build/default/test/_build/_tests/Picos_io_with_lwt'.
Test Successful in 2.019s. 1 test run.
(cd _build/default/test && ./test_picos.exe)
Testing `Picos'.
This run has ID `2LIK5XVS'.
[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 2.055s. 7 tests run.
(cd _build/default/bench && ./main.exe -brief 'Picos Mutex')
Picos Mutex:
time per locked yield/1 fiber:
240.47 ns
locked yields over time/1 fiber:
4.16 M/s
time per locked yield/2 fibers:
406.86 ns
locked yields over time/2 fibers:
2.46 M/s
time per locked yield/4 fibers:
568.88 ns
locked yields over time/4 fibers:
1.76 M/s
time per locked yield/8 fibers:
549.99 ns
locked yields over time/8 fibers:
1.82 M/s
time per locked yield/256 fibers:
608.33 ns
locked yields over time/256 fibers:
1.64 M/s
time per locked yield/512 fibers:
645.77 ns
locked yields over time/512 fibers:
1.55 M/s
time per locked yield/1024 fibers:
719.71 ns
locked yields over time/1024 fibers:
1.39 M/s
time per locked yield/2 domains:
2920.75 ns
locked yields over time/2 domains:
0.68 M/s
time per locked yield/4 domains:
6723.15 ns
locked yields over time/4 domains:
0.59 M/s
time per locked yield/8 domains:
17395.90 ns
locked yields over time/8 domains:
0.46 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos Semaphore')
Picos Semaphore:
time per acquired yield/4 fibers, 1 resource:
1196.49 ns
acquired yields over time/4 fibers, 1 resource:
0.84 M/s
time per acquired yield/4 fibers, 2 resources:
828.23 ns
acquired yields over time/4 fibers, 2 resources:
1.21 M/s
time per acquired yield/4 fibers, 3 resources:
609.24 ns
acquired yields over time/4 fibers, 3 resources:
1.64 M/s
time per acquired yield/4 fibers, 4 resources:
222.36 ns
acquired yields over time/4 fibers, 4 resources:
4.50 M/s
time per acquired yield/4 domains, 1 resource:
5535.98 ns
acquired yields over time/4 domains, 1 resource:
0.72 M/s
time per acquired yield/4 domains, 2 resources:
2538.71 ns
acquired yields over time/4 domains, 2 resources:
1.58 M/s
time per acquired yield/4 domains, 3 resources:
971.08 ns
acquired yields over time/4 domains, 3 resources:
4.12 M/s
time per acquired yield/4 domains, 4 resources:
463.72 ns
acquired yields over time/4 domains, 4 resources:
8.65 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos Spawn')
Picos Spawn:
time per spawn/with packed computation:
144.70 ns
spawns over time/with packed computation:
6.91 M/s
(cd _build/default/test && ./test_schedulers.exe)
Testing `Picos schedulers'.
This run has ID `GAY3W4M3'.
[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 5.248s. 8 tests run.
(cd _build/default/bench && ./main.exe -brief 'Picos Yield')
Picos Yield:
time per yield/1 fiber:
96.37 ns
yields over time/1 fiber:
10.38 M/s
time per yield/10 fibers:
85.54 ns
yields over time/10 fibers:
11.69 M/s
time per yield/100 fibers:
87.66 ns
yields over time/100 fibers:
11.41 M/s
time per yield/1000 fibers:
116.79 ns
yields over time/1000 fibers:
8.56 M/s
time per yield/10000 fibers:
217.05 ns
yields over time/10000 fibers:
4.61 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos Cancel_after with Picos_select')
Picos Cancel_after with Picos_select:
time per round-trip/1 worker:
14131.97 ns
round-trips over time/1 worker:
0.07 M/s
time per round-trip/2 workers:
14791.18 ns
round-trips over time/2 workers:
0.14 M/s
time per round-trip/4 workers:
16844.96 ns
round-trips over time/4 workers:
0.24 M/s
time per async round-trip/1 worker:
2575.81 ns
async round-trips over time/1 worker:
0.39 M/s
time per async round-trip/2 workers:
2426.31 ns
async round-trips over time/2 workers:
0.82 M/s
time per async round-trip/4 workers:
4277.28 ns
async round-trips over time/4 workers:
0.94 M/s
(cd _build/default/bench && ./main.exe -brief 'Ref with Picos_sync.Mutex')
Ref with Picos_sync.Mutex:
time per op/get (checked):
109.59 ns
ops over time/get (checked):
9.13 M/s
time per op/incr (checked):
110.65 ns
ops over time/incr (checked):
9.04 M/s
time per op/push & pop (checked):
125.91 ns
ops over time/push & pop (checked):
7.94 M/s
time per op/cas int (checked):
118.47 ns
ops over time/cas int (checked):
8.44 M/s
time per op/xchg int (checked):
118.25 ns
ops over time/xchg int (checked):
8.46 M/s
time per op/swap (checked):
120.39 ns
ops over time/swap (checked):
8.31 M/s
time per op/get (unchecked):
45.68 ns
ops over time/get (unchecked):
21.89 M/s
time per op/incr (unchecked):
46.73 ns
ops over time/incr (unchecked):
21.40 M/s
time per op/push & pop (unchecked):
59.97 ns
ops over time/push & pop (unchecked):
16.68 M/s
time per op/cas int (unchecked):
54.96 ns
ops over time/cas int (unchecked):
18.20 M/s
time per op/xchg int (unchecked):
54.64 ns
ops over time/xchg int (unchecked):
18.30 M/s
time per
op/swap (unchecked):
56.20 ns
ops over time/swap (unchecked):
17.79 M/s
(cd _build/default/bench && ./main.exe -brief Picos_mpmcq)
Picos_mpmcq:
time per message/one domain:
44.97 ns
messages over time/one domain:
22.24 M/s
time per message/1 nb adder, 1 nb taker:
188.85 ns
messages over time/1 nb adder, 1 nb taker:
10.59 M/s
time per message/1 nb adder, 2 nb takers:
196.48 ns
messages over time/1 nb adder, 2 nb takers:
15.27 M/s
time per message/1 nb adder, 4 nb takers:
294.07 ns
messages over time/1 nb adder, 4 nb takers:
17.00 M/s
time per message/2 nb adders, 1 nb taker:
201.81 ns
messages over time/2 nb adders, 1 nb taker:
14.87 M/s
time per message/2 nb adders, 2 nb takers:
274.85 ns
messages over time/2 nb adders, 2 nb takers:
14.55 M/s
time per message/2 nb adders, 4 nb takers:
412.72 ns
messages over time/2 nb adders, 4 nb takers:
14.54 M/s
time per message/4 nb adders, 1 nb taker:
381.88 ns
messages over time/4 nb adders, 1 nb taker:
13.09 M/s
time per message/4 nb adders, 2 nb takers:
464.64 ns
messages over time/4 nb adders, 2 nb takers:
12.91 M/s
time per message/4 nb adders, 4 nb takers:
653.20 ns
messages over time/4 nb adders, 4 nb takers:
12.25 M/s
(cd _build/default/bench && ./main.exe -brief Picos_mpscq)
Picos_mpscq:
time per message/one domain:
43.99 ns
messages over time/one domain:
22.73 M/s
time per message/1 nb adder, 1 nb taker:
103.13 ns
messages over time/1 nb adder, 1 nb taker:
19.39 M/s
time per message/2 nb adders, 1 nb taker:
160.31 ns
messages over time/2 nb adders, 1 nb taker:
18.71 M/s
time per message/4 nb adders, 1 nb taker:
265.78 ns
messages over time/4 nb adders, 1 nb taker:
18.81 M/s
(cd _build/default/bench && ./main.exe -brief Picos_htbl)
Picos_htbl:
time per operation/1 worker, 10% reads:
60.30 ns
operations over time/1 worker, 10% reads:
16.58 M/s
time per operation/1 worker, 50% reads:
49.70 ns
operations over time/1 worker, 50% reads:
20.12 M/s
time per operation/1 worker, 90% reads:
33.56 ns
operations over time/1 worker, 90% reads:
29.80 M/s
time per operation/2 workers, 10% reads:
108.45 ns
operations over time/2 workers, 10% reads:
18.44 M/s
time per operation/2 workers, 50% reads:
81.99 ns
operations over time/2 workers, 50% reads:
24.39 M/s
time per operation/2 workers, 90% reads:
44.79 ns
operations over time/2 workers, 90% reads:
44.65 M/s
time per operation/4 workers, 10% reads:
130.53 ns
operations over time/4 workers, 10% reads:
30.64 M/s
time per operation/4 workers, 50% reads:
91.83 ns
operations over time/4 workers, 50% reads:
43.56 M/s
time per operation/4 workers, 90% reads:
45.57 ns
operations over time/4 workers, 90% reads:
87.77 M/s
time per operation/8 workers, 10% reads:
149.60 ns
operations over time/8 workers, 10% reads:
53.48 M/s
time per operation/8 workers, 50% reads:
103.99 ns
operations over time/8 workers, 50% reads:
76.93 M/s
time per operation/8 workers, 90% reads:
50.33 ns
operations over time/8 workers, 90% reads:
158.95 M/s
(cd _build/default/bench && ./main.exe -brief Picos_stdio)
Picos_stdio:
time per non-blocking read/1 worker:
608.25 ns
non-blocking reads over time/1 worker:
1.64 M/s
time per non-blocking read/2 workers:
613.00 ns
non-blocking reads over time/2 workers:
3.26 M/s
time per non-blocking read/4 workers:
653.14 ns
non-blocking reads over time/4 workers:
6.12 M/s
time per blocking read/1 worker:
6406.76 ns
blocking reads over time/1 worker:
0.16 M/s
time per blocking read/2 workers:
7160.57 ns
blocking reads over time/2 workers:
0.28 M/s
time per blocking read/4 workers:
7297.01 ns
blocking reads over time/4 workers:
0.55 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos_sync Ch')
Picos_sync Ch:
time per message/one domain:
316.04 ns
messages over time/one domain:
3.16 M/s
time per message/1 giver, 1 taker:
2449.31 ns
messages over time/1 giver, 1 taker:
0.82 M/s
time per message/1 giver, 2 takers:
2227.95 ns
messages over time/1 giver, 2 takers:
1.35 M/s
time per message/1 giver, 4 takers:
3605.43 ns
messages over time/1 giver, 4 takers:
1.39 M/s
time per message/2 givers, 1 taker:
2403.35 ns
messages over time/2 givers, 1 taker:
1.25 M/s
time per message/2 givers, 2 takers:
3131.52 ns
messages over time/2 givers, 2 takers:
1.28 M/s
time per message/2 givers, 4 takers:
4780.56 ns
messages over time/2 givers, 4 takers:
1.26 M/s
time per message/4 givers, 1 taker:
3792.36 ns
messages over time/4 givers, 1 taker:
1.32 M/s
time per message/4 givers, 2 takers:
4372.67 ns
messages over time/4 givers, 2 takers:
1.37 M/s
time per message/4 givers, 4 takers:
6304.86 ns
messages over time/4 givers, 4 takers:
1.27 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos_sync Stream')
Picos_sync Stream:
time per message/one domain:
213.16 ns
messages over time/one domain:
4.69 M/s
time per message/1 nb pusher, 1 nb reader:
540.87 ns
messages over time/1 nb pusher, 1 nb reader:
3.70 M/s
time per message/2 nb pushers, 1 nb reader:
802.84 ns
messages over time/2 nb pushers, 1 nb reader:
3.74 M/s
time per message/4 nb pushers, 1 nb reader:
1192.18 ns
messages over time/4 nb pushers, 1 nb reader:
4.19 M/s
(cd _build/default/bench && ./main.exe -brief Fib)
Fib:
time per spawn/1 rando, fib 20:
1820.72 ns
spawns over time/1 rando, fib 20:
0.55 M/s
time per spawn/2 randos, fib 20:
2897.98 ns
spawns over time/2 randos, fib 20:
0.69 M/s
time per spawn/4 randos, fib 20:
3797.85 ns
spawns over time/4 randos, fib 20:
1.05 M/s
time per spawn/8 randos, fib 20:
5243.13 ns
spawns over time/8 randos, fib 20:
1.53 M/s
time per spawn/1 mfifo, fib 20:
1365.13 ns
spawns over time/1 mfifo, fib 20:
0.73 M/s
time per spawn/2 mfifos, fib 20:
1322.39 ns
spawns over time/2 mfifos, fib 20:
1.51 M/s
time per spawn/4 mfifos, fib 20:
876.83 ns
spawns over time/4 mfifos, fib 20:
4.56 M/s
time per spawn/8 mfifos, fib 20:
1252.36 ns
spawns over time/8 mfifos, fib 20:
6.39 M/s
(cd _build/default/bench && ./main.exe -brief 'Picos binaries')
Picos binaries:
binary size/picos:
137.42 kB
binary size/picos.domain:
5.48 kB
binary size/picos.thread:
4.76 kB
binary size/picos_aux.htbl:
54.10 kB
binary size/picos_aux.mpmcq:
19.12 kB
binary size/picos_aux.mpscq:
23.54 kB
binary size/picos_aux.rc:
21.61 kB
binary size/picos_lwt:
33.08 kB
binary size/picos_lwt.unix:
17.94 kB
binary size/picos_mux.fifo:
34.84 kB
binary size/picos_mux.multififo:
72.19 kB
binary size/picos_mux.random:
60.61 kB
binary size/picos_mux.thread:
29.02 kB
binary size/picos_std.event:
29.44 kB
binary size/picos_std.finally:
17.33 kB
binary size/picos_std.structured:
97.03 kB
binary size/picos_std.sync:
178.15 kB
binary size/picos_io:
137.89 kB
binary size/picos_io.fd:
12.20 kB
binary size/picos_io.select:
76.29 kB
binary size/picos_io_cohttp:
56.04 kB
(cd _build/default/bench && ./main.exe -brief 'Bounded_q with Picos_sync')
Bounded_q with Picos_sync:
time per message/one domain:
141.11 ns
messages over time/one domain:
7.09 M/s
time per message/1 adder, 1 taker:
746.97 ns
messages over time/1 adder, 1 taker:
2.93 M/s
time per message/1 adder, 2 takers:
3932.33 ns
messages over time/1 adder, 2 takers:
0.76 M/s
time per message/1 adder, 4 takers:
22729.44 ns
messages over time/1 adder, 4 takers:
0.22 M/s
time per message/2 adders, 1 taker:
5628.76 ns
messages over time/2 adders, 1 taker:
0.53 M/s
time per message/2 adders, 2 takers:
11664.40 ns
messages over time/2 adders, 2 takers:
0.34 M/s
time per message/2 adders, 4 takers:
19443.48 ns
messages over time/2 adders, 4 takers:
0.31 M/s
time per message/4 adders, 1 taker:
24275.99 ns
messages over time/4 adders, 1 taker:
0.21 M/s
time per message/4 adders, 2 takers:
14349.61 ns
messages over time/4 adders, 2 takers:
0.42 M/s
time per message/4 adders, 4 takers:
29001.11 ns
messages over time/4 adders, 4 takers:
0.28 M/s
(cd _build/default/bench && ./main.exe -brief 'Memory usage')
Memory usage:
memory used/fiber in a bundle:
184.00 B
memory used/promise in a bundle:
304.00 B
memory used/fiber in a flock:
160.00 B
memory used/promise in a flock:
312.00 B
memory used/fiber with shared computation & latch:
160.00 B
(cd _build/default/test && ./test_mpmcq.exe)
random seed: 2658321597901374931
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Mpmcq sequential
[✓] 32 0 0 32 / 32 0.9s Mpmcq parallel
================================================================================
success (ran 2 tests)
random seed: 4163210669704233804
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Mpmcq sequential
[✓] 64 0 0 64 / 64 2.2s Mpmcq parallel
================================================================================
success (ran 2 tests)
random seed: 438158595489843890
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Mpmcq sequential
[✓] 128 0 0 128 / 128 4.5s Mpmcq parallel
================================================================================
success (ran 2 tests)
random seed: 2846149898411633144
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Mpmcq sequential
[✓] 256 0 0 256 / 256 8.0s Mpmcq parallel
================================================================================
success (ran 2 tests)
random seed: 1965250107120036936
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Mpmcq sequential
[✓] 512 0 0 512 / 512 14.3s Mpmcq parallel
================================================================================
success (ran 2 tests)
random seed: 1289697947719042129
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Mpmcq sequential
[✓] 32 0 0 32 / 32 0.7s Mpmcq parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test && ./test_htbl.exe)
random seed: 3958931094974371306
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Htbl sequential
[✓] 32 0 0 32 / 32 1.2s Htbl parallel
================================================================================
success (ran 2 tests)
random seed: 371369229724211056
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Htbl sequential
[✓] 64 0 0 64 / 64 2.3s Htbl parallel
================================================================================
success (ran 2 tests)
random seed: 126515000741054620
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Htbl sequential
[✓] 128 0 0 128 / 128 4.0s Htbl parallel
================================================================================
success (ran 2 tests)
random seed: 960955724358763053
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Htbl sequential
[✓] 256 0 0 256 / 256 8.3s Htbl parallel
================================================================================
success (ran 2 tests)
random seed: 3782483897324821903
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Htbl sequential
[✓] 512 0 0 512 / 512 15.9s Htbl parallel
================================================================================
success (ran 2 tests)
random seed: 234390410178286141
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Htbl sequential
[✓] 32 0 0 32 / 32 1.0s Htbl parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test && ./test_mpscq.exe)
random seed: 2528097421549076107
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Mpscq sequential
[✓] 32 0 0 32 / 32 1.1s Mpscq parallel
================================================================================
success (ran 2 tests)
random seed: 198751479315790108
generated error fail pass / total time test name
[✓] 64 0 0 64 / 64 0.0s Mpscq sequential
[✓] 64 0 0 64 / 64 2.4s Mpscq parallel
================================================================================
success (ran 2 tests)
random seed: 505677847035866489
generated error fail pass / total time test name
[✓] 128 0 0 128 / 128 0.0s Mpscq sequential
[✓] 128 0 0 128 / 128 4.8s Mpscq parallel
================================================================================
success (ran 2 tests)
random seed: 903714801755454413
generated error fail pass / total time test name
[✓] 256 0 0 256 / 256 0.0s Mpscq sequential
[✓] 256 0 0 256 / 256 8.1s Mpscq parallel
================================================================================
success (ran 2 tests)
random seed: 2912779175439125997
generated error fail pass / total time test name
[✓] 512 0 0 512 / 512 0.0s Mpscq sequential
[✓] 512 0 0 512 / 512 18.8s Mpscq parallel
================================================================================
success (ran 2 tests)
random seed: 3780445232362496455
generated error fail pass / total time test name
[✓] 32 0 0 32 / 32 0.0s Mpscq sequential
[✓] 32 0 0 32 / 32 1.2s Mpscq parallel
================================================================================
success (ran 2 tests)
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 2)
Testing `Picos_sync'.
This run has ID `URF3XFM3'.
[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] Ch 0 basics.
Full test results in `/src/_build/default/test/_build/_tests/Picos_sync'.
Test Successful in 50.788s. 1 test run.
2024-09-18 21:00.38 ---> saved as "2b5792091cbcbf8e67ce121f234f5a4ece46531cd6014d34aa123bd22a4c52d5"
Job succeeded
2024-09-18 21:00.38: Job succeeded