Organisationsmiragemirage-kv-unix0065e6 (main)ubuntu-25.10-4.14_opam-2.5

ubuntu-25.10-4.14_opam-2.5

Logs

Show full logs
2026-05-05 14:39.32: New job: test mirage/mirage-kv-unix https://github.com/mirage/mirage-kv-unix.git#refs/heads/main (0065e6460adfeb29bf305722a992884ed8d0778a) (linux-x86_64:ubuntu-25.10-4.14_opam-2.5)
Base: ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:8a427bf0e0ffa4fb81e43464aa6e59441b7781adac3f46d15a64c97b80ec6ae5
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 0065e646
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:8a427bf0e0ffa4fb81e43464aa6e59441b7781adac3f46d15a64c97b80ec6ae5
# ubuntu-25.10-4.14_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /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 a70af20c7161f9d2e1ede477647f5f9e06d6e78f || git fetch origin master) && git reset -q --hard a70af20c7161f9d2e1ede477647f5f9e06d6e78f && 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 './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.2.1.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.23.0 dune-configurator.3.23.0 fmt.0.11.0 lwt.6.1.2 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mirage-kv.6.1.1 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 optint.0.3.0 ptime.1.2.0 re.1.14.0 rresult.0.7.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --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

2026-05-05 14:39.32: Using cache hint "mirage/mirage-kv-unix-ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:8a427bf0e0ffa4fb81e43464aa6e59441b7781adac3f46d15a64c97b80ec6ae5-ubuntu-25.10-4.14_opam-2.5-151c52e02deee1eaf26721cea493d725"
2026-05-05 14:39.32: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:8a427bf0e0ffa4fb81e43464aa6e59441b7781adac3f46d15a64c97b80ec6ae5)
 (comment ubuntu-25.10-4.14_opam-2.5)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.5 /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 a70af20c7161f9d2e1ede477647f5f9e06d6e78f || git fetch origin master) && git reset -q --hard a70af20c7161f9d2e1ede477647f5f9e06d6e78f && 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 './'"))
 (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.2.1.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.23.0 dune-configurator.3.23.0 fmt.0.11.0 lwt.6.1.2 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mirage-kv.6.1.1 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 optint.0.3.0 ptime.1.2.0 re.1.14.0 rresult.0.7.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4")
 (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.5 --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"))
)

2026-05-05 14:39.32: Waiting for resource in pool OCluster
2026-05-05 16:06.40: Waiting for worker…
2026-05-05 16:09.46: Got resource from pool OCluster
Building on doris.caelum.ci.dev
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint: 	git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint: 	git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/mirage-kv-unix.git-f1669bc5d19c8c6f471064e22be0e84ed145ac68/.git/
HEAD is now at 0065e64 Merge pull request #9 from hannesm/add-maint

(from ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:8a427bf0e0ffa4fb81e43464aa6e59441b7781adac3f46d15a64c97b80ec6ae5)
Unable to find image 'ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:8a427bf0e0ffa4fb81e43464aa6e59441b7781adac3f46d15a64c97b80ec6ae5' locally
docker.io/ocaml/opam@sha256:8a427bf0e0ffa4fb81e43464aa6e59441b7781adac3f46d15a64c97b80ec6ae5: Pulling from ocaml/opam
16c195d4c5e9: Already exists
1c62812e7321: Already exists
8a4b09d2a7a7: Already exists
3318481042ff: Already exists
3efb10c5a696: Already exists
888f94101ffe: Already exists
cb111e18f70b: Already exists
4577a01d97fc: Already exists
36c03f94b287: Already exists
b55120cc7c58: Already exists
40f87b6b7b5e: Already exists
b6b4461886a5: Already exists
82cf66283d29: Already exists
1a02079536a8: Already exists
2e0bc88eb84b: Already exists
09b28afbcd46: Already exists
00cd2b8865d8: Already exists
2e4e2f0309f4: Already exists
2e4e2f0309f4: Already exists
50db42a840cc: Already exists
5913402ab519: Already exists
519e922f93a7: Already exists
332f52403f35: Already exists
4f4fb700ef54: Already exists
a6f5d82bd51a: Already exists
22b6b33dc014: Already exists
c4ba1bb0beef: Already exists
819f9134fecb: Already exists
3a2ab9b94171: Already exists
1cf4451cd5ed: Already exists
ff69b5cd68bc: Already exists
cd0e15413539: Already exists
3f08ff270ed3: Already exists
7a3d3f919aa8: Already exists
c98da4399bf5: Already exists
af6ae49e31af: Already exists
1c5876ef1c32: Already exists
0090888c3ffc: Already exists
201e5e865a7a: Already exists
d369afea098a: Already exists
b826f9587249: Already exists
d7b96966ef4d: Already exists
5a2cf235d37f: Pulling fs layer
1a8514365eb7: Pulling fs layer
5a2cf235d37f: Waiting
99f68675dc6e: Pulling fs layer
83f6221f7ec5: Pulling fs layer
356882ca618e: Pulling fs layer
1a8514365eb7: Waiting
356882ca618e: Waiting
83f6221f7ec5: Waiting
5a2cf235d37f: Verifying Checksum
5a2cf235d37f: Download complete
5a2cf235d37f: Pull complete
1a8514365eb7: Verifying Checksum
1a8514365eb7: Download complete
99f68675dc6e: Verifying Checksum
99f68675dc6e: Download complete
83f6221f7ec5: Download complete
356882ca618e: Verifying Checksum
356882ca618e: Download complete
1a8514365eb7: Pull complete
99f68675dc6e: Pull complete
83f6221f7ec5: Pull complete
356882ca618e: Pull complete
Digest: sha256:8a427bf0e0ffa4fb81e43464aa6e59441b7781adac3f46d15a64c97b80ec6ae5
Status: Downloaded newer image for ocaml/opam@sha256:8a427bf0e0ffa4fb81e43464aa6e59441b7781adac3f46d15a64c97b80ec6ae5
2026-05-05 16:09.48 ---> using "4b2e7c4069fe46290813b344d428aaf7deba9e97c753e29fc0bef3624528fbb2" from cache

/: (comment ubuntu-25.10-4.14_opam-2.5)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-05-05 16:09.48 ---> using "37ea3b09dbe9d4d52030fb7e917c0b996a3d100d98c9277eaadafb00aeba1263" 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.2, which can't be reverted.
You may want to back it up before going further.

Continue? [Y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "ocaml-patches-overlay": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocurrent/opam-repository/': Could not resolve host: github.com"
[default] Initialised
2026-05-05 16:09.48 ---> using "711589363bbc4ff9621e03e9b904e7e759e6f9d76a808b2af2e8d0678b73f254" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-110-generic
The OCaml toplevel, version 4.14.3
2.5.0
2026-05-05 16:09.48 ---> using "4db0ca45045c87429dbb4939b7c5f3fba9666d7018ccce745a8120217112cd78" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-05-05 16:09.48 ---> using "791d6fd9b78baf913c7152dcb24c196cc5b40477ce83119fb3016810cc77d33d" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e a70af20c7161f9d2e1ede477647f5f9e06d6e78f || git fetch origin master) && git reset -q --hard a70af20c7161f9d2e1ede477647f5f9e06d6e78f && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   42844088d7..163a32c4d5  master     -> origin/master
a70af20c71 Merge pull request #29844 from shonfeder/release-dune-3.23.0

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

default (at git+file:///home/opam/opam-repository): 
    [INFO] opam 2.5.1 includes security fixes; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

[ocaml-patches-overlay] no changes from git+https://github.com/ocurrent/opam-repository#patches

Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-05-05 16:09.48 ---> using "4740e66a12c53b0d40bbaead8cf96ea6e5f83866d67d7e64cfcd5417608738ce" from cache

/src: (copy (src mirage-kv-unix.opam) (dst ./))
2026-05-05 16:09.49 ---> saved as "397ba8d7bdfe9320e06a55b60a0f45d4d070a271630b4aec921b1ca2eaa83975"

/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)
2026-05-05 16:09.50 ---> saved as "b19cc75c63695d2a73a076e61ad61952509d8be6e22655b047a837d8840a2786"

/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-05-05 16:09.50 ---> saved as "68f7fe4ccaa1e9c0a18c1b4a446be8739b48cbabd131a14a53944a8f5ceb2861"

/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.2.1.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.23.0 dune-configurator.3.23.0 fmt.0.11.0 lwt.6.1.2 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mirage-kv.6.1.1 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 optint.0.3.0 ptime.1.2.0 re.1.14.0 rresult.0.7.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4")

/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.5 --depext-only -y mirage-kv-unix.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu questing InRelease
- Get:2 http://security.ubuntu.com/ubuntu questing-security InRelease [136 kB]
- Get:3 http://archive.ubuntu.com/ubuntu questing-updates InRelease [136 kB]
- Get:4 http://archive.ubuntu.com/ubuntu questing-backports InRelease [133 kB]
- Get:5 http://archive.ubuntu.com/ubuntu questing-updates/main amd64 Packages [518 kB]
- Get:6 http://archive.ubuntu.com/ubuntu questing-updates/universe amd64 Packages [382 kB]
- Get:7 http://archive.ubuntu.com/ubuntu questing-updates/restricted amd64 Packages [297 kB]
- Get:8 http://archive.ubuntu.com/ubuntu questing-updates/multiverse amd64 Packages [22.5 kB]
- Get:9 http://archive.ubuntu.com/ubuntu questing-backports/universe amd64 Packages [3995 B]
- Get:10 http://security.ubuntu.com/ubuntu questing-security/universe amd64 Packages [298 kB]
- Get:11 http://security.ubuntu.com/ubuntu questing-security/restricted amd64 Packages [276 kB]
- Get:12 http://security.ubuntu.com/ubuntu questing-security/multiverse amd64 Packages [2684 B]
- Get:13 http://security.ubuntu.com/ubuntu questing-security/main amd64 Packages [380 kB]
- Fetched 2584 kB in 1s (4533 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-kv-unix.dev] synchronised (file:///src)

[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.3).
[NOTE] Package ocaml is already installed (current version is 4.14.3).
[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).
# To update the current shell environment, run: eval $(opam env)
2026-05-05 16:10.01 ---> saved as "660ef525a4c1bc4894e14cb4630dfbe2b0e6844d75a0f497ae0efcd0f24ff953"

/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.3).
[NOTE] Package ocaml is already installed (current version is 4.14.3).
[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 25 packages
  - install alcotest           1.9.1
  - install astring            0.8.5
  - install base-bytes         base
  - install cmdliner           2.1.1
  - install cppo               1.8.0
  - install csexp              1.5.2
  - install cstruct            6.2.0
  - install dune               3.23.0
  - install dune-configurator  3.23.0
  - install fmt                0.11.0
  - install lwt                6.1.2
  - install mirage-clock       4.2.0
  - install mirage-clock-unix  4.2.0
  - install mirage-kv          6.1.1
  - install ocaml-syntax-shims 1.0.0
  - install ocamlbuild         0.16.1
  - install ocamlfind          1.9.8
  - install ocplib-endian      1.2
  - install optint             0.3.0
  - install ptime              1.2.0
  - install re                 1.14.0
  - install rresult            0.7.0
  - install stdlib-shims       0.3.0
  - install topkg              1.1.1
  - install uutf               1.0.4

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.2.1.1  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved mirage-clock.4.2.0, mirage-clock-unix.4.2.0  (cached)
-> retrieved lwt.6.1.2  (cached)
-> retrieved mirage-kv.6.1.1  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved dune.3.23.0, dune-configurator.3.23.0  (cached)
-> installed cmdliner.2.1.1
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.1
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed dune.3.23.0
-> installed mirage-clock.4.2.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed cstruct.6.2.0
-> installed ocaml-syntax-shims.1.0.0
-> installed optint.0.3.0
-> installed re.1.14.0
-> installed stdlib-shims.0.3.0
-> installed ocplib-endian.1.2
-> installed alcotest.1.9.1
-> installed dune-configurator.3.23.0
-> installed mirage-clock-unix.4.2.0
-> installed lwt.6.1.2
-> installed mirage-kv.6.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-05 16:10.42 ---> saved as "9e106232def926495cd48aa880d25b673a1fb503b011b3e3b1c0d60d9afb1744"

/src: (copy (src .) (dst /src))
2026-05-05 16:10.43 ---> saved as "063c249a0af7a0e5fb965ffbb99983da7a2003af936e0cfa177f22fbde20711e"

/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 `TLL5ICFY'.

  [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.023s. 19 tests run.
2026-05-05 16:10.44 ---> saved as "aca39dddffb3ee3942923d4423643f93f62932cfdd5181eda808b3a38114c620"
Job succeeded
2026-05-05 16:10.44: Job succeeded