Organisationsmirageocaml-vchane7613f (main)debian-12-4.10_opam-2.1

debian-12-4.10_opam-2.1

Link Copied
Code Copied

Logs

2024-06-28 10:01.11: New job: test mirage/ocaml-vchan https://github.com/mirage/ocaml-vchan.git#refs/heads/main (e7613f53884883aef2e1b013f2bb515216115f57) (linux-x86_64:debian-12-4.10_opam-2.1)
Base: ocaml/opam@sha256:e36f23bdb54e73750a636b54f87d0879dca93dbebfc5ef71b5bb701c1a908cf2
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/ocaml-vchan.git" -b "main" && cd "ocaml-vchan" && git reset --hard e7613f53
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:e36f23bdb54e73750a636b54f87d0879dca93dbebfc5ef71b5bb701c1a908cf2
# debian-12-4.10_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 de257685d52ea173da531a7bf49539af96599c9e || git fetch origin master) && git reset -q --hard de257685d52ea173da531a7bf49539af96599c9e && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 vchan.opam vchan-xen.opam vchan-unix.opam ./
RUN opam pin add -yn vchan.dev './' && \
    opam pin add -yn vchan-xen.dev './' && \
    opam pin add -yn vchan-unix.dev './'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base bheap.2.0.0 cmdliner.1.3.0 conf-pkg-config.3 conf-xen.1 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 fmt.0.9.0 io-page.3.0.0 ipaddr.5.6.0 logs.0.7.0 lwt.5.7.0 lwt-dllist.1.0.1 macaddr.5.6.0 metrics.0.4.1 metrics-lwt.0.4.1 mirage-flow.4.0.2 mirage-runtime.4.6.0 mirage-xen.8.0.3 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 ounit2.2.2.7 seq.base shared-memory-ring.3.2.1 shared-memory-ring-lwt.3.2.1 stdlib-shims.0.3.0 topkg.1.0.7 xen-evtchn.2.1.0 xen-evtchn-unix.2.1.0 xen-gnt.4.0.2 xen-gnt-unix.4.0.2 xenstore.2.3.0 xenstore_transport.1.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y vchan.dev vchan-xen.dev vchan-unix.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-06-28 10:01.11: Using cache hint "mirage/ocaml-vchan-ocaml/opam@sha256:e36f23bdb54e73750a636b54f87d0879dca93dbebfc5ef71b5bb701c1a908cf2-debian-12-4.10_opam-2.1-9ea0ced19c9d5125e32b26819d67661d"
