2024-11-19 19:01.30: New job: test mirage/ocaml-xenstore https://github.com/mirage/ocaml-xenstore.git#refs/pull/55/head (31c85ea082a7771ff8f26332a939276ff4a389f8) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.13@sha256:65b08479081d48a446749873c9846940663010e6194fc56a7fb5d675e83813c8
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/ocaml-xenstore.git" && cd "ocaml-xenstore" && git fetch origin "refs/pull/55/head" && git reset --hard 31c85ea0
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.13@sha256:65b08479081d48a446749873c9846940663010e6194fc56a7fb5d675e83813c8
# 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 0042660a9180d1270c19882182dcf61b6f8bb645 || git fetch origin master) && git reset -q --hard 0042660a9180d1270c19882182dcf61b6f8bb645 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 xenstore.opam ./
RUN opam pin add -yn xenstore.dev './'
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 host-arch-x86_64.1 host-system-other.1 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.0 seq.0.2.2 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
2024-11-19 19:01.30: Using cache hint "mirage/ocaml-xenstore-ocaml/opam:debian-12-ocaml-4.13@sha256:65b08479081d48a446749873c9846940663010e6194fc56a7fb5d675e83813c8-debian-12-4.13_opam-2.3-15cb45b5517909486ee9015010525acf"
2024-11-19 19:01.30: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.13@sha256:65b08479081d48a446749873c9846940663010e6194fc56a7fb5d675e83813c8)
(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 0042660a9180d1270c19882182dcf61b6f8bb645 || git fetch origin master) && git reset -q --hard 0042660a9180d1270c19882182dcf61b6f8bb645 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src xenstore.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn xenstore.dev './'"))
(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 host-arch-x86_64.1 host-system-other.1 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.0 seq.0.2.2 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"))
)
2024-11-19 19:01.30: Waiting for resource in pool OCluster
2024-11-20 08:05.51: Waiting for worker…
2024-11-20 08:07.54: Got resource from pool OCluster
Building on x86-bm-c10.sw.ocaml.org
All commits already cached
HEAD is now at 31c85ea fixup! client_unix: Add Directory_part support
(from ocaml/opam:debian-12-ocaml-4.13@sha256:65b08479081d48a446749873c9846940663010e6194fc56a7fb5d675e83813c8)
2024-11-20 08:07.54 ---> using "bbcd1309ce30c3cc499604e24d796acdf8975629ff8dec06012398dbdaa0fd70" 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"))
2024-11-20 08:07.54 ---> using "c5283d9b2b491750dddace67c59ef42c094a293b37954fb95f65dc6c30e85302" 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] synchronised from file:///home/opam/opam-repository
2024-11-20 08:08.22 ---> saved as "0e49e72cfdb56f09cd7711834036c10a5dc3ba0a355afe2ddc5f3f2a546910fa"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-125-generic
The OCaml toplevel, version 4.13.1
2.3.0
2024-11-20 08:08.22 ---> saved as "cdca18f05d961e55c317639cf0cf75fef52882a8b06f49729197b9536071b2ca"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-11-20 08:08.22 ---> saved as "c6982e73ca72632bd1f5ad0a91614f96011a301473292920ad31ee975102e267"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 0042660a9180d1270c19882182dcf61b6f8bb645 || git fetch origin master) && git reset -q --hard 0042660a9180d1270c19882182dcf61b6f8bb645 && git log --no-decorate -n1 --oneline && opam update -u"))
0042660a91 Merge pull request #25861 from dra27/windows-initial
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
The following actions will be performed:
=== downgrade 1 package
- downgrade opam-depext 1.2.3 to 1.2.1-1 [no longer available]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.1-1 (cached)
-> removed opam-depext.1.2.3
-> installed opam-depext.1.2.1-1
Done.
<><> opam-depext.1.2.1-1 installed successfully <><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# To update the current shell environment, run: eval $(opam env)
2024-11-20 08:09.44 ---> saved as "91cfa86b7e77031cde87cde925c12bf1fa13ee2c2707b7da8dc54091cdaaa624"
/src: (copy (src xenstore.opam) (dst ./))
2024-11-20 08:09.44 ---> saved as "9e484415842f841505af6b1e211cae19741bf8e491d93a4095274e750443ab21"
/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)
2024-11-20 08:09.46 ---> saved as "02231ac7ae57ade11bf266a83ccff39d4808834f5072d1b1e57e838573658839"
/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 host-arch-x86_64.1 host-system-other.1 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.0 seq.0.2.2 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"
- 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 amd64 Packages [204 kB]
- Fetched 308 kB in 0s (1175 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[xenstore.dev] synchronised (no changes)
[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 host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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).
2024-11-20 08:10.03 ---> saved as "79835dbeb17cac570e690fbb399a181b46aa0967ee9fc71cc326b64b69ae9e59"
/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 host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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
- 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.0
- install seq 0.2.2
- 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.0 (cached)
-> retrieved seq.0.2.2 (cached)
-> retrieved stdlib-shims.0.1.0 (cached)
-> installed result.1.0
-> 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 mmap.1.1.0
-> installed seq.0.2.2
-> installed ounit2.2.2.2
-> installed dune-private-libs.2.3.0
-> installed ocplib-endian.1.0
-> installed dune-configurator.2.3.0
-> installed lwt.5.4.0
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-20 08:10.51 ---> saved as "0c3f5cb7141a3f3f46f33b06a445475c7b7b72ee9bd7462b94b6bce839945531"
/src: (copy (src .) (dst /src))
2024-11-20 08:10.51 ---> saved as "a3265cd1044e7b3791c313b64002187cd7058bb377b964537e79f33ce64782df"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
xs_test alias core_test/runtest
.............................................................................................
Ran: 93 tests in: 0.08 seconds.
OK
server_test alias server_test/runtest
...................
Ran: 19 tests in: 0.02 seconds.
OK
2024-11-20 08:10.53 ---> saved as "3eaeb4001c40bbac379abaf833f3de863ee6e1da0ef7d7fa420df68a803efe73"
Job succeeded
2024-11-20 08:10.53: Job succeeded