Organisationsmiragemirage-net-xen11815d ()ubuntu-20.04-4.14_opam-2.3

ubuntu-20.04-4.14_opam-2.3

Logs

Show full logs
2025-03-05 21:25.48: New job: test mirage/mirage-net-xen https://github.com/mirage/mirage-net-xen.git#refs/heads/main (11815dcad78e039df8656e4802f82198fe5630b3) (linux-x86_64:ubuntu-20.04-4.14_opam-2.3)
Base: ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:df45ebe49b574a3556d225e8208622a70159b589318eea7463a0092c175251f6
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/mirage/mirage-net-xen.git" -b "main" && cd "mirage-net-xen" && git reset --hard 11815dca
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:df45ebe49b574a3556d225e8208622a70159b589318eea7463a0092c175251f6
# ubuntu-20.04-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 91d74cddbf72d811a49b9630c97f596a1cff1b01 || git fetch origin master) && git reset -q --hard 91d74cddbf72d811a49b9630c97f596a1cff1b01 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-net-xen.opam ./
RUN opam pin add -yn mirage-net-xen.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
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.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.1 dune.3.17.2 dune-configurator.3.17.2 duration.0.2.1 fmt.0.9.0 io-page.3.0.0 ipaddr.5.6.0 logs.0.7.0 lwt.5.9.0 lwt-dllist.1.0.1 macaddr.5.6.0 metrics.0.4.1 metrics-lwt.0.4.1 mirage-net.4.0.0 mirage-runtime.4.9.0 mirage-sleep.4.0.0 mirage-xen.9.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 shared-memory-ring.3.2.1 shared-memory-ring-lwt.3.2.1 topkg.1.0.7 xenstore.2.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y mirage-net-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

2025-03-05 21:25.48: Using cache hint "mirage/mirage-net-xen-ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:df45ebe49b574a3556d225e8208622a70159b589318eea7463a0092c175251f6-ubuntu-20.04-4.14_opam-2.3-9ed7509e73da0f1c3164469f17268f29"
2025-03-05 21:25.48: Using OBuilder spec:
((from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:df45ebe49b574a3556d225e8208622a70159b589318eea7463a0092c175251f6)
 (comment ubuntu-20.04-4.14_opam-2.3)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 91d74cddbf72d811a49b9630c97f596a1cff1b01 || git fetch origin master) && git reset -q --hard 91d74cddbf72d811a49b9630c97f596a1cff1b01 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src mirage-net-xen.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn mirage-net-xen.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (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.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.1 dune.3.17.2 dune-configurator.3.17.2 duration.0.2.1 fmt.0.9.0 io-page.3.0.0 ipaddr.5.6.0 logs.0.7.0 lwt.5.9.0 lwt-dllist.1.0.1 macaddr.5.6.0 metrics.0.4.1 metrics-lwt.0.4.1 mirage-net.4.0.0 mirage-runtime.4.9.0 mirage-sleep.4.0.0 mirage-xen.9.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 shared-memory-ring.3.2.1 shared-memory-ring-lwt.3.2.1 topkg.1.0.7 xenstore.2.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.3 --depext-only -y mirage-net-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"))
)

2025-03-05 21:25.48: Waiting for resource in pool OCluster
2025-03-05 21:35.07: Waiting for worker…
2025-03-05 21:37.44: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
All commits already cached
HEAD is now at 11815dc changes for 2.1.5

(from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:df45ebe49b574a3556d225e8208622a70159b589318eea7463a0092c175251f6)
2025-03-05 21:38.07 ---> saved as "9485e9359a6d0a10619e9ffea7db3c22c41f2d6e7050298bc5122c3f0c555b5b"

/: (comment ubuntu-20.04-4.14_opam-2.3)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-03-05 21:38.07 ---> saved as "7ba611f3987f46219041a1533b9cb343bf3864cb50d3a544ca657bbcdcde6778"

