Organisationsocaml-multicorereagents5a385f (main)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2026-04-13 10:20.37: New job: test ocaml-multicore/reagents https://github.com/ocaml-multicore/reagents.git#refs/heads/main (5a385fde1e8b22950ce0afc41a104811d6615a3a) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-13-ocaml-5.0@sha256:6e1c68e30833ef236c68dbf10d24510d16ed155dff5b031c3a15244f418af35c
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-multicore/reagents.git" -b "main" && cd "reagents" && git reset --hard 5a385fde
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.0@sha256:6e1c68e30833ef236c68dbf10d24510d16ed155dff5b031c3a15244f418af35c
# debian-13-5.0_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /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 31462e7d24da1419f9eb9099a0b60ea507d91ef6 || git fetch origin master) && git reset -q --hard 31462e7d24da1419f9eb9099a0b60ea507d91ef6 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 reagents.opam ./
RUN opam pin add -yn reagents.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.6.6 domain_shims.0.1.0 dune.3.5.0 fmt.0.9.0 kcas.0.2.4 kcas_data.0.2.4 lockfree.0.3.1 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.1 ocamlfind.1.9.6 re.1.9.0 seq.0.3 stdlib-shims.0.1.0 topkg.1.0.8 uutf.1.0.3 yojson.2.0.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y reagents.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


