Organisationsmirageocaml-xenstore2168f0 ()(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-04-14 13:14.23: New job: test mirage/ocaml-xenstore https://github.com/mirage/ocaml-xenstore.git#refs/heads/master (2168f073ab5f0d8a609db2bc8c52d67fcd814398) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:76fea09d9f7692564ebd3b2a80ba1e7615d15689d47d41462eb5edf90dfd05be
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/ocaml-xenstore.git" -b "master" && cd "ocaml-xenstore" && git reset --hard 2168f073
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:76fea09d9f7692564ebd3b2a80ba1e7615d15689d47d41462eb5edf90dfd05be
# debian-12-4.04_opam-2.1
USER 1000:1000
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 cbb8cd94c39e250b80c3d011957716a0096cbb3e || git fetch origin master) && git reset -q --hard cbb8cd94c39e250b80c3d011957716a0096cbb3e && 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-num.base base-threads.base base-unix.base camlp4.4.04+1 conf-m4.1 conf-ncurses.1 conf-pkg-config.1.0 cstruct.3.2.0 dune.1.11.0 jbuilder.transition lwt.2.4.5 num.0 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocaml-migrate-parsetree.1.0.11 ocamlbuild.0.9.1 ocamlfind.1.6.2 ounit2.2.2.0 ppx_cstruct.3.2.0 ppx_tools_versioned.5.0.1 result.1.0 sexplib.113.33.00+4.03 stdlib-shims.0.1.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-14 13:14.23: Using cache hint "mirage/ocaml-xenstore-ocaml/opam@sha256:76fea09d9f7692564ebd3b2a80ba1e7615d15689d47d41462eb5edf90dfd05be-debian-12-4.04_opam-2.1-baa5470f7691b158a9b4d94a403c6e5e"
2024-04-14 13:14.23: Using OBuilder spec:
((from ocaml/opam@sha256:76fea09d9f7692564ebd3b2a80ba1e7615d15689d47d41462eb5edf90dfd05be)
 (comment debian-12-4.04_opam-2.1)
 (user (uid 1000) (gid 1000))
 (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 cbb8cd94c39e250b80c3d011957716a0096cbb3e || git fetch origin master) && git reset -q --hard cbb8cd94c39e250b80c3d011957716a0096cbb3e && 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-num.base base-threads.base base-unix.base camlp4.4.04+1 conf-m4.1 conf-ncurses.1 conf-pkg-config.1.0 cstruct.3.2.0 dune.1.11.0 jbuilder.transition lwt.2.4.5 num.0 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocaml-migrate-parsetree.1.0.11 ocamlbuild.0.9.1 ocamlfind.1.6.2 ounit2.2.2.0 ppx_cstruct.3.2.0 ppx_tools_versioned.5.0.1 result.1.0 sexplib.113.33.00+4.03 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.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-14 13:14.23: Waiting for resource in pool OCluster
2024-04-14 13:14.24: Waiting for worker…
2024-04-14 13:15.51: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 2168f07 fix typo in changes


(from ocaml/opam@sha256:76fea09d9f7692564ebd3b2a80ba1e7615d15689d47d41462eb5edf90dfd05be)
Unable to find image 'ocaml/opam@sha256:76fea09d9f7692564ebd3b2a80ba1e7615d15689d47d41462eb5edf90dfd05be' locally
docker.io/ocaml/opam@sha256:76fea09d9f7692564ebd3b2a80ba1e7615d15689d47d41462eb5edf90dfd05be: Pulling from ocaml/opam
Digest: sha256:76fea09d9f7692564ebd3b2a80ba1e7615d15689d47d41462eb5edf90dfd05be
Status: Downloaded newer image for ocaml/opam@sha256:76fea09d9f7692564ebd3b2a80ba1e7615d15689d47d41462eb5edf90dfd05be
2024-04-14 13:15.52 ---> using "981e9ae427ed96d8eead419a513992a7b2f44b0033eb80234fec68fa910bdf99" from cache


/: (comment debian-12-4.04_opam-2.1)


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


/: (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-14 13:15.52 ---> using "106fbb46bde01be180229a93ede9ee0a5b05711764692069b00b5dd376eddfe6" 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-14 13:15.52 ---> using "dc65a80c164b81a7bd1fb129df31922f60c571a8c0c328aa1f6acca61002965f" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.04.2
2.1.5
2024-04-14 13:15.52 ---> using "eb5ea2efd38d6a5e235f766580b2cdc70310e7422420153d0a9a1362e20b2894" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-04-14 13:15.52 ---> using "0b5a0382a930b998067b3a707299600408174d9f36937b4b0860e4a8d0935a7c" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e cbb8cd94c39e250b80c3d011957716a0096cbb3e || git fetch origin master) && git reset -q --hard cbb8cd94c39e250b80c3d011957716a0096cbb3e && git log --no-decorate -n1 --oneline && opam update -u"))
cbb8cd94c3 conf-pkg-config: rename nixos pkgconfig -> pkg-config


<><> 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-14 13:16.41 ---> saved as "5ab0445f8dc26a9578fecc372fcde6b3be2f76c11ff5095db86b83c457f9ad0a"


/src: (copy (src xenstore.opam) (dst ./))
2024-04-14 13:16.41 ---> saved as "8651e66942afc73a3cadb3e67c814763014f3595ee07685f9d17627ef860cfde"


/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-14 13:16.42 ---> saved as "af6f72990c690c0dd7f04cd6770b5214bf5af0ec996cc5b7b4ddba82257ac320"


/src: (env DEPS "base-bigarray.base base-bytes.base base-num.base base-threads.base base-unix.base camlp4.4.04+1 conf-m4.1 conf-ncurses.1 conf-pkg-config.1.0 cstruct.3.2.0 dune.1.11.0 jbuilder.transition lwt.2.4.5 num.0 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocaml-migrate-parsetree.1.0.11 ocamlbuild.0.9.1 ocamlfind.1.6.2 ounit2.2.2.0 ppx_cstruct.3.2.0 ppx_tools_versioned.5.0.1 result.1.0 sexplib.113.33.00+4.03 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.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-security bookworm-security/main amd64 Packages [151 kB]
- Fetched 255 kB in 0s (961 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.04.2).
[NOTE] Package ocaml is already installed (current version is 4.04.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 system packages will first need to be installed:
    m4 ncurses-dev pkg-config


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4" "ncurses-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed


2024-04-14 13:16.55 ---> saved as "4049ace1151b82f13156472611e18951e3553a6b45e1f07e624c5902d207ae2c"


/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.04.2).
[NOTE] Package ocaml is already installed (current version is 4.04.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 conf-pkg-config         1.0
  - install ocamlbuild              0.9.1
  - install conf-m4                 1
  - install base-num                base
  - install result                  1.0
  - install dune                    1.11.0
  - install conf-ncurses            1
  - install camlp4                  4.04+1
  - install num                     0
  - install stdlib-shims            0.1.0
  - install jbuilder                transition
  - install ocamlfind               1.6.2
  - install sexplib                 113.33.00+4.03
  - install ocaml-migrate-parsetree 1.0.11
  - install lwt                     2.4.5
  - install base-bytes              base
  - install cstruct                 3.2.0
  - install ppx_tools_versioned     5.0.1
  - install ounit2                  2.2.0
  - install ppx_cstruct             3.2.0
===== 20 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-num.base
-> retrieved cstruct.3.2.0  (cached)
-> retrieved dune.1.11.0  (cached)
-> installed num.0
-> installed conf-m4.1
-> installed conf-pkg-config.1.0
-> retrieved camlp4.4.04+1  (https://github.com/ocaml/camlp4/archive/4.04+1.tar.gz)
-> retrieved lwt.2.4.5  (cached)
-> retrieved ocaml-migrate-parsetree.1.0.11  (cached)
-> installed conf-ncurses.1
-> retrieved ocamlbuild.0.9.1  (cached)
-> retrieved ocamlfind.1.6.2  (cached)
-> retrieved ounit2.2.2.0  (cached)
-> retrieved ppx_cstruct.3.2.0  (cached)
-> retrieved ppx_tools_versioned.5.0.1  (cached)
-> retrieved result.1.0  (cached)
-> retrieved sexplib.113.33.00+4.03  (cached)
-> retrieved stdlib-shims.0.1.0  (cached)
-> installed result.1.0
-> installed ocamlfind.1.6.2
-> installed base-bytes.base
-> installed ocamlbuild.0.9.1
-> installed sexplib.113.33.00+4.03
-> installed dune.1.11.0
-> installed jbuilder.transition
-> installed stdlib-shims.0.1.0
-> installed cstruct.3.2.0
-> installed ounit2.2.2.0
-> installed ocaml-migrate-parsetree.1.0.11
-> installed ppx_tools_versioned.5.0.1
-> installed ppx_cstruct.3.2.0
-> installed camlp4.4.04+1
-> installed lwt.2.4.5
Done.


<><> jbuilder.transition installed successfully <><><><><><><><><><><><><><><><>
=> Jbuilder has been renamed and the jbuilder package is now a transition package. Use the dune package instead.
# Run eval $(opam env) to update the current shell environment
2024-04-14 13:19.01 ---> saved as "e42df8afdd7b12d50c543634349f298b5b2dee1de1abf308b9f2433ef428e32f"


/src: (copy (src .) (dst /src))
2024-04-14 13:19.01 ---> saved as "70cc456faca0371fb043468753f4551f5531ec02967ca909df0eb9c0a5a582be"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
     xs_test alias core_test/runtest
.............................................................................................
Ran: 93 tests in: 0.02 seconds.
OK
 server_test alias server_test/runtest
....................
Ran: 20 tests in: 0.01 seconds.
OK
2024-04-14 13:19.02 ---> saved as "81082c822b08b1141a5c42cfaa8e1a441bca333224cf2979b6a1139d8a2351d0"
Job succeeded
2024-04-14 13:19.03: Job succeeded