2024-11-18 10:10.12: New job: test mirage/ocaml-xenstore https://github.com/mirage/ocaml-xenstore.git#refs/pull/55/head (01b9eb8a3f65cc3d402a244c0b901f4a31433203) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.08@sha256:e4f2cf9099096504addd23b73b0d98c5a1fbb1633a6d52b7627cfa16f89debf8
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 01b9eb8a
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.08@sha256:e4f2cf9099096504addd23b73b0d98c5a1fbb1633a6d52b7627cfa16f89debf8
# debian-12-4.08_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /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 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && 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 conf-m4.1 cppo.1.6.1 dune.2.0.1 dune-configurator.2.0.1 dune-private-libs.2.0.1 jbuilder.1.0+beta20.1 lwt.4.5.0 mmap.1.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 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.2 --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-18 10:10.12: Using cache hint "mirage/ocaml-xenstore-ocaml/opam:debian-12-ocaml-4.08@sha256:e4f2cf9099096504addd23b73b0d98c5a1fbb1633a6d52b7627cfa16f89debf8-debian-12-4.08_opam-2.2-39d1d70292fdca5c92930d41ffce39a2"
2024-11-18 10:10.12: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:e4f2cf9099096504addd23b73b0d98c5a1fbb1633a6d52b7627cfa16f89debf8)
(comment debian-12-4.08_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.2 /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 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && 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 conf-m4.1 cppo.1.6.1 dune.2.0.1 dune-configurator.2.0.1 dune-private-libs.2.0.1 jbuilder.1.0+beta20.1 lwt.4.5.0 mmap.1.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 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.2 --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-18 10:10.12: Waiting for resource in pool OCluster
2024-11-18 10:10.12: Waiting for worker…
2024-11-18 10:10.12: Got resource from pool OCluster
Building on x86-bm-c6.sw.ocaml.org
HEAD is now at 9470039 client_unix: Add Directory_part support
HEAD is now at 01b9eb8 fixup! client_unix: Add Directory_part support
(from ocaml/opam:debian-12-ocaml-4.08@sha256:e4f2cf9099096504addd23b73b0d98c5a1fbb1633a6d52b7627cfa16f89debf8)
2024-11-18 10:10.12 ---> using "45ed51cabfe3de1acd486922e22b24eee2a37ab1a07c3ddaa8a9367527eeade3" from cache
/: (comment debian-12-4.08_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-11-18 10:10.12 ---> using "13f68d8fe05aeef95ccc5906a4e80e2ff77801f5b170515e2fb16bc7d4e819b3" 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] synchronised from file:///home/opam/opam-repository
2024-11-18 10:10.12 ---> using "294086592733704d7a06c8eb9868913640f72ef439f238f7acb1a91796dc07eb" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-125-generic
The OCaml toplevel, version 4.08.1
2.2.1
2024-11-18 10:10.12 ---> using "cd60e4e9851044c0fcdec87c6f3c868861f866cdaff6b226191e594c939a1819" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-11-18 10:10.12 ---> using "f7182983af2680d7a10d2372168e3332228b2072f3fc8b58cef2d84d4077fd35" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
d872638bdf..a6cd5e9297 master -> origin/master
28daeff6f3 Merge pull request #26814 from mtelvers/m4
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from 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.
# Run eval $(opam env) to update the current shell environment
2024-11-18 10:10.12 ---> using "b9e1f2752bf4fc9486a8db7831dea58d8cbd4d121d552b2e7ac3a0cac02f41bf" from cache
/src: (copy (src xenstore.opam) (dst ./))
2024-11-18 10:10.12 ---> using "61d15a568a6536860b0526ac0e8f231f2bdade4ced6ccabc839941356eaa9830" from cache
/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-18 10:10.12 ---> using "2d6e5a1937e46d039112612927829a506f86649836161ed86beab812b3b977be" from cache
/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-m4.1 cppo.1.6.1 dune.2.0.1 dune-configurator.2.0.1 dune-private-libs.2.0.1 jbuilder.1.0+beta20.1 lwt.4.5.0 mmap.1.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 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.2 --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 [8789 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [204 kB]
- Fetched 9247 kB in 2s (4123 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[xenstore.dev] synchronised (no changes)
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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 system packages will first need to be installed:
m4
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package m4.
- (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18745 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Setting up m4 (1.4.19-3) ...
2024-11-18 10:10.12 ---> using "0dc28e8085d8000bccb8f2ebc8d416c4fb293efa44eeb4c6524b591f9fee1e3a" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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 16 packages
- install base-bytes base
- install conf-m4 1
- install cppo 1.6.1
- install dune 2.0.1
- install dune-configurator 2.0.1
- install dune-private-libs 2.0.1
- install jbuilder 1.0+beta20.1
- install lwt 4.5.0
- install mmap 1.1.0
- install ocamlbuild 0.14.0
- install ocamlfind 1.8.0
- 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)
-> installed conf-m4.1
-> retrieved jbuilder.1.0+beta20.1 (cached)
-> retrieved dune.2.0.1, dune-configurator.2.0.1, dune-private-libs.2.0.1 (cached)
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved lwt.4.5.0 (https://github.com/ocsigen/lwt/archive/4.5.0.tar.gz)
-> retrieved mmap.1.1.0 (https://github.com/mirage/mmap/releases/download/v1.1.0/mmap-v1.1.0.tbz)
-> retrieved ocplib-endian.1.0 (cached)
-> retrieved result.1.0 (cached)
-> installed result.1.0
-> retrieved seq.0.2.2 (https://github.com/c-cube/seq/archive/0.2.2.tar.gz)
-> retrieved stdlib-shims.0.1.0 (cached)
-> retrieved ocamlfind.1.8.0 (http://download.camlcity.org/download/findlib-1.8.0.tar.gz)
-> retrieved ounit2.2.2.2 (https://github.com/gildor478/ounit/releases/download/v2.2.2/ounit-v2.2.2.tbz)
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed jbuilder.1.0+beta20.1
-> installed cppo.1.6.1
-> installed dune.2.0.1
-> installed mmap.1.1.0
-> installed stdlib-shims.0.1.0
-> installed seq.0.2.2
-> installed ounit2.2.2.2
-> installed dune-private-libs.2.0.1
-> installed ocplib-endian.1.0
-> installed dune-configurator.2.0.1
-> installed lwt.4.5.0
Done.
<><> lwt.4.5.0 installed successfully <><><><><><><><><><><><><><><><><><><><><>
=> Lwt 5.0.0 will make some breaking changes in December 2019. See
https://github.com/ocsigen/lwt/issues/584
# Run eval $(opam env) to update the current shell environment
2024-11-18 10:10.12 ---> using "2593d6438435d018f36bfebe60b036f0f7690d27c22a5da5ab635c2a668a7b77" from cache
/src: (copy (src .) (dst /src))
2024-11-18 10:10.12 ---> saved as "72f0ba8759f733f373636e02f4598bb80ecf4d4fecea14a6f317aaf0268da69c"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
ocamlc client_unix/.xenstore_unix.objs/byte/xs_client_unix.{cmo,cmt} (exit 2)
(cd _build/default && /home/opam/.opam/4.08/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I client_unix/.xenstore_unix.objs/byte -I /home/opam/.opam/4.08/lib/ocaml/threads -I core/.xenstore.objs/byte -I core/.xenstore.objs/native -intf-suffix .ml -no-alias-deps -opaque -o client_unix/.xenstore_unix.objs/byte/xs_client_unix.cmo -c -impl client_unix/xs_client_unix.ml)
File "client_unix/xs_client_unix.ml", line 328, characters 18-34:
328 | else if String.ends_with ~suffix:"\000\000" (Buffer.contents data)
^^^^^^^^^^^^^^^^
Error: Unbound value String.ends_with
ocamlopt client_unix/.xenstore_unix.objs/native/xs_client_unix.{cmx,o} (exit 2)
(cd _build/default && /home/opam/.opam/4.08/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I client_unix/.xenstore_unix.objs/byte -I client_unix/.xenstore_unix.objs/native -I /home/opam/.opam/4.08/lib/ocaml/threads -I core/.xenstore.objs/byte -I core/.xenstore.objs/native -intf-suffix .ml -no-alias-deps -opaque -o client_unix/.xenstore_unix.objs/native/xs_client_unix.cmx -c -impl client_unix/xs_client_unix.ml)
File "client_unix/xs_client_unix.ml", line 328, characters 18-34:
328 | else if String.ends_with ~suffix:"\000\000" (Buffer.contents data)
^^^^^^^^^^^^^^^^
Error: Unbound value String.ends_with
ocamlc server/.xenstore_server.objs/byte/xenstore_server__Store.{cmo,cmt} (exit 2)
(cd _build/default && /home/opam/.opam/4.08/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I server/.xenstore_server.objs/byte -I /home/opam/.opam/4.08/lib/bytes -I /home/opam/.opam/4.08/lib/lwt -I /home/opam/.opam/4.08/lib/result -I /home/opam/.opam/4.08/lib/seq -I core/.xenstore.objs/byte -I core/.xenstore.objs/native -intf-suffix .ml -no-alias-deps -opaque -open Xenstore_server -o server/.xenstore_server.objs/byte/xenstore_server__Store.cmo -c -impl server/store.ml)
File "server/store.ml", line 88, characters 39-53:
88 | let name_is_valid name = name <> "" && String.for_all char_is_valid name
^^^^^^^^^^^^^^
Error: Unbound value String.for_all
ocamlopt server/.xenstore_server.objs/native/xenstore_server__Store.{cmx,o} (exit 2)
(cd _build/default && /home/opam/.opam/4.08/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I server/.xenstore_server.objs/byte -I server/.xenstore_server.objs/native -I /home/opam/.opam/4.08/lib/bytes -I /home/opam/.opam/4.08/lib/lwt -I /home/opam/.opam/4.08/lib/result -I /home/opam/.opam/4.08/lib/seq -I core/.xenstore.objs/byte -I core/.xenstore.objs/native -intf-suffix .ml -no-alias-deps -opaque -open Xenstore_server -o server/.xenstore_server.objs/native/xenstore_server__Store.cmx -c -impl server/store.ml)
File "server/store.ml", line 88, characters 39-53:
88 | let name_is_valid name = name <> "" && String.for_all char_is_valid name
^^^^^^^^^^^^^^
Error: Unbound value String.for_all
xs_test alias core_test/runtest
.............................................................................................
Ran: 93 tests in: 0.03 seconds.
OK
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-11-18 10:10.14: Job failed: Failed: Build failed