Organisationstalex5mirage-trace-dump-xen5e4a88 (master)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-04-29 17:21.55: New job: test talex5/mirage-trace-dump-xen https://github.com/talex5/mirage-trace-dump-xen.git#refs/heads/master (5e4a8806b7ae171a6e00ad9c7bc42589ef9bfc76) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:76fea09d9f7692564ebd3b2a80ba1e7615d15689d47d41462eb5edf90dfd05be
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: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 dc29da5b7c987650b085ea1fb0cae08a2fd3b289 || git fetch origin master) && git reset -q --hard dc29da5b7c987650b085ea1fb0cae08a2fd3b289 && 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-threads.base base-unix.base camlp4.4.04+1 cmdliner.1.0.4 conf-m4.1 conf-ncurses.1 conf-pkg-config.1.0 conf-xen.1 cstruct.3.2.0 dune.2.8.0 dune-configurator.2.7.0 io-page.2.1.0 io-page-unix.2.1.0 jbuilder.1.0+beta10 lwt.2.4.5 lwt-dllist.1.0.0 mirage-profile.0.8.2 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocaml-migrate-parsetree.1.2.0 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ocplib-endian.0.2 optcomp.1.6 ppx_cstruct.3.2.0 ppx_derivers.1.0 ppx_tools_versioned.5.0.1 result.1.0 sexplib.113.33.00+4.03 xen-gnt.4.0.0 xen-gnt-unix.4.0.0 xenstore.2.1.1 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-29 17:21.55: Using cache hint "talex5/mirage-trace-dump-xen-ocaml/opam@sha256:76fea09d9f7692564ebd3b2a80ba1e7615d15689d47d41462eb5edf90dfd05be-debian-12-4.04_opam-2.1-bd91f4ad86df830c703983ac71b5527a"
2024-04-29 17:21.55: 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 dc29da5b7c987650b085ea1fb0cae08a2fd3b289 || git fetch origin master) && git reset -q --hard dc29da5b7c987650b085ea1fb0cae08a2fd3b289 && 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-threads.base base-unix.base camlp4.4.04+1 cmdliner.1.0.4 conf-m4.1 conf-ncurses.1 conf-pkg-config.1.0 conf-xen.1 cstruct.3.2.0 dune.2.8.0 dune-configurator.2.7.0 io-page.2.1.0 io-page-unix.2.1.0 jbuilder.1.0+beta10 lwt.2.4.5 lwt-dllist.1.0.0 mirage-profile.0.8.2 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocaml-migrate-parsetree.1.2.0 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ocplib-endian.0.2 optcomp.1.6 ppx_cstruct.3.2.0 ppx_derivers.1.0 ppx_tools_versioned.5.0.1 result.1.0 sexplib.113.33.00+4.03 xen-gnt.4.0.0 xen-gnt-unix.4.0.0 xenstore.2.1.1 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-29 17:21.55: Waiting for resource in pool OCluster
2024-04-29 17:21.55: Waiting for worker…
2024-04-29 19:47.53: Got resource from pool OCluster
Building on x86-bm-c18.sw.ocaml.org
All commits already cached
HEAD is now at 5e4a880 Extracted from mirage-trace-viewer


(from ocaml/opam@sha256:76fea09d9f7692564ebd3b2a80ba1e7615d15689d47d41462eb5edf90dfd05be)
2024-04-29 19:49.28 ---> saved as "981e9ae427ed96d8eead419a513992a7b2f44b0033eb80234fec68fa910bdf99"


/: (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-29 19:49.28 ---> saved as "106fbb46bde01be180229a93ede9ee0a5b05711764692069b00b5dd376eddfe6"


/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-29 19:50.43 ---> saved as "dc65a80c164b81a7bd1fb129df31922f60c571a8c0c328aa1f6acca61002965f"


/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-29 19:50.43 ---> saved as "eb5ea2efd38d6a5e235f766580b2cdc70310e7422420153d0a9a1362e20b2894"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-04-29 19:50.43 ---> saved as "0b5a0382a930b998067b3a707299600408174d9f36937b4b0860e4a8d0935a7c"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e dc29da5b7c987650b085ea1fb0cae08a2fd3b289 || git fetch origin master) && git reset -q --hard dc29da5b7c987650b085ea1fb0cae08a2fd3b289 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   fa727ddb20..d50e564e1f  master     -> origin/master
dc29da5b7c xen-gnt-unix & xen-evtchn-unix: unavailable on unix


<><> 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-29 19:52.12 ---> saved as "00c330e07dbcaaf318ce4d7652b10d2a5af009323048db58cc4b09cbec98496f"