/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 development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 31 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=31 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-03-05 21:39.39 ---> saved as "8ba4394a41d80adaec492afcb953f702b4f16ed846e3f461e4b33dddcc367338"

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-03-05 21:39.39 ---> saved as "e4e34527d233db7d94c0eed2f683aa2d5cc3b804d7245cfc5f04f34a19928c0a"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-03-05 21:39.39 ---> saved as "2fc4a15e603f20ccc20b4eb8dbe4554b1f20d6b88f3324a16655ba4ffc27d57f"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 91d74cddbf72d811a49b9630c97f596a1cff1b01 || git fetch origin master) && git reset -q --hard 91d74cddbf72d811a49b9630c97f596a1cff1b01 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   94514fa0d0..91d74cddbf  master     -> origin/master
91d74cddbf Merge pull request #27551 from hannesm/release-mirage-v4.9.0

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[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.
# To update the current shell environment, run: eval $(opam env)
2025-03-05 21:40.50 ---> saved as "7c5b34cec59a1516c3ae6b33310ad488b49266518820bdc8c6170d9bd26bb230"

/src: (copy (src mirage-net-xen.opam) (dst ./))
2025-03-05 21:40.50 ---> saved as "156201718880ac55ed75564f03a486a8e7bb7a7c41a86edb7f7ab4e502677b55"

/src: (run (network host)
           (shell "opam pin add -yn mirage-net-xen.dev './'"))
[mirage-net-xen.dev] synchronised (file:///src)
mirage-net-xen is now pinned to file:///src (version dev)
2025-03-05 21:40.55 ---> saved as "fdff0c245ca446e29784da65debd07c7dab684434d8c9af2e2d9c4522eda53b5"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-05 21:40.55 ---> saved as "11636c84504776e15d7d58068e378c61cfc756699cc14390828da1806c9cfdef"

/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.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.1 dune.3.17.2 dune-configurator.3.17.2 duration.0.2.1 fmt.0.9.0 io-page.3.0.0 ipaddr.5.6.0 logs.0.7.0 lwt.5.9.0 lwt-dllist.1.0.1 macaddr.5.6.0 metrics.0.4.1 metrics-lwt.0.4.1 mirage-net.4.0.0 mirage-runtime.4.9.0 mirage-sleep.4.0.0 mirage-xen.9.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 shared-memory-ring.3.2.1 shared-memory-ring-lwt.3.2.1 topkg.1.0.7 xenstore.2.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.3 --depext-only -y mirage-net-xen.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
- Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]
- Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]
- Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB]
- Get:5 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [4266 kB]
- Get:6 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [4607 kB]
- Get:7 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [4418 kB]
- Get:8 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1301 kB]
- Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4742 kB]
- Get:10 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1593 kB]
- Fetched 21.3 MB in 2s (11.2 MB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-net-xen.dev] synchronised (file:///src)

[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:
    pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libglib2.0-0:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 14703 files and directories currently installed.)
- Preparing to unpack .../0-libglib2.0-0_2.64.6-1~ubuntu20.04.8_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.8) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../1-libglib2.0-data_2.64.6-1~ubuntu20.04.8_all.deb ...
- Unpacking libglib2.0-data (2.64.6-1~ubuntu20.04.8) ...
- Selecting previously unselected package tzdata.
- Preparing to unpack .../2-tzdata_2024b-0ubuntu0.20.04.1_all.deb ...
- Unpacking tzdata (2024b-0ubuntu0.20.04.1) ...
- Selecting previously unselected package libicu66:amd64.
- Preparing to unpack .../3-libicu66_66.1-2ubuntu2.1_amd64.deb ...
- Unpacking libicu66:amd64 (66.1-2ubuntu2.1) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../4-libxml2_2.9.10+dfsg-5ubuntu0.20.04.9_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.9) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../5-shared-mime-info_1.15-1_amd64.deb ...
- Unpacking shared-mime-info (1.15-1) ...
- Selecting previously unselected package xdg-user-dirs.
- Preparing to unpack .../6-xdg-user-dirs_0.17-2ubuntu1_amd64.deb ...
- Unpacking xdg-user-dirs (0.17-2ubuntu1) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../7-pkg-config_0.29.1-0ubuntu4_amd64.deb ...
- Unpacking pkg-config (0.29.1-0ubuntu4) ...
- Setting up xdg-user-dirs (0.17-2ubuntu1) ...
- Setting up libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.8) ...
- No schema files found: doing nothing.
- Setting up tzdata (2024b-0ubuntu0.20.04.1) ...
- 
- Current default time zone: 'Europe/London'
- Local time is now:      Wed Mar  5 21:41:40 GMT 2025.
- Universal Time is now:  Wed Mar  5 21:41:40 UTC 2025.
- Run 'dpkg-reconfigure tzdata' if you wish to change it.
- 
- Setting up libglib2.0-data (2.64.6-1~ubuntu20.04.8) ...
- Setting up pkg-config (0.29.1-0ubuntu4) ...
- Setting up libicu66:amd64 (66.1-2ubuntu2.1) ...
- Setting up libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.9) ...
- Setting up shared-mime-info (1.15-1) ...
- Processing triggers for libc-bin (2.31-0ubuntu9.17) ...
2025-03-05 21:41.41 ---> saved as "6cb925d9a9f17cf51e382d90c81b294a368222063362a7756128f2f9dccdcaef"

