2024-11-27 13:08.17: New job: test ocaml-multicore/picos https://github.com/ocaml-multicore/picos.git#refs/heads/upgrade-to-cohttp-6 (4507fa3328207a7fb8ac96de82c52f4d36eec27f) (freebsd-x86_64:freebsd-14.1-4.14_opam-2.3)
Base: freebsd-14.1-ocaml-4.14
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/picos.git" -b "upgrade-to-cohttp-6" && cd "picos" && git reset --hard 4507fa33
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-14.1-ocaml-4.14
# freebsd-14.1-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.3 /usr/local/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 4be9b449095ce6d71bb164c7f7d2a397f2968847 || git fetch origin master) && git reset -q --hard 4be9b449095ce6d71bb164c7f7d2a397f2968847 && 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-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 cohttp-lwt.6.0.0 cohttp-lwt-unix.6.0.0 conduit.7.1.0 conduit-lwt.7.1.0 conduit-lwt-unix.7.1.0 conf-bash.1 conf-gmp.4 conf-gmp-powm-sec.3 conf-npm.1 conf-pkg-config.3 containers.3.15 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.1 dune-configurator.3.16.1 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 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.9.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 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.7.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ohex.0.2.0 oseq.0.5.1 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 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.3 --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-11-27 13:08.17: Using cache hint "ocaml-multicore/picos-freebsd-14.1-ocaml-4.14-freebsd-14.1-4.14_opam-2.3-00cd1ee62537da56533dcca48f9e87de"
2024-11-27 13:08.17: Using OBuilder spec:
((from freebsd-14.1-ocaml-4.14)
(comment freebsd-14.1-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/local/bin/opam-2.3 /usr/local/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 4be9b449095ce6d71bb164c7f7d2a397f2968847 || git fetch origin master) && git reset -q --hard 4be9b449095ce6d71bb164c7f7d2a397f2968847 && 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-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 cohttp-lwt.6.0.0 cohttp-lwt-unix.6.0.0 conduit.7.1.0 conduit-lwt.7.1.0 conduit-lwt-unix.7.1.0 conf-bash.1 conf-gmp.4 conf-gmp-powm-sec.3 conf-npm.1 conf-pkg-config.3 containers.3.15 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.1 dune-configurator.3.16.1 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 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.9.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 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.7.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ohex.0.2.0 oseq.0.5.1 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 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.3 --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-11-27 13:08.17: Waiting for resource in pool OCluster
2024-11-27 13:08.17: Waiting for worker…
2024-11-27 13:11.57: Got resource from pool OCluster
Building on summer
All commits already cached
HEAD is now at 4507fa3 Upgrade to cohttp 6.0.0
(from freebsd-14.1-ocaml-4.14)
2024-11-27 13:01.07 ---> using "ae13298952475462d6ff8423c053aa12bd6b321268da2da393f31b39d910ae06" from cache
/: (comment freebsd-14.1-4.14_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/local/bin/opam-2.3 /usr/local/bin/opam"))
2024-11-27 13:01.07 ---> using "a01a14b3afaf0e96198b4995f7495eb095c8d446bea3004be25da82cfecae768" from cache
/src: (run (shell "opam init --reinit -ni"))
No configuration file found, using built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
This version of opam requires an update to the layout of /home/opam/.opam from version 2.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=1 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2024-11-27 13:01.08 ---> using "a60b36efeb57e54e6ca4e23dae975fff8d0668822376b173ed63b66aa24444bc" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.1-RELEASE-p5
The OCaml toplevel, version 4.14.2
2.3.0
2024-11-27 13:01.08 ---> using "188549049d3e68e7a3a1a01e1161c07610550818a3f0b75ffbaafa2a77641d27" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-11-27 13:01.09 ---> using "39fdaef227d4780a13f56312f6b694c46af609f82c1eca907bb338ae047f238f" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 4be9b449095ce6d71bb164c7f7d2a397f2968847 || git fetch origin master) && git reset -q --hard 4be9b449095ce6d71bb164c7f7d2a397f2968847 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
c31c18de15..9d42b7886a master -> origin/master
4be9b44909 Merge pull request #26925 from avsm/release-cohttp-v6.0.0
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.4.0
- ocaml-config.3
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2024-11-27 13:01.09 ---> using "71ec6c16431921ae2c798eabb1a81347e34411b8bc32c77c0450655a57eaf38b" 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-11-27 13:01.10 ---> using "2568534238280b929ceae140c14cad352fa332d1442995bd09018d110f2b9b53" 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-11-27 13:01.10 ---> using "cb1d5e934d741d258c0828c547f44039d37c544a069f3d4e50b15cfe9a6f5a55" 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.1 base.v0.16.3 base-bigarray.base base-bytes.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 cohttp-lwt.6.0.0 cohttp-lwt-unix.6.0.0 conduit.7.1.0 conduit-lwt.7.1.0 conduit-lwt-unix.7.1.0 conf-bash.1 conf-gmp.4 conf-gmp-powm-sec.3 conf-npm.1 conf-pkg-config.3 containers.3.15 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.1 dune-configurator.3.16.1 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 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.9.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 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.7.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ohex.0.2.0 oseq.0.5.1 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 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.3 --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"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[picos_aux.dev] synchronised (no changes)
[picos.dev] synchronised (no changes)
[picos_io.dev] synchronised (no changes)
[picos_io_cohttp.dev] synchronised (no changes)
[picos_lwt.dev] synchronised (no changes)
[picos_meta.dev] synchronised (no changes)
[picos_mux.dev] synchronised (no changes)
[picos_std.dev] synchronised (no changes)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following system packages will first need to be installed:
ca_root_nss gmp npm
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/local/bin/sudo "pkg" "install" "-y" "ca_root_nss" "gmp" "npm"
- Updating FreeBSD repository catalogue...
- [summer] Fetching data.pkg: ...
- ....
- ... done
- Processing entries:
- ..
- .
- ...
- .
- ..
- . done
- FreeBSD repository update completed. 35521 packages processed.
- All repositories are up to date.
- The following 9 package(s) will be affected (of 0 checked):
-
- New packages to be INSTALLED:
- brotli: 1.1.0,1
- c-ares: 1.33.1
- ca_root_nss: 3.104
- gmp: 6.3.0
- icu: 74.2_1,1
- libuv: 1.49.0
- node20: 20.17.0
- npm: 10.8.3
- npm-node20: 10.8.3
-
- Number of packages to be installed: 9
-
- The process will require 112 MiB more space.
- 26 MiB to be downloaded.
- [summer] [1/9] Fetching c-ares-1.33.1.pkg: ......... done
- [summer] [2/9] Fetching npm-node20-10.8.3.pkg: ......
- .... done
- [summer] [3/9] Fetching icu-74.2_1,1.pkg: .
- ....
- ....
- . done
- [summer] [4/9] Fetching libuv-1.49.0.pkg: ......... done
- [summer] [5/9] Fetching gmp-6.3.0.pkg: ......... done
- [summer] [6/9] Fetching npm-10.8.3.pkg: . done
- [summer] [7/9] Fetching brotli-1.1.0,1.pkg: ......... done
- [summer] [8/9] Fetching ca_root_nss-3.104.pkg: .......... done
- [summer] [9/9] Fetching node20-20.17.0.pkg: ..
- .....
- ... done
- Checking integrity...
- done (0 conflicting)
- [summer] [1/9] Installing c-ares-1.33.1...
- [summer] [1/9] Extracting c-ares-1.33.1: .......... done
- [summer] [2/9] Installing icu-74.2_1,1...
- [summer] [2/9] Extracting icu-74.2_1,1: .......... done
- [summer] [3/9] Installing libuv-1.49.0...
- [summer] [3/9] Extracting libuv-1.49.0: .......... done
- [summer] [4/9] Installing brotli-1.1.0,1...
- [summer] [4/9] Extracting brotli-1.1.0,1: .......... done
- [summer] [5/9] Installing ca_root_nss-3.104...
- [summer] [5/9] Extracting ca_root_nss-3.104: ....... done
- Scanning /usr/share/certs/untrusted for certificates...
- Scanning /usr/share/certs/trusted for certificates...
- Scanning /usr/local/share/certs for certificates...
- [summer] [6/9] Installing node20-20.17.0...
- [summer] [6/9] Extracting node20-20.17.0:
- .......... done
- [summer] [7/9] Installing npm-node20-10.8.3...
- [summer] [7/9] Extracting npm-node20-10.8.3: ......
- .... done
- [summer] [8/9] Installing gmp-6.3.0...
- [summer] [8/9] Extracting gmp-6.3.0: .......... done
- [summer] [9/9] Installing npm-10.8.3...
- [summer] [9/9] Extracting npm-10.8.3: ... done
- =====
- Message from ca_root_nss-3.104:
-
- --
- FreeBSD does not, and can not warrant that the certification authorities
- whose certificates are included in this package have in any way been
- audited for trustworthiness or RFC 3647 compliance.
-
- Assessment and verification of trust is the complete responsibility of
- the system administrator.
-
- This package installs symlinks to support root certificate discovery
- for software that either uses other cryptographic libraries than
- OpenSSL, or use OpenSSL but do not follow recommended practice.
-
- If you prefer to do this manually, replace the following symlinks with
- either an empty file or your site-local certificate bundle.
-
- * /etc/ssl/cert.pem
- * /usr/local/etc/ssl/cert.pem
- * /usr/local/openssl/cert.pem
- =====
- Message from node20-20.17.0:
-
- --
- Note: If you need npm (Node Package Manager), please install www/npm.
2024-11-27 13:01.10 ---> using "f35297a204a042aa2edea500e8aaf4f279f5b90ef1a6065ded563a5e3dc65ce5" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 98 packages
∗ 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-bytes 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
∗ cohttp-lwt 6.0.0
∗ cohttp-lwt-unix 6.0.0
∗ conduit 7.1.0
∗ conduit-lwt 7.1.0
∗ conduit-lwt-unix 7.1.0
∗ conf-bash 1
∗ conf-gmp 4
∗ conf-gmp-powm-sec 3
∗ conf-npm 1
∗ conf-pkg-config 3
∗ containers 3.15
∗ 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.1
∗ dune-configurator 3.16.1
∗ 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
∗ http 6.0.0
∗ 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.9.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
∗ ocaml-compiler-libs v0.12.4
∗ ocaml-syntax-shims 1.0.0
∗ ocaml-version 3.7.1
∗ ocamlbuild 0.15.0
∗ ocamlfind 1.9.6
∗ ocplib-endian 1.2
∗ ohex 0.2.0
∗ oseq 0.5.1
∗ 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
∗ 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
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved asn1-combinators.0.3.2 (cached)
⬇ retrieved angstrom.0.16.1 (cached)
⬇ retrieved backoff.0.1.1 (cached)
⬇ retrieved astring.0.8.5 (cached)
⬇ retrieved base.v0.16.3 (cached)
⬇ retrieved base64.3.5.1 (cached)
⬇ retrieved bigstringaf.0.10.0 (cached)
⬇ retrieved alcotest.1.8.0 (cached)
⬇ retrieved ca-certs.1.0.0 (cached)
⬇ retrieved camlp-streams.5.0.1 (cached)
⬇ retrieved bos.0.2.1 (cached)
⬇ retrieved cmdliner.1.3.0 (cached)
⬇ retrieved conf-gmp.4 (cached)
⬇ retrieved conf-gmp-powm-sec.3 (cached)
∗ installed conf-bash.1
∗ installed conf-pkg-config.3
⬇ retrieved conduit.7.1.0, conduit-lwt.7.1.0, conduit-lwt-unix.7.1.0 (cached)
∗ installed conf-gmp.4
⬇ retrieved containers.3.15 (cached)
∗ installed conf-gmp-powm-sec.3
⬇ retrieved csexp.1.5.2 (cached)
⬇ retrieved cppo.1.7.0 (cached)
⬇ retrieved cohttp.6.0.0, cohttp-lwt.6.0.0, cohttp-lwt-unix.6.0.0, http.6.0.0 (cached)
⬇ retrieved domain-local-await.1.0.1 (cached)
⬇ retrieved domain-name.0.4.0 (cached)
⬇ retrieved domain_shims.0.1.0 (cached)
⬇ retrieved dscheck.0.5.0 (cached)
⬇ retrieved duration.0.2.1 (cached)
⬇ retrieved either.1.0.0 (cached)
⬇ retrieved eqaf.0.10 (cached)
⬇ retrieved digestif.1.2.0 (cached)
⬇ retrieved fmt.0.9.0 (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 fpath.0.7.3 (cached)
⬇ retrieved dune.3.16.1, dune-configurator.3.16.1 (cached)
⬇ retrieved logs.0.7.0 (cached)
⬇ retrieved kdf.1.0.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 lwt.5.9.0 (cached)
⬇ retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
⬇ retrieved mdx.2.4.1 (cached)
⬇ retrieved mtime.2.1.0 (cached)
∗ installed conf-npm.1
⬇ retrieved multicore-magic.2.3.0, multicore-magic-dscheck.2.3.0 (cached)
⬇ retrieved multicore-bench.0.1.7 (cached)
⬇ retrieved ocaml-compiler-libs.v0.12.4 (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 ocaml-version.3.7.1 (cached)
⬇ retrieved ocaml-syntax-shims.1.0.0 (cached)
⬇ retrieved ocamlbuild.0.15.0 (cached)
⬇ retrieved ohex.0.2.0 (cached)
∗ installed cmdliner.1.3.0
⬇ retrieved ocplib-endian.1.2 (cached)
⬇ retrieved oseq.0.5.1 (cached)
⬇ retrieved ppx_derivers.1.2.1 (cached)
⬇ retrieved ppx_sexp_conv.v0.16.0 (cached)
⬇ retrieved psq.0.2.1 (cached)
⬇ retrieved ppxlib.0.33.0 (cached)
⬇ retrieved ocamlfind.1.9.6 (cached)
⬇ retrieved qcheck-core.0.22 (cached)
⬇ retrieved ptime.1.2.0 (cached)
⬇ retrieved re.1.12.0 (cached)
⬇ retrieved result.1.5 (cached)
⬇ retrieved rresult.0.7.0 (cached)
⬇ retrieved seq.base (cached)
∗ installed seq.base
⬇ retrieved sedlex.3.3 (cached)
⬇ retrieved sexplib0.v0.16.0 (cached)
⬇ retrieved stdlib-shims.0.3.0 (cached)
⬇ retrieved thread-local-storage.0.2 (cached)
⬇ retrieved stringext.1.6.0 (cached)
⬇ retrieved thread-table.1.0.0 (cached)
⬇ retrieved qcheck-multicoretests-util.0.4, qcheck-stm.0.4 (cached)
⬇ retrieved tsort.2.1.0 (cached)
⬇ retrieved topkg.1.0.7 (cached)
⬇ retrieved uutf.1.0.3 (cached)
⬇ retrieved x509.1.0.5 (cached)
⬇ retrieved yojson.2.2.2 (cached)
⬇ retrieved zarith.1.14 (cached)
⬇ retrieved uri.4.4.0, uri-sexp.4.4.0 (cached)
∗ installed ocamlfind.1.9.6
∗ installed base-bytes.base
∗ installed ocamlbuild.0.15.0
∗ installed zarith.1.14
∗ installed dune.3.16.1
∗ installed topkg.1.0.7
∗ installed domain_shims.0.1.0
∗ installed duration.0.2.1
∗ installed csexp.1.5.2
∗ installed macaddr.5.6.0
∗ installed menhirCST.20240715
∗ installed fmt.0.9.0
∗ installed astring.0.8.5
∗ installed magic-mime.1.3.1
∗ installed http.6.0.0
∗ installed gmap.0.3.0
∗ installed gen.1.1
∗ installed eqaf.0.10
∗ installed either.1.0.0
∗ installed domain-name.0.4.0
∗ installed cppo.1.7.0
∗ installed camlp-streams.5.0.1
∗ installed base64.3.5.1
∗ installed backoff.0.1.1
∗ installed ohex.0.2.0
∗ installed multicore-magic.2.3.0
∗ installed ppx_derivers.1.2.1
∗ installed ocaml-version.3.7.1
∗ installed oseq.0.5.1
∗ installed psq.0.2.1
∗ installed ocplib-endian.1.2
∗ installed menhirSdk.20240715
∗ installed menhirLib.20240715
∗ installed fpath.0.7.3
∗ installed ipaddr.5.6.0
∗ installed ocaml-syntax-shims.1.0.0
∗ installed stringext.1.6.0
∗ installed stdlib-shims.0.3.0
∗ installed result.1.5
∗ installed ocaml-compiler-libs.v0.12.4
∗ installed mtime.2.1.0
∗ installed thread-table.1.0.0
∗ installed rresult.0.7.0
∗ installed thread-local-storage.0.2
∗ installed sexplib0.v0.16.0
∗ installed tsort.2.1.0
∗ installed ptime.1.2.0
∗ installed dune-configurator.3.16.1
∗ installed domain-local-await.1.0.1
∗ installed digestif.1.2.0
∗ installed uutf.1.0.3
∗ installed re.1.12.0
∗ installed asn1-combinators.0.3.2
∗ installed qcheck-core.0.22
∗ installed yojson.2.2.2
∗ installed bigstringaf.0.10.0
∗ installed qcheck-multicoretests-util.0.4
∗ installed qcheck-stm.0.4
∗ installed multicore-bench.0.1.7
∗ installed angstrom.0.16.1
∗ installed alcotest.1.8.0
∗ installed mirage-crypto.1.1.0
∗ installed kdf.1.0.0
∗ installed containers.3.15
∗ installed dscheck.0.5.0
∗ installed multicore-magic-dscheck.2.3.0
∗ installed uri.4.4.0
∗ installed lwt.5.9.0
∗ installed base.v0.16.3
∗ installed menhir.20240715
∗ installed ppxlib.0.33.0
∗ installed sedlex.3.3
∗ installed ppx_sexp_conv.v0.16.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 conduit.7.1.0
∗ installed mirage-crypto-rng.1.1.0
∗ installed mirage-crypto-pk.1.1.0
∗ installed conduit-lwt.7.1.0
∗ installed cohttp.6.0.0
∗ installed bos.0.2.1
∗ installed mdx.2.4.1
∗ installed cohttp-lwt.6.0.0
∗ installed mirage-crypto-ec.1.1.0
∗ installed x509.1.0.5
∗ installed ca-certs.1.0.0
∗ installed conduit-lwt-unix.7.1.0
∗ installed cohttp-lwt-unix.6.0.0
Done.
2024-11-27 13:01.11 ---> using "d230829e2000878a3a493e9d7e2244b96d64d9529b81488c885dd6c3815f9e96" from cache
/src: (copy (src .) (dst /src))
2024-11-27 13:01.12 ---> saved as "9037512ae1392457dc368ef1807d96966f821194e7b6d02f286ca7975d5278e1"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test_mpscq.exe)
random seed: 3503802852593836043
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Mpscq sequential
[ ] 0 0 0 0 / 32 0.0s Mpscq sequential (generating)
[✓] 32 0 0 32 / 32 0.0s Mpscq sequential
================================================================================
success (ran 1 tests)
random seed: 1271503009450774793
generated error fail pass / total time test name
[ ] 0 0 0 0 / 64 0.0s Mpscq sequential
[✓] 64 0 0 64 / 64 0.0s Mpscq sequential
================================================================================
success (ran 1 tests)
random seed: 2432713443854592391
generated error fail pass / total time test name
[ ] 0 0 0 0 / 128 0.0s Mpscq sequential
[✓] 128 0 0 128 / 128 0.0s Mpscq sequential
================================================================================
success (ran 1 tests)
random seed: 479202699089707098
generated error fail pass / total time test name
[ ] 0 0 0 0 / 256 0.0s Mpscq sequential
[✓] 256 0 0 256 / 256 0.0s Mpscq sequential
================================================================================
success (ran 1 tests)
random seed: 3624298628975702669
generated error fail pass / total time test name
[ ] 0 0 0 0 / 512 0.0s Mpscq sequential
[✓] 512 0 0 512 / 512 0.1s Mpscq sequential
================================================================================
success (ran 1 tests)
random seed: 1937290044596712510
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Mpscq sequential
[✓] 32 0 0 32 / 32 0.0s Mpscq sequential
================================================================================
success (ran 1 tests)
(cd _build/default/test && ./test_server_and_client.exe)
Using blocking sockets and threads on OCaml 4:
Looping server running
Server listening
Server accepting
Client B running
Client B connected
Client B wrote 100
Client A running
Client A connected
Client A wrote 100
Server accepted client
Server accepting
Server accepted client
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_finally.exe)
Testing `Picos_finally'.
This run has ID `9LFWMAOU'.
[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_sync.exe -- Event 0)
Testing `Picos_sync'.
This run has ID `15TJT58U'.
[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.122s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Lazy 0)
Testing `Picos_sync'.
This run has ID `0KUNGAW0'.
[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.028s. 1 test run.
(cd _build/default/bench && ./main.exe -brief 'Picos Computation')
Picos Computation:
attach detach pairs over time/1 worker:
4.22 M/s
attach detach pairs over time/trivial:
17.05 M/s
time per attach detach pair/1 worker:
237.05 ns
time per attach detach pair/trivial:
58.66 ns
(cd _build/default/test && ./test_structured.exe)
Testing `Picos_structured'.
This run has ID `CDKP8BF2'.
[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] Run 0 any and all errors.
[OK] Run 1 any and all returns.
[OK] Run 2 race any.
Full test results in `/src/_build/default/test/_build/_tests/Picos_structured'.
Test Successful in 1.097s. 14 tests run.
(cd _build/default/test && ./test_sync.exe -- Lazy 1)
Testing `Picos_sync'.
This run has ID `0EN9A282'.
[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.111s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- Semaphore 0)
Testing `Picos_sync'.
This run has ID `PCXQ76G8'.
[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 `V70XA8W8'.
[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 1.231s. 6 tests run.
(cd _build/default/bench && ./main.exe -brief 'Picos Current')
Picos Current:
ops over time/1 worker:
55.85 M/s
time per op/1 worker:
17.91 ns
(cd _build/default/bench && ./main.exe -brief 'Picos FLS (excluding Current)')
Picos FLS (excluding Current):
gets over time/1 worker:
94.58 M/s
sets over time/1 worker:
59.59 M/s
time per get/1 worker:
10.57 ns
time per set/1 worker:
16.78 ns
(cd _build/default/bench && ./main.exe -brief 'Picos TLS')
Picos TLS:
gets over time/1 worker:
83.18 M/s
sets over time/1 worker:
46.19 M/s
time per get/1 worker:
12.02 ns
time per set/1 worker:
21.65 ns
(cd _build/default/bench && ./main.exe -brief 'Picos DLS')
Picos DLS:
gets over time/1 worker:
138.31 M/s
sets over time/1 worker:
63.95 M/s
time per get/1 worker:
7.23 ns
time per set/1 worker:
15.64 ns
(cd _build/default/test && ./test_sync.exe -- Semaphore 1)
Testing `Picos_sync'.
This run has ID `IOM3B0KE'.
[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.665s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Non-cancelable ops' 0)
Testing `Picos_sync'.
This run has ID `WN8JWD0M'.
[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_io_with_lwt.exe)
Testing `Picos_io_with_lwt'.
This run has ID `708YL2ZB'.
[OK] Unix 0 system.
Full test results in `/src/_build/default/test/_build/_tests/Picos_io_with_lwt'.
Test Successful in 2.149s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 0)
Testing `Picos_sync'.
This run has ID `PFKM99FR'.
[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.365s. 1 test run.
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 1)
Testing `Picos_sync'.
This run has ID `UZX3CBQO'.
[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.043s. 1 test run.
(cd _build/default/bench && ./main.exe -brief 'Picos Mutex')
Picos Mutex:
locked yields over time/1 fiber:
0.01 M/s
locked yields over time/256 fibers:
0.00 M/s
locked yields over time/2 fibers:
0.00 M/s
locked yields over time/4 fibers:
0.00 M/s
locked yields over time/8 fibers:
0.00 M/s
time per locked yield/1 fiber:
113541.56 ns
time per locked yield/256 fibers:
3053644.07 ns
time per locked yield/2 fibers:
755081.54 ns
time per locked yield/4 fibers:
204916.09 ns
time per locked yield/8 fibers:
906556.11 ns
(cd _build/default/test && /usr/local/bin/node test_js_of_ocaml.bc.js)
Hello, from js_of_ocaml with Picos!
(cd _build/default/test && ./test_select.exe)
Testing `Picos_select'.
This run has ID `ICHCD4FH'.
[OK] Intr 0
Full test results in `/src/_build/default/test/_build/_tests/Picos_select'.
Test Successful in 15.059s. 1 test run.
(cd _build/default/test && ./test_io_cohttp.exe)
Uri: //127.0.0.1:29892/hello-io-cohttp
Method: POST
host: 127.0.0.1:29892
user-agent: ocaml-cohttp/v6.0.0
content-length: 17
Body: It's-a-Me, Picos!
(cd _build/default/bench && ./main.exe -brief 'Picos Semaphore')
Picos Semaphore:
acquired yields over time/4 fibers, 1 resource:
0.04 M/s
acquired yields over time/4 fibers, 2 resources:
0.00 M/s
acquired yields over time/4 fibers, 3 resources:
0.00 M/s
acquired yields over time/4 fibers, 4 resources:
0.01 M/s
time per acquired yield/4 fibers, 1 resource:
22337.91 ns
time per acquired yield/4 fibers, 2 resources:
1175660.76 ns
time per acquired yield/4 fibers, 3 resources:
359400.33 ns
time per acquired yield/4 fibers, 4 resources:
139140.86 ns
(cd _build/default/bench && ./main.exe -brief 'Picos Spawn')
Picos Spawn:
(cd _build/default/bench && ./main.exe -brief 'Picos Yield')
Picos Yield:
time per yield/100 fibers:
325562.73 ns
time per yield/10 fibers:
294320.99 ns
time per yield/1 fiber:
136033.93 ns
yields over time/100 fibers:
0.00 M/s
yields over time/10 fibers:
0.00 M/s
yields over time/1 fiber:
0.01 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.17 M/s
round-trips over time/1 worker:
0.02 M/s
time per async round-trip/1 worker:
5909.73 ns
time per round-trip/1 worker:
65998.54 ns
(cd _build/default/bench && ./main.exe -brief 'Ref with Picos_sync.Mutex')
Ref with Picos_sync.Mutex:
ops over time/cas int (checked):
9.08 M/s
ops over time/cas int (unchecked):
21.14 M/s
ops over time/get (checked):
9.57 M/s
ops over time/get (unchecked):
25.19 M/s
ops over time/incr (checked):
9.67 M/s
ops over time/incr (unchecked):
28.27 M/s
ops over time/push & pop (checked):
7.89 M/s
ops over time/push & pop (unchecked):
22.27 M/s
ops over time/swap (checked):
8.99 M/s
ops over time/swap (unchecked):
24.92 M/s
ops over time/xchg int (checked):
11.95 M/s
ops over time/xchg int (unchecked):
22.09 M/s
time per op/cas int (checked):
110.18 ns
time per op/cas int (unchecked):
47.31 ns
time per op/get (checked):
104.44 ns
time per op/get (unchecked):
39.69 ns
time per op/incr (checked):
103.41 ns
time per op/incr (unchecked):
35.37 ns
time per op/push & pop (checked):
126.81 ns
time per op/push & pop (unchecked):
45.18 ns
time per op/swap (checked):
111.25 ns
time per op/swap (unchecked):
40.13 ns
time per op/xchg int (checked):
83.67 ns
time per op/xchg int (unchecked):
45.26 ns
(cd _build/default/bench && ./main.exe -brief Picos_mpmcq)
Picos_mpmcq:
messages over time/one domain:
12.25 M/s
time per message/one domain:
81.64 ns
(cd _build/default/bench && ./main.exe -brief Picos_mpscq)
Picos_mpscq:
messages over time/one domain:
12.70 M/s
time per message/one domain:
78.80 ns
(cd _build/default/bench && ./main.exe -brief Picos_htbl)
Picos_htbl:
operations over time/1 worker, 10% reads:
8.82 M/s
operations over time/1 worker, 50% reads:
8.53 M/s
operations over time/1 worker, 90% reads:
11.95 M/s
time per operation/1 worker, 10% reads:
113.43 ns
time per operation/1 worker, 50% reads:
117.21 ns
time per operation/1 worker, 90% reads:
83.71 ns
(cd _build/default/bench && ./main.exe -brief Picos_stdio)
Picos_stdio:
blocking reads over time/1 worker:
0.30 M/s
non-blocking reads over time/1 worker:
0.25 M/s
time per blocking read/1 worker:
3385.40 ns
time per non-blocking read/1 worker:
4001.51 ns
(cd _build/default/bench && ./main.exe -brief 'Picos_sync Stream')
Picos_sync Stream:
messages over time/one domain:
8.90 M/s
time per message/one domain:
112.30 ns
(cd _build/default/bench && ./main.exe -brief Fib)
Fib:
(cd _build/default/bench && ./main.exe -brief 'Picos binaries')
Picos binaries:
binary size/picos:
71.11 kB
binary size/picos.domain:
5.47 kB
binary size/picos.thread:
2.86 kB
binary size/picos_aux.htbl:
46.18 kB
binary size/picos_aux.mpmcq:
14.90 kB
binary size/picos_aux.mpscq:
16.62 kB
binary size/picos_aux.rc:
15.08 kB
binary size/picos_io:
83.18 kB
binary size/picos_io.fd:
7.95 kB
binary size/picos_io.select:
55.16 kB
binary size/picos_io_cohttp:
39.95 kB
binary size/picos_mux.thread:
20.76 kB
binary size/picos_std.awaitable:
29.01 kB
binary size/picos_std.event:
20.15 kB
binary size/picos_std.finally:
16.14 kB
binary size/picos_std.structured:
69.31 kB
binary size/picos_std.sync:
96.84 kB
(cd _build/default/bench && ./main.exe -brief 'Bounded_q with Picos_sync')
Bounded_q with Picos_sync:
messages over time/one domain:
6.90 M/s
time per message/one domain:
145.00 ns
(cd _build/default/bench && ./main.exe -brief 'Memory usage')
Memory usage:
(cd _build/default/test && ./test_picos.exe)
Testing `Picos'.
This run has ID `D2I42T2K'.
[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 55.417s. 7 tests run.
(cd _build/default/test && ./test_sync.exe -- 'Mutex and Condition' 2)
Testing `Picos_sync'.
This run has ID `Y8PWTZN5'.
[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 54.648s. 1 test run.
(cd _build/default/test && ./test_schedulers.exe)
Testing `Picos schedulers'.
This run has ID `11USKVFH'.
[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 63.294s. 8 tests run.
Thread 115 killed on uncaught exception Failure("fatal")
Raised at Dune__exe__Test_schedulers.test_fatal.fatal_exn_handler in file "test/test_schedulers.ml", line 117, characters 6-15
Called from Thread.create.(fun) in file "thread.ml", line 49, characters 8-14
Thread 106 killed on uncaught exception Failure("fatal")
Raised at Dune__exe__Test_schedulers.test_fatal.fatal_exn_handler in file "test/test_schedulers.ml", line 117, characters 6-15
Called from Thread.create.(fun) in file "thread.ml", line 49, characters 8-14
Thread 114 killed on uncaught exception Failure("fatal")
Raised at Dune__exe__Test_schedulers.test_fatal.fatal_exn_handler in file "test/test_schedulers.ml", line 117, characters 6-15
Called from Thread.create.(fun) in file "thread.ml", line 49, characters 8-14
Thread 116 killed on uncaught exception Failure("fatal")
Raised at Dune__exe__Test_schedulers.test_fatal.fatal_exn_handler in file "test/test_schedulers.ml", line 117, characters 6-15
Called from Thread.create.(fun) in file "thread.ml", line 49, characters 8-14
Thread 112 killed on uncaught exception Failure("fatal")
Raised at Dune__exe__Test_schedulers.test_fatal.fatal_exn_handler in file "test/test_schedulers.ml", line 117, characters 6-15
Called from Thread.create.(fun) in file "thread.ml", line 49, characters 8-14
Thread 108 killed on uncaught exception Failure("fatal")
Raised at Dune__exe__Test_schedulers.test_fatal.fatal_exn_handler in file "test/test_schedulers.ml", line 117, characters 6-15
Called from Thread.create.(fun) in file "thread.ml", line 49, characters 8-14
(cd _build/default/test && ./test_mpmcq.exe)
random seed: 287773792383003563
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Mpmcq sequential
[ ] 0 0 0 0 / 32 0.0s Mpmcq sequential (generating)
[✓] 32 0 0 32 / 32 0.0s Mpmcq sequential
[ ] 0 0 0 0 / 32 0.0s Mpmcq concurrent
[ ] 1 0 0 1 / 32 1.9s Mpmcq concurrent
[ ] 2 0 0 2 / 32 4.3s Mpmcq concurrent
[ ] 3 0 0 3 / 32 7.1s Mpmcq concurrent
[ ] 4 0 0 4 / 32 9.4s Mpmcq concurrent
[ ] 5 0 0 5 / 32 12.9s Mpmcq concurrent
[ ] 6 0 0 6 / 32 16.6s Mpmcq concurrent
[ ] 7 0 0 7 / 32 18.7s Mpmcq concurrent
[ ] 8 0 0 8 / 32 20.4s Mpmcq concurrent
[ ] 9 0 0 9 / 32 22.7s Mpmcq concurrent
[ ] 10 0 0 10 / 32 24.4s Mpmcq concurrent
[ ] 11 0 0 11 / 32 27.7s Mpmcq concurrent
[ ] 12 0 0 12 / 32 29.5s Mpmcq concurrent
[ ] 13 0 0 13 / 32 31.1s Mpmcq concurrent
[ ] 14 0 0 14 / 32 33.1s Mpmcq concurrent
[ ] 15 0 0 15 / 32 35.0s Mpmcq concurrent
[ ] 16 0 0 16 / 32 36.4s Mpmcq concurrent
[ ] 17 0 0 17 / 32 37.4s Mpmcq concurrent
[ ] 18 0 0 18 / 32 38.5s Mpmcq concurrent
[ ] 19 0 0 19 / 32 39.6s Mpmcq concurrent
[ ] 20 0 0 20 / 32 40.8s Mpmcq concurrent
[ ] 21 0 0 21 / 32 42.2s Mpmcq concurrent
[ ] 22 0 0 22 / 32 43.1s Mpmcq concurrent
[ ] 23 0 0 23 / 32 45.1s Mpmcq concurrent
[ ] 24 0 0 24 / 32 46.2s Mpmcq concurrent
[ ] 25 0 0 25 / 32 47.3s Mpmcq concurrent
[ ] 26 0 0 26 / 32 48.9s Mpmcq concurrent
[ ] 27 0 0 27 / 32 49.9s Mpmcq concurrent
[ ] 28 0 0 28 / 32 51.0s Mpmcq concurrent
[ ] 29 0 0 29 / 32 51.8s Mpmcq concurrent
[ ] 30 0 0 30 / 32 52.8s Mpmcq concurrent
[ ] 31 0 0 31 / 32 53.9s Mpmcq concurrent
[ ] 32 0 0 32 / 32 55.4s Mpmcq concurrent
[✓] 32 0 0 32 / 32 55.4s Mpmcq concurrent
================================================================================
success (ran 2 tests)
random seed: 1002968108432902170
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Mpmcq sequential
[✓] 32 0 0 32 / 32 0.0s Mpmcq sequential
[ ] 0 0 0 0 / 32 0.0s Mpmcq concurrent
[ ] 1 0 0 1 / 32 1.1s Mpmcq concurrent
[ ] 2 0 0 2 / 32 1.9s Mpmcq concurrent
[ ] 3 0 0 3 / 32 3.3s Mpmcq concurrent
[ ] 4 0 0 4 / 32 4.9s Mpmcq concurrent
[ ] 5 0 0 5 / 32 6.1s Mpmcq concurrent
[ ] 6 0 0 6 / 32 7.0s Mpmcq concurrent
[ ] 7 0 0 7 / 32 8.3s Mpmcq concurrent
[ ] 8 0 0 8 / 32 9.6s Mpmcq concurrent
[ ] 9 0 0 9 / 32 10.7s Mpmcq concurrent
[ ] 10 0 0 10 / 32 12.2s Mpmcq concurrent
[ ] 11 0 0 11 / 32 14.1s Mpmcq concurrent
[ ] 12 0 0 12 / 32 15.8s Mpmcq concurrent
[ ] 13 0 0 13 / 32 17.4s Mpmcq concurrent
[ ] 14 0 0 14 / 32 18.4s Mpmcq concurrent
[ ] 15 0 0 15 / 32 20.4s Mpmcq concurrent
[ ] 16 0 0 16 / 32 21.7s Mpmcq concurrent
[ ] 17 0 0 17 / 32 23.0s Mpmcq concurrent
[ ] 18 0 0 18 / 32 24.1s Mpmcq concurrent
[ ] 19 0 0 19 / 32 25.6s Mpmcq concurrent
[ ] 20 0 0 20 / 32 26.3s Mpmcq concurrent
[ ] 21 0 0 21 / 32 27.5s Mpmcq concurrent
[ ] 22 0 0 22 / 32 28.8s Mpmcq concurrent
[ ] 23 0 0 23 / 32 29.7s Mpmcq concurrent
[ ] 24 0 0 24 / 32 31.4s Mpmcq concurrent
[ ] 25 0 0 25 / 32 32.5s Mpmcq concurrent
[ ] 26 0 0 26 / 32 33.7s Mpmcq concurrent
[ ] 27 0 0 27 / 32 34.7s Mpmcq concurrent
[ ] 28 0 0 28 / 32 35.5s Mpmcq concurrent
[ ] 29 0 0 29 / 32 36.6s Mpmcq concurrent
[ ] 30 0 0 30 / 32 37.4s Mpmcq concurrent
[ ] 31 0 0 31 / 32 38.2s Mpmcq concurrent
[ ] 32 0 0 32 / 32 39.2s Mpmcq concurrent
[✓] 32 0 0 32 / 32 39.2s Mpmcq concurrent
================================================================================
success (ran 2 tests)
(cd _build/default/test && ./test_htbl.exe)
random seed: 1432017118517391765
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Htbl sequential
[ ] 0 0 0 0 / 32 0.0s Htbl sequential (generating)
[✓] 32 0 0 32 / 32 0.0s Htbl sequential
[ ] 0 0 0 0 / 32 0.0s Htbl concurrent
[ ] 1 0 0 1 / 32 2.5s Htbl concurrent
[ ] 2 0 0 2 / 32 5.7s Htbl concurrent
[ ] 3 0 0 3 / 32 8.1s Htbl concurrent
[ ] 4 0 0 4 / 32 11.1s Htbl concurrent
[ ] 5 0 0 5 / 32 13.8s Htbl concurrent
[ ] 6 0 0 6 / 32 16.6s Htbl concurrent
[ ] 7 0 0 7 / 32 18.8s Htbl concurrent
[ ] 8 0 0 8 / 32 20.5s Htbl concurrent
[ ] 9 0 0 9 / 32 22.5s Htbl concurrent
[ ] 10 0 0 10 / 32 25.6s Htbl concurrent
[ ] 11 0 0 11 / 32 27.6s Htbl concurrent
[ ] 12 0 0 12 / 32 29.3s Htbl concurrent
[ ] 13 0 0 13 / 32 31.6s Htbl concurrent
[ ] 14 0 0 14 / 32 34.7s Htbl concurrent
[ ] 15 0 0 15 / 32 36.6s Htbl concurrent
[ ] 16 0 0 16 / 32 38.2s Htbl concurrent
[ ] 17 0 0 17 / 32 39.8s Htbl concurrent
[ ] 18 0 0 18 / 32 41.0s Htbl concurrent
[ ] 19 0 0 19 / 32 42.9s Htbl concurrent
[ ] 20 0 0 20 / 32 44.0s Htbl concurrent
[ ] 21 0 0 21 / 32 45.7s Htbl concurrent
[ ] 22 0 0 22 / 32 47.5s Htbl concurrent
[ ] 23 0 0 23 / 32 48.3s Htbl concurrent
[ ] 24 0 0 24 / 32 49.5s Htbl concurrent
[ ] 25 0 0 25 / 32 50.6s Htbl concurrent
[ ] 26 0 0 26 / 32 51.2s Htbl concurrent
[ ] 27 0 0 27 / 32 52.1s Htbl concurrent
[ ] 28 0 0 28 / 32 53.1s Htbl concurrent
[ ] 29 0 0 29 / 32 54.3s Htbl concurrent
[ ] 30 0 0 30 / 32 56.4s Htbl concurrent
[ ] 31 0 0 31 / 32 58.2s Htbl concurrent
[ ] 32 0 0 32 / 32 59.6s Htbl concurrent
[✓] 32 0 0 32 / 32 59.6s Htbl concurrent
================================================================================
success (ran 2 tests)
random seed: 1303529853773252030
generated error fail pass / total time test name
[ ] 0 0 0 0 / 32 0.0s Htbl sequential
[✓] 32 0 0 32 / 32 0.0s Htbl sequential
[ ] 0 0 0 0 / 32 0.0s Htbl concurrent
[ ] 1 0 0 1 / 32 0.6s Htbl concurrent
[ ] 2 0 0 2 / 32 1.8s Htbl concurrent
[ ] 3 0 0 3 / 32 2.4s Htbl concurrent
[ ] 4 0 0 4 / 32 3.6s Htbl concurrent
[ ] 5 0 0 5 / 32 4.7s Htbl concurrent
[ ] 6 0 0 6 / 32 6.0s Htbl concurrent
[ ] 7 0 0 7 / 32 7.5s Htbl concurrent
[ ] 8 0 0 8 / 32 9.3s Htbl concurrent
[ ] 9 0 0 9 / 32 11.4s Htbl concurrent
[ ] 10 0 0 10 / 32 13.1s Htbl concurrent
[ ] 11 0 0 11 / 32 14.3s Htbl concurrent
[ ] 12 0 0 12 / 32 15.4s Htbl concurrent
[ ] 13 0 0 13 / 32 16.2s Htbl concurrent
[ ] 14 0 0 14 / 32 17.3s Htbl concurrent
[ ] 15 0 0 15 / 32 18.3s Htbl concurrent
[ ] 16 0 0 16 / 32 19.3s Htbl concurrent
[ ] 17 0 0 17 / 32 20.0s Htbl concurrent
[ ] 18 0 0 18 / 32 20.7s Htbl concurrent
[ ] 19 0 0 19 / 32 22.1s Htbl concurrent
[ ] 20 0 0 20 / 32 23.2s Htbl concurrent
[ ] 21 0 0 21 / 32 24.2s Htbl concurrent
[ ] 22 0 0 22 / 32 25.4s Htbl concurrent
[ ] 23 0 0 23 / 32 26.6s Htbl concurrent
[ ] 24 0 0 24 / 32 27.4s Htbl concurrent
[ ] 25 0 0 25 / 32 28.5s Htbl concurrent
[ ] 26 0 0 26 / 32 29.3s Htbl concurrent
[ ] 27 0 0 27 / 32 30.2s Htbl concurrent
[ ] 28 0 0 28 / 32 31.2s Htbl concurrent
[ ] 29 0 0 29 / 32 32.0s Htbl concurrent
[ ] 30 0 0 30 / 32 33.0s Htbl concurrent
[ ] 31 0 0 31 / 32 34.4s Htbl concurrent
[ ] 32 0 0 32 / 32 35.2s Htbl concurrent
[✓] 32 0 0 32 / 32 35.2s Htbl concurrent
================================================================================
success (ran 2 tests)
2024-11-27 13:02.57 ---> saved as "8c3edd4e136fe3cd44e96580738bfc25be87464ef62209d942ea77466fbf99af"
Job succeeded
2024-11-27 13:13.50: Job succeeded