Organisationstalex5mirage-trace-dump-xen5e4a88 (master)ubuntu-23.04-4.14_opam-2.1

ubuntu-23.04-4.14_opam-2.1

Link Copied
Code Copied

Logs

2024-04-30 17:22.26: New job: test talex5/mirage-trace-dump-xen https://github.com/talex5/mirage-trace-dump-xen.git#refs/heads/master (5e4a8806b7ae171a6e00ad9c7bc42589ef9bfc76) (linux-x86_64:ubuntu-23.04-4.14_opam-2.1)
Base: ocaml/opam@sha256:ea5881c0af2f847216bf78ddd09dfb723168a43b06d2c07046f1b2ca28b74f79
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/talex5/mirage-trace-dump-xen.git" -b "master" && cd "mirage-trace-dump-xen" && git reset --hard 5e4a8806
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:ea5881c0af2f847216bf78ddd09dfb723168a43b06d2c07046f1b2ca28b74f79
# ubuntu-23.04-4.14_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 784f6c3aecb7d11609be51cc2e4a70a55abd2ddc || git fetch origin master) && git reset -q --hard 784f6c3aecb7d11609be51cc2e4a70a55abd2ddc && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-trace-dump-xen.opam ./
RUN opam pin add -yn mirage-trace-dump-xen.dev './'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.2.0 conf-pkg-config.3 conf-xen.1 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 dune.3.15.2 dune-configurator.3.15.2 fmt.0.9.0 io-page.3.0.0 lwt.5.7.0 lwt-dllist.1.0.1 num.1.5 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 parsexp.v0.16.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.32.1 sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7 xen-gnt.4.0.2 xen-gnt-unix.4.0.2 xenstore.2.2.0 xenstore_transport.1.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y mirage-trace-dump-xen.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 17:22.26: Using cache hint "talex5/mirage-trace-dump-xen-ocaml/opam@sha256:ea5881c0af2f847216bf78ddd09dfb723168a43b06d2c07046f1b2ca28b74f79-ubuntu-23.04-4.14_opam-2.1-f1fa70b07904b71949249c11b76e3330"
2024-04-30 17:22.26: Using OBuilder spec:
((from ocaml/opam@sha256:ea5881c0af2f847216bf78ddd09dfb723168a43b06d2c07046f1b2ca28b74f79)
 (comment ubuntu-23.04-4.14_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 784f6c3aecb7d11609be51cc2e4a70a55abd2ddc || git fetch origin master) && git reset -q --hard 784f6c3aecb7d11609be51cc2e4a70a55abd2ddc && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src mirage-trace-dump-xen.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn mirage-trace-dump-xen.dev './'"))
 (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.2.0 conf-pkg-config.3 conf-xen.1 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 dune.3.15.2 dune-configurator.3.15.2 fmt.0.9.0 io-page.3.0.0 lwt.5.7.0 lwt-dllist.1.0.1 num.1.5 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 parsexp.v0.16.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.32.1 sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7 xen-gnt.4.0.2 xen-gnt-unix.4.0.2 xenstore.2.2.0 xenstore_transport.1.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 mirage-trace-dump-xen.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 17:22.26: Waiting for resource in pool OCluster
2024-04-30 22:20.34: Waiting for worker…
2024-04-30 22:23.14: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 5e4a880 Extracted from mirage-trace-viewer


(from ocaml/opam@sha256:ea5881c0af2f847216bf78ddd09dfb723168a43b06d2c07046f1b2ca28b74f79)
2024-04-30 22:50.27 ---> using "d2a34d5ed43b07b41118cc41982b270057a8744cd610867499c0cca59e96bedb" from cache


/: (comment ubuntu-23.04-4.14_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-30 22:50.27 ---> using "a0db4d381cb51c701afcd9e2453f4491adb72cc218030139850149f8916521d0" 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 22:50.27 ---> using "fb97a78e87f85ec484163b8b015493abaea7aaa61a0a650fb57454f6cbc3ab24" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.14.2
2.1.5
2024-04-30 22:50.27 ---> using "577f058b1ab5dbb5b7d8cfef0c8f35e0a75d538fc7b8e4f81937e2e7d4e11f66" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-04-30 22:50.27 ---> using "f34d987a901a544b69c3ca0d0383b18fdffb61e058e7debe1b2d2c14e3f304c3" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 784f6c3aecb7d11609be51cc2e4a70a55abd2ddc || git fetch origin master) && git reset -q --hard 784f6c3aecb7d11609be51cc2e4a70a55abd2ddc && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   c516155a4b..bafea8d973  master     -> origin/master
784f6c3aec Merge pull request #25764 from hannesm/release-xen-gnt-v4.0.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 22:51.25 ---> saved as "5d8e032b98caac4643f8fbc208f99e605449dcbf962c1f0eedafc7e3ad3f673a"


/src: (copy (src mirage-trace-dump-xen.opam) (dst ./))
2024-04-30 22:51.25 ---> saved as "f02a3a395846b811f88a9c6c8c11696c8340ada0e73f923872f1ab9a523731df"


/src: (run (network host)
           (shell "opam pin add -yn mirage-trace-dump-xen.dev './'"))
Package mirage-trace-dump-xen does not exist, create as a NEW package? [Y/n] y
[mirage-trace-dump-xen.dev] synchronised (file:///src)
mirage-trace-dump-xen is now pinned to file:///src (version dev)
2024-04-30 22:51.27 ---> saved as "2cad18f5d860ec247b70f71138410a22546ec603f104fa368a603573e062e3ec"


/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.2.0 conf-pkg-config.3 conf-xen.1 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 dune.3.15.2 dune-configurator.3.15.2 fmt.0.9.0 io-page.3.0.0 lwt.5.7.0 lwt-dllist.1.0.1 num.1.5 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 parsexp.v0.16.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.32.1 sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7 xen-gnt.4.0.2 xen-gnt-unix.4.0.2 xenstore.2.2.0 xenstore_transport.1.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 mirage-trace-dump-xen.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu lunar InRelease
- Hit:2 http://archive.ubuntu.com/ubuntu lunar-updates InRelease
- Hit:3 http://security.ubuntu.com/ubuntu lunar-security InRelease
- Hit:4 http://archive.ubuntu.com/ubuntu lunar-backports InRelease
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-trace-dump-xen.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).


The following system packages will first need to be installed:
    libxen-dev pkg-config


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


2024-04-30 22:51.42 ---> saved as "136d8ad383254b282df10f128fbcb7818dbbd16b7a123f560428052d0f3e408e"


/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 ocamlbuild          0.14.3
  - install conf-pkg-config     3
  - install num                 1.5
  - install cmdliner            1.2.0
  - install ocamlfind           1.9.6
  - install dune                3.15.2
  - install conf-xen            1
  - install topkg               1.0.7
  - install base-bytes          base
  - install stdlib-shims        0.3.0
  - install sexplib0            v0.16.0
  - install ppx_derivers        1.2.1
  - install ocaml-compiler-libs v0.12.4
  - install lwt-dllist          1.0.1
  - install csexp               1.5.2
  - install cppo                1.6.9
  - install fmt                 0.9.0
  - install parsexp             v0.16.0
  - install ppxlib              0.32.1
  - install dune-configurator   3.15.2
  - install ocplib-endian       1.2
  - install cstruct             6.2.0
  - install sexplib             v0.16.0
  - install lwt                 5.7.0
  - install io-page             3.0.0
  - install ppx_cstruct         6.2.0
  - install xen-gnt             4.0.2
  - install xenstore            2.2.0
  - install xen-gnt-unix        4.0.2
  - install xenstore_transport  1.3.0
===== 30 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.2.0  (cached)
-> retrieved cppo.1.6.9  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.3
-> installed conf-xen.1
-> retrieved cstruct.6.2.0  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved io-page.3.0.0  (cached)
-> retrieved lwt.5.7.0  (cached)
-> retrieved lwt-dllist.1.0.1  (cached)
-> retrieved num.1.5  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved parsexp.v0.16.0  (cached)
-> retrieved ppx_cstruct.6.2.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppxlib.0.32.1  (cached)
-> retrieved dune.3.15.2  (cached)
-> retrieved dune-configurator.3.15.2  (cached)
-> installed num.1.5
-> retrieved sexplib.v0.16.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved xen-gnt.4.0.2  (cached)
-> retrieved xen-gnt-unix.4.0.2  (cached)
-> retrieved xenstore.2.2.0  (cached)
-> retrieved xenstore_transport.1.3.0  (cached)
-> installed cmdliner.1.2.0
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed fmt.0.9.0
-> installed dune.3.15.2
-> installed lwt-dllist.1.0.1
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed io-page.3.0.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed cppo.1.6.9
-> installed ocplib-endian.1.2
-> installed parsexp.v0.16.0
-> installed dune-configurator.3.15.2
-> installed sexplib.v0.16.0
-> installed lwt.5.7.0
-> installed xen-gnt.4.0.2
-> installed xen-gnt-unix.4.0.2
-> installed ppxlib.0.32.1
-> installed ppx_cstruct.6.2.0
-> installed xenstore.2.2.0
-> installed xenstore_transport.1.3.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-30 22:52.32 ---> saved as "7338d096567bd0166e7fa9764b364b2d7deb5af80222787b3adf945daa1ee0ce"


/src: (copy (src .) (dst /src))
2024-04-30 22:52.32 ---> saved as "f5630596368c7b10c3659b7ccf4c85567cb9f20e7a17979ccadd6167148860d4"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.14/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 lib/.main.eobjs/byte -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/io-page -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt-dllist -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.14/lib/xen-gnt -I /home/opam/.opam/4.14/lib/xen-gnt-unix -I /home/opam/.opam/4.14/lib/xenstore -I /home/opam/.opam/4.14/lib/xenstore/client -I /home/opam/.opam/4.14/lib/xenstore/unix -I /home/opam/.opam/4.14/lib/xenstore_transport -intf-suffix .ml -no-alias-deps -opaque -open Dune__exe -o lib/.main.eobjs/byte/dune__exe__Main.cmo -c -impl lib/main.ml)
File "lib/main.ml", line 30, characters 23-36:
30 | let xen_domain_id : (_ Arg.converter) = Xen_trace_source.(domid_of_string, pp_domid)
                            ^^^^^^^^^^^^^
Error (alert deprecated): Cmdliner.Arg.converter
Use Arg.conv' function instead.
File "lib/main.ml", line 30, characters 23-36:
30 | let xen_domain_id : (_ Arg.converter) = Xen_trace_source.(domid_of_string, pp_domid)
                            ^^^^^^^^^^^^^
Error (alert deprecated): Cmdliner.Arg.converter
Use Arg.conv' function instead.
File "lib/main.ml", line 48, characters 13-22:
48 |   let info = Term.info ~doc ~man "mirage-trace-dump-xen" in
                  ^^^^^^^^^
Error (alert deprecated): Cmdliner.Term.info
Use Cmd.info instead.
File "lib/main.ml", line 49, characters 24-28:
49 |   let term = Term.(ret (pure save_as $ trace_dom $ output_path)) in
                             ^^^^
Error (alert deprecated): Cmdliner.Term.pure
Use Term.const instead.
File "lib/main.ml", line 50, characters 8-17:
50 |   match Term.eval (term, info) with
             ^^^^^^^^^
Error (alert deprecated): Cmdliner.Term.eval
Use Cmd.v and one of Cmd.eval* instead.
(cd _build/default && /home/opam/.opam/4.14/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 lib/.main.eobjs/byte -I lib/.main.eobjs/native -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/io-page -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt-dllist -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.14/lib/xen-gnt -I /home/opam/.opam/4.14/lib/xen-gnt-unix -I /home/opam/.opam/4.14/lib/xenstore -I /home/opam/.opam/4.14/lib/xenstore/client -I /home/opam/.opam/4.14/lib/xenstore/unix -I /home/opam/.opam/4.14/lib/xenstore_transport -intf-suffix .ml -no-alias-deps -opaque -open Dune__exe -o lib/.main.eobjs/native/dune__exe__Main.cmx -c -impl lib/main.ml)
File "lib/main.ml", line 30, characters 23-36:
30 | let xen_domain_id : (_ Arg.converter) = Xen_trace_source.(domid_of_string, pp_domid)
                            ^^^^^^^^^^^^^
Error (alert deprecated): Cmdliner.Arg.converter
Use Arg.conv' function instead.
File "lib/main.ml", line 30, characters 23-36:
30 | let xen_domain_id : (_ Arg.converter) = Xen_trace_source.(domid_of_string, pp_domid)
                            ^^^^^^^^^^^^^
Error (alert deprecated): Cmdliner.Arg.converter
Use Arg.conv' function instead.
File "lib/main.ml", line 48, characters 13-22:
48 |   let info = Term.info ~doc ~man "mirage-trace-dump-xen" in
                  ^^^^^^^^^
Error (alert deprecated): Cmdliner.Term.info
Use Cmd.info instead.
File "lib/main.ml", line 49, characters 24-28:
49 |   let term = Term.(ret (pure save_as $ trace_dom $ output_path)) in
                             ^^^^
Error (alert deprecated): Cmdliner.Term.pure
Use Term.const instead.
File "lib/main.ml", line 50, characters 8-17:
50 |   match Term.eval (term, info) with
             ^^^^^^^^^
Error (alert deprecated): Cmdliner.Term.eval
Use Cmd.v and one of Cmd.eval* instead.
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-04-30 22:52.33: Job failed: Failed: Build failed