Organisationsmirageocaml-vchane7613f (main)ubuntu-23.04-4.14_opam-2.1

ubuntu-23.04-4.14_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:ubuntu-23.04-4.14_opam-2.1)
Base: ocaml/opam@sha256:34f0252799b2204f504a99990033f64bc5be764776cf346cd3cbe9c0203dfb1c
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:34f0252799b2204f504a99990033f64bc5be764776cf346cd3cbe9c0203dfb1c
# 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 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 host-arch-x86_64.1 host-system-other.1 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.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.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:34f0252799b2204f504a99990033f64bc5be764776cf346cd3cbe9c0203dfb1c-ubuntu-23.04-4.14_opam-2.1-46bfe111fb231008952b09738e5b0963"
2024-06-28 10:01.11: Using OBuilder spec:
((from ocaml/opam@sha256:34f0252799b2204f504a99990033f64bc5be764776cf346cd3cbe9c0203dfb1c)
 (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 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 host-arch-x86_64.1 host-system-other.1 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.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.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.14: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint: 	git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint: 	git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/ocaml-vchan.git-bb8b73c3e6a43d7ef602298929bab8d8489983fe/.git/
HEAD is now at e7613f5 cleanups: remove travis


(from ocaml/opam@sha256:34f0252799b2204f504a99990033f64bc5be764776cf346cd3cbe9c0203dfb1c)
2024-06-28 10:02.20 ---> saved as "5d6e1e57baf03165af50a762306fea766caaa6d8e1a4d3e1451e6ec7abf532bc"


/: (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-06-28 10:02.21 ---> saved as "0de8233f90dd267eed1977e93abab78866fd1f8744ab966cd8a335ef427e33bb"


/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:04.23 ---> saved as "ff6a15fbe03fc469a49f4d0d01b5ae8621dbace84482aab849fedd68f6bd604c"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-112-generic
The OCaml toplevel, version 4.14.2
2.1.6
2024-06-28 10:04.24 ---> saved as "2775bee993ffc636d8a7ae772cbff6f308e149e02070b4cb10c77cd7c0792aea"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-06-28 10:04.24 ---> saved as "8ecab2f993ed01bcf3d803b241e67a8804b55e6b0873ed775698bdb77da6227c"


/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:
  - install   host-arch-x86_64      1
  - install   host-system-other     1
  - recompile ocaml-options-vanilla 1       [upstream or system changes]
  - recompile ocaml-base-compiler   4.14.2* [upstream or system changes]
  - recompile ocaml-config          2       [upstream or system changes]
  - recompile ocaml                 4.14.2  [uses ocaml-base-compiler, ocaml-config]
  - recompile opam-depext           1.2.1-1 [uses ocaml]
===== 2 to install | 5 to recompile =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.2  (cached)
-> removed   ocaml-options-vanilla.1
-> installed host-arch-x86_64.1
-> installed host-system-other.1
-> installed ocaml-options-vanilla.1
-> retrieved opam-depext.1.2.1-1  (cached)
-> retrieved ocaml-base-compiler.4.14.2  (cached)
-> removed   opam-depext.1.2.1-1
-> removed   ocaml.4.14.2
-> removed   ocaml-config.2
-> removed   ocaml-base-compiler.4.14.2
-> installed ocaml-base-compiler.4.14.2
-> installed ocaml-config.2
-> installed ocaml.4.14.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:10.11 ---> saved as "8dcb5e02af4fe16de57f9fcb5f02d1e75cc7644d12cd493889588f641272f8fd"


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


/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:10.21 ---> saved as "b9acbc9f9251ea48614d287dded40a1b27cf81c4bc711602bbc45a7155a9f763"


/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 host-arch-x86_64.1 host-system-other.1 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.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.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://security.ubuntu.com/ubuntu lunar-security InRelease
- Hit:2 http://archive.ubuntu.com/ubuntu lunar InRelease
- Hit:3 http://archive.ubuntu.com/ubuntu lunar-updates InRelease
- Hit:4 http://archive.ubuntu.com/ubuntu lunar-backports InRelease
- 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-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 host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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-06-28 10:10.45 ---> saved as "c44699d17505f43830bd5e8031025cb8516ca3019baed5ca86280334ce8bd401"


/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 host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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 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
-> retrieved csexp.1.5.2  (cached)
-> installed conf-xen.1
-> 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 ocamlfind.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved dune.3.16.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved dune-configurator.3.16.0  (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)
-> retrieved xen-evtchn.2.1.0  (cached)
-> retrieved topkg.1.0.7  (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 cmdliner.1.3.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.16.0
-> installed bheap.2.0.0
-> installed duration.0.2.1
-> installed lwt-dllist.1.0.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 io-page.3.0.0
-> installed shared-memory-ring.3.2.1
-> installed cppo.1.6.9
-> 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:12.01 ---> saved as "86e470fc9e11c040c6ce18d0484de1f4b59e6f13ffe97536c23dc9873372346b"


/src: (copy (src .) (dst /src))
2024-06-28 10:12.01 ---> saved as "37e1dd6e8db41311983abfa55193180dc363d3de2c44876a3f5477e55788b1ea"


/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.02 seconds.
OK
2024-06-28 10:12.02 ---> saved as "ff39e491cf0231b1cab3d20d7c81ec34f5eda185371fe2f4090520a3dd2744da"
Job succeeded
2024-06-28 10:12.03: Job succeeded