Organisationsmirageocaml-vhd7a1a3c (master)debian-12-4.07_opam-2.1

debian-12-4.07_opam-2.1

Link Copied
Code Copied

Logs

2024-05-26 11:03.20: New job: test mirage/ocaml-vhd https://github.com/mirage/ocaml-vhd.git#refs/heads/master (7a1a3c49590cc96de47e60186b5fa16a3baf60b5) (linux-x86_64:debian-12-4.07_opam-2.1)
Base: ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/ocaml-vhd.git" -b "master" && cd "ocaml-vhd" && git reset --hard 7a1a3c49
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
# debian-12-4.07_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 1c7ec1efdedc0a230f387bd65706ef364627fdd0 || git fetch origin master) && git reset -q --hard 1c7ec1efdedc0a230f387bd65706ef364627fdd0 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 vhd-format.opam vhd-format-lwt.opam ./
RUN opam pin add -yn vhd-format.dev './' && \
    opam pin add -yn vhd-format-lwt.dev './'
ENV DEPS="base.v0.14.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-pkg-config.3 cppo.1.6.9 csexp.1.5.2 cstruct.6.0.1 dune.3.15.3 dune-configurator.3.15.3 fmt.0.8.9 io-page.2.4.0 lwt.5.5.0 mirage-block.2.0.1 mirage-device.2.0.0 mmap.1.2.0 num.1.5 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocplib-endian.1.2 ounit2.2.2.7 parsexp.v0.14.2 ppx_cstruct.6.0.1 ppx_derivers.1.2.1 ppxlib.0.32.1 result.1.5 rresult.0.6.0 seq.base sexplib.v0.14.0 sexplib0.v0.14.0 stdlib-shims.0.3.0 topkg.1.0.7 uuidm.0.9.7"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y vhd-format.dev vhd-format-lwt.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-05-26 11:03.20: Using cache hint "mirage/ocaml-vhd-ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b-debian-12-4.07_opam-2.1-fd7631fdfc5e007ac9deccaf6ce7067c"
2024-05-26 11:03.20: Using OBuilder spec:
((from ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b)
 (comment debian-12-4.07_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 1c7ec1efdedc0a230f387bd65706ef364627fdd0 || git fetch origin master) && git reset -q --hard 1c7ec1efdedc0a230f387bd65706ef364627fdd0 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src vhd-format.opam vhd-format-lwt.opam) (dst ./))
 (run (network host)
      (shell  "opam pin add -yn vhd-format.dev './' && \
             \nopam pin add -yn vhd-format-lwt.dev './'"))
 (env DEPS "base.v0.14.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-pkg-config.3 cppo.1.6.9 csexp.1.5.2 cstruct.6.0.1 dune.3.15.3 dune-configurator.3.15.3 fmt.0.8.9 io-page.2.4.0 lwt.5.5.0 mirage-block.2.0.1 mirage-device.2.0.0 mmap.1.2.0 num.1.5 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocplib-endian.1.2 ounit2.2.2.7 parsexp.v0.14.2 ppx_cstruct.6.0.1 ppx_derivers.1.2.1 ppxlib.0.32.1 result.1.5 rresult.0.6.0 seq.base sexplib.v0.14.0 sexplib0.v0.14.0 stdlib-shims.0.3.0 topkg.1.0.7 uuidm.0.9.7")
 (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 vhd-format.dev vhd-format-lwt.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-05-26 11:03.20: Waiting for resource in pool OCluster
2024-05-26 13:10.21: Waiting for worker…
2024-05-26 13:13.33: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 7a1a3c4 Merge pull request #77 from psafont/patch-1


(from ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b)
2024-05-26 13:13.34 ---> using "6ad54a8a0a996de05cd03ed30cbb4884566b39028d090d19101121413431a89f" from cache


/: (comment debian-12-4.07_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-05-26 13:13.34 ---> using "f0b7040ce20c0568672a3afcab01929fd18e2ee66f02faa8d94fd05399839280" 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-05-26 13:13.34 ---> using "1178bb4688e7e4718d4170c0ec783ce5396ae6f9cd4db4b0fb12bcb2662305da" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-107-generic
The OCaml toplevel, version 4.07.1
2.1.5
2024-05-26 13:13.34 ---> using "507d1b06732f1eddefe9afcbbd3414d34576360b7497df3aa76bf615c5a885e5" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-26 13:13.34 ---> using "b88e937d6c36e43c713a83fbd5f0a1b9c25ffbb55d9e0cc753e256236a40f949" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 1c7ec1efdedc0a230f387bd65706ef364627fdd0 || git fetch origin master) && git reset -q --hard 1c7ec1efdedc0a230f387bd65706ef364627fdd0 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   6a2ad82c27..0021c0358e  master     -> origin/master
1c7ec1efde [new release] dune (15 packages) (3.15.3)


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository): 
    [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)


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-05-26 13:13.34 ---> using "b0eafd1a6ef7e905cfb8fe39c5e349db039bbfdc3210f6af70ce0007f6d16f21" from cache


/src: (copy (src vhd-format.opam vhd-format-lwt.opam) (dst ./))
2024-05-26 13:13.34 ---> saved as "53f6a143d466a69c8e6c0cfacfb77e083b0c182fd70b75b43edb3ea2cb554f97"


/src: (run (network host)
           (shell  "opam pin add -yn vhd-format.dev './' && \
                  \nopam pin add -yn vhd-format-lwt.dev './'"))