2024-06-28 10:01.11: Using OBuilder spec:
((from ocaml/opam@sha256:e36f23bdb54e73750a636b54f87d0879dca93dbebfc5ef71b5bb701c1a908cf2)
 (comment debian-12-4.10_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 de257685d52ea173da531a7bf49539af96599c9e || git fetch origin master) && git reset -q --hard de257685d52ea173da531a7bf49539af96599c9e && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src vchan.opam vchan-xen.opam vchan-unix.opam) (dst ./))
 (run (network host)
      (shell  "opam pin add -yn vchan.dev './' && \
             \nopam pin add -yn vchan-xen.dev './' && \
             \nopam pin add -yn vchan-unix.dev './'"))
 (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base bheap.2.0.0 cmdliner.1.3.0 conf-pkg-config.3 conf-xen.1 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 fmt.0.9.0 io-page.3.0.0 ipaddr.5.6.0 logs.0.7.0 lwt.5.7.0 lwt-dllist.1.0.1 macaddr.5.6.0 metrics.0.4.1 metrics-lwt.0.4.1 mirage-flow.4.0.2 mirage-runtime.4.6.0 mirage-xen.8.0.3 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 ounit2.2.2.7 seq.base shared-memory-ring.3.2.1 shared-memory-ring-lwt.3.2.1 stdlib-shims.0.3.0 topkg.1.0.7 xen-evtchn.2.1.0 xen-evtchn-unix.2.1.0 xen-gnt.4.0.2 xen-gnt-unix.4.0.2 xenstore.2.3.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 vchan.dev vchan-xen.dev vchan-unix.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-06-28 10:01.11: Waiting for resource in pool OCluster
2024-06-28 10:01.11: Waiting for worker…
2024-06-28 10:01.50: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at e7613f5 cleanups: remove travis


(from ocaml/opam@sha256:e36f23bdb54e73750a636b54f87d0879dca93dbebfc5ef71b5bb701c1a908cf2)
Unable to find image 'ocaml/opam@sha256:e36f23bdb54e73750a636b54f87d0879dca93dbebfc5ef71b5bb701c1a908cf2' locally
docker.io/ocaml/opam@sha256:e36f23bdb54e73750a636b54f87d0879dca93dbebfc5ef71b5bb701c1a908cf2: Pulling from ocaml/opam
fc9d1c03daa8: Pulling fs layer
fc9d1c03daa8: Verifying Checksum
fc9d1c03daa8: Download complete
fc9d1c03daa8: Pull complete
Digest: sha256:e36f23bdb54e73750a636b54f87d0879dca93dbebfc5ef71b5bb701c1a908cf2
Status: Downloaded newer image for ocaml/opam@sha256:e36f23bdb54e73750a636b54f87d0879dca93dbebfc5ef71b5bb701c1a908cf2
2024-06-28 10:15.46 ---> using "1b885d0eb042886c68eb0fcad47a3e11552a3b74c8a317040dbbe7da7cf45794" from cache


/: (comment debian-12-4.10_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-06-28 10:15.46 ---> using "40cd3271df8cdadc44908519429fade55d1ced37cac8dd9f92fc7cd9978cbfa2" 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-06-28 10:15.46 ---> using "e04b28b364ee70259d995237aafb32ac710a9ec04ea053019d07a49108a1edde" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-112-generic
The OCaml toplevel, version 4.10.2
2.1.6
2024-06-28 10:15.46 ---> using "19ef7b2c50f227bab8806d084ba672b74064a656e2a2d6543aa1e329d5054ae1" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-06-28 10:15.46 ---> using "8cece2a7b9dfb89945af52e031783576290db9fbc43477cbbf5e8e49b1788253" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e de257685d52ea173da531a7bf49539af96599c9e || git fetch origin master) && git reset -q --hard de257685d52ea173da531a7bf49539af96599c9e && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   c45f5bab71..1aadcd5849  master     -> origin/master
de257685d5 [new release] mirage (2 packages) (4.6.0)


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository


The following actions will be performed:
  - recompile ocaml-config 1       [upstream or system changes]
  - recompile ocaml        4.10.2  [uses ocaml-config]
  - recompile opam-depext  1.2.1-1 [uses ocaml]
===== 3 to recompile =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.1  (cached)
-> retrieved opam-depext.1.2.1-1  (cached)
-> removed   opam-depext.1.2.1-1
-> removed   ocaml.4.10.2
-> removed   ocaml-config.1
-> installed ocaml-config.1
-> installed ocaml.4.10.2
-> installed opam-depext.1.2.1-1
Done.


<><> opam-depext.1.2.1-1 installed successfully <><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment
2024-06-28 10:15.46 ---> using "aa3be048f3daa1a256e903a42b1ec6f8df8c46049097bf64c386d908f40a1202" from cache


/src: (copy (src vchan.opam vchan-xen.opam vchan-unix.opam) (dst ./))
2024-06-28 10:15.46 ---> saved as "17458c1a38bb2105221423562fb47d9e1777dc5b25b556186abaabcf2d258d9a"


/src: (run (network host)
           (shell  "opam pin add -yn vchan.dev './' && \
                  \nopam pin add -yn vchan-xen.dev './' && \
                  \nopam pin add -yn vchan-unix.dev './'"))
[vchan.dev] synchronised (file:///src)
vchan is now pinned to file:///src (version dev)
[vchan-xen.dev] synchronised (file:///src)
vchan-xen is now pinned to file:///src (version dev)
[vchan-unix.dev] synchronised (file:///src)
vchan-unix is now pinned to file:///src (version dev)
2024-06-28 10:15.52 ---> saved as "2f32f78ba29d6da543d2008d0322939e1fe92d91400fa73b04a406cc7459beab"


/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base bheap.2.0.0 cmdliner.1.3.0 conf-pkg-config.3 conf-xen.1 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 fmt.0.9.0 io-page.3.0.0 ipaddr.5.6.0 logs.0.7.0 lwt.5.7.0 lwt-dllist.1.0.1 macaddr.5.6.0 metrics.0.4.1 metrics-lwt.0.4.1 mirage-flow.4.0.2 mirage-runtime.4.6.0 mirage-xen.8.0.3 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 ounit2.2.2.7 seq.base shared-memory-ring.3.2.1 shared-memory-ring-lwt.3.2.1 stdlib-shims.0.3.0 topkg.1.0.7 xen-evtchn.2.1.0 xen-evtchn-unix.2.1.0 xen-gnt.4.0.2 xen-gnt-unix.4.0.2 xenstore.2.3.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 vchan.dev vchan-xen.dev vchan-unix.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 [164 kB]
- Fetched 267 kB in 0s (736 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[vchan.dev] synchronised (no changes)
[vchan-unix.dev] synchronised (no changes)
[vchan-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.10.2).
[NOTE] Package ocaml is already installed (current version is 4.10.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-06-28 10:16.10 ---> saved as "b2ce5f947e4d47d297a20f5455e60ae7db1276b94b6632fd244659f587011a7e"


/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.10.2).
[NOTE] Package ocaml is already installed (current version is 4.10.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 ocamlfind              1.9.6
  - install seq                    base
  - install conf-pkg-config        3
  - install dune                   3.16.0
  - install cmdliner               1.3.0
  - install conf-xen               1
  - install topkg                  1.0.7
  - install base-bytes             base
  - install stdlib-shims           0.3.0
  - install macaddr                5.6.0
  - install lwt-dllist             1.0.1
  - install duration               0.2.1
  - install domain-name            0.4.0
  - install csexp                  1.5.2
  - install cppo                   1.6.9
  - install bheap                  2.0.0
  - install fmt                    0.9.0
  - install ounit2                 2.2.7
  - install ipaddr                 5.6.0
  - install dune-configurator      3.16.0
  - install ocplib-endian          1.2
  - install metrics                0.4.1
  - install cstruct                6.2.0
  - install lwt                    5.7.0
  - install shared-memory-ring     3.2.1
  - install io-page                3.0.0
  - install xenstore               2.3.0
  - install xen-evtchn             2.1.0
  - install mirage-flow            4.0.2
  - install logs                   0.7.0
  - install shared-memory-ring-lwt 3.2.1
  - install xen-gnt                4.0.2
  - install xenstore_transport     1.3.0
  - install xen-evtchn-unix        2.1.0
  - install mirage-runtime         4.6.0
  - install metrics-lwt            0.4.1
  - install xen-gnt-unix           4.0.2
  - install mirage-xen             8.0.3
===== 39 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-xen.1  (cached)
-> retrieved bheap.2.0.0  (cached)
-> retrieved cmdliner.1.3.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 domain-name.0.4.0  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved io-page.3.0.0  (cached)
-> retrieved ipaddr.5.6.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lwt.5.7.0  (cached)
-> retrieved lwt-dllist.1.0.1  (cached)
-> retrieved macaddr.5.6.0  (cached)
-> retrieved metrics.0.4.1  (cached)
-> retrieved metrics-lwt.0.4.1  (cached)
-> retrieved mirage-flow.4.0.2  (cached)
-> retrieved mirage-runtime.4.6.0  (cached)
-> retrieved mirage-xen.8.0.3  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved dune.3.16.0  (cached)
-> retrieved dune-configurator.3.16.0  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved seq.base  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved shared-memory-ring.3.2.1  (cached)
-> retrieved shared-memory-ring-lwt.3.2.1  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> installed cmdliner.1.3.0
-> installed seq.base
-> retrieved topkg.1.0.7  (cached)
-> retrieved xen-evtchn.2.1.0  (cached)
-> retrieved xen-evtchn-unix.2.1.0  (cached)
-> retrieved xen-gnt.4.0.2  (cached)
-> retrieved xen-gnt-unix.4.0.2  (cached)
-> retrieved xenstore.2.3.0  (cached)
-> retrieved xenstore_transport.1.3.0  (cached)
-> 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.16.0
-> installed bheap.2.0.0
-> installed lwt-dllist.1.0.1
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed domain-name.0.4.0
-> installed macaddr.5.6.0
-> installed metrics.0.4.1
-> installed stdlib-shims.0.3.0
-> installed cppo.1.6.9
-> installed io-page.3.0.0
-> installed shared-memory-ring.3.2.1
-> installed ipaddr.5.6.0
-> installed ocplib-endian.1.2
-> installed ounit2.2.2.7
-> installed dune-configurator.3.16.0
-> installed lwt.5.7.0
-> installed mirage-flow.4.0.2
-> installed shared-memory-ring-lwt.3.2.1
-> installed xen-gnt.4.0.2
-> installed xen-evtchn.2.1.0
-> installed xen-gnt-unix.4.0.2
-> installed xen-evtchn-unix.2.1.0
-> installed xenstore.2.3.0
-> installed xenstore_transport.1.3.0
-> installed logs.0.7.0
-> installed metrics-lwt.0.4.1
-> installed mirage-runtime.4.6.0
-> installed mirage-xen.8.0.3
Done.
# Run eval $(opam env) to update the current shell environment
2024-06-28 10:17.18 ---> saved as "822a4dfbcd7e4376cff270bd668efdbe5661b0c670c5c700c6644560d50fa41a"


/src: (copy (src .) (dst /src))
2024-06-28 10:17.19 ---> saved as "e7d33390075a0184e6217beeb1342b7cff9296ae30a713cee5ff39852a5c20b2"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/lib_test && ./test.exe -runner sequential)
...............................
Ran: 31 tests in: 0.01 seconds.
OK
2024-06-28 10:17.22 ---> saved as "af3929453763751553896a7d07749d7c0704a189acc672daeb2abbee2ae2e862"
Job succeeded
2024-06-28 10:17.23: Job succeeded