2025-05-18 18:27.09: New job: test mirage/ocaml-xenstore https://github.com/mirage/ocaml-xenstore.git#refs/heads/main (093bc13f99677d2efa0561c9dbad2221fc1dd515) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.13@sha256:6a8aa82b91bea3d00f3764d59543b7c681352956cfa0255f85eb06a8978f3eef
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/ocaml-xenstore.git" -b "main" && cd "ocaml-xenstore" && git reset --hard 093bc13f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.13@sha256:6a8aa82b91bea3d00f3764d59543b7c681352956cfa0255f85eb06a8978f3eef
# debian-12-4.13_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 cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && 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-threads.base base-unix.base cppo.1.6.1 dune.2.8.5 dune-configurator.2.3.0 dune-private-libs.2.3.0 jbuilder.1.0+beta20.1 lwt.5.4.0 mmap.1.1.0 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.0 ocamlfind.1.9.1 ocplib-endian.1.0 ounit2.2.2.2 result.1.5 seq.0.3 stdlib-shims.0.1.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --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-05-18 18:27.09: Using cache hint "mirage/ocaml-xenstore-ocaml/opam:debian-12-ocaml-4.13@sha256:6a8aa82b91bea3d00f3764d59543b7c681352956cfa0255f85eb06a8978f3eef-debian-12-4.13_opam-2.3-1e9346af96aa0672f2a0d6bc7166c630"
2025-05-18 18:27.09: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.13@sha256:6a8aa82b91bea3d00f3764d59543b7c681352956cfa0255f85eb06a8978f3eef)
(comment debian-12-4.13_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 cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && 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-threads.base base-unix.base cppo.1.6.1 dune.2.8.5 dune-configurator.2.3.0 dune-private-libs.2.3.0 jbuilder.1.0+beta20.1 lwt.5.4.0 mmap.1.1.0 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.0 ocamlfind.1.9.1 ocplib-endian.1.0 ounit2.2.2.2 result.1.5 seq.0.3 stdlib-shims.0.1.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 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-05-18 18:27.09: Waiting for resource in pool OCluster
2025-05-18 20:11.22: Waiting for worker…
2025-05-18 20:14.17: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 093bc13 Merge pull request #57 from hannesm/add-maint
(from ocaml/opam:debian-12-ocaml-4.13@sha256:6a8aa82b91bea3d00f3764d59543b7c681352956cfa0255f85eb06a8978f3eef)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.13@sha256:6a8aa82b91bea3d00f3764d59543b7c681352956cfa0255f85eb06a8978f3eef' locally
docker.io/ocaml/opam@sha256:6a8aa82b91bea3d00f3764d59543b7c681352956cfa0255f85eb06a8978f3eef: Pulling from ocaml/opam
73fcb86ee884: Pulling fs layer
73fcb86ee884: Verifying Checksum
73fcb86ee884: Download complete
73fcb86ee884: Pull complete
Digest: sha256:6a8aa82b91bea3d00f3764d59543b7c681352956cfa0255f85eb06a8978f3eef
Status: Downloaded newer image for ocaml/opam@sha256:6a8aa82b91bea3d00f3764d59543b7c681352956cfa0255f85eb06a8978f3eef
2025-05-18 20:14.17 ---> using "2ff327fd4b3a8b5f715410130ea3f14fd7fc43210fd00547a667978aa441ce0b" from cache
/: (comment debian-12-4.13_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-05-18 20:14.17 ---> using "dcd3f126f07266646f11fa490d337da69f8f7972c1b09be6697a72e06738b586" 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 39 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=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-05-18 20:14.17 ---> using "8b0f20829c7327b0d51f814a6cc3e63aeae8baf25bade79f2e08308414636552" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.13.1
2.3.0
2025-05-18 20:14.17 ---> using "3b977f5b622b2a9a9a2875e0ed9f7a204cd87cce47cfb571a0e2e5c3f196d6ee" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-05-18 20:14.17 ---> using "255930bc0119692c0832714c692ad84a250ce638a884080a5da2bf4861b7ce7c" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && git log --no-decorate -n1 --oneline && opam update -u"))
cb8df6db01 Merge pull request #27631 from dbuenzli/incompatible-cmdliner2
<><> 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-05-18 20:14.17 ---> using "c3a4116e90a76e5816861d905a3eb2f07b1b7b36c5ab2299052341df3999d6b4" from cache
/src: (copy (src xenstore.opam) (dst ./))
2025-05-18 20:14.17 ---> saved as "58afc68f37d76cb76a5130f9e3fa395afc50ad82449f274592acf9fbc83a8c41"
/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-05-18 20:14.20 ---> saved as "f47db9a27f8736f649f98719e8efc61864beb968fd6040fd5e3c0314ff8eadc1"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-18 20:14.21 ---> saved as "c8821ce24ffc13157b102933216b174303ee106f61adfb9d76e3057b009d58a1"
/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.6.1 dune.2.8.5 dune-configurator.2.3.0 dune-private-libs.2.3.0 jbuilder.1.0+beta20.1 lwt.5.4.0 mmap.1.1.0 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.0 ocamlfind.1.9.1 ocplib-endian.1.0 ounit2.2.2.2 result.1.5 seq.0.3 stdlib-shims.0.1.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 xenstore.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- 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 bookworm/main amd64 Packages [8793 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [259 kB]
- Fetched 9306 kB in 1s (6742 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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.13.1).
[NOTE] Package ocaml is already installed (current version is 4.13.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).
2025-05-18 20:14.33 ---> saved as "c083612567b859b487d45c2dc6545959d47ac39f1b8c7a8e0d67f7d00f7f5e2f"
/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.13.1).
[NOTE] Package ocaml is already installed (current version is 4.13.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 15 packages
- install base-bytes base
- install cppo 1.6.1
- install dune 2.8.5
- install dune-configurator 2.3.0
- install dune-private-libs 2.3.0
- install jbuilder 1.0+beta20.1 (deprecated)
- install lwt 5.4.0
- install mmap 1.1.0
- install ocamlbuild 0.14.0
- install ocamlfind 1.9.1
- install ocplib-endian 1.0
- install ounit2 2.2.2
- install result 1.5
- install seq 0.3
- install stdlib-shims 0.1.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.6.1 (cached)
-> retrieved jbuilder.1.0+beta20.1 (cached)
-> retrieved dune.2.8.5 (cached)
-> retrieved dune-configurator.2.3.0, dune-private-libs.2.3.0 (cached)
-> retrieved lwt.5.4.0 (cached)
-> retrieved mmap.1.1.0 (cached)
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved ocamlfind.1.9.1 (cached)
-> retrieved ocplib-endian.1.0 (cached)
-> retrieved ounit2.2.2.2 (cached)
-> retrieved result.1.5 (cached)
-> retrieved seq.0.3 (cached)
-> retrieved stdlib-shims.0.1.0 (cached)
-> installed ocamlfind.1.9.1
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed jbuilder.1.0+beta20.1
-> installed cppo.1.6.1
-> installed dune.2.8.5
-> installed stdlib-shims.0.1.0
-> installed seq.0.3
-> installed result.1.5
-> installed mmap.1.1.0
-> installed ounit2.2.2.2
-> installed ocplib-endian.1.0
-> installed dune-private-libs.2.3.0
-> installed dune-configurator.2.3.0
-> installed lwt.5.4.0
Done.
<><> jbuilder.1.0+beta20.1 installed successfully <><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2025-05-18 20:15.05 ---> saved as "cdf262d8d8fcfddc581da6cb671da1f3d1619be3c2241fe10541457b09da8d93"
/src: (copy (src .) (dst /src))
2025-05-18 20:15.06 ---> saved as "3550459f12506bbc85a06b9da3fd145335d3f3e36561bf63730c065395368958"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
xs_test alias core_test/runtest
.............................................................................................
Ran: 93 tests in: 0.02 seconds.
OK
server_test alias server_test/runtest
...................
Ran: 19 tests in: 0.01 seconds.
OK
2025-05-18 20:15.08 ---> saved as "a6da792487a915884f2f3d0ba609436e742bb80cd2754a514556e98b364df4cb"
Job succeeded
2025-05-18 20:15.08: Job succeeded