Organisationsmirageocaml-xenstore6ca15d ()debian-12-4.14_arm32_opam-2.1

debian-12-4.14_arm32_opam-2.1

Link Copied
Code Copied

Logs

2024-04-30 08:32.19: New job: test mirage/ocaml-xenstore https://github.com/mirage/ocaml-xenstore.git#refs/pull/52/head (6ca15df8fce44f1dce59b66b27b61e1faf5886b2) (linux-arm64:debian-12-4.14_arm32_opam-2.1)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:1c899e427eee64d6f86c397aeb06dbd16da92559d6ab952690bf8bf7501e6aaf
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/ocaml-xenstore.git" && cd "ocaml-xenstore" && git fetch origin "refs/pull/52/head" && git reset --hard 6ca15df8
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:1c899e427eee64d6f86c397aeb06dbd16da92559d6ab952690bf8bf7501e6aaf
# debian-12-4.14_arm32_opam-2.1
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.1 /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 042d5efee9551e35990b2e8d849a354d082857d1 || git fetch origin master) && git reset -q --hard 042d5efee9551e35990b2e8d849a354d082857d1 && 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.9 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 lwt.5.7.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.1 --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-04-30 08:32.19: Using cache hint "mirage/ocaml-xenstore-ocaml/opam:debian-12-ocaml-4.14@sha256:1c899e427eee64d6f86c397aeb06dbd16da92559d6ab952690bf8bf7501e6aaf-debian-12-4.14_arm32_opam-2.1-8bbfbaa731d722f45e0ce9672fce7601"
2024-04-30 08:32.19: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:1c899e427eee64d6f86c397aeb06dbd16da92559d6ab952690bf8bf7501e6aaf)
 (comment debian-12-4.14_arm32_opam-2.1)
 (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.1 /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 042d5efee9551e35990b2e8d849a354d082857d1 || git fetch origin master) && git reset -q --hard 042d5efee9551e35990b2e8d849a354d082857d1 && 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.9 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 lwt.5.7.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.1 --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-04-30 08:32.19: Waiting for resource in pool OCluster
2024-04-30 09:06.10: Waiting for worker…
2024-04-30 09:18.29: Got resource from pool OCluster
Building on kydoime.caelum.ci.dev
All commits already cached
HEAD is now at 6ca15df make the header structure more explicit


(from ocaml/opam:debian-12-ocaml-4.14@sha256:1c899e427eee64d6f86c397aeb06dbd16da92559d6ab952690bf8bf7501e6aaf)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:1c899e427eee64d6f86c397aeb06dbd16da92559d6ab952690bf8bf7501e6aaf' locally
docker.io/ocaml/opam@sha256:1c899e427eee64d6f86c397aeb06dbd16da92559d6ab952690bf8bf7501e6aaf: Pulling from ocaml/opam
Digest: sha256:1c899e427eee64d6f86c397aeb06dbd16da92559d6ab952690bf8bf7501e6aaf
Status: Downloaded newer image for ocaml/opam@sha256:1c899e427eee64d6f86c397aeb06dbd16da92559d6ab952690bf8bf7501e6aaf
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-04-30 09:18.53 ---> using "286e4e9510ef8d970782662b1a555ec5af7feb8698c62c95b0cd93b03335a0b5" from cache


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


/: (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.1 /usr/bin/opam"))
2024-04-30 09:18.55 ---> using "c29f8c6079b37ba3110fadc41fbf58b90de8cdd2080cc2dd355737d80cf0c6b3" 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.1, 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-04-30 09:18.57 ---> using "4d85337a96704f41d42e68e47a55b607277e4ee74b70c8fea77f304acb2a4bae" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-92-generic
The OCaml toplevel, version 4.14.2
2.1.5
2024-04-30 09:18.59 ---> using "85ed38747dddd50b73d57e66f2810ac13257780b8998295db086236c3a44ba05" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-04-30 09:19.01 ---> using "1919a77c14aa66c268ad233bc255e6799f073c4c822af546e3da5e622aa2ac6f" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 042d5efee9551e35990b2e8d849a354d082857d1 || git fetch origin master) && git reset -q --hard 042d5efee9551e35990b2e8d849a354d082857d1 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   c516155a4b..e90e14059c  master     -> origin/master
042d5efee9 [new release] dune (15 packages) (3.15.2)


<><> 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-04-30 09:19.02 ---> using "4e65fac96d87f10728257bf1404e555065262a6bf65583a67a01f1f9951d913c" from cache


/src: (copy (src xenstore.opam) (dst ./))
2024-04-30 09:19.23 ---> saved as "e8c84cade624dcc32f9a795896f26ed99cc20625f8fe0a7dbf9dda41ef5d2d2c"


/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-04-30 09:19.35 ---> saved as "6311386c649df5528e3af2f7515c163f222724defbc0e6e70f656b3979e9824b"


/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.6.9 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 lwt.5.7.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.1 --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 bookworm-updates/main armhf Packages.diff/Index [10.6 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main armhf Packages T-2024-04-23-2036.10-F-2024-04-23-2036.10.pdiff [1597 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main armhf Packages T-2024-04-23-2036.10-F-2024-04-23-2036.10.pdiff [1597 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main armhf Packages [149 kB]
- Fetched 264 kB in 1s (472 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 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-04-30 09:21.14 ---> saved as "a2bdfe8c00318f1b22b1f8a96fc9ef4f452dad11f2b516153e164965fc974f33"


/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 seq               base
  - install dune              3.15.2
  - install ocamlfind         1.9.6
  - install stdlib-shims      0.3.0
  - install csexp             1.5.2
  - install cppo              1.6.9
  - install base-bytes        base
  - install ounit2            2.2.7
  - install dune-configurator 3.15.2
  - install ocplib-endian     1.2
  - install lwt               5.7.0
===== 11 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.6.9  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved lwt.5.7.0  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved dune.3.15.2  (cached)
-> retrieved dune-configurator.3.15.2  (cached)
-> installed seq.base
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed dune.3.15.2
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed cppo.1.6.9
-> installed ounit2.2.2.7
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.15.2
-> installed lwt.5.7.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-30 09:24.05 ---> saved as "f75795b81fa4b77262cf65721a4f81d0dd5a58bc35992eefff2fbea9c0a46588"


/src: (copy (src .) (dst /src))
2024-04-30 09:24.12 ---> saved as "6bc7131d3546889b9d50e37421cee36eb5871aa786da607ca8db9a4623895add"


/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: 20 tests in: 0.01 seconds.
OK
2024-04-30 09:24.21 ---> saved as "b0ee463951b359d5d51ba196eb3482e2cbc0e592dd1c3a5e3e972749df2248bc"
Job succeeded
2024-04-30 09:24.21: Job succeeded