[vhd-format.dev] synchronised (file:///src)
vhd-format is now pinned to file:///src (version dev)
[vhd-format-lwt.dev] synchronised (file:///src)
vhd-format-lwt is now pinned to file:///src (version dev)
2024-05-26 13:13.37 ---> saved as "29d7b3f3a1c81f78eda0e06557cd825bbb6156bab6bd49d25028bba994a77221"


/src: (env DEPS "base.v0.14.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-pkg-config.3 cppo.1.6.9 csexp.1.5.2 cstruct.6.0.1 dune.3.15.3 dune-configurator.3.15.3 fmt.0.8.9 io-page.2.4.0 lwt.5.5.0 mirage-block.2.0.1 mirage-device.2.0.0 mmap.1.2.0 num.1.5 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocplib-endian.1.2 ounit2.2.2.7 parsexp.v0.14.2 ppx_cstruct.6.0.1 ppx_derivers.1.2.1 ppxlib.0.32.1 result.1.5 rresult.0.6.0 seq.base sexplib.v0.14.0 sexplib0.v0.14.0 stdlib-shims.0.3.0 topkg.1.0.7 uuidm.0.9.7")


/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 vhd-format.dev vhd-format-lwt.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 [157 kB]
- Fetched 273 kB in 0s (909 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[vhd-format.dev] synchronised (no changes)
[vhd-format-lwt.dev] synchronised (no changes)


[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.08.1-1).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.07.1).
[NOTE] Package ocaml is already installed (current version is 4.07.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:
    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


2024-05-26 13:13.52 ---> saved as "ce454df9692ff0f12614f707f8168aa1c481d164a76143abc6079c652eb15863"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.08.1-1).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.07.1).
[NOTE] Package ocaml is already installed (current version is 4.07.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 num                 1.5
  - install ocamlfind           1.9.6
  - install seq                 base
  - install conf-pkg-config     3
  - install topkg               1.0.7
  - install ocamlfind-secondary 1.9.6
  - install base-bytes          base
  - install uuidm               0.9.7
  - install dune                3.15.3
  - install stdlib-shims        0.3.0
  - install sexplib0            v0.14.0
  - install result              1.5
  - install ppx_derivers        1.2.1
  - install ocaml-syntax-shims  1.0.0
  - install ocaml-compiler-libs v0.12.4
  - install csexp               1.5.2
  - install cppo                1.6.9
  - install bigarray-compat     1.1.0
  - install ounit2              2.2.7
  - install fmt                 0.8.9
  - install rresult             0.6.0
  - install ppxlib              0.32.1
  - install dune-configurator   3.15.3
  - install ocplib-endian       1.2
  - install mmap                1.2.0
  - install cstruct             6.0.1
  - install base                v0.14.0
  - install lwt                 5.5.0
  - install io-page             2.4.0
  - install parsexp             v0.14.2
  - install mirage-device       2.0.0
  - install sexplib             v0.14.0
  - install mirage-block        2.0.1
  - install ppx_cstruct         6.0.1
===== 35 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.14.0  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved cppo.1.6.9  (cached)
-> installed conf-pkg-config.3
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.0.1  (cached)
-> retrieved fmt.0.8.9  (cached)
-> retrieved io-page.2.4.0  (cached)
-> retrieved lwt.5.5.0  (cached)
-> retrieved mirage-block.2.0.1  (cached)
-> retrieved mirage-device.2.0.0  (cached)
-> retrieved mmap.1.2.0  (cached)
-> retrieved num.1.5  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocamlfind-secondary.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved parsexp.v0.14.2  (cached)
-> retrieved ppx_cstruct.6.0.1  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved dune-configurator.3.15.3  (cached)
-> retrieved dune.3.15.3  (cached)
-> installed num.1.5
-> retrieved ppxlib.0.32.1  (cached)
-> installed seq.base
-> retrieved result.1.5  (cached)
-> retrieved rresult.0.6.0  (cached)
-> retrieved sexplib.v0.14.0  (cached)
-> retrieved sexplib0.v0.14.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uuidm.0.9.7  (cached)
-> retrieved topkg.1.0.7  (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.14.3
-> installed ocamlfind-secondary.1.9.6
-> installed topkg.1.0.7
-> installed uuidm.0.9.7
-> installed dune.3.15.3
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.0
-> installed result.1.5
-> installed sexplib0.v0.14.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocaml-syntax-shims.1.0.0
-> installed stdlib-shims.0.3.0
-> installed cppo.1.6.9
-> installed mmap.1.2.0
-> installed cstruct.6.0.1
-> installed rresult.0.6.0
-> installed ocplib-endian.1.2
-> installed io-page.2.4.0
-> installed fmt.0.8.9
-> installed ounit2.2.2.7
-> installed dune-configurator.3.15.3
-> installed lwt.5.5.0
-> installed mirage-device.2.0.0
-> installed mirage-block.2.0.1
-> installed base.v0.14.0
-> installed parsexp.v0.14.2
-> installed sexplib.v0.14.0
-> installed ppxlib.0.32.1
-> installed ppx_cstruct.6.0.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-26 13:14.45 ---> saved as "b132ad6518a13809643e6ecfed940ff0c528029ba6dbcc076f571100a8cc0338"


/src: (copy (src .) (dst /src))
2024-05-26 13:14.46 ---> saved as "62d29a636dd5d2ce2c0736cb736e064f3d45959918d762dfc4f9588013f57d9e"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/vhd_format_lwt_test && ./parse_test.exe)
.................................................................................................
Ran: 97 tests in: 49.13 seconds.
OK
WARNING: failed to setuid to a non-priviledged user, access control tests will pass spuriously (Unix.Unix_error(Unix.EPERM, "setuid", ""))
2024-05-26 13:15.37 ---> saved as "48dccdad08dbc81fdc026427474b9e3364adab942f6ddb4c99450af1607ba168"
Job succeeded
2024-05-26 13:15.37: Job succeeded