2025-05-31 16:20.26: New job: test robur-coop/git-kv https://github.com/robur-coop/git-kv.git#refs/heads/main (eb28173c1ecf97e77071982f668f98af85d50955) (linux-x86_64:alpine-3.21-4.14_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/robur-coop/git-kv.git" -b "main" && cd "git-kv" && git reset --hard eb28173c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c
# alpine-3.21-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 6425acefa6f5d53bc1566a539be6227a2a0fd97f || git fetch origin master) && git reset -q --hard 6425acefa6f5d53bc1566a539be6227a2a0fd97f && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 git-net.opam git-kv.opam ./
RUN opam pin add -yn git-net.dev './' && \
opam pin add -yn git-kv.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.0 angstrom.0.16.1 arp.4.0.0 asn1-combinators.0.3.2 astring.0.8.5 awa.0.5.2 awa-mirage.0.5.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 bstr.0.0.1 ca-certs-nss.3.108-1 cachet.0.0.2 cachet-lwt.0.0.2 carton.dev carton-git-lwt.dev carton-lwt.dev checkseum.0.5.2 cmdliner.1.3.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 cstruct-unix.6.2.0 decompress.1.5.3 digestif.1.3.0 dns.10.1.0 dns-client.10.1.0 dns-client-mirage.10.1.0 domain-name.0.4.1 duff.0.5 dune.3.19.0 dune-configurator.3.19.0 duration.0.2.1 emile.1.1 encore.0.8.1 eqaf.0.10 ethernet.3.2.0 faraday.0.8.2 fmt.0.10.0 fpath.0.7.3 gmap.0.3.0 h1.1.0.0 h2.0.13.0 happy-eyeballs.2.0.1 happy-eyeballs-lwt.2.0.1 happy-eyeballs-mirage.2.0.1 hpack.0.13.0 httpun-types.0.2.0 hxd.0.3.3 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 kdf.1.0.0 ke.0.6 logs.0.8.0 lru.0.3.1 lwt.5.9.1 lwt-dllist.1.1.0 macaddr.5.6.0 macaddr-cstruct.5.6.0 metrics.0.4.1 mimic.0.0.9 mimic-happy-eyeballs.0.0.9 mirage-crypto.2.0.1 mirage-crypto-ec.2.0.1 mirage-crypto-pk.2.0.1 mirage-crypto-rng.2.0.1 mirage-flow.5.0.0 mirage-kv.6.1.1 mirage-mtime.5.0.0 mirage-net.4.0.0 mirage-ptime.5.0.0 mirage-sleep.4.0.0 mtime.2.1.0 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.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 optint.0.3.0 paf.0.8.0 pecu.0.7 psq.0.2.1 ptime.1.2.0 randomconv.0.2.0 re.1.12.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 tcpip.9.0.1 tls.2.0.1 tls-mirage.2.0.1 topkg.1.0.8 uri.4.4.0 uutf.1.0.4 x509.1.0.6 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y git-net.dev git-kv.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
2025-05-31 16:20.26: Using cache hint "robur-coop/git-kv-ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c-alpine-3.21-4.14_opam-2.3-6008f11f6adf43ab078181ce659761a6"
2025-05-31 16:20.26: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c)
(comment alpine-3.21-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 6425acefa6f5d53bc1566a539be6227a2a0fd97f || git fetch origin master) && git reset -q --hard 6425acefa6f5d53bc1566a539be6227a2a0fd97f && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src git-net.opam git-kv.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn git-net.dev './' && \
\nopam pin add -yn git-kv.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.0 angstrom.0.16.1 arp.4.0.0 asn1-combinators.0.3.2 astring.0.8.5 awa.0.5.2 awa-mirage.0.5.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 bstr.0.0.1 ca-certs-nss.3.108-1 cachet.0.0.2 cachet-lwt.0.0.2 carton.dev carton-git-lwt.dev carton-lwt.dev checkseum.0.5.2 cmdliner.1.3.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 cstruct-unix.6.2.0 decompress.1.5.3 digestif.1.3.0 dns.10.1.0 dns-client.10.1.0 dns-client-mirage.10.1.0 domain-name.0.4.1 duff.0.5 dune.3.19.0 dune-configurator.3.19.0 duration.0.2.1 emile.1.1 encore.0.8.1 eqaf.0.10 ethernet.3.2.0 faraday.0.8.2 fmt.0.10.0 fpath.0.7.3 gmap.0.3.0 h1.1.0.0 h2.0.13.0 happy-eyeballs.2.0.1 happy-eyeballs-lwt.2.0.1 happy-eyeballs-mirage.2.0.1 hpack.0.13.0 httpun-types.0.2.0 hxd.0.3.3 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 kdf.1.0.0 ke.0.6 logs.0.8.0 lru.0.3.1 lwt.5.9.1 lwt-dllist.1.1.0 macaddr.5.6.0 macaddr-cstruct.5.6.0 metrics.0.4.1 mimic.0.0.9 mimic-happy-eyeballs.0.0.9 mirage-crypto.2.0.1 mirage-crypto-ec.2.0.1 mirage-crypto-pk.2.0.1 mirage-crypto-rng.2.0.1 mirage-flow.5.0.0 mirage-kv.6.1.1 mirage-mtime.5.0.0 mirage-net.4.0.0 mirage-ptime.5.0.0 mirage-sleep.4.0.0 mtime.2.1.0 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.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 optint.0.3.0 paf.0.8.0 pecu.0.7 psq.0.2.1 ptime.1.2.0 randomconv.0.2.0 re.1.12.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 tcpip.9.0.1 tls.2.0.1 tls-mirage.2.0.1 topkg.1.0.8 uri.4.4.0 uutf.1.0.4 x509.1.0.6 zarith.1.14")
(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.3 --depext-only -y git-net.dev git-kv.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"))
)
2025-05-31 16:20.26: Waiting for resource in pool OCluster
2025-05-31 16:20.26: Waiting for worker…
2025-05-31 16:20.26: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at eb28173 Fix our tests
(from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c)
2025-05-31 16:20.27 ---> using "b31f8ea9b0da9063a13255c6536c5f85700cfe755ad07fbc6516da39211433c3" from cache
/: (comment alpine-3.21-4.14_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-05-31 16:20.27 ---> using "19df58eb54ed30110ece635c4514ba385d140993ef5afc1d6ea8834ab1dff193" 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 development 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
[NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=255 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-05-31 16:20.27 ---> using "5d59f74e6dbc788d5564e4eb41af6de5cdafa28276e80e99123b7c2df2221c47" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-59-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-05-31 16:20.27 ---> using "f3ac1918087de3fd30b9d202f649badc87b770850bf1bccf4ef78510f7ee33ac" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-05-31 16:20.27 ---> using "0399f5b9278019e7dd66be1fc65fe4435ea8eeec9e9d0cc3290c1440795219b0" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6425acefa6f5d53bc1566a539be6227a2a0fd97f || git fetch origin master) && git reset -q --hard 6425acefa6f5d53bc1566a539be6227a2a0fd97f && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
35eb2f107a..f96c4f16cc master -> origin/master
6425acefa6 Merge pull request #27942 from reynir/release-awa-v0.5.2
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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.
# To update the current shell environment, run: eval $(opam env)
2025-05-31 16:20.27 ---> using "917d3ac9969a6096ba54a0718150f061bab5178b9187c31e91e69dc4c8ee41db" from cache
/src: (copy (src git-net.opam git-kv.opam) (dst ./))
2025-05-31 16:20.27 ---> using "4303ce03935634a94f92f1c5402961aa51d7c18cc9295c38cc0ab96ba7f70911" from cache
/src: (run (network host)
(shell "opam pin add -yn git-net.dev './' && \
\nopam pin add -yn git-kv.dev './'"))
Package git-net does not exist, create as a NEW package? [y/n] y
[git-net.dev] synchronised (file:///src)
git-net is now pinned to file:///src (version dev)
[git-kv.dev] synchronised (file:///src)
The following additional pinnings are required by git-kv.dev:
- carton.dev at git+https://github.com/robur-coop/carton.git#f98fa095c3ebe4b6d7e43b9cc9f620f06dd0431b
- carton-lwt.dev at git+https://github.com/robur-coop/carton.git#f98fa095c3ebe4b6d7e43b9cc9f620f06dd0431b
- carton-git-lwt.dev at git+https://github.com/robur-coop/carton.git#f98fa095c3ebe4b6d7e43b9cc9f620f06dd0431b
Pin and install them? [y/n] y
[carton.dev] synchronised (no changes)
carton is now pinned to git+https://github.com/robur-coop/carton.git#f98fa095c3ebe4b6d7e43b9cc9f620f06dd0431b (version dev)
[carton-lwt.dev] synchronised (no changes)
carton-lwt is now pinned to git+https://github.com/robur-coop/carton.git#f98fa095c3ebe4b6d7e43b9cc9f620f06dd0431b (version dev)
[carton-git-lwt.dev] synchronised (no changes)
carton-git-lwt is now pinned to git+https://github.com/robur-coop/carton.git#f98fa095c3ebe4b6d7e43b9cc9f620f06dd0431b (version dev)
git-kv is now pinned to file:///src (version dev)
2025-05-31 16:20.27 ---> using "c024627f041aab990c6b010284b25d7ec346eee5952df322a7267ab196948b43" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-31 16:20.27 ---> using "1656d696d676f50c7cf2fa18c481dfcbb3992d0d1e24b70cabfca8c0051e99e1" from cache
/src: (env DEPS "alcotest.1.9.0 angstrom.0.16.1 arp.4.0.0 asn1-combinators.0.3.2 astring.0.8.5 awa.0.5.2 awa-mirage.0.5.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 bstr.0.0.1 ca-certs-nss.3.108-1 cachet.0.0.2 cachet-lwt.0.0.2 carton.dev carton-git-lwt.dev carton-lwt.dev checkseum.0.5.2 cmdliner.1.3.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 cstruct-unix.6.2.0 decompress.1.5.3 digestif.1.3.0 dns.10.1.0 dns-client.10.1.0 dns-client-mirage.10.1.0 domain-name.0.4.1 duff.0.5 dune.3.19.0 dune-configurator.3.19.0 duration.0.2.1 emile.1.1 encore.0.8.1 eqaf.0.10 ethernet.3.2.0 faraday.0.8.2 fmt.0.10.0 fpath.0.7.3 gmap.0.3.0 h1.1.0.0 h2.0.13.0 happy-eyeballs.2.0.1 happy-eyeballs-lwt.2.0.1 happy-eyeballs-mirage.2.0.1 hpack.0.13.0 httpun-types.0.2.0 hxd.0.3.3 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 kdf.1.0.0 ke.0.6 logs.0.8.0 lru.0.3.1 lwt.5.9.1 lwt-dllist.1.1.0 macaddr.5.6.0 macaddr-cstruct.5.6.0 metrics.0.4.1 mimic.0.0.9 mimic-happy-eyeballs.0.0.9 mirage-crypto.2.0.1 mirage-crypto-ec.2.0.1 mirage-crypto-pk.2.0.1 mirage-crypto-rng.2.0.1 mirage-flow.5.0.0 mirage-kv.6.1.1 mirage-mtime.5.0.0 mirage-net.4.0.0 mirage-ptime.5.0.0 mirage-sleep.4.0.0 mtime.2.1.0 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.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 optint.0.3.0 paf.0.8.0 pecu.0.7 psq.0.2.1 ptime.1.2.0 randomconv.0.2.0 re.1.12.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 tcpip.9.0.1 tls.2.0.1 tls-mirage.2.0.1 topkg.1.0.8 uri.4.4.0 uutf.1.0.4 x509.1.0.6 zarith.1.14")
/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.3 --depext-only -y git-net.dev git-kv.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/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.21.3-574-g638d0989887 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-574-g638d0989887 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v3.22.0-78-g114d1724080 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.22.0-78-g114d1724080 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.22.0-64-g9057cb35a99 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 58481 distinct packages available
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[carton-lwt.dev] synchronised (no changes)
[carton-git-lwt.dev] synchronised (no changes)
[carton.dev] synchronised (no changes)
[git-kv.dev] synchronised (file:///src)
[git-net.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.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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:
gmp-dev
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apk" "add" "gmp-dev"
- (1/2) Installing libgmpxx (6.3.0-r2)
- (2/2) Installing gmp-dev (6.3.0-r2)
- OK: 310 MiB in 103 packages
2025-05-31 16:20.27 ---> using "1372d70e9521d34ea6fc99fdfe896d5266f1e331109cd0efc61b007fa81de594" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[carton-lwt.dev] synchronised (no changes)
[carton-git-lwt.dev] synchronised (no changes)
[carton.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 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 102 packages
- install alcotest 1.9.0
- install angstrom 0.16.1
- install arp 4.0.0
- install asn1-combinators 0.3.2
- install astring 0.8.5
- install awa 0.5.2
- install awa-mirage 0.5.2
- install base-bytes base
- install base64 3.5.1
- install bigstringaf 0.10.0
- install bos 0.2.1
- install bstr 0.0.1
- install ca-certs-nss 3.108-1
- install cachet 0.0.2
- install cachet-lwt 0.0.2
- install carton dev (pinned)
- install carton-git-lwt dev (pinned)
- install carton-lwt dev (pinned)
- install checkseum 0.5.2
- install cmdliner 1.3.0
- install conf-gmp 5
- install conf-gmp-powm-sec 4
- install conf-pkg-config 4
- install cppo 1.8.0
- install csexp 1.5.2
- install cstruct 6.2.0
- install cstruct-lwt 6.2.0
- install cstruct-unix 6.2.0
- install decompress 1.5.3
- install digestif 1.3.0
- install dns 10.1.0
- install dns-client 10.1.0
- install dns-client-mirage 10.1.0
- install domain-name 0.4.1
- install duff 0.5
- install dune 3.19.0
- install dune-configurator 3.19.0
- install duration 0.2.1
- install emile 1.1
- install encore 0.8.1
- install eqaf 0.10
- install ethernet 3.2.0
- install faraday 0.8.2
- install fmt 0.10.0
- install fpath 0.7.3
- install gmap 0.3.0
- install h1 1.0.0
- install h2 0.13.0
- install happy-eyeballs 2.0.1
- install happy-eyeballs-lwt 2.0.1
- install happy-eyeballs-mirage 2.0.1
- install hpack 0.13.0
- install httpun-types 0.2.0
- install hxd 0.3.3
- install ipaddr 5.6.0
- install ipaddr-cstruct 5.6.0
- install kdf 1.0.0
- install ke 0.6
- install logs 0.8.0
- install lru 0.3.1
- install lwt 5.9.1
- install lwt-dllist 1.1.0
- install macaddr 5.6.0
- install macaddr-cstruct 5.6.0
- install metrics 0.4.1
- install mimic 0.0.9
- install mimic-happy-eyeballs 0.0.9
- install mirage-crypto 2.0.1
- install mirage-crypto-ec 2.0.1
- install mirage-crypto-pk 2.0.1
- install mirage-crypto-rng 2.0.1
- install mirage-flow 5.0.0
- install mirage-kv 6.1.1
- install mirage-mtime 5.0.0
- install mirage-net 4.0.0
- install mirage-ptime 5.0.0
- install mirage-sleep 4.0.0
- install mtime 2.1.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install ocplib-endian 1.2
- install ohex 0.2.0
- install optint 0.3.0
- install paf 0.8.0
- install pecu 0.7
- install psq 0.2.1
- install ptime 1.2.0
- install randomconv 0.2.0
- install re 1.12.0
- install rresult 0.7.0
- install seq base
- install stdlib-shims 0.3.0
- install stringext 1.6.0
- install tcpip 9.0.1
- install tls 2.0.1
- install tls-mirage 2.0.1
- install topkg 1.0.8
- install uri 4.4.0
- install uutf 1.0.4
- install x509 1.0.6
- install zarith 1.14
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved arp.4.0.0 (cached)
-> retrieved angstrom.0.16.1 (cached)
-> retrieved asn1-combinators.0.3.2 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved alcotest.1.9.0 (cached)
-> retrieved awa.0.5.2, awa-mirage.0.5.2 (cached)
-> retrieved base64.3.5.1 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved bos.0.2.1 (cached)
-> retrieved bstr.0.0.1 (cached)
-> retrieved cachet.0.0.2, cachet-lwt.0.0.2 (cached)
-> retrieved ca-certs-nss.3.108-1 (cached)
-> retrieved carton-git-lwt.dev (no changes)
-> retrieved carton.dev (no changes)
-> retrieved checkseum.0.5.2 (cached)
-> retrieved conf-gmp.5 (cached)
-> retrieved conf-gmp-powm-sec.4 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cppo.1.8.0 (cached)
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> retrieved csexp.1.5.2 (cached)
-> retrieved carton-lwt.dev (no changes)
-> retrieved cstruct.6.2.0, cstruct-lwt.6.2.0, cstruct-unix.6.2.0 (cached)
-> installed conf-gmp-powm-sec.4
-> retrieved decompress.1.5.3 (cached)
-> retrieved dns.10.1.0, dns-client.10.1.0, dns-client-mirage.10.1.0 (cached)
-> retrieved domain-name.0.4.1 (cached)
-> retrieved duff.0.5 (cached)
-> retrieved duration.0.2.1 (cached)
-> retrieved emile.1.1 (cached)
-> retrieved encore.0.8.1 (cached)
-> retrieved eqaf.0.10 (cached)
-> retrieved ethernet.3.2.0 (cached)
-> retrieved faraday.0.8.2 (cached)
-> retrieved fmt.0.10.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved gmap.0.3.0 (cached)
-> retrieved h1.1.0.0 (cached)
-> retrieved h2.0.13.0, hpack.0.13.0 (cached)
-> retrieved happy-eyeballs.2.0.1, happy-eyeballs-lwt.2.0.1, happy-eyeballs-mirage.2.0.1 (cached)
-> retrieved httpun-types.0.2.0 (cached)
-> retrieved hxd.0.3.3 (cached)
-> retrieved digestif.1.3.0 (cached)
-> retrieved ipaddr.5.6.0, ipaddr-cstruct.5.6.0, macaddr.5.6.0, macaddr-cstruct.5.6.0 (cached)
-> retrieved kdf.1.0.0 (cached)
-> retrieved ke.0.6 (cached)
-> retrieved logs.0.8.0 (cached)
-> retrieved lru.0.3.1 (cached)
-> retrieved lwt-dllist.1.1.0 (cached)
-> retrieved metrics.0.4.1 (cached)
-> retrieved lwt.5.9.1 (cached)
-> retrieved mimic.0.0.9, mimic-happy-eyeballs.0.0.9 (cached)
-> retrieved mirage-flow.5.0.0 (cached)
-> retrieved mirage-kv.6.1.1 (cached)
-> retrieved mirage-mtime.5.0.0 (cached)
-> retrieved mirage-net.4.0.0 (cached)
-> retrieved mirage-ptime.5.0.0 (cached)
-> retrieved mirage-sleep.4.0.0 (cached)
-> retrieved mtime.2.1.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved dune.3.19.0, dune-configurator.3.19.0 (cached)
-> retrieved mirage-crypto.2.0.1, mirage-crypto-ec.2.0.1, mirage-crypto-pk.2.0.1, mirage-crypto-rng.2.0.1 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved ohex.0.2.0 (cached)
-> retrieved optint.0.3.0 (cached)
-> retrieved pecu.0.7 (cached)
-> retrieved psq.0.2.1 (cached)
-> retrieved paf.0.8.0 (cached)
-> retrieved ptime.1.2.0 (cached)
-> installed cmdliner.1.3.0
-> retrieved randomconv.0.2.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved re.1.12.0 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved stringext.1.6.0 (cached)
-> retrieved tcpip.9.0.1 (cached)
-> retrieved topkg.1.0.8 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved tls.2.0.1, tls-mirage.2.0.1 (cached)
-> retrieved uri.4.4.0 (cached)
-> retrieved x509.1.0.6 (cached)
-> retrieved zarith.1.14 (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed zarith.1.14
-> installed topkg.1.0.8
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed mtime.2.1.0
-> installed fmt.0.10.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.19.0
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed asn1-combinators.0.3.2
-> installed base64.3.5.1
-> installed bstr.0.0.1
-> installed cachet.0.0.2
-> installed cppo.1.8.0
-> installed cstruct.6.2.0
-> installed domain-name.0.4.1
-> installed duff.0.5
-> installed eqaf.0.10
-> installed gmap.0.3.0
-> installed ke.0.6
-> installed lwt-dllist.1.1.0
-> installed macaddr.5.6.0
-> installed metrics.0.4.1
-> installed mirage-mtime.5.0.0
-> installed mirage-ptime.5.0.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ohex.0.2.0
-> installed optint.0.3.0
-> installed pecu.0.7
-> installed psq.0.2.1
-> installed randomconv.0.2.0
-> installed re.1.12.0
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed ocplib-endian.1.2
-> installed cstruct-unix.6.2.0
-> installed macaddr-cstruct.5.6.0
-> installed lru.0.3.1
-> installed ipaddr.5.6.0
-> installed ipaddr-cstruct.5.6.0
-> installed digestif.1.3.0
-> installed alcotest.1.9.0
-> installed dune-configurator.3.19.0
-> installed bigstringaf.0.10.0
-> installed faraday.0.8.2
-> installed checkseum.0.5.2
-> installed angstrom.0.16.1
-> installed httpun-types.0.2.0
-> installed encore.0.8.1
-> installed emile.1.1
-> installed h1.1.0.0
-> installed hpack.0.13.0
-> installed decompress.1.5.3
-> installed mirage-crypto.2.0.1
-> installed h2.0.13.0
-> installed lwt.5.9.1
-> installed uri.4.4.0
-> installed kdf.1.0.0
-> installed cachet-lwt.0.0.2
-> installed cstruct-lwt.6.2.0
-> installed mirage-flow.5.0.0
-> installed mirage-net.4.0.0
-> installed mirage-kv.6.1.1
-> installed mirage-sleep.4.0.0
-> installed hxd.0.3.3
-> installed logs.0.8.0
-> installed ethernet.3.2.0
-> installed happy-eyeballs.2.0.1
-> installed mimic.0.0.9
-> installed mirage-crypto-rng.2.0.1
-> installed arp.4.0.0
-> installed carton.dev
-> installed mirage-crypto-pk.2.0.1
-> installed carton-lwt.dev
-> installed carton-git-lwt.dev
-> installed dns.10.1.0
-> installed tcpip.9.0.1
-> installed happy-eyeballs-mirage.2.0.1
-> installed bos.0.2.1
-> installed happy-eyeballs-lwt.2.0.1
-> installed dns-client.10.1.0
-> installed mirage-crypto-ec.2.0.1
-> installed x509.1.0.6
-> installed ca-certs-nss.3.108-1
-> installed tls.2.0.1
-> installed awa.0.5.2
-> installed tls-mirage.2.0.1
-> installed awa-mirage.0.5.2
-> installed dns-client-mirage.10.1.0
-> installed paf.0.8.0
-> installed mimic-happy-eyeballs.0.0.9
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-31 16:20.27 ---> using "7ba2509898bec0a45ee13ccd0762387eed6c5ceb265a31298659fe02237724a2" from cache
/src: (copy (src .) (dst /src))
2025-05-31 16:20.28 ---> saved as "cf8ff64fadff0182efb3714a0327a9fe3ab5cec1f2794bac58ff3647d2b58af1"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./tests.exe)
Testing `Git-KV alcotest tests'.
This run has ID `3PVWM8DP'.
[OK] Basic tests 0 Read in change_and_push.
[OK] Basic tests 1 Set outside change_and_push.
[OK] Basic tests 2 Remove in change_and_push.
[OK] Basic tests 3 Last modified in change_and_push.
[OK] Basic tests 4 Digest in change_and_push.
[OK] Basic tests 5 Multiple change_and_push.
Full test results in `/src/_build/default/test/_build/_tests/Git-KV alcotest tests'.
Test Successful in 0.037s. 6 tests run.
File "test/fold.t", line 1, characters 0-0:
/usr/bin/git --no-pager diff --no-index --color=always -u _build/.sandbox/a9cb930b861ceb5527c435020e23c502/default/test/fold.t _build/.sandbox/a9cb930b861ceb5527c435020e23c502/default/test/fold.t.corrected
diff --git a/_build/.sandbox/a9cb930b861ceb5527c435020e23c502/default/test/fold.t b/_build/.sandbox/a9cb930b861ceb5527c435020e23c502/default/test/fold.t.corrected
index d6da500..09be15f 100644
--- a/_build/.sandbox/a9cb930b861ceb5527c435020e23c502/default/test/fold.t
+++ b/_build/.sandbox/a9cb930b861ceb5527c435020e23c502/default/test/fold.t.corrected
@@ -4,6 +4,8 @@ Batch operation
$ git init --bare -q 2> /dev/null
$ cd ..
$ git daemon --base-path=. --export-all --enable=receive-pack --reuseaddr --pid-file=pid --detach
+ git: 'daemon' is not a git command. See 'git --help'.
+ [1]
$ mgit git://localhost/simple#main <<EOF
> fold
> set /bar "Git rocks!"
@@ -12,19 +14,42 @@ Batch operation
> quit
> quit
> EOF
- /bar exists as a value
+ Fatal error: exception Invalid_argument("error fetching: No connection found")
+ Raised at Stdlib.invalid_arg in file "stdlib.ml", line 30, characters 20-45
+ Called from Git_kv.connect.(fun) in file "src/git_kv.ml", line 148, characters 11-23
+ Called from Lwt.Sequential_composition.bind.create_result_promise_and_callback_if_deferred.callback in file "src/core/lwt.ml", line 1844, characters 16-19
+ Re-raised at Lwt.Miscellaneous.poll in file "src/core/lwt.ml", line 3123, characters 20-29
+ Called from Lwt_main.run.run_loop in file "src/unix/lwt_main.ml", line 27, characters 10-20
+ Called from Lwt_main.run in file "src/unix/lwt_main.ml", line 106, characters 8-13
+ Re-raised at Lwt_main.run in file "src/unix/lwt_main.ml", line 112, characters 4-13
+ Called from Dune__exe__Mgit.run in file "app/mgit.ml" (inlined), line 195, characters 2-25
+ Called from Dune__exe__Mgit in file "app/mgit.ml", line 199, characters 21-36
+ [2]
$ mgit git://localhost/simple#main <<EOF
> list /
> get /bar
> get /foo
> quit
> EOF
- - /bar
- - /foo
- 00000000: 4769 7420 726f 636b 7321 Git rocks!
- 00000000: 4865 6c6c 6f20 576f 726c 6421 Hello World!
+ Fatal error: exception Invalid_argument("error fetching: No connection found")
+ Raised at Stdlib.invalid_arg in file "stdlib.ml", line 30, characters 20-45
+ Called from Git_kv.connect.(fun) in file "src/git_kv.ml", line 148, characters 11-23
+ Called from Lwt.Sequential_composition.bind.create_result_promise_and_callback_if_deferred.callback in file "src/core/lwt.ml", line 1844, characters 16-19
+ Re-raised at Lwt.Miscellaneous.poll in file "src/core/lwt.ml", line 3123, characters 20-29
+ Called from Lwt_main.run.run_loop in file "src/unix/lwt_main.ml", line 27, characters 10-20
+ Called from Lwt_main.run in file "src/unix/lwt_main.ml", line 106, characters 8-13
+ Re-raised at Lwt_main.run in file "src/unix/lwt_main.ml", line 112, characters 4-13
+ Called from Dune__exe__Mgit.run in file "app/mgit.ml" (inlined), line 195, characters 2-25
+ Called from Dune__exe__Mgit in file "app/mgit.ml", line 199, characters 21-36
+ [2]
$ cd simple
$ git log main --pretty=oneline | wc -l | tr -d ' '
- 1
+ fatal: ambiguous argument 'main': unknown revision or path not in the working tree.
+ Use '--' to separate paths from revisions, like this:
+ 'git <command> [<revision>...] -- [<file>...]'
+ 0
$ cd ..
$ kill $(cat pid)
+ cat: pid: No such file or directory
+ sh: you need to specify whom to kill
+ [1]
File "test/fold2.t", line 1, characters 0-0:
/usr/bin/git --no-pager diff --no-index --color=always -u _build/.sandbox/f71572ccf31c42aec8ab035881a25904/default/test/fold2.t _build/.sandbox/f71572ccf31c42aec8ab035881a25904/default/test/fold2.t.corrected
diff --git a/_build/.sandbox/f71572ccf31c42aec8ab035881a25904/default/test/fold2.t b/_build/.sandbox/f71572ccf31c42aec8ab035881a25904/default/test/fold2.t.corrected
index b96663a..6f0781a 100644
--- a/_build/.sandbox/f71572ccf31c42aec8ab035881a25904/default/test/fold2.t
+++ b/_build/.sandbox/f71572ccf31c42aec8ab035881a25904/default/test/fold2.t.corrected
@@ -2,6 +2,8 @@ Reading during batch operation
$ mkdir simple
$ git init --bare -q simple 2> /dev/null
$ git daemon --base-path=. --export-all --enable=receive-pack --reuseaddr --pid-file=pid --detach
+ git: 'daemon' is not a git command. See 'git --help'.
+ [1]
$ mgit git://localhost/simple#main << EOF
> fold
> set /bar "Git rocks!"
@@ -10,10 +12,25 @@ Reading during batch operation
> quit
> quit
> EOF
- - /bar
- 00000000: 4769 7420 726f 636b 7321 Git rocks!
+ Fatal error: exception Invalid_argument("error fetching: No connection found")
+ Raised at Stdlib.invalid_arg in file "stdlib.ml", line 30, characters 20-45
+ Called from Git_kv.connect.(fun) in file "src/git_kv.ml", line 148, characters 11-23
+ Called from Lwt.Sequential_composition.bind.create_result_promise_and_callback_if_deferred.callback in file "src/core/lwt.ml", line 1844, characters 16-19
+ Re-raised at Lwt.Miscellaneous.poll in file "src/core/lwt.ml", line 3123, characters 20-29
+ Called from Lwt_main.run.run_loop in file "src/unix/lwt_main.ml", line 27, characters 10-20
+ Called from Lwt_main.run in file "src/unix/lwt_main.ml", line 106, characters 8-13
+ Re-raised at Lwt_main.run in file "src/unix/lwt_main.ml", line 112, characters 4-13
+ Called from Dune__exe__Mgit.run in file "app/mgit.ml" (inlined), line 195, characters 2-25
+ Called from Dune__exe__Mgit in file "app/mgit.ml", line 199, characters 21-36
+ [2]
$ cd simple
$ git log main --pretty=oneline | wc -l | tr -d ' '
- 1
+ fatal: ambiguous argument 'main': unknown revision or path not in the working tree.
+ Use '--' to separate paths from revisions, like this:
+ 'git <command> [<revision>...] -- [<file>...]'
+ 0
$ cd ..
$ kill $(cat pid)
+ cat: pid: No such file or directory
+ sh: you need to specify whom to kill
+ [1]
File "test/simple.t", line 1, characters 0-0:
/usr/bin/git --no-pager diff --no-index --color=always -u _build/.sandbox/5249d5589cea90ba8e4870a0a07b030f/default/test/simple.t _build/.sandbox/5249d5589cea90ba8e4870a0a07b030f/default/test/simple.t.corrected
diff --git a/_build/.sandbox/5249d5589cea90ba8e4870a0a07b030f/default/test/simple.t b/_build/.sandbox/5249d5589cea90ba8e4870a0a07b030f/default/test/simple.t.corrected
index 8cf6147..ebf2276 100644
--- a/_build/.sandbox/5249d5589cea90ba8e4870a0a07b030f/default/test/simple.t
+++ b/_build/.sandbox/5249d5589cea90ba8e4870a0a07b030f/default/test/simple.t.corrected
@@ -13,20 +13,31 @@ Simple test of our Git Key-Value store
$ git commit --date "$DATE" -q -m .
$ cd ..
$ git daemon --base-path=. --export-all --reuseaddr --pid-file=pid --detach
+ git: 'daemon' is not a git command. See 'git --help'.
+ [1]
$ mgit git://localhost/simple <<EOF
> get /foo
> save db.pack
> quit
> EOF
- 00000000: 4865 6c6c 6f20 576f 726c 6421 0a Hello World!.
+ Fatal error: exception Invalid_argument("error fetching: No connection found")
+ Raised at Stdlib.invalid_arg in file "stdlib.ml", line 30, characters 20-45
+ Called from Git_kv.connect.(fun) in file "src/git_kv.ml", line 148, characters 11-23
+ Called from Lwt.Sequential_composition.bind.create_result_promise_and_callback_if_deferred.callback in file "src/core/lwt.ml", line 1844, characters 16-19
+ Re-raised at Lwt.Miscellaneous.poll in file "src/core/lwt.ml", line 3123, characters 20-29
+ Called from Lwt_main.run.run_loop in file "src/unix/lwt_main.ml", line 27, characters 10-20
+ Called from Lwt_main.run in file "src/unix/lwt_main.ml", line 106, characters 8-13
+ Re-raised at Lwt_main.run in file "src/unix/lwt_main.ml", line 112, characters 4-13
+ Called from Dune__exe__Mgit.run in file "app/mgit.ml" (inlined), line 195, characters 2-25
+ Called from Dune__exe__Mgit in file "app/mgit.ml", line 199, characters 21-36
+ [2]
$ tail -c20 db.pack | hxd.xxd
- 00000000: e4b2 3437 2e7e 3d7e 8508 3912 3d87 11cd ..47.~=~..9.=...
- 00000010: 9942 7147 .BqG
+ tail: cannot open 'db.pack' for reading: No such file or directory
$ mgit git://localhost/simple db.pack <<EOF
> get /foo
> quit
> EOF
- 00000000: 4865 6c6c 6f20 576f 726c 6421 0a Hello World!.
+ mgit <remote> [<filename>]
$ cd simple
$ echo "Git rocks!" > bar
$ git add bar
@@ -38,8 +49,8 @@ Simple test of our Git Key-Value store
> get /foo
> quit
> EOF
- + /bar
- * /
- 00000000: 4769 7420 726f 636b 7321 0a Git rocks!.
- 00000000: 4865 6c6c 6f20 576f 726c 6421 0a Hello World!.
+ mgit <remote> [<filename>]
$ kill $(cat pid)
+ cat: pid: No such file or directory
+ sh: you need to specify whom to kill
+ [1]
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-05-31 16:20.31: Job failed: Failed: Build failed