2025-09-16 10:11.12: New job: test mirage/ocaml-xenstore https://github.com/mirage/ocaml-xenstore.git#refs/heads/main (dd229365a3e50a264cc258b440758ec9935a9937) (linux-ppc64:debian-13-5.3_ppc64_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-5.3@sha256:83831dceff318f8540a6fa4dfc94cff8fb5213d0ec9c2abf674a4038efaa365c
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/ocaml-xenstore.git" -b "main" && cd "ocaml-xenstore" && git reset --hard dd229365
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.3@sha256:83831dceff318f8540a6fa4dfc94cff8fb5213d0ec9c2abf674a4038efaa365c
# debian-13-5.3_ppc64_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 xenstore.opam ./
RUN opam pin add -yn xenstore.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 lwt.5.9.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2 ounit2.2.2.7 seq.base stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y xenstore.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-09-16 10:11.12: Using cache hint "mirage/ocaml-xenstore-ocaml/opam:debian-13-ocaml-5.3@sha256:83831dceff318f8540a6fa4dfc94cff8fb5213d0ec9c2abf674a4038efaa365c-debian-13-5.3_ppc64_opam-2.4-de5dbdc986c852b6f33719d8b070655a"
2025-09-16 10:11.12: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.3@sha256:83831dceff318f8540a6fa4dfc94cff8fb5213d0ec9c2abf674a4038efaa365c)
(comment debian-13-5.3_ppc64_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src xenstore.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn xenstore.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 lwt.5.9.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2 ounit2.2.2.7 seq.base stdlib-shims.0.3.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.4 --depext-only -y xenstore.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-09-16 10:11.12: Waiting for resource in pool OCluster
2025-09-16 10:11.12: Waiting for worker…
2025-09-16 10:16.52: Got resource from pool OCluster
Building on scyleia.caelum.ci.dev
All commits already cached
HEAD is now at dd22936 dune: require at least 2.7 (#59)
(from ocaml/opam:debian-13-ocaml-5.3@sha256:83831dceff318f8540a6fa4dfc94cff8fb5213d0ec9c2abf674a4038efaa365c)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.3@sha256:83831dceff318f8540a6fa4dfc94cff8fb5213d0ec9c2abf674a4038efaa365c' locally
docker.io/ocaml/opam@sha256:83831dceff318f8540a6fa4dfc94cff8fb5213d0ec9c2abf674a4038efaa365c: Pulling from ocaml/opam
Digest: sha256:83831dceff318f8540a6fa4dfc94cff8fb5213d0ec9c2abf674a4038efaa365c
Status: Downloaded newer image for ocaml/opam@sha256:83831dceff318f8540a6fa4dfc94cff8fb5213d0ec9c2abf674a4038efaa365c
2025-09-16 10:16.52 ---> using "17959b867b6c7631c4b6c59bf49ee27af892fb57728c754bd0ab33125151034e" from cache
/: (comment debian-13-5.3_ppc64_opam-2.4)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-16 10:16.52 ---> using "dc489b9ce23b1da220cafa26b081bd1972a4b89c2f4a8ceafd989237e7c5a5fc" 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 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-09-16 10:16.52 ---> using "da34f4558c72d0f3e973863fd6c0f4eb2d8889dcf009858a3a674fc8ad386782" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-60-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-16 10:16.52 ---> using "09d340ee405579b28461e0cb2ab86dc359b4df9fe7577cfc619a6277031100ee" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-09-16 10:16.52 ---> using "ac9d03137970f00a9ca8ea5188136f69e48403ae3cda1f132a00d59bd20840f6" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
bcac5d1731..7949ff40d8 master -> origin/master
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-09-16 10:16.52 ---> using "b7f8759bfa5b569ccd344991c128923cbe7d9596d96e0e561793334012cb4e36" from cache
/src: (copy (src xenstore.opam) (dst ./))
2025-09-16 10:16.52 ---> saved as "e7cc6aa8d93f7971b19bcdfc8b9de947c3cd2c550044cd7fefdfc82d71a4cdc6"
/src: (run (network host)
(shell "opam pin add -yn xenstore.dev './'"))
[xenstore.dev] synchronised (file:///src)
xenstore is now pinned to file:///src (version dev)
2025-09-16 10:16.54 ---> saved as "c749a674c8ea0d4b33b6369b1125f713d6957c87152c3304df3d74b710b25a8a"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-16 10:16.54 ---> saved as "4faa2bd948ae28495d65f77e3a8198a8bfd6a51f59bb5c5e6d53572e941ad9cf"
/src: (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 lwt.5.9.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2 ounit2.2.2.7 seq.base stdlib-shims.0.3.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.4 --depext-only -y xenstore.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main ppc64el Packages [38.3 kB]
- Fetched 129 kB in 0s (1332 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[xenstore.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 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-09-16 10:17.08 ---> saved as "bb9e2ba3ecfaa384a6c6c8cb716235e919dc4f3c6775dffd6d1540b3a42e8e52"
/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 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 11 packages
- install base-bytes base
- install cppo 1.8.0
- install csexp 1.5.2
- install dune 3.20.2
- install dune-configurator 3.20.2
- install lwt 5.9.2
- install ocamlfind 1.9.8
- install ocplib-endian 1.2
- install ounit2 2.2.7
- install seq base
- install stdlib-shims 0.3.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved lwt.5.9.2 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> retrieved ounit2.2.2.7 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed stdlib-shims.0.3.0
-> installed ocplib-endian.1.2
-> installed ounit2.2.2.7
-> installed dune-configurator.3.20.2
-> installed lwt.5.9.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-16 10:18.30 ---> saved as "7c825277484e7ce59e034b5fe65b8a6812323c21149b747ba1954dc5b22749ba"
/src: (copy (src .) (dst /src))
2025-09-16 10:18.30 ---> saved as "025dae7016a5a265524d889b66ca57ba9c5b9c445a5f0c098db9f7b4daf73c7d"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/core_test && ./xs_test.exe)
.............................................................................................
Ran: 93 tests in: 0.06 seconds.
OK
(cd _build/default/server_test && ./server_test.exe)
...................
Ran: 19 tests in: 0.02 seconds.
OK
2025-09-16 10:18.33 ---> saved as "4d7fb68bccd646ba14ecf7d5e197d19ada30aa70a47be9c35223f3c0c81a26dc"
Job succeeded
2025-09-16 10:18.33: Job succeeded