Organisationsmiragemirage-kv-unix468a22 (main)debian-12-5.1_arm32_opam-2.1

debian-12-5.1_arm32_opam-2.1

Link Copied
Code Copied

Logs

2024-05-10 16:11.50: New job: test mirage/mirage-kv-unix https://github.com/mirage/mirage-kv-unix.git#refs/heads/main (468a22626b4642901819ea37c3cac411929c706a) (linux-arm64:debian-12-5.1_arm32_opam-2.1)
Base: ocaml/opam:debian-12-ocaml-5.1@sha256:3a327b077546b266e428cef5d60a7a64afe6bfa1654ef096c774e2ed46193b60
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/mirage-kv-unix.git" -b "main" && cd "mirage-kv-unix" && git reset --hard 468a2262
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.1@sha256:3a327b077546b266e428cef5d60a7a64afe6bfa1654ef096c774e2ed46193b60
# debian-12-5.1_arm32_opam-2.1
USER 1000:1000
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-kv-unix.opam ./
RUN opam pin add -yn mirage-kv-unix.dev './'
ENV DEPS="alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.2.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 dune.3.15.2 dune-configurator.3.15.2 fmt.0.9.0 lwt.5.7.0 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mirage-kv.6.1.1 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-option-bytecode-only.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 optint.0.3.0 ptime.1.1.0 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y mirage-kv-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-05-10 16:11.50: Using cache hint "mirage/mirage-kv-unix-ocaml/opam:debian-12-ocaml-5.1@sha256:3a327b077546b266e428cef5d60a7a64afe6bfa1654ef096c774e2ed46193b60-debian-12-5.1_arm32_opam-2.1-d0d55a77620ffe022ed5cf9b20d83d48"
2024-05-10 16:11.50: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.1@sha256:3a327b077546b266e428cef5d60a7a64afe6bfa1654ef096c774e2ed46193b60)
 (comment debian-12-5.1_arm32_opam-2.1)
 (user (uid 1000) (gid 1000))
 (shell /usr/bin/linux32 /bin/sh -c)
 (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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src mirage-kv-unix.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn mirage-kv-unix.dev './'"))
 (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.2.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 dune.3.15.2 dune-configurator.3.15.2 fmt.0.9.0 lwt.5.7.0 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mirage-kv.6.1.1 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-option-bytecode-only.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 optint.0.3.0 ptime.1.1.0 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")
 (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-kv-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-05-10 16:11.50: Waiting for resource in pool OCluster
2024-05-10 16:56.19: Waiting for worker…
2024-05-10 17:02.08: Got resource from pool OCluster
Building on ainia.caelum.ci.dev
All commits already cached
HEAD is now at 468a226 Merge pull request #8 from samoht/cleanups


(from ocaml/opam:debian-12-ocaml-5.1@sha256:3a327b077546b266e428cef5d60a7a64afe6bfa1654ef096c774e2ed46193b60)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.1@sha256:3a327b077546b266e428cef5d60a7a64afe6bfa1654ef096c774e2ed46193b60' locally
docker.io/ocaml/opam@sha256:3a327b077546b266e428cef5d60a7a64afe6bfa1654ef096c774e2ed46193b60: Pulling from ocaml/opam
84d78a47d18c: Pulling fs layer
84d78a47d18c: Verifying Checksum
84d78a47d18c: Download complete
84d78a47d18c: Pull complete
Digest: sha256:3a327b077546b266e428cef5d60a7a64afe6bfa1654ef096c774e2ed46193b60
Status: Downloaded newer image for ocaml/opam@sha256:3a327b077546b266e428cef5d60a7a64afe6bfa1654ef096c774e2ed46193b60
WARNING: The requested image's platform (linux/arm/v7) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
2024-05-10 17:02.09 ---> using "ceb621088961504e5c7178c965b5cc2959d73a0683240f36d0355c21eb245b36" from cache


/: (comment debian-12-5.1_arm32_opam-2.1)


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


/: (shell /usr/bin/linux32 /bin/sh -c)


/: (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-10 17:02.09 ---> using "d5c5d6afad8748e8c5f2b4282c811dde2a0f3f0791fda2f25174f19c9f420eff" 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.


Continue? [Y/n] y
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.


Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-05-10 17:02.09 ---> using "d9209e79a5e0cf6ec1fc45b1aea4847a6df6b3a1a3742ca7c0695046ad0562f9" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-106-generic
The OCaml toplevel, version 5.1.1
2.1.5
2024-05-10 17:02.09 ---> using "a0dfb11506370c9e56f1b3f721510ad997931749434d2aa5f05b23a0a8966615" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-10 17:02.09 ---> using "e52630a20d5c2d2c10d4bbd6357a8f9028fa9f6c5c855ace9680ed72fcef1d2c" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   eb2dcab0d8..2ae169d7d0  master     -> origin/master
307e33d08f @dra27 and @Octachron maintain the 4.08+ packages


<><> 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-05-10 17:02.09 ---> using "1204d5e318ba1c02952fd5a9256d770c70726a1cb2cd59eb520e03e571f6317a" from cache


/src: (copy (src mirage-kv-unix.opam) (dst ./))
2024-05-10 17:02.18 ---> saved as "8897d609b8ae0f2fba9ae64bf80470cfb731500bb3d616e1f744cfec77e6d841"


/src: (run (network host)
           (shell "opam pin add -yn mirage-kv-unix.dev './'"))
[mirage-kv-unix.dev] synchronised (file:///src)
mirage-kv-unix is now pinned to file:///src (version dev)
2024-05-10 17:02.23 ---> saved as "c19d81caffe583313913f2d8a26ab7523359f725b0d2a621be20131fd90191a6"


/src: (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.2.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 dune.3.15.2 dune-configurator.3.15.2 fmt.0.9.0 lwt.5.7.0 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mirage-kv.6.1.1 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-option-bytecode-only.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 optint.0.3.0 ptime.1.1.0 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")


/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-kv-unix.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-security bookworm-security/main armhf Packages [149 kB]
- Fetched 252 kB in 1s (470 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-kv-unix.dev] synchronised (no changes)


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-option-bytecode-only is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-05-10 17:02.49 ---> saved as "3990994b5dc4c283552bbe1c023f7a57fc412c4d9dc899e2674c7cbcb8437488"


/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-option-bytecode-only is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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 cmdliner           1.2.0
  - install ocamlfind          1.9.6
  - install seq                base
  - install dune               3.15.2
  - install topkg              1.0.7
  - install base-bytes         base
  - install stdlib-shims       0.3.0
  - install re                 1.11.0
  - install optint             0.3.0
  - install ocaml-syntax-shims 1.0.0
  - install mirage-clock       4.2.0
  - install csexp              1.5.2
  - install cppo               1.6.9
  - install uutf               1.0.3
  - install rresult            0.7.0
  - install ptime              1.1.0
  - install fmt                0.9.0
  - install astring            0.8.5
  - install dune-configurator  3.15.2
  - install ocplib-endian      1.2
  - install cstruct            6.2.0
  - install alcotest           1.7.0
  - install mirage-clock-unix  4.2.0
  - install lwt                5.7.0
  - install mirage-kv          6.1.1
===== 26 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved alcotest.1.7.0  (cached)
-> retrieved cmdliner.1.2.0  (cached)
-> retrieved cppo.1.6.9  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved lwt.5.7.0  (cached)
-> retrieved mirage-clock.4.2.0  (cached)
-> retrieved mirage-clock-unix.4.2.0  (cached)
-> retrieved mirage-kv.6.1.1  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved dune.3.15.2  (cached)
-> retrieved dune-configurator.3.15.2  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved ptime.1.1.0  (cached)
-> retrieved re.1.11.0  (cached)
-> installed cmdliner.1.2.0
-> installed seq.base
-> retrieved rresult.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved uutf.1.0.3  (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 uutf.1.0.3
-> installed fmt.0.9.0
-> installed ptime.1.1.0
-> installed astring.0.8.5
-> installed dune.3.15.2
-> installed mirage-clock.4.2.0
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed optint.0.3.0
-> installed re.1.11.0
-> installed cppo.1.6.9
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.15.2
-> installed ocaml-syntax-shims.1.0.0
-> installed mirage-clock-unix.4.2.0
-> installed alcotest.1.7.0
-> installed lwt.5.7.0
-> installed mirage-kv.6.1.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-10 17:04.39 ---> saved as "301b9a8a42b7b220fd6af7f4d1ec67ad2c20fe1f331e496c0d49ed138afdf5b4"


/src: (copy (src .) (dst /src))
2024-05-10 17:04.43 ---> saved as "7767e39874c881ebe73c469b4a13fe422bc566ea56e402094ad7e81cff7cad3e"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test_kv_unix.exe)
Testing `KV'.
This run has ID `KZ03VUHT'.


  [OK]          connect          0   connect_to_empty_string.
  [OK]          connect          1   connect_to_dev_null.
  [OK]          connect          2   connect_present_dir.
  [OK]          read             0   read_nonexistent_file_from_root.
  [OK]          read             1   read_nonexistent_file_from_dir.
  [OK]          read             2   read_empty_file.
  [OK]          read             3   read_big_file.
  [OK]          size             0   size_nonexistent_file.
  [OK]          size             1   size_empty_file.
  [OK]          size             2   size_small_file.
  [OK]          size             3   size_a_directory.
  [OK]          size             4   size_big_file.
  [OK]          destroy          0   destroy_file.
  [OK]          destroy          1   create_destroy_file.
  [OK]          write            0   write_not_a_dir.
  [OK]          write            1   write_zero_bytes.
  [OK]          write            2   write_contents_correct.
  [OK]          write            3   write_overwrite_dir.
  [OK]          write            4   write_big_file.


Full test results in `/src/_build/default/test/_build/_tests/KV'.
Test Successful in 0.519s. 19 tests run.
2024-05-10 17:04.53 ---> saved as "0e4261c84c39ef8adf4abee9a50c0287d902aae5c4722d640d96beff05ab16f5"
Job succeeded
2024-05-10 17:04.54: Job succeeded