Organisationsocaml-multicoremulticore-magicc87d60 (main)alpine-3.21-4.14_opam-2.3

alpine-3.21-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-07-10 14:50.18: New job: test ocaml-multicore/multicore-magic https://github.com/ocaml-multicore/multicore-magic.git#refs/heads/main (c87d608d18d09cb7f4b84249f27bf217aa69ce10) (linux-x86_64:alpine-3.21-4.14_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-4.14@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33
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:alpine-3.21-ocaml-4.14@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33
# alpine-3.21-4.14_opam-2.3
USER 1000:1000
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 ab37e2a9d9f2f1e61024e4d213aa81d869042c31 || git fetch origin master) && git reset -q --hard ab37e2a9d9f2f1e61024e4d213aa81d869042c31 && 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-threads.base base-unix.base cmdliner.1.3.0 conf-npm.1 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.1 js_of_ocaml-compiler.6.1.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 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 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.17.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-10 14:50.18: Using cache hint "ocaml-multicore/multicore-magic-ocaml/opam:alpine-3.21-ocaml-4.14@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33-alpine-3.21-4.14_opam-2.3-14aee43f46f7241e4b13a31a21c27338"
2025-07-10 14:50.18: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33)
(comment alpine-3.21-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/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 ab37e2a9d9f2f1e61024e4d213aa81d869042c31 || git fetch origin master) && git reset -q --hard ab37e2a9d9f2f1e61024e4d213aa81d869042c31 && 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-threads.base base-unix.base cmdliner.1.3.0 conf-npm.1 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.1 js_of_ocaml-compiler.6.1.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 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 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.17.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-10 14:50.18: Waiting for resource in pool OCluster
2025-07-10 18:20.09: Waiting for worker…
2025-07-10 18:23.43: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at c87d608 Add `x-maintenance-intent`


(from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33)
2025-07-10 18:23.44 ---> using "55d202f7fecfb1870e4e5ff40a2bf370c1ccb0b90b65ea9e954fa8fcf7fc2c95" from cache


/: (comment alpine-3.21-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/bin/opam-2.3 /usr/bin/opam"))
2025-07-10 18:23.44 ---> using "57b9ec26c9d793b9841d4b9b0806229705a50fa368e146f4bfa780c65be697a9" 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
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-10 18:23.44 ---> using "c5fb68b3751ecc9278ff2d149fb1343dcef6f7d8470fcb0193da697334885f4e" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-07-10 18:23.44 ---> using "c71ebc92fba988860b9c156257f28c79e1408d4794c998911176c5ddf483c859" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-07-10 18:23.44 ---> using "0de77c75cb625e4c58667571d1f22ce917bcfd7afcc95609af2c00442f4db95b" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e ab37e2a9d9f2f1e61024e4d213aa81d869042c31 || git fetch origin master) && git reset -q --hard ab37e2a9d9f2f1e61024e4d213aa81d869042c31 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
6dea2f9390..0094db1438  master     -> origin/master
ab37e2a9d9 Merge pull request #28153 from jmid/upper-bound-qcheck-in-containers


<><> 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-10 18:23.44 ---> using "fa7d77d470d5227f1d1c6d30e748b53ffbfc0913d62df6bac06e993fb0bc5786" from cache


/src: (copy (src multicore-magic.opam multicore-magic-dscheck.opam) (dst ./))
2025-07-10 18:23.44 ---> saved as "04425f4ba6119a482a0bd41598ab3b7f873582c56292c06817c884a30f828e8c"


/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-10 18:23.49 ---> saved as "0f6fa12164b24e72eccf8751072f0a437d57b9d2e1ebba31ca16e80da15b299f"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-10 18:23.49 ---> saved as "c60b816860d50fe4259cb6a3ee6cf7c452f624b77c2973785f5e4fc0d4453ea4"


