2025-01-11 23:03.46: New job: test ocaml-multicore/multicore-magic https://github.com/ocaml-multicore/multicore-magic.git#refs/heads/main (0a82bcf7f3a4a1ab1b03b6957ffe00d07014eb70) (openbsd-amd64:openbsd-76-amd64-5.3_opam-2.3)
Base: openbsd-76-amd64-ocaml-5.3
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/multicore-magic.git" -b "main" && cd "multicore-magic" && git reset --hard 0a82bcf7
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM openbsd-76-amd64-ocaml-5.3
# openbsd-76-amd64-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN doas ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc || git fetch origin master) && git reset -q --hard 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 multicore-magic.opam multicore-magic-dscheck.opam /home/opam/src/./
RUN opam pin add -yn multicore-magic.dev '/home/opam/src/./' && \
opam pin add -yn multicore-magic-dscheck.dev '/home/opam/src/./'
ENV DEPS="alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 conf-npm.1 containers.3.15 csexp.1.5.2 domain_shims.0.1.0 dscheck.0.5.0 dune.3.17.1 dune-configurator.3.17.1 either.1.0.0 fmt.0.9.0 gen.1.1 js_of_ocaml.5.9.1 js_of_ocaml-compiler.5.9.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 oseq.0.5.1 ppx_derivers.1.2.1 ppxlib.0.34.0 re.1.12.0 sedlex.3.3 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 tsort.2.1.0 uutf.1.0.3 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y multicore-magic.dev multicore-magic-dscheck.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /home/opam/src
RUN cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-01-11 23:03.46: Using cache hint "ocaml-multicore/multicore-magic-openbsd-76-amd64-ocaml-5.3-openbsd-76-amd64-5.3_opam-2.3-9868b7268ba5a31a8488d2d99dcfb7d5"
2025-01-11 23:03.46: Using OBuilder spec:
((from openbsd-76-amd64-ocaml-5.3)
(comment openbsd-76-amd64-5.3_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "doas ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc || git fetch origin master) && git reset -q --hard 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src multicore-magic.opam multicore-magic-dscheck.opam)
(dst /home/opam/src/./))
(run (network host)
(shell "opam pin add -yn multicore-magic.dev '/home/opam/src/./' && \
\nopam pin add -yn multicore-magic-dscheck.dev '/home/opam/src/./'"))
(env DEPS "alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 conf-npm.1 containers.3.15 csexp.1.5.2 domain_shims.0.1.0 dscheck.0.5.0 dune.3.17.1 dune-configurator.3.17.1 either.1.0.0 fmt.0.9.0 gen.1.1 js_of_ocaml.5.9.1 js_of_ocaml-compiler.5.9.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 oseq.0.5.1 ppx_derivers.1.2.1 ppxlib.0.34.0 re.1.12.0 sedlex.3.3 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 tsort.2.1.0 uutf.1.0.3 yojson.2.2.2")
(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 multicore-magic.dev multicore-magic-dscheck.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /home/opam/src))
(run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-01-11 23:03.46: Waiting for resource in pool OCluster
2025-01-11 23:03.47: Waiting for worker…
2025-01-11 23:04.07: Got resource from pool OCluster
Building on bremusa
HEAD is now at 8561370 Support js_of_ocaml
HEAD is now at 0a82bcf Update CHANGES.md for 2.3.1
(from openbsd-76-amd64-ocaml-5.3)
2025-01-11 23:04.07 ---> using "753f998be4709b35e38a93b7272dee818f697255d5b48fadd1c23cb92a82f244" from cache
/: (comment openbsd-76-amd64-5.3_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "doas ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-01-11 23:04.07 ---> using "b8621e22ceef6e45a2b70edd0350b6ec56c4cb2588ea75f8c24bf97f9bb8e3c1" from cache
/: (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.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-01-11 23:04.07 ---> using "caa4033b0f51d691107e536d025405bc96e59134e192afef776a8bfd43aac5e1" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.6
The OCaml toplevel, version 5.3.0
2.3.0
2025-01-11 23:04.07 ---> using "7116693f695a70fbcc11fcbf90bc7fd32f30a6c20aabff3b1e1c926faaad9b01" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc || git fetch origin master) && git reset -q --hard 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
f93eb7cb02..1754762f77 master -> origin/master
82749c0bc5 Merge pull request #27235 from dbuenzli/erratique-maintenance-intent
<><> 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.
# To update the current shell environment, run: eval $(opam env)
2025-01-11 23:04.07 ---> using "57bad49da416c0a2395d42314a1542de4f34be21a46396f577668558a79bcfdf" from cache
/: (copy (src multicore-magic.opam multicore-magic-dscheck.opam)
(dst /home/opam/src/./))
2025-01-11 23:04.07 ---> using "5f6d4ed7cf2766df178cfe1d4935ca9b608be47ffc71a9c28620e05efb7caa13" from cache
/: (run (network host)
(shell "opam pin add -yn multicore-magic.dev '/home/opam/src/./' && \
\nopam pin add -yn multicore-magic-dscheck.dev '/home/opam/src/./'"))
[multicore-magic.dev] synchronised (file:///home/opam/src)
multicore-magic is now pinned to file:///home/opam/src (version dev)
[multicore-magic-dscheck.dev] synchronised (file:///home/opam/src)
multicore-magic-dscheck is now pinned to file:///home/opam/src (version dev)
2025-01-11 23:04.07 ---> using "92eee572416cce17c7ee812fa47405ee594f2db153b9f52a4dd7204980896e86" from cache
/: (env DEPS "alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 conf-npm.1 containers.3.15 csexp.1.5.2 domain_shims.0.1.0 dscheck.0.5.0 dune.3.17.1 dune-configurator.3.17.1 either.1.0.0 fmt.0.9.0 gen.1.1 js_of_ocaml.5.9.1 js_of_ocaml-compiler.5.9.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 oseq.0.5.1 ppx_derivers.1.2.1 ppxlib.0.34.0 re.1.12.0 sedlex.3.3 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 tsort.2.1.0 uutf.1.0.3 yojson.2.2.2")
/: (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 multicore-magic.dev multicore-magic-dscheck.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[multicore-magic.dev] synchronised (no changes)
[multicore-magic-dscheck.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-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-effects 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:
node
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/doas "pkg_add" "-I" "node"
- quirks-7.50 signed on 2025-01-09T20:54:57Z
- --- +node-20.17.0v0 -------------------
- You may wish to add /usr/local/lib/node_modules/npm/man to /etc/man.conf
- --- +openssl-3.2.3v0 -------------------
- You may wish to add /usr/local/lib/eopenssl32/man to /etc/man.conf
2025-01-11 23:04.07 ---> using "f3d3d1bf9e63aaa58e04ccc776f6de90757c64b26b4211b1e710bc13c7a2aae9" from cache
/: (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-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-effects 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 35 packages
- install alcotest 1.8.0
- install astring 0.8.5
- install cmdliner 1.3.0
- install conf-npm 1
- install containers 3.15
- install csexp 1.5.2
- install domain_shims 0.1.0
- install dscheck 0.5.0
- install dune 3.17.1
- install dune-configurator 3.17.1
- install either 1.0.0
- install fmt 0.9.0
- install gen 1.1
- install js_of_ocaml 5.9.1
- install js_of_ocaml-compiler 5.9.1
- install menhir 20240715
- install menhirCST 20240715
- install menhirLib 20240715
- install menhirSdk 20240715
- install ocaml-compiler-libs v0.17.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- install oseq 0.5.1
- install ppx_derivers 1.2.1
- install ppxlib 0.34.0
- install re 1.12.0
- install sedlex 3.3
- install seq base
- install sexplib0 v0.17.0
- install stdlib-shims 0.3.0
- install topkg 1.0.7
- install tsort 2.1.0
- install uutf 1.0.3
- install yojson 2.2.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved domain_shims.0.1.0 (cached)
-> retrieved dscheck.0.5.0 (cached)
-> installed conf-npm.1
-> retrieved either.1.0.0 (cached)
-> retrieved containers.3.15 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved gen.1.1 (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> retrieved js_of_ocaml.5.9.1, js_of_ocaml-compiler.5.9.1 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved oseq.0.5.1 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> installed cmdliner.1.3.0
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved dune.3.17.1, dune-configurator.3.17.1 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved seq.base (cached)
-> retrieved sedlex.3.3 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved ppxlib.0.34.0 (cached)
-> retrieved tsort.2.1.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved yojson.2.2.2 (cached)
-> installed ocamlfind.1.9.6
-> installed dune.3.17.1
-> installed ocamlbuild.0.15.0
-> installed csexp.1.5.2
-> installed domain_shims.0.1.0
-> installed dune-configurator.3.17.1
-> installed either.1.0.0
-> installed menhirCST.20240715
-> installed containers.3.15
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> installed ocaml-compiler-libs.v0.17.0
-> installed menhir.20240715
-> installed ocaml-syntax-shims.1.0.0
-> installed oseq.0.5.1
-> installed ppx_derivers.1.2.1
-> installed seq.base
-> installed sexplib0.v0.17.0
-> installed gen.1.1
-> installed re.1.12.0
-> installed stdlib-shims.0.3.0
-> installed topkg.1.0.7
-> installed ppxlib.0.34.0
-> installed astring.0.8.5
-> installed fmt.0.9.0
-> installed sedlex.3.3
-> installed tsort.2.1.0
-> installed uutf.1.0.3
-> installed dscheck.0.5.0
-> installed alcotest.1.8.0
-> installed yojson.2.2.2
-> installed js_of_ocaml-compiler.5.9.1
-> installed js_of_ocaml.5.9.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-01-11 23:04.07 ---> using "ab44c0c5797939be3d3bd8685c665191d945e13a17a81d602025a42d1767601b" from cache
/: (copy (src .) (dst /home/opam/src))
2025-01-11 23:05.05 ---> saved as "5bc10b03c541e5a88e43bd7fc9e5d3c429007d120c318073bb7ced3a1c1e055a"
/: (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && /home/opam/.opam/5.3.0/bin/js_of_ocaml build-runtime --source-map-inline --pretty -o .test_on_js_of_ocaml.eobjs/jsoo/test_on_js_of_ocaml.bc.runtime.js ../src/unboxed5/multicore_magic_atomic_array.js /home/opam/.opam/5.3.0/lib/alcotest/runtime.js)
warning: /home/opam/.opam/5.3.0/lib/alcotest/runtime.js:24: 'joo_global_object' is being deprecated, please use `globalThis` instead
(cd _build/default/test && ./test_on_main_thread_only.exe)
Testing `multicore-magic on main thread only'.
This run has ID `O4IIVH1S'.
[OK] can pad int 0
[OK] can pad ref 0
[OK] can pad atomic 0
[OK] can pad records 0
[OK] can pad float record 0
[OK] can pad variants 0
[OK] can pad arrays 0
[OK] padded array length 0
[OK] padded array length - 1 0
[OK] can pad float arrays 0
[OK] fenceless_get 0
[OK] fenceless_set 0
[OK] fence 0
[OK] transparent_atomic with floats 0
[OK] transparent_atomic with ints 0
[OK] instantaneous_domain_index 0
[OK] Atomic_array 0
Full test results in `~/src/_build/default/test/_build/_tests/multicore-magic on main thread only'.
Test Successful in 0.009s. 17 tests run.
(cd _build/default/test && /usr/local/bin/node test_on_js_of_ocaml.bc.js)
Testing `multicore-magic on js_of_ocaml'.
This run has ID `C3CGI0DR'.
[OK] can pad int 0
[OK] can pad ref 0
[OK] can pad atomic 0
[OK] can pad records 0
[OK] can pad float record 0
[OK] can pad variants 0
[OK] can pad arrays 0
[OK] padded array length 0
[OK] padded array length - 1 0
[OK] can pad float arrays 0
[OK] fenceless_get 0
[OK] fenceless_set 0
[OK] fence 0
[OK] transparent_atomic with floats 0
[OK] transparent_atomic with ints 0
[OK] instantaneous_domain_index 0
[OK] Atomic_array 0
Full test results in `~/src/_build/default/test/_build/_tests/multicore-magic on js_of_ocaml'.
Test Successful in 0.070s. 17 tests run.
(cd _build/default/test && ./test_with_threads_and_domains.exe)
Testing `multicore-magic with threads and domains'.
This run has ID `YABOJPVG'.
[OK] instantaneous_domain_index 0
Full test results in `~/src/_build/default/test/_build/_tests/multicore-magic with threads and domains'.
Test Successful in 21.484s. 1 test run.
2025-01-11 23:06.27 ---> saved as "8b4b4f034327f22190b65a1fc7eaa1d95da05306eb6040a3f258fed1aae6fa79"
Job succeeded
2025-01-11 23:06.28: Job succeeded