Organisationsmirageocaml-xenstore4a4b4a ()(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-11-18 08:27.39: New job: test mirage/ocaml-xenstore https://github.com/mirage/ocaml-xenstore.git#refs/pull/56/head (4a4b4ab7a8773fa403bb995cae311b1ccc475ba8) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.13@sha256:7952522237453ab019b621056e279bd6d12a1c7b46b9f4de35e342fd0793cecc
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/ocaml-xenstore.git" && cd "ocaml-xenstore" && git fetch origin "refs/pull/56/head" && git reset --hard 4a4b4ab7
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.13@sha256:7952522237453ab019b621056e279bd6d12a1c7b46b9f4de35e342fd0793cecc
# debian-12-4.13_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 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.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 08:27.39: Using cache hint "mirage/ocaml-xenstore-ocaml/opam:debian-12-ocaml-4.13@sha256:7952522237453ab019b621056e279bd6d12a1c7b46b9f4de35e342fd0793cecc-debian-12-4.13_opam-2.2-15cb45b5517909486ee9015010525acf"
2024-11-18 08:27.39: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.13@sha256:7952522237453ab019b621056e279bd6d12a1c7b46b9f4de35e342fd0793cecc)
(comment debian-12-4.13_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 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.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 08:27.39: Waiting for resource in pool OCluster
2024-11-18 08:27.39: Waiting for worker…
2024-11-18 08:27.39: Got resource from pool OCluster
Building on x86-bm-c18.sw.ocaml.org
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/ocaml-xenstore.git-46419bfdb90b3e5eea3398f6d90dd9c4e7f51e53/.git/
HEAD is now at 4a4b4ab dune-project: Bump minimum OCaml version to 4.13


(from ocaml/opam:debian-12-ocaml-4.13@sha256:7952522237453ab019b621056e279bd6d12a1c7b46b9f4de35e342fd0793cecc)
2024-11-18 08:28.40 ---> saved as "4671d91d620de463500ac0d3192fd582c43ef2c52fd6f83e69c987c8940ba12a"


/: (comment debian-12-4.13_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 08:28.40 ---> saved as "39edb1933d0e30d072b729f04671f7774f84d9fe0be023541900506cc20b3bb9"


/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 08:30.20 ---> saved as "7be193041735a3c99358eaa6c6114203641cd6b2deea706e5ad7f63c9183dfe3"


/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.2.1
2024-11-18 08:30.20 ---> saved as "52f8e1c283e5bcc23db417ffe89a3ddc18a33e524293451ebe5ae05332a979c9"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-11-18 08:30.20 ---> saved as "024a57ce526c4b0bc42c8c79ff721c1e18b3fba252dfe40577d9e801fd46820b"


/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  (https://github.com/ocaml-opam/opam-depext/releases/download/v1.2.1/opam-depext-full-1.2.1.tbz)
-> 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
# Run eval $(opam env) to update the current shell environment
2024-11-18 08:31.33 ---> saved as "c0cb6a160d46b6572dcfa7f74a4651f4364c946a917708322959e4e491b9dfdf"


/src: (copy (src xenstore.opam) (dst ./))
2024-11-18 08:31.33 ---> saved as "0df975be9ed0c08af4d596dcd5e2de088a67a291cf84a9690c30062861b392e0"


/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 08:31.35 ---> saved as "3f74c9c0f24c0ea4d03c5efd82c8924e3016652ecdb3ea5be741d27e249be3bf"


/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.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 1s (7260 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-18 08:31.55 ---> saved as "ae53be53393ad4be930b12815d17eda01eb79d87a624f4962c8d22cd93993ef3"


/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 dune-configurator.2.3.0, dune-private-libs.2.3.0  (cached)
-> retrieved cppo.1.6.1  (https://github.com/mjambon/cppo/archive/v1.6.1.tar.gz)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved dune.2.8.5  (https://github.com/ocaml/dune/releases/download/2.8.5/dune-2.8.5.tbz)
-> retrieved ocamlbuild.0.14.0  (cached)
-> retrieved lwt.5.4.0  (https://github.com/ocsigen/lwt/archive/5.4.0.zip)
-> retrieved mmap.1.1.0  (https://github.com/mirage/mmap/releases/download/v1.1.0/mmap-v1.1.0.tbz)
-> retrieved ocamlfind.1.9.1  (http://download.camlcity.org/download/findlib-1.9.1.tar.gz)
-> retrieved result.1.0  (cached)
-> installed result.1.0
-> retrieved ocplib-endian.1.0  (https://github.com/OCamlPro/ocplib-endian/archive/1.0.tar.gz)
-> retrieved stdlib-shims.0.1.0  (cached)
-> retrieved seq.0.2.2  (https://github.com/c-cube/seq/archive/0.2.2.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.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 mmap.1.1.0
-> installed stdlib-shims.0.1.0
-> installed seq.0.2.2
-> 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.
# Run eval $(opam env) to update the current shell environment
2024-11-18 08:32.43 ---> saved as "4a7fa1a4b0b4474eca7edd9be16adaeb44a6106430c4c6f73b4b319f892caccc"


/src: (copy (src .) (dst /src))
2024-11-18 08:32.43 ---> saved as "0f85d2822ae8f80224bf5e0789effb30d6e02f4d4f7fc7e474164f13e1d6ddb8"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
xs_test alias core_test/runtest
.............................................................................................
Ran: 93 tests in: 0.04 seconds.
OK
server_test alias server_test/runtest
....................
Ran: 20 tests in: 0.01 seconds.
OK
2024-11-18 08:32.45 ---> saved as "a68efa02cec416b0ef1f9678c711e3186d9e937bcecf06107fac4ba11e4a71e2"
Job succeeded
2024-11-18 08:32.45: Job succeeded