2025-02-13 10:45.57: 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:96b7254f58c3573ba306b938fe2d5ea91c5abce3fa85e1486f9a1932a1f76394
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:96b7254f58c3573ba306b938fe2d5ea91c5abce3fa85e1486f9a1932a1f76394
# 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 ab0b76f0c86f2e1fec5e887a493c3d9de5a1d321 || git fetch origin master) && git reset -q --hard ab0b76f0c86f2e1fec5e887a493c3d9de5a1d321 && 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.8.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 conf-npm.1 containers.3.15 csexp.1.5.2 domain_shims.0.1.0 dscheck.0.5.0 dune.3.17.2 dune-configurator.3.17.2 either.1.0.0 fmt.0.9.0 gen.1.1 js_of_ocaml.6.0.1 js_of_ocaml-compiler.6.0.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.15.0 ocamlfind.1.9.8 oseq.0.5.1 ppx_derivers.1.2.1 ppxlib.0.35.0 re.1.12.0 sedlex.3.3 seq.base sexplib0.v0.17.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-02-13 10:45.57: Using cache hint "ocaml-multicore/multicore-magic-ocaml/opam:alpine-3.21-ocaml-4.14@sha256:96b7254f58c3573ba306b938fe2d5ea91c5abce3fa85e1486f9a1932a1f76394-alpine-3.21-4.14_opam-2.3-e66f7415afab775791296d14fb530378"
2025-02-13 10:45.57: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:96b7254f58c3573ba306b938fe2d5ea91c5abce3fa85e1486f9a1932a1f76394)
(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 ab0b76f0c86f2e1fec5e887a493c3d9de5a1d321 || git fetch origin master) && git reset -q --hard ab0b76f0c86f2e1fec5e887a493c3d9de5a1d321 && 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.8.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 conf-npm.1 containers.3.15 csexp.1.5.2 domain_shims.0.1.0 dscheck.0.5.0 dune.3.17.2 dune-configurator.3.17.2 either.1.0.0 fmt.0.9.0 gen.1.1 js_of_ocaml.6.0.1 js_of_ocaml-compiler.6.0.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.15.0 ocamlfind.1.9.8 oseq.0.5.1 ppx_derivers.1.2.1 ppxlib.0.35.0 re.1.12.0 sedlex.3.3 seq.base sexplib0.v0.17.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-02-13 10:45.57: Waiting for resource in pool OCluster
2025-02-13 12:47.31: Waiting for worker…
2025-02-13 12:56.21: 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:alpine-3.21-ocaml-4.14@sha256:96b7254f58c3573ba306b938fe2d5ea91c5abce3fa85e1486f9a1932a1f76394)
2025-02-13 12:56.22 ---> using "4e39c0c3d776eff1edded1b34ce7287522f5313250cb83728b85104013b8e410" 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-02-13 12:56.22 ---> using "7228723a7197132f39aef2400e498b401cd5e51bb28ebc7d791a69a436399db4" 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 31 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=31 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-02-13 12:56.22 ---> using "7628b82a9680267256f52fdc8121941567d176e14eb706c059bbee9adcd3f0a1" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-131-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-02-13 12:56.22 ---> using "654222c3450609134f88d30623ebc89769810cd3e4071131125372352770497e" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-02-13 12:56.22 ---> using "858427d43bda3a0f838942d844c02a80ed0b25ae578ae2c40b94aa41e93c2dc6" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e ab0b76f0c86f2e1fec5e887a493c3d9de5a1d321 || git fetch origin master) && git reset -q --hard ab0b76f0c86f2e1fec5e887a493c3d9de5a1d321 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
d8f6e9a505..c4d5bda7fe master -> origin/master
ab0b76f0c8 Merge pull request #27402 from hhugo/release-js_of_ocaml-6.0.1
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] no changes from git+https://github.com/ocaml/opam-repository-archive
[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-02-13 12:56.22 ---> using "9c8c91f1f75ef86eccda904bdbdc889cf72ea838d85a9b133d48683d3bd8b63e" from cache
/src: (copy (src multicore-magic.opam multicore-magic-dscheck.opam) (dst ./))
2025-02-13 12:56.22 ---> saved as "b00fa66ba6a907b5c7b6881f44523344c145ff5f93147d14e871bd74188bb878"
/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-02-13 12:56.30 ---> saved as "4b0196360d8ddfaaf80beee1510f6295fb9d1159ea99f484b1479f95297466d6"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-13 12:56.30 ---> saved as "7cf55a3532e1ecb4937a30003f786212dff7f41e9ecaf19d07e3821e303e5276"
/src: (env DEPS "alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 conf-npm.1 containers.3.15 csexp.1.5.2 domain_shims.0.1.0 dscheck.0.5.0 dune.3.17.2 dune-configurator.3.17.2 either.1.0.0 fmt.0.9.0 gen.1.1 js_of_ocaml.6.0.1 js_of_ocaml-compiler.6.0.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.15.0 ocamlfind.1.9.8 oseq.0.5.1 ppx_derivers.1.2.1 ppxlib.0.35.0 re.1.12.0 sedlex.3.3 seq.base sexplib0.v0.17.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 "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.2-249-g96b5b08dab5 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.2-251-g065dd13f3ca [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v20250108-2111-gf9436dd4bfc [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20250108-2112-g950165b0fd5 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20250108-1862-g95359712816 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 56468 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-r0)
- Executing icu-data-en-74.2-r0.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-r0)
- (4/7) Installing simdjson (3.10.1-r0)
- (5/7) Installing simdutf (5.6.3-r0)
- (6/7) Installing nodejs (22.13.1-r0)
- (7/7) Installing npm (10.9.1-r0)
- Executing busybox-1.37.0-r12.trigger
- OK: 369 MiB in 108 packages
2025-02-13 12:57.11 ---> saved as "07af7f553d9c492e11080d85c22bb4a9ee5fde561cdc92a3c1f47cfd27ad349e"
/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.8.0
- install astring 0.8.5
- install cmdliner 1.3.0
- install conf-npm 1
- install containers 3.15
- install csexp 1.5.2
- install domain_shims 0.1.0
- install dscheck 0.5.0
- install dune 3.17.2
- install dune-configurator 3.17.2
- install either 1.0.0
- install fmt 0.9.0
- install gen 1.1
- install js_of_ocaml 6.0.1
- install js_of_ocaml-compiler 6.0.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.15.0
- install ocamlfind 1.9.8
- install oseq 0.5.1
- install ppx_derivers 1.2.1
- install ppxlib 0.35.0
- install re 1.12.0
- install sedlex 3.3
- install seq base
- install sexplib0 v0.17.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)
[ERROR] The compilation of conf-npm.1 failed at "npm --version".
-> 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.9.0 (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved oseq.0.5.1 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2 (cached)
-> retrieved js_of_ocaml.6.0.1, js_of_ocaml-compiler.6.0.1 (cached)
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved seq.base (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved sedlex.3.3 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.15.0
-> installed seq.base
-> retrieved topkg.1.0.7 (cached)
-> retrieved tsort.2.1.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved yojson.2.2.2 (cached)
-> installed ocamlfind.1.9.8
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed dune.3.17.2
-> 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.12.0
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed tsort.2.1.0
-> installed yojson.2.2.2
-> installed alcotest.1.8.0
-> installed dune-configurator.3.17.2
-> installed containers.3.15
-> installed dscheck.0.5.0
-> installed menhir.20240715
-> installed ppxlib.0.35.0
-> installed sedlex.3.3
-> installed js_of_ocaml-compiler.6.0.1
-> installed js_of_ocaml.6.0.1
#=== ERROR while compiling conf-npm.1 =========================================#
# context 2.3.0 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path ~/.opam/4.14/.opam-switch/build/conf-npm.1
# command /usr/bin/npm --version
# exit-code 127
# env-file ~/.opam/log/conf-npm-1-793c6c.env
# output-file ~/.opam/log/conf-npm-1-793c6c.out
### output ###
# Error relocating /usr/bin/node: sqlite3session_attach: symbol not found
# Error relocating /usr/bin/node: sqlite3changeset_apply: symbol not found
# Error relocating /usr/bin/node: sqlite3session_create: symbol not found
# Error relocating /usr/bin/node: sqlite3session_changeset: symbol not found
# Error relocating /usr/bin/node: sqlite3session_patchset: symbol not found
# Error relocating /usr/bin/node: sqlite3session_delete: symbol not found
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build conf-npm 1
+-
+- The following changes have been performed
| - 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.2
| - install dune-configurator 3.17.2
| - install either 1.0.0
| - install fmt 0.9.0
| - install gen 1.1
| - install js_of_ocaml 6.0.1
| - install js_of_ocaml-compiler 6.0.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.15.0
| - install ocamlfind 1.9.8
| - install oseq 0.5.1
| - install ppx_derivers 1.2.1
| - install ppxlib 0.35.0
| - install re 1.12.0
| - install sedlex 3.3
| - install seq base
| - install sexplib0 v0.17.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
+-
# To update the current shell environment, run: eval $(opam env)
The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20250213125713.export"
"/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31
2025-02-13 13:00.02: Job failed: Failed: Build failed