Organisationsmirageocaml-xenstore093bc1 ()debian-11-4.14_opam-2.3

debian-11-4.14_opam-2.3

Logs

Show full logs
2025-05-22 20:04.02: New job: test mirage/ocaml-xenstore https://github.com/mirage/ocaml-xenstore.git#refs/heads/main (093bc13f99677d2efa0561c9dbad2221fc1dd515) (linux-x86_64:debian-11-4.14_opam-2.3)
Base: ocaml/opam:debian-11-ocaml-4.14@sha256:d96d6e0e03b9c309175b2f7c514c72a419160d547f58003f0e51f947669df93d
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-11-ocaml-4.14@sha256:d96d6e0e03b9c309175b2f7c514c72a419160d547f58003f0e51f947669df93d
# debian-11-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 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && 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.8.0 csexp.1.5.2 dune.3.19.0 dune-configurator.3.19.0 lwt.5.9.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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.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-22 20:04.02: Using cache hint "mirage/ocaml-xenstore-ocaml/opam:debian-11-ocaml-4.14@sha256:d96d6e0e03b9c309175b2f7c514c72a419160d547f58003f0e51f947669df93d-debian-11-4.14_opam-2.3-f82f3f4444ab73893cfc3dbff90f9a73"
2025-05-22 20:04.02: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-4.14@sha256:d96d6e0e03b9c309175b2f7c514c72a419160d547f58003f0e51f947669df93d)
 (comment debian-11-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 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && 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.8.0 csexp.1.5.2 dune.3.19.0 dune-configurator.3.19.0 lwt.5.9.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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.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-22 20:04.02: Waiting for resource in pool OCluster
2025-05-22 23:00.21: Waiting for worker…
2025-05-22 23:02.22: Got resource from pool OCluster
Building on x86-bm-c6.sw.ocaml.org
All commits already cached
HEAD is now at 093bc13 Merge pull request #57 from hannesm/add-maint

(from ocaml/opam:debian-11-ocaml-4.14@sha256:d96d6e0e03b9c309175b2f7c514c72a419160d547f58003f0e51f947669df93d)
2025-05-22 23:02.22 ---> using "2315f1f6b69c757c8943d63ad8094039d53511810b036ab7d7e716e77ea315c3" from cache

/: (comment debian-11-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-05-22 23:02.22 ---> using "d4d9afe3279ba16099a122b42eb48ac1ad275e6961deee69864876478ecf824c" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-05-22 23:02.22 ---> using "36d6e34a665eabe6583a5a8a196efa7e30f009049f92317de76653a80286a8fc" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-05-22 23:02.22 ---> using "e7dc116da1e9c11749fd27d2ba4d1b3e3d8ca7ba2517567cee8b45b614f4573b" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-05-22 23:02.22 ---> using "72f66f163b62b68432448f4a2694fac54c8aeaa562dce5f2fbea6c3e7b34a108" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   0d013e603b..d4d1aa63ab  master     -> origin/master
2df846cb67 Merge pull request #27910 from maiste/release-dune-3.19.0

<><> 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-22 23:02.22 ---> using "130bc4e7e954f5fbb4b05d5696d0f123ab015b081ad775b0cf4c8910847821d8" from cache

/src: (copy (src xenstore.opam) (dst ./))
2025-05-22 23:02.22 ---> saved as "d60dcceddcfb3d6397fbae67cdaef0d1e5da2818e784b60cf500a1983244a69b"

/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-22 23:02.24 ---> saved as "c32d1b3c192b70a466b8d07d6c0cb88e272d8176e1d7ff93b462e5684cb36709"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-22 23:02.25 ---> saved as "7da710b421197b01274a974bc30ce5c99a88885d4a06c73c2c76dadbc69fef4e"

/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.19.0 dune-configurator.3.19.0 lwt.5.9.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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.3 --depext-only -y xenstore.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bullseye InRelease
- Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]
- Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
- Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [369 kB]
- Fetched 441 kB in 1s (721 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.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-05-22 23:02.45 ---> saved as "06067afba867be73b74a44e3effb09dd800e2638e2f1ed747c80ae0259ee112f"

/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 11 packages
  - install base-bytes        base
  - install cppo              1.8.0
  - install csexp             1.5.2
  - install dune              3.19.0
  - install dune-configurator 3.19.0
  - 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 ounit2.2.2.7  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved dune.3.19.0, dune-configurator.3.19.0  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.19.0
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed ounit2.2.2.7
-> installed dune-configurator.3.19.0
-> installed lwt.5.9.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-22 23:03.48 ---> saved as "e7247744b9c2ff58943a7df7e8ae5003183c740dbe265dcbb3fd7a111466925f"

/src: (copy (src .) (dst /src))
2025-05-22 23:03.48 ---> saved as "63f3e5f089c95dd0c6a2852b8e01f8da312075edacc5c08deaa2cb7bcf4f2757"

/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.04 seconds.
OK
(cd _build/default/server_test && ./server_test.exe)
...................
Ran: 19 tests in: 0.01 seconds.
OK
2025-05-22 23:03.51 ---> saved as "663ba8566d918d110474e4c26e6809c685c5d5bb8a00d183f94ddf2831a1c816"
Job succeeded
2025-05-22 23:03.51: Job succeeded