Organisationsmiragemirage-block-unix98efe7 (main)fedora-38-4.14_opam-2.1

fedora-38-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:fedora-38-4.14_opam-2.1)
Base: ocaml/opam@sha256:96d20501faa1d691b178c9ae5acd351edc4d7ff7d9de7873ad7055fb6208f6f8
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:96d20501faa1d691b178c9ae5acd351edc4d7ff7d9de7873ad7055fb6208f6f8
# fedora-38-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 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:96d20501faa1d691b178c9ae5acd351edc4d7ff7d9de7873ad7055fb6208f6f8-fedora-38-4.14_opam-2.1-95713bf993bab5739ace157c4b72fc64"
2024-06-17 13:40.04: Using OBuilder spec:
((from ocaml/opam@sha256:96d20501faa1d691b178c9ae5acd351edc4d7ff7d9de7873ad7055fb6208f6f8)
 (comment fedora-38-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 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.20: Waiting for worker…
2024-06-19 16:39.17: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 98efe7a CHANGES for 2.14.2


(from ocaml/opam@sha256:96d20501faa1d691b178c9ae5acd351edc4d7ff7d9de7873ad7055fb6208f6f8)
Unable to find image 'ocaml/opam@sha256:96d20501faa1d691b178c9ae5acd351edc4d7ff7d9de7873ad7055fb6208f6f8' locally
docker.io/ocaml/opam@sha256:96d20501faa1d691b178c9ae5acd351edc4d7ff7d9de7873ad7055fb6208f6f8: Pulling from ocaml/opam
392cf6545df7: Pulling fs layer
392cf6545df7: Verifying Checksum
392cf6545df7: Download complete
392cf6545df7: Pull complete
Digest: sha256:96d20501faa1d691b178c9ae5acd351edc4d7ff7d9de7873ad7055fb6208f6f8
Status: Downloaded newer image for ocaml/opam@sha256:96d20501faa1d691b178c9ae5acd351edc4d7ff7d9de7873ad7055fb6208f6f8
2024-06-19 16:39.17 ---> using "d7a2bd18765fd6e41b4aa91a73c5bb56acf2a8804008db15bf704f7c9d92626b" from cache


/: (comment fedora-38-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 38 - x86_64                               31 kB/s | 6.0 kB     00:00    
Fedora 38 openh264 (From Cisco) - x86_64         10 kB/s | 989  B     00:00    
Fedora Modular 38 - x86_64                       53 kB/s | 5.9 kB     00:00    
Fedora 38 - x86_64 - Updates                     10 kB/s | 5.9 kB     00:00    
Fedora Modular 38 - x86_64 - Updates            4.4 kB/s | 5.8 kB     00:01    
Package findutils-1:4.9.0-3.fc38.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2024-06-19 16:39.17 ---> using "1e0aeb1151990a607fecfeb71c2a176b7ca9d86ec3183110b82a3b52056282c3" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-06-19 16:39.17 ---> using "e086811d6126203dbb8ba773243964ae98b8b1cb1f640971fa6f502c07a83e04" 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-19 16:39.17 ---> using "5f0529c0b02f94bab02083cb54bb3e610aaea131f5cd5e8d75e0ac6af064ca53" 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-19 16:39.17 ---> using "d06a1e15b0457c263b105b15f657598af91bdf8a329fcdb1e06820a3a1b7628e" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-06-19 16:39.17 ---> using "0c64dce2379a43afcbbdfcb03019ea9869801ada3418b120d3b97250dac373c5" from cache


/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..5d6f1cf035  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:39.17 ---> using "6d8c9e743064f494db275bdc958c517b80f8f21130fa14c1b85f58cf2b97c354" from cache


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


/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:39.19 ---> saved as "8c9fa7455b0c781db36f499a39b8d10474c02eed5b4e24c39caab1130d16d90a"


/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 "yum" "makecache"
- Fedora 38 - x86_64                               63 kB/s | 6.0 kB     00:00    
- Fedora 38 openh264 (From Cisco) - x86_64         10 kB/s | 989  B     00:00    
- Fedora Modular 38 - x86_64                       54 kB/s | 5.9 kB     00:00    
- Fedora 38 - x86_64 - Updates                     51 kB/s | 5.9 kB     00:00    
- Fedora Modular 38 - x86_64 - Updates             62 kB/s | 5.8 kB     00:00    
- Metadata cache created.


<><> 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).
2024-06-19 16:39.31 ---> saved as "600ad37824d693ffc5f55081adac757d1c26f40bded3dd91f33d4911cd68158a"


/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)
-> installed conf-linux-libc-dev.0
-> retrieved cstruct.6.2.0  (cached)
-> retrieved cstruct-lwt.6.2.0  (cached)
-> retrieved diet.0.4  (cached)
-> 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 stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed ocaml-syntax-shims.1.0.0
-> installed stringext.1.6.0
-> installed diet.0.4
-> installed cppo.1.6.9
-> installed ounit2.2.2.7
-> installed ocplib-endian.1.2
-> 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:40.16 ---> saved as "bc5a1e7f203c0a329410ef002319cd53c6807bc4ed3ff5795993857913762065"


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


/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_3c34ae_dune/mirage-block-test.88.0: failed to open file
rm /tmp/build_3c34ae_dune/mirage-block-test.88.2
rm /tmp/build_3c34ae_dune/mirage-block-test.88.2
rm /tmp/build_3c34ae_dune/mirage-block-test.88.2
(cd _build/default/lib_test && ./stress.exe)
-.......-..........-.....-.-..............--...-...............
2024-06-19 16:40.18 ---> saved as "fae21f16c163be10efd2ff49c037d5fc92b7670162d2762baff3462cabfc6aa9"
Job succeeded
2024-06-19 16:40.18: Job succeeded