Organisationsocaml-multicoremulticore-magic360c2e ()(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-11-19 19:04.40: New job: test ocaml-multicore/multicore-magic https://github.com/ocaml-multicore/multicore-magic.git#refs/heads/main (360c2e829c9addeca9ccaee1c71f4ad36bb14a79) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.12@sha256:10b66a8693974996afed0f5c8eca1bc3970f04ea9258bc4863d00ca719321b36
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 360c2e82
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.12@sha256:10b66a8693974996afed0f5c8eca1bc3970f04ea9258bc4863d00ca719321b36
# debian-12-4.12_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 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && 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.7.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.1.0 conf-m4.1 containers.2.8 domain_shims.0.1.0 dscheck.0.5.0 dune.3.14.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 fmt.0.8.7 jbuilder.1.0+beta20.1 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.0 ocamlfind.1.8.1 oseq.0.1 re.1.7.2 seq.0.2.2 stdlib-shims.0.1.0 topkg.1.0.3 tsort.1.0.0 uchar.0.0.2 uutf.1.0.1"
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


2024-11-19 19:04.40: Using cache hint "ocaml-multicore/multicore-magic-ocaml/opam:debian-12-ocaml-4.12@sha256:10b66a8693974996afed0f5c8eca1bc3970f04ea9258bc4863d00ca719321b36-debian-12-4.12_opam-2.3-311bc1d6d59ec84b7dc5254f9a13cfc4"
2024-11-19 19:04.40: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.12@sha256:10b66a8693974996afed0f5c8eca1bc3970f04ea9258bc4863d00ca719321b36)
(comment debian-12-4.12_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 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && 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.7.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.1.0 conf-m4.1 containers.2.8 domain_shims.0.1.0 dscheck.0.5.0 dune.3.14.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 fmt.0.8.7 jbuilder.1.0+beta20.1 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.0 ocamlfind.1.8.1 oseq.0.1 re.1.7.2 seq.0.2.2 stdlib-shims.0.1.0 topkg.1.0.3 tsort.1.0.0 uchar.0.0.2 uutf.1.0.1")
(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"))
)


2024-11-19 19:04.40: Waiting for resource in pool OCluster
2024-11-20 08:11.39: Waiting for worker…
2024-11-20 08:13.43: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
All commits already cached
HEAD is now at 360c2e8 Update `CHANGES.md` for 2.3.0


(from ocaml/opam:debian-12-ocaml-4.12@sha256:10b66a8693974996afed0f5c8eca1bc3970f04ea9258bc4863d00ca719321b36)
2024-11-20 08:14.43 ---> saved as "bf59acebf8623b21e3bbce0805e99df2487555e26af47809db7fa900bebee58e"


/: (comment debian-12-4.12_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"))
2024-11-20 08:14.43 ---> saved as "4d4440047a5619a3f197a0a551b94badc66d5a0850b3f55e77cfcedb9c380038"


/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] synchronised from file:///home/opam/opam-repository
2024-11-20 08:16.25 ---> saved as "1088eb868cade9f7391e670981169ab9130beb382d210a0b70c51237ca505d72"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-125-generic
The OCaml toplevel, version 4.12.1
2.3.0
2024-11-20 08:16.25 ---> saved as "1635b09c899a05963280917f19bb1a55a46a98a1543da06c03d0f78b1ba6de29"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-11-20 08:16.25 ---> saved as "5bb4ed3a8d493b98c848a9f6cf111a76417e2af6e0a95d0df71d40497cf847a3"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u"))
28daeff6f3 Merge pull request #26814 from mtelvers/m4


<><> 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)
2024-11-20 08:18.01 ---> saved as "bc8dca9db0dc328a15eb635c4fa45358d44c9efcf9de2a8db74bf2b5388b9ddf"


/src: (copy (src multicore-magic.opam multicore-magic-dscheck.opam) (dst ./))
2024-11-20 08:18.01 ---> saved as "ffef8731dbb171f962b9501b14262eef0cf2f7260a92f64ca1862341ae719d46"


/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)
2024-11-20 08:18.08 ---> saved as "2367eb903739605274bc303f6647e37727504df9bde978e147c5fe76125faac9"