/src: (env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 conf-npm.1 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.1 js_of_ocaml-compiler.6.1.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 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 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.17.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 "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.21.3-638-g1544fc8aa59 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-634-g4638c219547 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v3.23.0_alpha20250612-1992-g6b9789fe4fd [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-1992-g6b9789fe4fd [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-1987-g1fccc9a6b71 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 59033 distinct packages available


<><> 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-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 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:
npm


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ /usr/bin/sudo "apk" "add" "npm"
- (1/7) Installing ada-libs (2.9.2-r1)
- (2/7) Installing icu-data-en (74.2-r1)
- Executing icu-data-en-74.2-r1.post-install
- *
- * If you need ICU with non-English locales and legacy charset support, install
- * package icu-data-full.
- *
- (3/7) Installing icu-libs (74.2-r1)
- (4/7) Installing simdjson (3.10.1-r0)
- (5/7) Installing simdutf (5.6.3-r0)
- (6/7) Installing nodejs (22.15.1-r0)
- (7/7) Installing npm (10.9.1-r0)
- Executing busybox-1.37.0-r12.trigger
- OK: 371 MiB in 108 packages
2025-07-10 18:24.08 ---> saved as "29ddae6eecf442504fded25f4f13791a3cdd9ff0d5fe47002178b0f95583c27c"


/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 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 35 packages
- install alcotest             1.9.0
- install astring              0.8.5
- install cmdliner             1.3.0
- install conf-npm             1
- 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.1
- install js_of_ocaml-compiler 6.1.1
- install menhir               20240715
- install menhirCST            20240715
- install menhirLib            20240715
- install menhirSdk            20240715
- install ocaml-compiler-libs  v0.12.4
- 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.17.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 cmdliner.1.3.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved alcotest.1.9.0  (cached)
-> retrieved domain_shims.0.1.0  (cached)
-> retrieved containers.3.16  (cached)
-> installed conf-npm.1
-> retrieved dscheck.0.5.0  (cached)
-> retrieved either.1.0.0  (cached)
-> retrieved fmt.0.10.0  (cached)
-> retrieved gen.1.1  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1  (cached)
-> retrieved js_of_ocaml.6.1.1, js_of_ocaml-compiler.6.1.1  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved oseq.0.5.1  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> installed cmdliner.1.3.0
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppxlib.0.36.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.13.2  (cached)
-> retrieved sedlex.3.6  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved tsort.2.2.0  (cached)
-> retrieved topkg.1.0.8  (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 csexp.1.5.2
-> installed domain_shims.0.1.0
-> installed either.1.0.0
-> installed gen.1.1
-> installed menhirCST.20240715
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocaml-syntax-shims.1.0.0
-> installed oseq.0.5.1
-> installed ppx_derivers.1.2.1
-> installed re.1.13.2
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed tsort.2.2.0
-> installed yojson.3.0.0
-> installed alcotest.1.9.0
-> installed dune-configurator.3.19.1
-> installed containers.3.16
-> installed dscheck.0.5.0
-> installed menhir.20240715
-> installed ppxlib.0.36.0
-> installed sedlex.3.6
-> installed js_of_ocaml-compiler.6.1.1
-> installed js_of_ocaml.6.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-10 18:25.39 ---> saved as "04ed30eaeec35e0bbad7b85cbd8a42f2dffddd88d506c3d781c47b0f778b2495"


/src: (copy (src .) (dst /src))
2025-07-10 18:25.39 ---> saved as "8f642b0de1374635bb88ed5099bf7ed56a7c396ed7db2e76a978b8a43958f20e"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test_with_threads_and_domains.exe)
Testing `multicore-magic with threads and domains'.
This run has ID `AMJMGOS6'.


[OK]          instantaneous_domain_index          0


Full test results in `/src/_build/default/test/_build/_tests/multicore-magic with threads and domains'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/test && ./test_on_main_thread_only.exe)
Testing `multicore-magic on main thread only'.
This run has ID `JGK6KBFC'.


[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.001s. 17 tests run.
(cd _build/default/test && /usr/bin/node test_on_js_of_ocaml.bc.js)
Testing `multicore-magic on js_of_ocaml'.
This run has ID `RL1R9YTC'.


[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.017s. 17 tests run.
2025-07-10 18:25.41 ---> saved as "a47bc8257d3dac60130b9cd45d2976186ec8445a595ed73774fd3a5b8890cad1"
Job succeeded
2025-07-10 18:25.41: Job succeeded