2025-03-03 10:39.56: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/heads/main (37d7ee13f4dcac44de5244a1c1e19652a5880075) (linux-s390x:debian-12-4.14_s390x_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:eaf748009a89a3d403c00020f693f0ebeb0722fcc60f2239ac3d6c17ca658486
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-ppx/ppxlib.git" -b "main" && cd "ppxlib" && git reset --hard 37d7ee13
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:eaf748009a89a3d403c00020f693f0ebeb0722fcc60f2239ac3d6c17ca658486
# debian-12-4.14_s390x_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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam ./
RUN opam pin add -yn ppxlib.dev './' && \
opam pin add -yn ppxlib-tools.dev './' && \
opam pin add -yn ppxlib-bench.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base.v0.16.3 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 conf-bash.1 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ppxlib.dev ppxlib-tools.dev ppxlib-bench.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-03-03 10:39.56: Using cache hint "ocaml-ppx/ppxlib-ocaml/opam:debian-12-ocaml-4.14@sha256:eaf748009a89a3d403c00020f693f0ebeb0722fcc60f2239ac3d6c17ca658486-debian-12-4.14_s390x_opam-2.3-dd5460907d04398fdc21429fb47ead19"
2025-03-03 10:39.56: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:eaf748009a89a3d403c00020f693f0ebeb0722fcc60f2239ac3d6c17ca658486)
(comment debian-12-4.14_s390x_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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn ppxlib.dev './' && \
\nopam pin add -yn ppxlib-tools.dev './' && \
\nopam pin add -yn ppxlib-bench.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base.v0.16.3 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 conf-bash.1 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 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 ppxlib.dev ppxlib-tools.dev ppxlib-bench.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-03-03 10:39.56: Waiting for resource in pool OCluster
2025-03-03 10:39.56: Waiting for worker…
2025-03-03 10:56.52: Got resource from pool OCluster
Building on s390x-worker-02.marist.ci.dev
All commits already cached
HEAD is now at 37d7ee13 Switch changelog back to dev mode
(from ocaml/opam:debian-12-ocaml-4.14@sha256:eaf748009a89a3d403c00020f693f0ebeb0722fcc60f2239ac3d6c17ca658486)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:eaf748009a89a3d403c00020f693f0ebeb0722fcc60f2239ac3d6c17ca658486' locally
docker.io/ocaml/opam@sha256:eaf748009a89a3d403c00020f693f0ebeb0722fcc60f2239ac3d6c17ca658486: Pulling from ocaml/opam
Digest: sha256:eaf748009a89a3d403c00020f693f0ebeb0722fcc60f2239ac3d6c17ca658486
Status: Downloaded newer image for ocaml/opam@sha256:eaf748009a89a3d403c00020f693f0ebeb0722fcc60f2239ac3d6c17ca658486
2025-03-03 10:56.52 ---> using "d50dd471fbb41d8ca626a6a2873fb75611100b95abf6d9adbc93e54a0ced6cf0" from cache
/: (comment debian-12-4.14_s390x_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-03-03 10:56.52 ---> using "3f3030ca645435d7ed6ae4b0a89db142d229003a7ad870c7672480ce1a408e16" 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.
Continue? [y/n] y
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.
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-03-03 10:56.52 ---> using "f4eb1de23b28fd6f755b42cb4bf9579256a8fb0f42a946c81c240118753be5bd" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-52-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-03-03 10:56.52 ---> using "f9262904c24d76016f318d9efecd2bc853866d4a08b5b9639d7796ec149ef7be" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-03-03 10:56.52 ---> using "af0c15365cc1e9dc4eca424a961725b6c14e4ccf21134b3dc14bdc9014ca739c" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u"))
3ee951993d Merge pull request #27253 from kit-ty-kate/opam-publish-ocamlfind.1.9.8
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised 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-03-03 10:56.52 ---> using "6739886821e3c9dedf23b5fd0a9292c23d90d43b452a0639c0adafe2eb35bf2b" from cache
/src: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
2025-03-03 10:56.53 ---> saved as "85c6559893cf28d310713cb9cffaefbb68a377f9f636afcfc1d765ed412542a5"
/src: (run (network host)
(shell "opam pin add -yn ppxlib.dev './' && \
\nopam pin add -yn ppxlib-tools.dev './' && \
\nopam pin add -yn ppxlib-bench.dev './'"))
[ppxlib.dev] synchronised (file:///src)
ppxlib is now pinned to file:///src (version dev)
[ppxlib-tools.dev] synchronised (file:///src)
ppxlib-tools is now pinned to file:///src (version dev)
Package ppxlib-bench does not exist, create as a NEW package? [y/n] y
[ppxlib-bench.dev] synchronised (file:///src)
ppxlib-bench is now pinned to file:///src (version dev)
2025-03-03 10:57.01 ---> saved as "8f402f5fbf9d1aef3ac420a68d467544a4887be6a4c0ada8dfff30a4f7c7ba22"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-03 10:57.05 ---> saved as "03a75ff3299a576696d0943a2d96349d673039ea03f964172c90a8c0cd477d75"
/src: (env DEPS "base.v0.16.3 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 conf-bash.1 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 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 ppxlib.dev ppxlib-tools.dev ppxlib-bench.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 s390x Packages [212 kB]
- Fetched 316 kB in 1s (592 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppxlib-bench.dev] synchronised (file:///src)
[ppxlib.dev] synchronised (file:///src)
[ppxlib-tools.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).
2025-03-03 10:57.26 ---> saved as "622eacdd6d455ce3babb8a2ce130533709a46956da2a718797f1660f927b99ff"
/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 15 packages
- install base v0.16.3
- install cinaps v0.15.1
- install cmdliner 1.3.0
- install conf-bash 1
- install csexp 1.5.2
- install dune 3.17.2
- install dune-configurator 3.17.2
- install ocaml-compiler-libs v0.12.4
- install ocamlfind 1.9.8
- install ppx_derivers 1.2.1
- install re 1.12.0
- install seq base
- install sexplib0 v0.16.0
- install stdlib-shims 0.3.0
- install yojson 2.2.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cinaps.v0.15.1 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved base.v0.16.3 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed conf-bash.1
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved re.1.12.0 (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved yojson.2.2.2 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed dune.3.17.2
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed ocaml-compiler-libs.v0.12.4
-> installed re.1.12.0
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed cinaps.v0.15.1
-> installed dune-configurator.3.17.2
-> installed yojson.2.2.2
-> installed base.v0.16.3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-03 10:59.06 ---> saved as "39aa2710d338cc9c03644f6760c65987505d59a672daa51dd7e3e4c0a0f2d013"
/src: (copy (src .) (dst /src))
2025-03-03 10:59.09 ---> saved as "7d6dda964f2eae0aaf5a9125b4165f8d461950199d3477ec43fc31bd75efe8ca"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-03-03 11:00.03 ---> saved as "d02b7322dd2dcf5e9e56e3f67fcd6d7c8170585a9b85dddfe16eb339bceb71e7"
Job succeeded
2025-03-03 11:00.04: Job succeeded