2025-01-12 10:36.53: New job: test ocaml-multicore/multicore-magic https://github.com/ocaml-multicore/multicore-magic.git#refs/heads/main (b9a990a8b663c8de7011d07a2adeadcaaabf0ede) (linux-x86_64:debian-12-5.3_x86_32_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.3@sha256:a949ba77a8f4d59a1f126f0ca927db90dcc679cfa24b6a10c581c7ba12f06665
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 b9a990a8
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:a949ba77a8f4d59a1f126f0ca927db90dcc679cfa24b6a10c581c7ba12f06665
# 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 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 ./
RUN opam pin add -yn multicore-magic.dev './' && \
opam pin add -yn multicore-magic-dscheck.dev './'
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 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-option-bytecode-only.1 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.16.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 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-01-12 10:36.53: Using cache hint "ocaml-multicore/multicore-magic-ocaml/opam:debian-12-ocaml-5.3@sha256:a949ba77a8f4d59a1f126f0ca927db90dcc679cfa24b6a10c581c7ba12f06665-debian-12-5.3_x86_32_opam-2.3-c70a7e377f46e1024e2f3fbed46e16c3"
2025-01-12 10:36.53: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:a949ba77a8f4d59a1f126f0ca927db90dcc679cfa24b6a10c581c7ba12f06665)
(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 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 ./))
(run (network host)
(shell "opam pin add -yn multicore-magic.dev './' && \
\nopam pin add -yn multicore-magic-dscheck.dev './'"))
(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 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-option-bytecode-only.1 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.16.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 /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-01-12 10:36.53: Waiting for resource in pool OCluster
2025-01-12 10:36.53: Waiting for worker…
2025-01-12 10:36.54: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
HEAD is now at b9a990a Do not test with `conf-npm` on `x86_32`
(from ocaml/opam:debian-12-ocaml-5.3@sha256:a949ba77a8f4d59a1f126f0ca927db90dcc679cfa24b6a10c581c7ba12f06665)
WARNING: The requested image's platform (linux/386) does not match the detected host platform (linux/amd64) and no specific platform was requested
2025-01-12 10:36.54 ---> using "8a9b4aac70a4e393eea5fcf18b7fdddc44d9ab0c256ccc276cf6812268a33c6c" from cache
/: (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-01-12 10:36.54 ---> using "245be21b9ae208746aa1eaa2a964f4abd92b6ab045e14fcb59197e25a747615f" 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 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
[NOTE] The 'jobs' option was reset, its value was 39 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=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-01-12 10:36.54 ---> using "c0756deaee84c8ae6c9f87e6f14efef85ff40456e1fbcf331bff77e14477945c" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-01-12 10:36.54 ---> using "a4d03d4eb409a2539accd1334cc50965a0166fee1173d4af366d3a1cfbac5158" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-01-12 10:36.54 ---> using "d9194699eb378dfbf1af8abac5423475aee32eaad6d9101015d4aba13287c387" from cache
/src: (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..f6b499e5d0 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-12 10:36.54 ---> using "0d2e15a38638df25af86c5d9dcb54e5248108a3d6c9dfd3d0e481108390a8fed" from cache
/src: (copy (src multicore-magic.opam multicore-magic-dscheck.opam) (dst ./))
2025-01-12 10:36.54 ---> using "16f85cef7b7958c5645fb9ddcb0542bb0340d8bcb25a72822b8832395f2ffd0c" from cache
/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-01-12 10:36.54 ---> using "7a77ad15c9274840f5a62c81c1a1e6330f16837b9e2a0fedfc1b58a55e01aab2" from cache
/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 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-option-bytecode-only.1 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.16.0 stdlib-shims.0.3.0 topkg.1.0.7 tsort.2.1.0 uutf.1.0.3 yojson.2.2.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.3 --depext-only -y multicore-magic.dev multicore-magic-dscheck.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm/main i386 Packages [8686 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main i386 Packages [234 kB]
- Fetched 9174 kB in 3s (2692 kB/s)
- Reading package lists...
-
<><> 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-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-01-12 10:36.54 ---> using "d4c6bf7e2113c22a7077494fbb51b3442a61c2aaf4dd65b982722aff4b1e76d1" 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-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.8.0
- install astring 0.8.5
- install cmdliner 1.3.0
- 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.16.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 containers.3.15 (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 fmt.0.9.0 (cached)
-> retrieved gen.1.1 (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> retrieved dune.3.17.1, dune-configurator.3.17.1 (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 ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved oseq.0.5.1 (cached)
-> installed cmdliner.1.3.0
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved sedlex.3.3 (cached)
-> retrieved ppxlib.0.34.0 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.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 ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed dune.3.17.1
-> installed domain_shims.0.1.0
-> installed either.1.0.0
-> installed csexp.1.5.2
-> installed menhirCST.20240715
-> installed menhirSdk.20240715
-> installed oseq.0.5.1
-> installed ppx_derivers.1.2.1
-> installed re.1.12.0
-> installed gen.1.1
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed tsort.2.1.0
-> installed menhirLib.20240715
-> installed yojson.2.2.2
-> installed dune-configurator.3.17.1
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed alcotest.1.8.0
-> installed containers.3.15
-> installed dscheck.0.5.0
-> installed menhir.20240715
-> installed ppxlib.0.34.0
-> installed sedlex.3.3
-> 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-12 10:36.54 ---> using "27709d618f61ce7a71ad987cc28df0bc55e32e9223bfd6542d768c69bc9b558e" from cache
/src: (copy (src .) (dst /src))
2025-01-12 10:36.54 ---> using "9493b47edc2145e5f61fe418376d2e91b2104a2ef2e74ae50d1ba0f7f0404234" from cache
/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 `OTQZJIP0'.
[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.003s. 17 tests run.
(cd _build/default/test && ./test_with_threads_and_domains.exe)
Testing `multicore-magic with threads and domains'.
This run has ID `U7EAIY5Z'.
[OK] instantaneous_domain_index 0
Full test results in `/src/_build/default/test/_build/_tests/multicore-magic with threads and domains'.
Test Successful in 9.316s. 1 test run.
2025-01-12 10:36.54 ---> using "771ad5f99e2103432ed025d9074f24c947ef995c76dfee1385ef9dbdae236e10" from cache
Job succeeded
2025-01-12 10:36.55: Job succeeded