/src: (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.1.0 conf-m4.1 containers.2.8 domain_shims.0.1.0 dscheck.0.5.0 dune.3.14.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 fmt.0.8.7 jbuilder.1.0+beta20.1 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.0 ocamlfind.1.8.1 oseq.0.1 re.1.7.2 seq.0.2.2 stdlib-shims.0.1.0 topkg.1.0.3 tsort.1.0.0 uchar.0.0.2 uutf.1.0.1")


/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-security bookworm-security/main amd64 Packages [204 kB]
- Fetched 308 kB in 1s (567 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-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.12.1).
[NOTE] Package ocaml is already installed (current version is 4.12.1).
[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:
m4


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


+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package m4.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18745 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Setting up m4 (1.4.19-3) ...
2024-11-20 08:18.51 ---> saved as "30255505555b60ffac4f47dda76978cd84b79e184461d99679f13fc0d71a4f34"


/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.12.1).
[NOTE] Package ocaml is already installed (current version is 4.12.1).
[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 24 packages
- install alcotest           1.7.0
- install astring            0.8.5
- install base-bytes         base
- install cmdliner           1.1.0
- install conf-m4            1
- install containers         2.8
- install domain_shims       0.1.0
- install dscheck            0.5.0
- install dune               3.14.0
- install dune-configurator  2.3.0
- install dune-private-libs  2.3.0
- install fmt                0.8.7
- install jbuilder           1.0+beta20.1
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild         0.14.0
- install ocamlfind          1.8.1
- install oseq               0.1
- install re                 1.7.2
- install seq                0.2.2
- install stdlib-shims       0.1.0
- install topkg              1.0.3
- install tsort              1.0.0
- install uchar              0.0.2
- install uutf               1.0.1


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.1.1.0  (cached)
-> installed conf-m4.1
-> retrieved domain_shims.0.1.0  (cached)
-> retrieved dscheck.0.5.0  (cached)
-> retrieved containers.2.8  (https://github.com/c-cube/ocaml-containers/archive/v2.8.tar.gz)
-> retrieved alcotest.1.7.0  (https://github.com/mirage/alcotest/releases/download/1.7.0/alcotest-1.7.0.tbz)
-> retrieved fmt.0.8.7  (cached)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved dune-configurator.2.3.0, dune-private-libs.2.3.0  (cached)
-> retrieved dune.3.14.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.14.0  (cached)
-> retrieved ocamlfind.1.8.1  (cached)
-> retrieved re.1.7.2  (cached)
-> retrieved seq.0.2.2  (cached)
-> retrieved stdlib-shims.0.1.0  (cached)
-> retrieved tsort.1.0.0  (cached)
-> installed cmdliner.1.1.0
-> retrieved topkg.1.0.3  (cached)
-> retrieved uchar.0.0.2  (cached)
-> retrieved oseq.0.1  (https://github.com/c-cube/oseq/archive/0.1.tar.gz)
-> retrieved uutf.1.0.1  (cached)
-> installed ocamlfind.1.8.1
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed uchar.0.0.2
-> installed jbuilder.1.0+beta20.1
-> installed re.1.7.2
-> installed topkg.1.0.3
-> installed uutf.1.0.1
-> installed astring.0.8.5
-> installed dune.3.14.0
-> installed domain_shims.0.1.0
-> installed stdlib-shims.0.1.0
-> installed seq.0.2.2
-> installed ocaml-syntax-shims.1.0.0
-> installed oseq.0.1
-> installed fmt.0.8.7
-> installed alcotest.1.7.0
-> installed dune-private-libs.2.3.0
-> installed dune-configurator.2.3.0
-> installed containers.2.8
-> installed tsort.1.0.0
-> installed dscheck.0.5.0
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-20 08:21.14 ---> saved as "4d680abd4cb4b8dcf5de61c7cc51ea8bfc2c72c52fe9e357dd72f5c03fccb361"


/src: (copy (src .) (dst /src))
2024-11-20 08:21.14 ---> saved as "4b7ec4f24cec69e7c736a69d45ef1377af910a121d46e71c9e2aa52576095fcc"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./Multicore_magic_test.exe)
Testing `multicore-magic'.
This run has ID `2JL3UDFD'.


[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'.
Test Successful in 0.001s. 17 tests run.
2024-11-20 08:21.15 ---> saved as "f4c23dda65e509ac9e4413dd33da9d41626d1fb78c09f861034bbe1f7cb9d31a"
Job succeeded
2024-11-20 08:21.16: Job succeeded