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:debian-12-4.09_opam-2.1)
Base: ocaml/opam@sha256:fd688b3c141791c4fcd2c77f186f037a36655b5660cb1059f03021c8051942cb
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:fd688b3c141791c4fcd2c77f186f037a36655b5660cb1059f03021c8051942cb
# debian-12-4.09_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.v0.14.3 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.09.1 ocaml-base-compiler.4.09.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 parsexp.v0.14.2 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.32.1 sexplib.v0.14.0 sexplib0.v0.14.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:fd688b3c141791c4fcd2c77f186f037a36655b5660cb1059f03021c8051942cb-debian-12-4.09_opam-2.1-d14506a9a48db766cfdea5352c520c3d"
2024-04-30 17:22.26: Using OBuilder spec:
((from ocaml/opam@sha256:fd688b3c141791c4fcd2c77f186f037a36655b5660cb1059f03021c8051942cb)
(comment debian-12-4.09_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.v0.14.3 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.09.1 ocaml-base-compiler.4.09.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 parsexp.v0.14.2 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.32.1 sexplib.v0.14.0 sexplib0.v0.14.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.42: Waiting for worker…
2024-04-30 22:23.23: Got resource from pool OCluster
Building on x86-bm-c13.sw.ocaml.org
All commits already cached
HEAD is now at 5e4a880 Extracted from mirage-trace-viewer
(from ocaml/opam@sha256:fd688b3c141791c4fcd2c77f186f037a36655b5660cb1059f03021c8051942cb)
2024-04-30 22:23.23 ---> using "acac52f5c4ab00c4a305d6686612add4400c376e9a7f88e5ad3c8653a6f62d84" from cache
/: (comment debian-12-4.09_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:23.23 ---> using "16d28cb3a08597617b220079f99af0d2ef1f0af5bd438f58f6071335625d5571" 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:23.23 ---> using "9696e307b31dd2f7ae2e4a486930855313e361ff60eebee188477357de79f921" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.09.1
2.1.5
2024-04-30 22:23.23 ---> using "77b10282a58df79acf961ab5253d66263bd409007a469c7f52ac8744f2241c37" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-04-30 22:23.23 ---> using "ed09b3fc26f3b3c60f2053d37f0966fb7e88e4ce8eb2d1c2200a22fbb8939c9c" 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
4bb8cb8b65..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:25.00 ---> saved as "8c4934dca17ab343b370ccf9e494d4d54525375d851cb23cf29c7762ce6bf5d5"
/src: (copy (src mirage-trace-dump-xen.opam) (dst ./))
2024-04-30 22:25.00 ---> saved as "30acbc2162dcd5bb681ad8dc806028508f529a8aadc08601b825f177b7713cf1"
/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:25.02 ---> saved as "87f54899d9c3f98154871c2a59f176d20e5addb5ea2ccd27d0e3b9e742b03cd2"
/src: (env DEPS "base.v0.14.3 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.09.1 ocaml-base-compiler.4.09.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 parsexp.v0.14.2 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.32.1 sexplib.v0.14.0 sexplib0.v0.14.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://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 amd64 Packages.diff/Index [10.6 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-04-23-2036.10-F-2024-04-23-2036.10.pdiff [1595 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-04-23-2036.10-F-2024-04-23-2036.10.pdiff [1595 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [155 kB]
- Fetched 270 kB in 0s (1006 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-trace-dump-xen.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.09.1).
[NOTE] Package ocaml is already installed (current version is 4.09.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 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:25.24 ---> saved as "314aec57a8ed41d9d997725dea13d82c90b5a262f93e11b89c084471c35989a8"
/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.09.1).
[NOTE] Package ocaml is already installed (current version is 4.09.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 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.14.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 ppxlib 0.32.1
- install dune-configurator 3.15.2
- install ocplib-endian 1.2
- install cstruct 6.2.0
- install base v0.14.3
- install lwt 5.7.0
- install io-page 3.0.0
- install parsexp v0.14.2
- install xen-gnt 4.0.2
- install sexplib v0.14.0
- install xen-gnt-unix 4.0.2
- install ppx_cstruct 6.2.0
- install xenstore 2.2.0
- install xenstore_transport 1.3.0
===== 31 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.14.3 (cached)
-> retrieved cmdliner.1.2.0 (cached)
-> retrieved cppo.1.6.9 (cached)
-> installed conf-pkg-config.3
-> installed conf-xen.1
-> retrieved csexp.1.5.2 (cached)
-> 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.14.2 (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.14.0 (cached)
-> retrieved sexplib0.v0.14.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_transport.1.3.0 (cached)
-> retrieved xenstore.2.2.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 ppx_derivers.1.2.1
-> installed lwt-dllist.1.0.1
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed sexplib0.v0.14.0
-> installed stdlib-shims.0.3.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed io-page.3.0.0
-> installed cppo.1.6.9
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.15.2
-> installed lwt.5.7.0
-> installed xen-gnt.4.0.2
-> installed xen-gnt-unix.4.0.2
-> installed base.v0.14.3
-> installed parsexp.v0.14.2
-> installed sexplib.v0.14.0
-> 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:26.47 ---> saved as "d6370d96e6018ef0afa40fe095a4de9b7cbf28ca49b516c5bcf149b6d901cbc2"
/src: (copy (src .) (dst /src))
2024-04-30 22:26.47 ---> saved as "853683b092a1dc72c189408a7f1a8cf90f8595b9de965fc2fe63da4f1cf7197b"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.09/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.09/lib/bytes -I /home/opam/.opam/4.09/lib/cmdliner -I /home/opam/.opam/4.09/lib/cstruct -I /home/opam/.opam/4.09/lib/io-page -I /home/opam/.opam/4.09/lib/lwt -I /home/opam/.opam/4.09/lib/lwt-dllist -I /home/opam/.opam/4.09/lib/lwt/unix -I /home/opam/.opam/4.09/lib/ocaml/threads -I /home/opam/.opam/4.09/lib/ocplib-endian -I /home/opam/.opam/4.09/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.09/lib/xen-gnt -I /home/opam/.opam/4.09/lib/xen-gnt-unix -I /home/opam/.opam/4.09/lib/xenstore -I /home/opam/.opam/4.09/lib/xenstore/client -I /home/opam/.opam/4.09/lib/xenstore/unix -I /home/opam/.opam/4.09/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.09/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.09/lib/bytes -I /home/opam/.opam/4.09/lib/cmdliner -I /home/opam/.opam/4.09/lib/cstruct -I /home/opam/.opam/4.09/lib/io-page -I /home/opam/.opam/4.09/lib/lwt -I /home/opam/.opam/4.09/lib/lwt-dllist -I /home/opam/.opam/4.09/lib/lwt/unix -I /home/opam/.opam/4.09/lib/ocaml/threads -I /home/opam/.opam/4.09/lib/ocplib-endian -I /home/opam/.opam/4.09/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.09/lib/xen-gnt -I /home/opam/.opam/4.09/lib/xen-gnt-unix -I /home/opam/.opam/4.09/lib/xenstore -I /home/opam/.opam/4.09/lib/xenstore/client -I /home/opam/.opam/4.09/lib/xenstore/unix -I /home/opam/.opam/4.09/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:26.48: Job failed: Failed: Build failed