2025-07-05 07:04.52: New job: test ocaml-multicore/multicore-magic https://github.com/ocaml-multicore/multicore-magic.git#refs/heads/main (c87d608d18d09cb7f4b84249f27bf217aa69ce10) (linux-x86_64:debian-12-5.3_x86_32_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.3@sha256:7d5f73919df4824da18b0e4f040a24e9fcbfe1243e60ed476af13328f84b6ff0
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 c87d608d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:7d5f73919df4824da18b0e4f040a24e9fcbfe1243e60ed476af13328f84b6ff0
# debian-12-5.3_x86_32_opam-2.3
USER 1000:1000
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 6dea2f93908c01ba6c81b048fe926d48d2309cb8 || git fetch origin master) && git reset -q --hard 6dea2f93908c01ba6c81b048fe926d48d2309cb8 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 multicore-magic.opam multicore-magic-dscheck.opam ./
RUN opam pin add -yn multicore-magic.dev './' && \
opam pin add -yn multicore-magic-dscheck.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.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 containers.3.16 csexp.1.5.2 domain_shims.0.1.0 dscheck.0.5.0 dune.3.19.1 dune-configurator.3.19.1 either.1.0.0 fmt.0.10.0 gen.1.1 js_of_ocaml.6.1.0 js_of_ocaml-compiler.6.1.0 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-option-bytecode-only.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 oseq.0.5.1 ppx_derivers.1.2.1 ppxlib.0.36.0 re.1.13.2 sedlex.3.6 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.8 tsort.2.2.0 uutf.1.0.4 yojson.3.0.0"
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 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-07-05 07:04.52: Using cache hint "ocaml-multicore/multicore-magic-ocaml/opam:debian-12-ocaml-5.3@sha256:7d5f73919df4824da18b0e4f040a24e9fcbfe1243e60ed476af13328f84b6ff0-debian-12-5.3_x86_32_opam-2.3-663c16f057892a164b0088ad3c9831b0"
2025-07-05 07:04.52: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:7d5f73919df4824da18b0e4f040a24e9fcbfe1243e60ed476af13328f84b6ff0)
(comment debian-12-5.3_x86_32_opam-2.3)
(user (uid 1000) (gid 1000))
(shell /usr/bin/linux32 /bin/sh -c)
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo 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"))
(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 6dea2f93908c01ba6c81b048fe926d48d2309cb8 || git fetch origin master) && git reset -q --hard 6dea2f93908c01ba6c81b048fe926d48d2309cb8 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src multicore-magic.opam multicore-magic-dscheck.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn multicore-magic.dev './' && \
\nopam pin add -yn multicore-magic-dscheck.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.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 containers.3.16 csexp.1.5.2 domain_shims.0.1.0 dscheck.0.5.0 dune.3.19.1 dune-configurator.3.19.1 either.1.0.0 fmt.0.10.0 gen.1.1 js_of_ocaml.6.1.0 js_of_ocaml-compiler.6.1.0 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-option-bytecode-only.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 oseq.0.5.1 ppx_derivers.1.2.1 ppxlib.0.36.0 re.1.13.2 sedlex.3.6 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.8 tsort.2.2.0 uutf.1.0.4 yojson.3.0.0")
(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 /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-07-05 07:04.52: Waiting for resource in pool OCluster
2025-07-05 07:14.09: Waiting for worker…
2025-07-05 07:16.41: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at c87d608 Add `x-maintenance-intent`
(from ocaml/opam:debian-12-ocaml-5.3@sha256:7d5f73919df4824da18b0e4f040a24e9fcbfe1243e60ed476af13328f84b6ff0)
WARNING: The requested image's platform (linux/386) does not match the detected host platform (linux/amd64) and no specific platform was requested
2025-07-05 07:17.42 ---> saved as "9b12666d6d2a46f7ba71584c035de7dd74846fb21c74e89b901545c4a4373a80"
/: (comment debian-12-5.3_x86_32_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (shell /usr/bin/linux32 /bin/sh -c)
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-05 07:17.43 ---> saved as "287a11bf34e85ef78745011808427e4f34f4c52dea3550b5cb3d44d5c3925dd8"
/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-05 07:19.08 ---> saved as "0d23fa55496e9419735e3d0e29e3c95624c1b5270cd351d848de6e45a15d894e"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-07-05 07:19.08 ---> saved as "63a5857f7d47fb023b1e0d50db7195f4c1758fdf622f26c58db67103b0eead5f"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-05 07:19.09 ---> saved as "a738c505c1ef7b75b5cd89126a863cca8dc5e0c05287c6ee681596206ed2eb4f"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6dea2f93908c01ba6c81b048fe926d48d2309cb8 || git fetch origin master) && git reset -q --hard 6dea2f93908c01ba6c81b048fe926d48d2309cb8 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
bc726805e3..6dea2f9390 master -> origin/master
6dea2f9390 Merge pull request #28135 from hhugo/release-js_of_ocaml-6.1.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).
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-07-05 07:20.37 ---> saved as "66ba8d54405831a0fad4390ae8357d8179de8f7673a3265c0c3000b6ba2e8bbd"
/src: (copy (src multicore-magic.opam multicore-magic-dscheck.opam) (dst ./))
2025-07-05 07:20.38 ---> saved as "f5d4d6c29f57e636e70ef79614100898a1fa0f934b9e5bee7dfbae247b6bf0c4"
/src: (run (network host)
(shell "opam pin add -yn multicore-magic.dev './' && \
\nopam pin add -yn multicore-magic-dscheck.dev './'"))
[multicore-magic.dev] synchronised (file:///src)
multicore-magic is now pinned to file:///src (version dev)
[multicore-magic-dscheck.dev] synchronised (file:///src)
multicore-magic-dscheck is now pinned to file:///src (version dev)
2025-07-05 07:20.44 ---> saved as "664ccb044f5cbebd364822b822a42524c9f4b705b04f503bf89e9a58f8d93e17"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-05 07:20.44 ---> saved as "9a02d5dd9a23b751061e33f5067ca8c1bd592a558ad68f860043bb44d809d5d0"
/src: (env DEPS "alcotest.1.9.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 containers.3.16 csexp.1.5.2 domain_shims.0.1.0 dscheck.0.5.0 dune.3.19.1 dune-configurator.3.19.1 either.1.0.0 fmt.0.10.0 gen.1.1 js_of_ocaml.6.1.0 js_of_ocaml-compiler.6.1.0 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-option-bytecode-only.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 oseq.0.5.1 ppx_derivers.1.2.1 ppxlib.0.36.0 re.1.13.2 sedlex.3.6 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.8 tsort.2.2.0 uutf.1.0.4 yojson.3.0.0")
/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 multicore-magic.dev multicore-magic-dscheck.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm-updates/main i386 Packages.diff/Index [17.3 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main i386 Packages T-2025-06-13-1410.14-F-2025-06-13-1410.14.pdiff [434 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main i386 Packages T-2025-06-13-1410.14-F-2025-06-13-1410.14.pdiff [434 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main i386 Packages [264 kB]
- Fetched 385 kB in 1s (368 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[multicore-magic.dev] synchronised (file:///src)
[multicore-magic-dscheck.dev] synchronised (file:///src)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-option-bytecode-only 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).
2025-07-05 07:21.05 ---> saved as "817082274e6c37d7b16d6b48dc3dc162fae1601c2f4445c34af5dc4af3ad5379"
/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-option-bytecode-only 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 34 packages
- install alcotest 1.9.0
- install astring 0.8.5
- install cmdliner 1.3.0
- install containers 3.16
- install csexp 1.5.2
- install domain_shims 0.1.0
- install dscheck 0.5.0
- install dune 3.19.1
- install dune-configurator 3.19.1
- install either 1.0.0
- install fmt 0.10.0
- install gen 1.1
- install js_of_ocaml 6.1.0
- install js_of_ocaml-compiler 6.1.0
- 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.16.1
- install ocamlfind 1.9.8
- install oseq 0.5.1
- install ppx_derivers 1.2.1
- install ppxlib 0.36.0
- install re 1.13.2
- install sedlex 3.6
- install seq base
- install sexplib0 v0.16.0
- install stdlib-shims 0.3.0
- install topkg 1.0.8
- install tsort 2.2.0
- install uutf 1.0.4
- install yojson 3.0.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved alcotest.1.9.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved containers.3.16 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved domain_shims.0.1.0 (cached)
-> retrieved dscheck.0.5.0 (cached)
-> retrieved either.1.0.0 (cached)
-> retrieved gen.1.1 (cached)
-> retrieved fmt.0.10.0 (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1 (cached)
-> retrieved js_of_ocaml.6.1.0, js_of_ocaml-compiler.6.1.0 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved oseq.0.5.1 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved re.1.13.2 (cached)
-> retrieved seq.base (cached)
-> installed cmdliner.1.3.0
-> installed seq.base
-> retrieved sedlex.3.6 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved tsort.2.2.0 (cached)
-> retrieved topkg.1.0.8 (cached)
-> retrieved ppxlib.0.36.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved yojson.3.0.0 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed dune.3.19.1
-> installed domain_shims.0.1.0
-> installed either.1.0.0
-> installed csexp.1.5.2
-> installed menhirCST.20240715
-> installed ppx_derivers.1.2.1
-> installed sexplib0.v0.16.0
-> installed oseq.0.5.1
-> installed stdlib-shims.0.3.0
-> installed tsort.2.2.0
-> installed menhirSdk.20240715
-> installed gen.1.1
-> installed re.1.13.2
-> installed menhirLib.20240715
-> installed yojson.3.0.0
-> installed dune-configurator.3.19.1
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed containers.3.16
-> installed alcotest.1.9.0
-> installed dscheck.0.5.0
-> installed menhir.20240715
-> installed ppxlib.0.36.0
-> installed sedlex.3.6
-> installed js_of_ocaml-compiler.6.1.0
-> installed js_of_ocaml.6.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-05 07:34.20 ---> saved as "c5e29709925d50969be066716ad570c69dcb22e654752e6428acc445b1e3ea08"
/src: (copy (src .) (dst /src))
2025-07-05 07:34.20 ---> saved as "8f092f2f8f56be148623c790ce9d3fc96e6fae88d1cf8c73d059d627fae0f5e7"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test_on_main_thread_only.exe)
Testing `multicore-magic on main thread only'.
This run has ID `YM5TKITN'.
[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.004s. 17 tests run.
(cd _build/default/test && ./test_with_threads_and_domains.exe)
Testing `multicore-magic with threads and domains'.
This run has ID `ACSL8MBE'.
[OK] instantaneous_domain_index 0
Full test results in `/src/_build/default/test/_build/_tests/multicore-magic with threads and domains'.
Test Successful in 8.978s. 1 test run.
2025-07-05 07:34.32 ---> saved as "25c3e7bc705f5960caa0ed3bb2e209f686dda2b42a04fe0199c73691b3b049ed"
Job succeeded
2025-07-05 07:34.32: Job succeeded