2026-04-13 10:20.37: Using cache hint "ocaml-multicore/reagents-ocaml/opam:debian-13-ocaml-5.0@sha256:6e1c68e30833ef236c68dbf10d24510d16ed155dff5b031c3a15244f418af35c-debian-13-5.0_opam-2.5-de006f2fe9df4b40d3a11e260a7f1672"
2026-04-13 10:20.37: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.0@sha256:6e1c68e30833ef236c68dbf10d24510d16ed155dff5b031c3a15244f418af35c)
(comment debian-13-5.0_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.5 /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 31462e7d24da1419f9eb9099a0b60ea507d91ef6 || git fetch origin master) && git reset -q --hard 31462e7d24da1419f9eb9099a0b60ea507d91ef6 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src reagents.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn reagents.dev './'"))
(run (shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.6.6 domain_shims.0.1.0 dune.3.5.0 fmt.0.9.0 kcas.0.2.4 kcas_data.0.2.4 lockfree.0.3.1 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.1 ocamlfind.1.9.6 re.1.9.0 seq.0.3 stdlib-shims.0.1.0 topkg.1.0.8 uutf.1.0.3 yojson.2.0.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.5 --depext-only -y reagents.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"))
)


2026-04-13 10:20.37: Waiting for resource in pool OCluster
2026-04-13 11:10.04: Waiting for worker…
2026-04-13 11:12.52: Got resource from pool OCluster
Building on eumache.caelum.ci.dev
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
Initialised empty Git repository in /var/cache/obuilder/ocluster/git/reagents.git-4d272bf067970dabb506b4efc09aeee9e5ec03de/.git/
HEAD is now at 5a385fd add warning to readme, describe situation with kcas


(from ocaml/opam:debian-13-ocaml-5.0@sha256:6e1c68e30833ef236c68dbf10d24510d16ed155dff5b031c3a15244f418af35c)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.0@sha256:6e1c68e30833ef236c68dbf10d24510d16ed155dff5b031c3a15244f418af35c' locally
docker.io/ocaml/opam@sha256:6e1c68e30833ef236c68dbf10d24510d16ed155dff5b031c3a15244f418af35c: Pulling from ocaml/opam
8f6ad858d0a4: Already exists
9cb5e198c8cf: Already exists
2d346d36dcf2: Already exists
cdc35e289b8d: Already exists
aeb7244bb580: Already exists
fc1943254a0d: Already exists
84238c416f8e: Already exists
fbbfe75d3112: Already exists
221fdc5d9929: Already exists
1fec9149b52a: Already exists
9c6e52557f24: Already exists
8737f5036aae: Already exists
d69c4074de14: Already exists
7237152a5f04: Already exists
fba4b414d8a0: Already exists
40d552afb3ef: Already exists
077cc17dc8e4: Already exists
077cc17dc8e4: Already exists
169e1be36a55: Already exists
0a8a005097ab: Already exists
caba3ec4b361: Already exists
6a364dc641f8: Already exists
4f4fb700ef54: Already exists
ab8052928cdc: Already exists
f5717a28dd6a: Already exists
79233a9b9bed: Already exists
d832d53e7392: Already exists
1872dad82243: Already exists
bfd849b08ba7: Already exists
834a8024ef15: Already exists
98ccec79258b: Already exists
fb48f36a0542: Already exists
3688b13db8e7: Already exists
a5c099f5f72c: Already exists
1ff1760de5b0: Already exists
98eec6764aa5: Already exists
aa22ae69debd: Already exists
12bfb7b962a2: Already exists
ec25ce9bb816: Already exists
beadd3cf7357: Already exists
d0d0c65a426d: Already exists
df506dc1e167: Pulling fs layer
7bfa149e0cf6: Pulling fs layer
8ebf58b62512: Pulling fs layer
7bfa149e0cf6: Waiting
6ca53b029af3: Pulling fs layer
8ebf58b62512: Waiting
6ca53b029af3: Waiting
7bfa149e0cf6: Download complete
8ebf58b62512: Download complete
6ca53b029af3: Verifying Checksum
6ca53b029af3: Download complete
df506dc1e167: Verifying Checksum
df506dc1e167: Download complete
df506dc1e167: Pull complete
7bfa149e0cf6: Pull complete
8ebf58b62512: Pull complete
6ca53b029af3: Pull complete
Digest: sha256:6e1c68e30833ef236c68dbf10d24510d16ed155dff5b031c3a15244f418af35c
Status: Downloaded newer image for ocaml/opam@sha256:6e1c68e30833ef236c68dbf10d24510d16ed155dff5b031c3a15244f418af35c
2026-04-13 11:12.52 ---> using "6116e7795090b394b692c35f7698f578c9549652048c83e565dc2c1a06de6fcb" from cache


/: (comment debian-13-5.0_opam-2.5)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-04-13 11:12.52 ---> using "3cf60f85db9da654807b24a6f2db29b63220f8ba915484ea17ea531f13e70495" from cache


/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.


This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.


Continue? [Y/n] y
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-13 11:12.52 ---> using "9826865b4f17619f858e0b2428bc7ca6a7c38c3c82ff4da527172d0325b009cb" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-107-generic
The OCaml toplevel, version 5.0.0
2.5.0
2026-04-13 11:12.52 ---> using "c3461f8e54760692ed10eab6d8f9366f05af61b1a509d4a99a013913f861bf98" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-04-13 11:12.52 ---> using "b12b6565da9257024c11a6e9ed38648a2332cd83e425a30cd33ead17fab8f591" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 31462e7d24da1419f9eb9099a0b60ea507d91ef6 || git fetch origin master) && git reset -q --hard 31462e7d24da1419f9eb9099a0b60ea507d91ef6 && git log --no-decorate -n1 --oneline && opam update -u"))
31462e7d24 Merge pull request #29451 from dra27/relocatable-package


<><> 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).
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-04-13 11:12.52 ---> using "0ee63fbdd0db5617be652549045280ccb2220aaad0bdf971199d1f63a520730d" from cache


/src: (copy (src reagents.opam) (dst ./))
2026-04-13 11:12.53 ---> saved as "f89f3b66fdc8b79cc582a54e59f98e79a627463c838eb3388dd9c1815be86b54"


