Organisationsmiragemirage-xen52fb35 (main)fedora-40-4.14_opam-2.1

fedora-40-4.14_opam-2.1

Link Copied
Code Copied

Logs

2024-06-28 10:45.54: New job: test mirage/mirage-xen https://github.com/mirage/mirage-xen.git#refs/heads/main (52fb35bd15c774b82bfffbd0d433bff6dc912fe4) (linux-x86_64:fedora-40-4.14_opam-2.1)
Base: ocaml/opam@sha256:14ea0f9884d8128b8aca6ddf26e609adfb683401424f4c2653616ed08804c89d
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/mirage-xen.git" -b "main" && cd "mirage-xen" && git reset --hard 52fb35bd
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:14ea0f9884d8128b8aca6ddf26e609adfb683401424f4c2653616ed08804c89d
# fedora-40-4.14_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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 mirage-xen.opam ./
RUN opam pin add -yn mirage-xen.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 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-runtime.4.6.0 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 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.1 --depext-only -y mirage-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-06-28 10:45.54: Using cache hint "mirage/mirage-xen-ocaml/opam@sha256:14ea0f9884d8128b8aca6ddf26e609adfb683401424f4c2653616ed08804c89d-fedora-40-4.14_opam-2.1-20ef6d4384dec6bb13db26f5477e21b4"
2024-06-28 10:45.54: Using OBuilder spec:
((from ocaml/opam@sha256:14ea0f9884d8128b8aca6ddf26e609adfb683401424f4c2653616ed08804c89d)
 (comment fedora-40-4.14_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (network host)
      (shell "sudo dnf install -y findutils"))
 (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 mirage-xen.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn mirage-xen.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 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-runtime.4.6.0 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 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.1 --depext-only -y mirage-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-06-28 10:45.54: Waiting for resource in pool OCluster
2024-06-28 10:45.54: Waiting for worker…
2024-06-28 10:47.11: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 52fb35b update to ocamlformat 0.26.2


(from ocaml/opam@sha256:14ea0f9884d8128b8aca6ddf26e609adfb683401424f4c2653616ed08804c89d)
Unable to find image 'ocaml/opam@sha256:14ea0f9884d8128b8aca6ddf26e609adfb683401424f4c2653616ed08804c89d' locally
docker.io/ocaml/opam@sha256:14ea0f9884d8128b8aca6ddf26e609adfb683401424f4c2653616ed08804c89d: Pulling from ocaml/opam
64a3b67d401f: Pulling fs layer
64a3b67d401f: Verifying Checksum
64a3b67d401f: Download complete
64a3b67d401f: Pull complete
Digest: sha256:14ea0f9884d8128b8aca6ddf26e609adfb683401424f4c2653616ed08804c89d
Status: Downloaded newer image for ocaml/opam@sha256:14ea0f9884d8128b8aca6ddf26e609adfb683401424f4c2653616ed08804c89d
2024-06-28 10:47.11 ---> using "600f72d782729081c67486db22a1a166faef0c850eee225f73d793431e564f54" from cache


/: (comment fedora-40-4.14_opam-2.1)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
           (shell "sudo dnf install -y findutils"))
Fedora 40 - x86_64                              107 kB/s |  29 kB     00:00    
Fedora 40 - x86_64 - Updates                    130 kB/s |  22 kB     00:00    
Fedora 40 - x86_64 - Updates                    2.4 MB/s | 4.4 MB     00:01    
Package findutils-1:4.9.0-8.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2024-06-28 10:47.11 ---> using "e5c35948aff5db2f7273e3a5626d315cc9962b67f5e2d3fb9d7ca654f21fcd96" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-06-28 10:47.11 ---> using "52ada40f1b99444f13df239a99cfde75cbde9369be360a75fdf9f5868afbc58f" 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:47.11 ---> using "2c0edb61cd17967bbc68c5abbf37ab752511df7b0dbedfbcb8207ff816890e7e" from cache


/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:47.11 ---> using "df0c32badae66bb42aa4a72e5bf551a9e5e37d44ddf08991e29b9a9779d6f7aa" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-06-28 10:47.11 ---> using "adfe65cf1d449c1c1bc7bd454ce706c3ee746217a33b7a8b7d03c09fd7699251" 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
   59c0c54934..1aadcd5849  master     -> origin/master
de257685d5 [new release] mirage (2 packages) (4.6.0)


<><> 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-06-28 10:47.11 ---> using "6a2f3146bd904be25cb2288f4c756a29dcff3a35ebe4b69680c7262238d89c12" from cache


/src: (copy (src mirage-xen.opam) (dst ./))
2024-06-28 10:47.12 ---> saved as "c306ce7c25f8e66b7720012328a2db4ef3a6f444add6003c4696a3c98733c1a2"


/src: (run (network host)
           (shell "opam pin add -yn mirage-xen.dev './'"))
[mirage-xen.dev] synchronised (file:///src)
mirage-xen is now pinned to file:///src (version dev)
2024-06-28 10:47.13 ---> saved as "e631499892a5d1cfd577ad55bc71b492d2deabb9b7020e9f8ddb71338c393443"


/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 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-runtime.4.6.0 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 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.1 --depext-only -y mirage-xen.dev $DEPS"))
+ /usr/bin/sudo "yum" "makecache"
- Fedora 40 - x86_64                              149 kB/s |  29 kB     00:00    
- Fedora 40 openh264 (From Cisco) - x86_64        7.5 kB/s | 989  B     00:00    
- Fedora 40 - x86_64 - Updates                    154 kB/s |  22 kB     00:00    
- Metadata cache created.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-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).
2024-06-28 10:47.27 ---> saved as "daf078a6a1e4b9bf03fe61409dc48a0115e1eb576ab24590d2d44fd3b1113218"


/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 conf-pkg-config        3
  - install dune                   3.16.0
  - install ocamlfind              1.9.6
  - install cmdliner               1.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 topkg                  1.0.7
  - install base-bytes             base
  - install ipaddr                 5.6.0
  - install dune-configurator      3.16.0
  - install fmt                    0.9.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 logs                   0.7.0
  - install shared-memory-ring-lwt 3.2.1
  - install mirage-runtime         4.6.0
  - install metrics-lwt            0.4.1
===== 28 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> 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)
-> 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-runtime.4.6.0  (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 dune-configurator.3.16.0  (cached)
-> retrieved shared-memory-ring.3.2.1  (cached)
-> retrieved shared-memory-ring-lwt.3.2.1  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved xenstore.2.3.0  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.14.3
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> 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 cppo.1.6.9
-> 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.16.0
-> installed lwt.5.7.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.6.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-06-28 10:48.21 ---> saved as "c80ae0e92e885dd99fd051aa1a8413c8f3b2c8737923ff0e1fe786718bcad210"


/src: (copy (src .) (dst /src))
2024-06-28 10:48.21 ---> saved as "69ec1d3e06ce0c9a65dc6ff51aed191b8d1b1b14466da03058fe3304cd974ebe"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2024-06-28 10:48.22 ---> saved as "cc5f399a46a0f0161b68c957c50535278dbd74245b2e681054968c0e653aafc1"
Job succeeded
2024-06-28 10:48.23: Job succeeded