Organisationsmirageocaml-xenstore0dc6db ()ubuntu-24.04-5.3_opam-2.4

ubuntu-24.04-5.3_opam-2.4

Logs

Show full logs
2025-07-31 07:30.44: New job: test mirage/ocaml-xenstore https://github.com/mirage/ocaml-xenstore.git#refs/heads/main (0dc6db269b6176160f945376bb91c342ba39f00d) (linux-x86_64:ubuntu-24.04-5.3_opam-2.4)
Base: ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:11d41a21c416e8d4bd76fab308f0a6a2820331507db6d863564a63ceeef73a6f
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/mirage/ocaml-xenstore.git" -b "main" && cd "ocaml-xenstore" && git reset --hard 0dc6db26
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:11d41a21c416e8d4bd76fab308f0a6a2820331507db6d863564a63ceeef73a6f
# ubuntu-24.04-5.3_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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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.19.1 dune-configurator.3.19.1 lwt.5.9.1 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-07-31 07:30.44: Using cache hint "mirage/ocaml-xenstore-ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:11d41a21c416e8d4bd76fab308f0a6a2820331507db6d863564a63ceeef73a6f-ubuntu-24.04-5.3_opam-2.4-5b36e6cdffd7c95c3c4b6cf7fede632a"
2025-07-31 07:30.44: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:11d41a21c416e8d4bd76fab308f0a6a2820331507db6d863564a63ceeef73a6f)
 (comment ubuntu-24.04-5.3_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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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.19.1 dune-configurator.3.19.1 lwt.5.9.1 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-07-31 07:30.44: Waiting for resource in pool OCluster
2025-07-31 09:57.19: Waiting for worker…
2025-07-31 09:59.06: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 0dc6db2 Merge pull request #58 from psafont/release

(from ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:11d41a21c416e8d4bd76fab308f0a6a2820331507db6d863564a63ceeef73a6f)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:11d41a21c416e8d4bd76fab308f0a6a2820331507db6d863564a63ceeef73a6f' locally
docker.io/ocaml/opam@sha256:11d41a21c416e8d4bd76fab308f0a6a2820331507db6d863564a63ceeef73a6f: Pulling from ocaml/opam
0053b2fe4443: Pulling fs layer
0053b2fe4443: Waiting
0053b2fe4443: Verifying Checksum
0053b2fe4443: Download complete
0053b2fe4443: Pull complete
Digest: sha256:11d41a21c416e8d4bd76fab308f0a6a2820331507db6d863564a63ceeef73a6f
Status: Downloaded newer image for ocaml/opam@sha256:11d41a21c416e8d4bd76fab308f0a6a2820331507db6d863564a63ceeef73a6f
2025-07-31 09:59.06 ---> using "8d5ac2c269860310678098568af4bb9a9415b8e574633846ef1c11cfe287bd6a" from cache

/: (comment ubuntu-24.04-5.3_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-07-31 09:59.06 ---> using "a8d4c96de20f390c451c53be2f7a83e4a5cec4afd786485243b8dd7a91afcebb" 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
[NOTE] The 'jobs' option was reset, its value was 255 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=255 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-31 09:59.06 ---> using "27c44e9006bd2b291857d8395b096a69a71dd0ec5f9711ec35ed5665dc7fb424" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-07-31 09:59.06 ---> using "79fc9a9846653bbd36848c8ad222ac25cf4fb5d5d15cbb82c1370023caa39ad0" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-07-31 09:59.06 ---> using "ee5bafe912a4101bc4a788aee06fe0bde95393201283c91b82c39bb72b1e712d" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1

<><> 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-07-31 09:59.06 ---> using "f4d0db04e2bb7331dbb4bb970b9049b3858567cf417c19cab6330145da5418d0" from cache

/src: (copy (src xenstore.opam) (dst ./))
2025-07-31 09:59.07 ---> saved as "5c9065dd0e4f9f250524afc94ee56d1b7d007440461ce7161807c599c1d2a3b9"

/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-07-31 09:59.11 ---> saved as "45a78b80410e0f27eb12216297a9a935ca3f004fa91d5a25034dbeda530f6a04"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-31 09:59.11 ---> saved as "a1089331af1c4ff7252ddae949035bb96ff802fbbf70d8ecdb69b9e1b95c9f1a"

/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.19.1 dune-configurator.3.19.1 lwt.5.9.1 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://archive.ubuntu.com/ubuntu noble InRelease
- Get:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:3 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [2086 kB]
- Get:5 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1663 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1449 kB]
- Get:8 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1324 kB]
- Get:9 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [1968 kB]
- Get:10 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1135 kB]
- Fetched 10.0 MB in 1s (8403 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-07-31 09:59.42 ---> saved as "7e29bc2ba091850c32ed4de8e99e03554f72f74c6319b30803880bb7278af793"

/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.19.1
  - install dune-configurator 3.19.1
  - install lwt               5.9.1
  - 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.1  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.19.1
-> 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.19.1
-> installed lwt.5.9.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-31 10:01.33 ---> saved as "77e4d435dcac26f3e29b9ceed430be4e99bf4798639b9ad6ad6953c6f8d6eff1"

/src: (copy (src .) (dst /src))
2025-07-31 10:01.33 ---> saved as "578fa67828ef38b32617e22f8791e275d45d710c3bbbca1bbf01a2a36200c410"

/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.01 seconds.
OK
2025-07-31 10:01.35 ---> saved as "4f87f3f92deb35cd91019ec8eecd356046b0bd7002ba6765dedb1ac08ede5646"
Job succeeded
2025-07-31 10:01.35: Job succeeded