/src: (copy (src mirage-trace-dump-xen.opam) (dst ./))
2024-04-29 19:52.12 ---> saved as "92e01532f1daa2f6f809a1179dfec6e40feae9ec3bcfbb2273740539a2ca3461"


/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-29 19:52.14 ---> saved as "0be8b7f4069fea4ce097ce4e2f239d521f01bbd4f9405df22e45f8c468d8edeb"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base camlp4.4.04+1 cmdliner.1.0.4 conf-m4.1 conf-ncurses.1 conf-pkg-config.1.0 conf-xen.1 cstruct.3.2.0 dune.2.8.0 dune-configurator.2.7.0 io-page.2.1.0 io-page-unix.2.1.0 jbuilder.1.0+beta10 lwt.2.4.5 lwt-dllist.1.0.0 mirage-profile.0.8.2 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocaml-migrate-parsetree.1.2.0 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ocplib-endian.0.2 optcomp.1.6 ppx_cstruct.3.2.0 ppx_derivers.1.0 ppx_tools_versioned.5.0.1 result.1.0 sexplib.113.33.00+4.03 xen-gnt.4.0.0 xen-gnt-unix.4.0.0 xenstore.2.1.1 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 (1131 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.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:
    libxen-dev m4 ncurses-dev pkg-config


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


2024-04-29 19:52.34 ---> saved as "166263e6902319e6c90f88a57804df27015b9c5b94394ec4e1f38753c0a04630"


/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   cmdliner                 1.0.4
  - install   conf-pkg-config          1.0
  - install   ocamlbuild               0.9.1
  - install   conf-m4                  1
  - install   result                   1.0
  - downgrade ocaml-secondary-compiler 4.08.1-1 to 4.08.1
  - install   conf-xen                 1
  - install   conf-ncurses             1
  - install   camlp4                   4.04+1
  - install   ocamlfind                1.8.1
  - install   sexplib                  113.33.00+4.03
  - install   optcomp                  1.6
  - install   ocamlfind-secondary      1.8.1
  - install   lwt                      2.4.5
  - install   jbuilder                 1.0+beta10
  - install   ocplib-endian            0.2
  - install   dune                     2.8.0
  - install   ppx_derivers             1.0
  - install   cstruct                  3.2.0
  - install   lwt-dllist               1.0.0
  - install   dune-configurator        2.7.0
  - install   ocaml-migrate-parsetree  1.2.0
  - install   io-page                  2.1.0
  - install   ppx_tools_versioned      5.0.1
  - install   io-page-unix             2.1.0
  - install   ppx_cstruct              3.2.0
  - install   xenstore                 2.1.1
  - install   mirage-profile           0.8.2
  - install   xenstore_transport       1.3.0
  - install   xen-gnt                  4.0.0
  - install   xen-gnt-unix             4.0.0
===== 30 to install | 1 to downgrade =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp4.4.04+1  (cached)
-> retrieved cmdliner.1.0.4  (cached)
-> retrieved cstruct.3.2.0  (cached)
-> installed conf-m4.1
-> installed conf-pkg-config.1.0
-> installed conf-xen.1
-> retrieved io-page.2.1.0  (cached)
-> installed conf-ncurses.1
-> retrieved io-page-unix.2.1.0  (cached)
-> retrieved jbuilder.1.0+beta10  (cached)
-> retrieved lwt.2.4.5  (cached)
-> retrieved lwt-dllist.1.0.0  (cached)
-> retrieved mirage-profile.0.8.2  (cached)
-> retrieved dune-configurator.2.7.0  (cached)
-> retrieved dune.2.8.0  (cached)
-> retrieved ocaml-migrate-parsetree.1.2.0  (cached)
-> retrieved ocaml-secondary-compiler.4.08.1  (cached)
-> retrieved ocamlbuild.0.9.1  (cached)
-> retrieved ocamlfind.1.8.1  (cached)
-> retrieved ocamlfind-secondary.1.8.1  (cached)
-> retrieved ocplib-endian.0.2  (cached)
-> retrieved optcomp.1.6  (cached)
-> retrieved ppx_cstruct.3.2.0  (cached)
-> retrieved ppx_derivers.1.0  (cached)
-> retrieved ppx_tools_versioned.5.0.1  (cached)
-> retrieved result.1.0  (cached)
-> retrieved sexplib.113.33.00+4.03  (cached)
-> retrieved xen-gnt.4.0.0  (cached)
-> retrieved xen-gnt-unix.4.0.0  (cached)
-> retrieved xenstore_transport.1.3.0  (cached)
-> retrieved xenstore.2.1.1  (cached)
-> installed result.1.0
-> installed cmdliner.1.0.4
-> installed ocamlfind.1.8.1
-> installed ocamlbuild.0.9.1
-> installed jbuilder.1.0+beta10
-> installed ppx_derivers.1.0
-> installed sexplib.113.33.00+4.03
-> installed cstruct.3.2.0
-> installed camlp4.4.04+1
-> installed optcomp.1.6
-> installed ocplib-endian.0.2
-> installed lwt.2.4.5
-> removed   ocaml-secondary-compiler.4.08.1-1
-> installed ocaml-secondary-compiler.4.08.1
-> installed ocamlfind-secondary.1.8.1
-> installed dune.2.8.0
-> installed lwt-dllist.1.0.0
-> installed dune-configurator.2.7.0
-> installed io-page.2.1.0
-> installed io-page-unix.2.1.0
-> installed ocaml-migrate-parsetree.1.2.0
-> installed ppx_tools_versioned.5.0.1
-> installed ppx_cstruct.3.2.0
-> installed mirage-profile.0.8.2
-> installed xen-gnt.4.0.0
-> installed xen-gnt-unix.4.0.0
-> installed xenstore.2.1.1
[ERROR] The compilation of xenstore_transport.1.3.0 failed at "dune build -p xenstore_transport -j 31".


#=== ERROR while compiling xenstore_transport.1.3.0 ===========================#
# context     2.1.5 | linux/x86_64 | ocaml-base-compiler.4.04.2 | file:///home/opam/opam-repository
# path        ~/.opam/4.04/.opam-switch/build/xenstore_transport.1.3.0
# command     ~/.opam/4.04/bin/dune build -p xenstore_transport -j 31
# exit-code   1
# env-file    ~/.opam/log/xenstore_transport-1-7ee2ed.env
# output-file ~/.opam/log/xenstore_transport-1-7ee2ed.out
### output ###
#       ocamlc lib/.xenstore_transport.objs/byte/xs.{cmi,cmo,cmt} (exit 2)
# (cd _build/default && /home/opam/.opam/4.04/bin/ocamlc.opt -w -40 -safe-string -g -bin-annot -I lib/.xenstore_transport.objs/byte -I /home/opam/.opam/4.04/lib/cstruct -I /home/opam/.opam/4.04/lib/lwt -I /home/opam/.opam/4.04/lib/sexplib -I /home/opam/.opam/4.04/lib/xenstore -I /home/opam/.opam/4.04/lib/xenstore/client -no-alias-deps -o lib/.xenstore_transport.objs/byte/xs.cmo -c -impl lib/xs.ml)
# File "lib/xs.ml", line 1, characters 29-57:
# Error: Signature mismatch:
#        ...
#        Values do not match:
#          val read : Lwt_unix.file_descr -> string -> int -> int -> int Lwt.t
#        is not included in
#          val read : channel -> bytes -> int -> int -> int t


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build xenstore_transport 1.3.0
+- 
+- The following changes have been performed
| - downgrade ocaml-secondary-compiler 4.08.1-1 to 4.08.1
| - install   camlp4                   4.04+1
| - install   cmdliner                 1.0.4
| - install   conf-m4                  1
| - install   conf-ncurses             1
| - install   conf-pkg-config          1.0
| - install   conf-xen                 1
| - install   cstruct                  3.2.0
| - install   dune                     2.8.0
| - install   dune-configurator        2.7.0
| - install   io-page                  2.1.0
| - install   io-page-unix             2.1.0
| - install   jbuilder                 1.0+beta10
| - install   lwt                      2.4.5
| - install   lwt-dllist               1.0.0
| - install   mirage-profile           0.8.2
| - install   ocaml-migrate-parsetree  1.2.0
| - install   ocamlbuild               0.9.1
| - install   ocamlfind                1.8.1
| - install   ocamlfind-secondary      1.8.1
| - install   ocplib-endian            0.2
| - install   optcomp                  1.6
| - install   ppx_cstruct              3.2.0
| - install   ppx_derivers             1.0
| - install   ppx_tools_versioned      5.0.1
| - install   result                   1.0
| - install   sexplib                  113.33.00+4.03
| - install   xen-gnt                  4.0.0
| - install   xen-gnt-unix             4.0.0
| - install   xenstore                 2.1.1
+- 
# Run eval $(opam env) to update the current shell environment


The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.04/.opam-switch/backup/state-20240429195235.export"
"/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31
2024-04-29 19:58.39: Job failed: Failed: Build failed