Organisationsmiragemirage-block-unix98efe7 (main)alpine-3.19-4.14_opam-2.1

alpine-3.19-4.14_opam-2.1

Link Copied
Code Copied

Logs

2024-06-17 13:40.04: New job: test mirage/mirage-block-unix https://github.com/mirage/mirage-block-unix.git#refs/heads/main (98efe7ad179994cbae5eba4549dd92c486731bcf) (linux-x86_64:alpine-3.19-4.14_opam-2.1)
Base: ocaml/opam@sha256:4d3b507eb6d349666aafd74b6be9407ba60490b82f2b83b1bfa11dee108383a6
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/mirage-block-unix.git" -b "main" && cd "mirage-block-unix" && git reset --hard 98efe7ad
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:4d3b507eb6d349666aafd74b6be9407ba60490b82f2b83b1bfa11dee108383a6
# alpine-3.19-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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-block-unix.opam ./
RUN opam pin add -yn mirage-block-unix.dev './'
ENV DEPS="angstrom.0.16.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.9.1 conf-linux-libc-dev.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 diet.0.4 dune.3.16.0 dune-configurator.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 lwt.5.7.0 mirage-block.3.0.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 ounit2.2.2.7 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.0.7 uri.4.4.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y mirage-block-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-17 13:40.04: Using cache hint "mirage/mirage-block-unix-ocaml/opam@sha256:4d3b507eb6d349666aafd74b6be9407ba60490b82f2b83b1bfa11dee108383a6-alpine-3.19-4.14_opam-2.1-95713bf993bab5739ace157c4b72fc64"
2024-06-17 13:40.04: Using OBuilder spec:
((from ocaml/opam@sha256:4d3b507eb6d349666aafd74b6be9407ba60490b82f2b83b1bfa11dee108383a6)
 (comment alpine-3.19-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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src mirage-block-unix.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn mirage-block-unix.dev './'"))
 (env DEPS "angstrom.0.16.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.9.1 conf-linux-libc-dev.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 diet.0.4 dune.3.16.0 dune-configurator.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 lwt.5.7.0 mirage-block.3.0.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 ounit2.2.2.7 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.0.7 uri.4.4.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-block-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-17 13:40.04: Waiting for resource in pool OCluster
2024-06-19 16:35.39: Waiting for worker…
2024-06-19 16:39.54: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
All commits already cached
HEAD is now at 98efe7a CHANGES for 2.14.2


(from ocaml/opam@sha256:4d3b507eb6d349666aafd74b6be9407ba60490b82f2b83b1bfa11dee108383a6)
Unable to find image 'ocaml/opam@sha256:4d3b507eb6d349666aafd74b6be9407ba60490b82f2b83b1bfa11dee108383a6' locally
docker.io/ocaml/opam@sha256:4d3b507eb6d349666aafd74b6be9407ba60490b82f2b83b1bfa11dee108383a6: Pulling from ocaml/opam
63c16f33c378: Pulling fs layer
63c16f33c378: Verifying Checksum
63c16f33c378: Download complete
63c16f33c378: Pull complete
Digest: sha256:4d3b507eb6d349666aafd74b6be9407ba60490b82f2b83b1bfa11dee108383a6
Status: Downloaded newer image for ocaml/opam@sha256:4d3b507eb6d349666aafd74b6be9407ba60490b82f2b83b1bfa11dee108383a6
2024-06-19 16:41.47 ---> saved as "7c84d3c6715c76e11b87a824092e49e2170365f5eab7d36e46dae375b4e90d36"


/: (comment alpine-3.19-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-19 16:41.47 ---> saved as "3a0b2dfa492b481c3c1940069fb1a00041c3e8f1a264d97e9cf4ea405a29d493"


/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-19 16:43.46 ---> saved as "d9437c98c97f34e9b4bc717a4aacbca85cbeda3a25ed1930cdeebbe498b092fa"


/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-19 16:43.46 ---> saved as "28afbfca5b4d30823c4da17c4bc70337a135223e35c2330ffb92fb47a74b9818"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-06-19 16:43.46 ---> saved as "83e77854ba4072bf5fc5bcecc3911823841748fcf7546ed987e1e3881965ffa7"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   c45f5bab71..59c0c54934  master     -> origin/master
a6069b9eeb [new release] dune (15 packages) (3.16.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-19 16:50.39 ---> saved as "6cab5e6ad079434a0cdc4f824a24c2496b9ebaaa25ffcfb396bb6aacb29f0d4b"


/src: (copy (src mirage-block-unix.opam) (dst ./))
2024-06-19 16:50.40 ---> saved as "fa4b203ba2b9f960aa40c696a01e8e0dc0ab7b4f3b0472a17e37113d60c4f97b"


/src: (run (network host)
           (shell "opam pin add -yn mirage-block-unix.dev './'"))
[mirage-block-unix.dev] synchronised (file:///src)
mirage-block-unix is now pinned to file:///src (version dev)
2024-06-19 16:50.44 ---> saved as "f4be0a9e61923139924bebeaef666e4c75b494a5b4e0fba56c8d1e5af484ba4f"


/src: (env DEPS "angstrom.0.16.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.9.1 conf-linux-libc-dev.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 diet.0.4 dune.3.16.0 dune-configurator.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 lwt.5.7.0 mirage-block.3.0.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 ounit2.2.2.7 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.0.7 uri.4.4.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-block-unix.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.19.2-1-g2b3d3c06700 [https://dl-cdn.alpinelinux.org/alpine/v3.19/main]
- v3.19.1-642-g9e5b575ce97 [https://dl-cdn.alpinelinux.org/alpine/v3.19/community]
- v20240606-884-gd684c584517 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20240606-892-gdefae2249f6 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20240606-892-gdefae2249f6 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 53478 distinct packages available


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-block-unix.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:
    linux-headers


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apk" "add" "linux-headers"
- (1/1) Installing linux-headers (6.5-r0)
- OK: 302 MiB in 101 packages
2024-06-19 16:51.32 ---> saved as "e2fa884be087bce9e57912c9ef108a01c9148e2c31537595e0f63fd4803ba918"


/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 conf-linux-libc-dev 0
  - install ocamlbuild          0.14.3
  - install dune                3.16.0
  - install ocamlfind           1.9.6
  - install seq                 base
  - install stringext           1.6.0
  - install stdlib-shims        0.3.0
  - install ocaml-syntax-shims  1.0.0
  - install csexp               1.5.2
  - install cppo                1.6.9
  - install topkg               1.0.7
  - install base-bytes          base
  - install ounit2              2.2.7
  - install diet                0.4
  - install dune-configurator   3.16.0
  - install rresult             0.7.0
  - install fmt                 0.9.0
  - install ocplib-endian       1.2
  - install bigstringaf         0.9.1
  - install cstruct             6.2.0
  - install lwt                 5.7.0
  - install angstrom            0.16.0
  - install mirage-block        3.0.2
  - install logs                0.7.0
  - install cstruct-lwt         6.2.0
  - install uri                 4.4.0
===== 26 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.0  (cached)
-> retrieved bigstringaf.0.9.1  (cached)
-> retrieved cppo.1.6.9  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved diet.0.4  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved cstruct-lwt.6.2.0  (cached)
-> installed conf-linux-libc-dev.0
-> retrieved fmt.0.9.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lwt.5.7.0  (cached)
-> retrieved mirage-block.3.0.2  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved uri.4.4.0  (cached)
-> retrieved dune.3.16.0  (cached)
-> retrieved dune-configurator.3.16.0  (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed fmt.0.9.0
-> installed dune.3.16.0
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed diet.0.4
-> installed ocaml-syntax-shims.1.0.0
-> installed cppo.1.6.9
-> installed ocplib-endian.1.2
-> installed ounit2.2.2.7
-> installed dune-configurator.3.16.0
-> installed bigstringaf.0.9.1
-> installed angstrom.0.16.0
-> installed uri.4.4.0
-> installed lwt.5.7.0
-> installed mirage-block.3.0.2
-> installed cstruct-lwt.6.2.0
-> installed logs.0.7.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-06-19 16:53.24 ---> saved as "08ce547b7f96589b17a9fe07897d14294acee0b8badf22843c3a344195e8a7e1"


/src: (copy (src .) (dst /src))
2024-06-19 16:53.24 ---> saved as "a7a593ff0666f3d9ac9966eade157001cd708c5d38431ba9de86ca6163dc6424"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/lib_test && ./test.exe -runner sequential)
...........
Ran: 11 tests in: 0.02 seconds.
OK
test.exe: [ERROR] connect /tmp/build_fca08c_dune/mirage-block-test.86.0: failed to open file
rm /tmp/build_fca08c_dune/mirage-block-test.86.2
rm /tmp/build_fca08c_dune/mirage-block-test.86.2
rm /tmp/build_fca08c_dune/mirage-block-test.86.2
(cd _build/default/lib_test && ./stress.exe)
-.......-..........-.....-.-..............--...-...............
2024-06-19 16:53.27 ---> saved as "0b9f9b8fdc801ee14cab440b917d255285ab7db944428f61386e6a5f66fb0383"
Job succeeded
2024-06-19 16:53.28: Job succeeded