/src: (run (network host)
(shell "opam pin add -yn reagents.dev './'"))
[NOTE] Package reagents does not exist in opam repositories registered in the current switch.
[reagents.dev] synchronised (file:///src)
reagents is now pinned to file:///src (version dev)
2026-04-13 11:12.56 ---> saved as "43aa20fb493995473703691e625407e8b97d51821b4f2f10409017e4abb9ba21"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-13 11:12.56 ---> saved as "8759b6a1090e8d808943a6ee73ce4cfcdcfc608b0d088274eb0f1ffc1fdc2549"


/src: (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.6.6 domain_shims.0.1.0 dune.3.5.0 fmt.0.9.0 kcas.0.2.4 kcas_data.0.2.4 lockfree.0.3.1 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.1 ocamlfind.1.9.6 re.1.9.0 seq.0.3 stdlib-shims.0.1.0 topkg.1.0.8 uutf.1.0.3 yojson.2.0.2")


/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.5 --depext-only -y reagents.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [122 kB]
- Fetched 213 kB in 0s (1853 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[reagents.dev] synchronised (file:///src)


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.0.0).
[NOTE] Package ocaml is already installed (current version is 5.0.0).
[NOTE] Package 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).
# To update the current shell environment, run: eval $(opam env)
2026-04-13 11:13.09 ---> saved as "a8aeee1fbd812f45a2184a78a2a12818e0f74a922435c0bfa661a6e032b4ab8e"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.0.0).
[NOTE] Package ocaml is already installed (current version is 5.0.0).
[NOTE] Package 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 19 packages
- install alcotest           1.7.0
- install astring            0.8.5
- install cmdliner           1.3.0
- install cppo               1.6.6
- install domain_shims       0.1.0
- install dune               3.5.0
- install fmt                0.9.0
- install kcas               0.2.4
- install kcas_data          0.2.4
- install lockfree           0.3.1
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild         0.14.1
- install ocamlfind          1.9.6
- install re                 1.9.0
- install seq                0.3
- install stdlib-shims       0.1.0
- install topkg              1.0.8
- install uutf               1.0.3
- install yojson             2.0.2


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.7.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cppo.1.6.6  (cached)
-> retrieved domain_shims.0.1.0  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved lockfree.0.3.1  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.14.1  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved kcas.0.2.4, kcas_data.0.2.4  (https://opam.ocaml.org/cache)
-> retrieved re.1.9.0  (cached)
-> retrieved seq.0.3  (cached)
-> retrieved stdlib-shims.0.1.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved yojson.2.0.2  (cached)
-> retrieved dune.3.5.0  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.14.1
-> installed topkg.1.0.8
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed dune.3.5.0
-> installed domain_shims.0.1.0
-> installed seq.0.3
-> installed stdlib-shims.0.1.0
-> installed kcas.0.2.4
-> installed cppo.1.6.6
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.9.0
-> installed kcas_data.0.2.4
-> installed alcotest.1.7.0
-> installed yojson.2.0.2
-> installed lockfree.0.3.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-13 11:13.56 ---> saved as "a2bca48bdd8502564a45f3368590984d26a547d9a290e6ee7cce32bccfd0061b"


/src: (copy (src .) (dst /src))
2026-04-13 11:13.56 ---> saved as "8d81936aab70860027d0d4846fc1243eb92921670814b89fdb0d5a2043250f77"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/tests && ./counter_test.exe)
Testing `counter test'.
This run has ID `7N2OZ3WZ'.


[OK]          simple          0   get, inc, dec.
[OK]          simple          1   blocking.


Full test results in `/src/_build/default/tests/_build/_tests/counter test'.
Test Successful in 0.000s. 2 tests run.
(cd _build/default/tests && ./lock_test.exe)
Testing `lock test'.
This run has ID `LB5Y31IY'.


[OK]          simple          0   lock and cond-var.


Full test results in `/src/_build/default/tests/_build/_tests/lock test'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/tests && ./ref_channel.exe)
Testing `ref channel'.
This run has ID `WYFZG1SN'.


[OK]          simple          0   send receive.


Full test results in `/src/_build/default/tests/_build/_tests/ref channel'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/tests && ./pair_not_parallel.exe)
Testing `paired composition not parallel'.
This run has ID `PYJGJ8SE'.


[OK]          simple          0   two-way swap.
[OK]          simple          1   three-way swap.


Full test results in `/src/_build/default/tests/_build/_tests/paired composition not parallel'.
Test Successful in 0.000s. 2 tests run.
(cd _build/default/tests && ./swap_test.exe)
Testing `channel test'.
This run has ID `FELG9I2T'.


[OK]          simple          0   two channels connected.
[OK]          simple          1   one channel, pass item back.
[OK]          simple          2   channel with choice.
[OK]          simple          3   overlapping locations; blocking.
[OK]          simple          4   overlapping locations; failing.


Full test results in `/src/_build/default/tests/_build/_tests/channel test'.
Test Successful in 0.002s. 5 tests run.
(cd _build/default/tests && ./ref_test.exe)
Testing `ref test'.
This run has ID `AJEY4BVQ'.


[OK]          simple          0   upd.
[OK]          simple          1   monadic upd.


Full test results in `/src/_build/default/tests/_build/_tests/ref test'.
Test Successful in 0.001s. 2 tests run.
(cd _build/default/tests && ./catalyst_test.exe)
Testing `catalyst test'.
This run has ID `QO9RI84M'.


[OK]          simple          0   message counter.
[OK]          simple          1   three channels joined.
[OK]          simple          2   message counter, 10^6 items.


Full test results in `/src/_build/default/tests/_build/_tests/catalyst test'.
Test Successful in 0.376s. 3 tests run.
(cd _build/default/tests && ./sat.exe)
Testing `sat test'.
This run has ID `5M0PTVFB'.


[OK]          simple          0   test 1.


Full test results in `/src/_build/default/tests/_build/_tests/sat test'.
Test Successful in 0.489s. 1 test run.
(cd _build/default/tests && ./hw_queue.exe)
Hand-written Lockfree.MSQueue: mean = 0.261772, sd = 0.001697 tp=3820118.085372
(cd _build/default/tests && ./reagent_queue_test.exe)
Reagent Lockfree.MSQueue: mean = 0.611033, sd = 0.032297 tp=490972.144130
(cd _build/default/tests && ./queue_test.exe)
Lock_queue : mean = 0.178545, sd = 0.000621 tp=1680246.450333
Two_lock_queue : mean = 0.075825, sd = 0.000411 tp=3956467.547495
Kcas_data.Queue : mean = 0.041816, sd = 0.000170 tp=7174353.459827
Reagent Lockfree.MSQueue: mean = 0.489918, sd = 0.058856 tp=612346.903687
Hand-written Lockfree.MSQueue: mean = 0.050194, sd = 0.000129 tp=5976858.097196
(cd _build/default/tests && ./rec_test.exe)
Testing `recursive lock test'.
This run has ID `EXNNW2KR'.


[OK]          simple          0   4-domain.


Full test results in `/src/_build/default/tests/_build/_tests/recursive lock test'.
Test Successful in 4.871s. 1 test run.
(cd _build/default/tests && ./eli_stack.exe)
items_per_domain = 250000
Elimination stack: mean = 0.808056, sd = 0.061229 tp=1237537.559006
(cd _build/default/tests && ./stack_test_compose.exe)
items_per_domain = 500000
<*>: mean = 0.910591, sd = 0.148759 tp=1098187.441301
<+>: mean = 0.760933, sd = 0.025249 tp=1314176.448331
Non-atomic: mean = 0.473236, sd = 0.016636 tp=2113108.930780
(cd _build/default/tests && ./stack_test.exe)
items_per_domain = 250000
Hand-written Treiber Stack: mean = 0.181139, sd = 0.001537 tp=5520610.892795
Treiber stack: mean = 0.574732, sd = 0.031726 tp=1739941.490100
Lock stack: mean = 0.637760, sd = 0.017017 tp=1567987.324224
Elimination stack: mean = 0.461101, sd = 0.011467 tp=2168723.115910
Channel-based stack: mean = 1.009416, sd = 0.005353 tp=990671.451778
2026-04-13 11:14.13 ---> saved as "873007dea74a9452a42ec19aacc055aa41993868605f67cc91bf6a21acc2f363"
Job succeeded
2026-04-13 11:14.13: Job succeeded