/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 31 packages
  - install base-bytes             base
  - install bheap                  2.0.0
  - install cmdliner               1.3.0
  - install conf-pkg-config        4
  - install cppo                   1.8.0
  - install csexp                  1.5.2
  - install cstruct                6.2.0
  - install domain-name            0.4.1
  - install dune                   3.17.2
  - install dune-configurator      3.17.2
  - install duration               0.2.1
  - install fmt                    0.9.0
  - install io-page                3.0.0
  - install ipaddr                 5.6.0
  - install logs                   0.7.0
  - install lwt                    5.9.0
  - install lwt-dllist             1.0.1
  - install macaddr                5.6.0
  - install metrics                0.4.1
  - install metrics-lwt            0.4.1
  - install mirage-net             4.0.0
  - install mirage-runtime         4.9.0
  - install mirage-sleep           4.0.0
  - install mirage-xen             9.0.0
  - install ocamlbuild             0.16.1
  - install ocamlfind              1.9.8
  - install ocplib-endian          1.2
  - install shared-memory-ring     3.2.1
  - install shared-memory-ring-lwt 3.2.1
  - install topkg                  1.0.7
  - install xenstore               2.3.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bheap.2.0.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> installed conf-pkg-config.4
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved domain-name.0.4.1  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved io-page.3.0.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved ipaddr.5.6.0, macaddr.5.6.0  (cached)
-> retrieved lwt-dllist.1.0.1  (cached)
-> retrieved lwt.5.9.0  (cached)
-> retrieved metrics.0.4.1, metrics-lwt.0.4.1  (cached)
-> retrieved mirage-net.4.0.0  (cached)
-> retrieved mirage-sleep.4.0.0  (cached)
-> retrieved mirage-runtime.4.9.0  (cached)
-> retrieved mirage-xen.9.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved shared-memory-ring.3.2.1, shared-memory-ring-lwt.3.2.1  (cached)
-> retrieved xenstore.2.3.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.0.7
-> installed fmt.0.9.0
-> installed dune.3.17.2
-> installed bheap.2.0.0
-> installed lwt-dllist.1.0.1
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed cstruct.6.2.0
-> installed domain-name.0.4.1
-> installed macaddr.5.6.0
-> installed metrics.0.4.1
-> installed io-page.3.0.0
-> installed shared-memory-ring.3.2.1
-> installed ocplib-endian.1.2
-> installed ipaddr.5.6.0
-> installed dune-configurator.3.17.2
-> installed lwt.5.9.0
-> installed mirage-net.4.0.0
-> installed mirage-sleep.4.0.0
-> installed shared-memory-ring-lwt.3.2.1
-> installed xenstore.2.3.0
-> installed logs.0.7.0
-> installed metrics-lwt.0.4.1
-> installed mirage-runtime.4.9.0
-> installed mirage-xen.9.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-05 21:42.50 ---> saved as "478181b5890142146769a1dac044d9ae0a254d6b072de198361f59540bb7bb19"

/src: (copy (src .) (dst /src))
2025-03-05 21:42.50 ---> saved as "e69ccba70cfc3def625cb5ffecff8dd742c3c487b76241ac246a867a36b93803"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-03-05 21:42.51 ---> saved as "81884abdf6da5920e0d2b8601ec54b9b6aa391b8b8dc9fb88ba3f0456c798abe"
Job succeeded
2025-03-05 21:42.51: Job succeeded