Organisationsmirageocaml-xenstore947003 ()debian-12-4.14_arm32_opam-2.2

debian-12-4.14_arm32_opam-2.2

Link Copied
Code Copied

Logs

2024-11-18 08:30.13: New job: test mirage/ocaml-xenstore https://github.com/mirage/ocaml-xenstore.git#refs/pull/55/head (94700392986b2e46270bf86e93c9236a102bbb96) (linux-arm64:debian-12-4.14_arm32_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:9a889859347f3366ab23c5b318f4c27b1168c7ef7330555d29ae49196a6e98cc
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 94700392
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:9a889859347f3366ab23c5b318f4c27b1168c7ef7330555d29ae49196a6e98cc
# debian-12-4.14_arm32_opam-2.2
USER 1000:1000
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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 bf952fff418e4e73b706d8c991bda01670225833 || git fetch origin master) && git reset -q --hard bf952fff418e4e73b706d8c991bda01670225833 && 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.7.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 host-arch-arm32.1 host-system-other.1 lwt.5.9.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.6 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.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:30.13: Using cache hint "mirage/ocaml-xenstore-ocaml/opam:debian-12-ocaml-4.14@sha256:9a889859347f3366ab23c5b318f4c27b1168c7ef7330555d29ae49196a6e98cc-debian-12-4.14_arm32_opam-2.2-13c895d1e4986b7a159302b8d2e729cd"
2024-11-18 08:30.13: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:9a889859347f3366ab23c5b318f4c27b1168c7ef7330555d29ae49196a6e98cc)
(comment debian-12-4.14_arm32_opam-2.2)
(user (uid 1000) (gid 1000))
(shell /usr/bin/linux32 /bin/sh -c)
(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 bf952fff418e4e73b706d8c991bda01670225833 || git fetch origin master) && git reset -q --hard bf952fff418e4e73b706d8c991bda01670225833 && 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.7.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 host-arch-arm32.1 host-system-other.1 lwt.5.9.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.6 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.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:30.13: Waiting for resource in pool OCluster
2024-11-18 08:30.13: Waiting for worker…
2024-11-18 08:30.13: Got resource from pool OCluster
Building on molpadia.caelum.ci.dev
All commits already cached
HEAD is now at 9470039 client_unix: Add Directory_part support


(from ocaml/opam:debian-12-ocaml-4.14@sha256:9a889859347f3366ab23c5b318f4c27b1168c7ef7330555d29ae49196a6e98cc)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:9a889859347f3366ab23c5b318f4c27b1168c7ef7330555d29ae49196a6e98cc' locally
docker.io/ocaml/opam@sha256:9a889859347f3366ab23c5b318f4c27b1168c7ef7330555d29ae49196a6e98cc: Pulling from ocaml/opam
ab5e93176687: Already exists
4a0fe47f1668: Pulling fs layer
0bae691b92a1: Pulling fs layer
368aa451cfda: Pulling fs layer
0bd883927996: Pulling fs layer
0bd883927996: Waiting
0bae691b92a1: Verifying Checksum
0bae691b92a1: Download complete
368aa451cfda: Verifying Checksum
368aa451cfda: Download complete
0bd883927996: Verifying Checksum
0bd883927996: Download complete
4a0fe47f1668: Verifying Checksum
4a0fe47f1668: Download complete
4a0fe47f1668: Pull complete
0bae691b92a1: Pull complete
368aa451cfda: Pull complete
0bd883927996: Pull complete
Digest: sha256:9a889859347f3366ab23c5b318f4c27b1168c7ef7330555d29ae49196a6e98cc
Status: Downloaded newer image for ocaml/opam@sha256:9a889859347f3366ab23c5b318f4c27b1168c7ef7330555d29ae49196a6e98cc
WARNING: The requested image's platform (linux/arm/v7) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
2024-11-18 08:30.14 ---> using "b57fed323a0b8ed463cc824a2b2171e1e511b79bd8cd2f672d1f1ae7c013528a" from cache


/: (comment debian-12-4.14_arm32_opam-2.2)


/: (user (uid 1000) (gid 1000))


/: (shell /usr/bin/linux32 /bin/sh -c)


/: (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:30.14 ---> using "605a8b638a5406ab4a16f0710aee769a8b07b86d88de0cc6ac7a609f17ab698e" 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
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-11-18 08:30.14 ---> using "620a4e7db2e744cfd50b8d3465fbeaec299515293cc23c924ade8d5b3ccc7b25" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 4.14.2
2.2.1
2024-11-18 08:30.14 ---> using "6f645f704dc6fc62ce5bf31e842d9e0d459496e84fb516eb1cf98d7cc428c952" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-11-18 08:30.14 ---> using "092b294c8fd5d2f4c4a7f72089a94f7b09b86a6a4021d01642c493d5941d48e5" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e bf952fff418e4e73b706d8c991bda01670225833 || git fetch origin master) && git reset -q --hard bf952fff418e4e73b706d8c991bda01670225833 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
ce4637ae20..a6cd5e9297  master     -> origin/master
bf952fff41 Merge pull request #26877 from raphael-proust/opam-publish-lwt.5.9.0


<><> 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 08:30.14 ---> using "12f188addaf87b9364dbcc0c7079f20f03e504f7ad768538289629bd6af20541" from cache


/src: (copy (src xenstore.opam) (dst ./))
2024-11-18 08:30.14 ---> using "8799fd281be10d737e6b87518aeeecec603cd42773ccf1213cb42e269d104c5f" 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 08:30.14 ---> using "b0d252b3cec5d975bb49804bd76c83410a77149cade9623c5212ba95fa0c8933" from cache


/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.7.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 host-arch-arm32.1 host-system-other.1 lwt.5.9.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.6 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.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 armhf Packages [8500 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main armhf Packages [205 kB]
- Fetched 8959 kB in 3s (2874 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.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-arm32 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:30.14 ---> using "ce5bd2c3aac54d1ca4abad945ef9019aa42ff4b3cc0eedbc28a6c9e445e2f244" from cache


/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 host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-arm32 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 11 packages
- install base-bytes        base
- install cppo              1.7.0
- install csexp             1.5.2
- install dune              3.16.1
- install dune-configurator 3.16.1
- install lwt               5.9.0
- install ocamlfind         1.9.6
- install ocplib-endian     1.2
- install ounit2            2.2.7
- install seq               base
- install stdlib-shims      0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.7.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved lwt.5.9.0  (cached)
-> retrieved ocamlfind.1.9.6  (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.16.1, dune-configurator.3.16.1  (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed dune.3.16.1
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed cppo.1.7.0
-> installed ounit2.2.2.7
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.16.1
-> installed lwt.5.9.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-11-18 08:30.14 ---> using "ed02fbe2f4e7979222129867c40d9451909035c00c1db2962c5e8531f9d032f4" from cache


/src: (copy (src .) (dst /src))
2024-11-18 08:30.14 ---> using "a81b8868c53a274a3fb8d92332e742aef3d3feb36dc3951ab81dfef1c5526a77" from cache


/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.03 seconds.
OK
(cd _build/default/server_test && ./server_test.exe)
...................
Ran: 19 tests in: 0.01 seconds.
OK
2024-11-18 08:30.14 ---> using "46657a09d95c09b479259b3d93517e6dbfbe538aa5c9b0c7ca1d9436bdee6fbd" from cache
Job succeeded
2024-11-18 08:30.14: Job succeeded