2025-06-17 18:27.01: New job: test mirage/ocaml-tar https://github.com/mirage/ocaml-tar.git#refs/heads/main (a447ca8ab368916aeb107bfbc3757934d64164eb) (linux-arm64:debian-12-4.14_arm64_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:917f88b62776594a1765ee493319c20552daa24bd5650f3686d77d2a4c834d3a
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/ocaml-tar.git" -b "main" && cd "ocaml-tar" && git reset --hard a447ca8a
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:917f88b62776594a1765ee493319c20552daa24bd5650f3686d77d2a4c834d3a
# debian-12-4.14_arm64_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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 tar.opam tar-unix.opam tar-mirage.opam tar-eio.opam ./
RUN opam pin add -yn tar.dev './' && \
opam pin add -yn tar-unix.dev './' && \
opam pin add -yn tar-mirage.dev './' && \
opam pin add -yn tar-eio.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.0 alcotest-lwt.1.9.0 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.10.0 checkseum.0.5.2 cmdliner.1.3.0 conf-linux-libc-dev.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.19.1 dune-configurator.3.19.1 fmt.0.10.0 logs.0.8.0 lwt.5.9.1 mirage-block.3.0.2 mirage-block-unix.2.14.2 mirage-kv.6.1.1 mirage-ptime.5.0.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 optint.0.3.0 ptime.1.2.0 re.1.12.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.0.8 uri.4.4.0 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y tar.dev tar-unix.dev tar-mirage.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=tar,tar-unix,tar-mirage @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-06-17 18:27.01: Using cache hint "mirage/ocaml-tar-ocaml/opam:debian-12-ocaml-4.14@sha256:917f88b62776594a1765ee493319c20552daa24bd5650f3686d77d2a4c834d3a-debian-12-4.14_arm64_opam-2.3-869aca08e1231e7d3fc77516f882a813"
2025-06-17 18:27.01: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:917f88b62776594a1765ee493319c20552daa24bd5650f3686d77d2a4c834d3a)
(comment debian-12-4.14_arm64_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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src tar.opam tar-unix.opam tar-mirage.opam tar-eio.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn tar.dev './' && \
\nopam pin add -yn tar-unix.dev './' && \
\nopam pin add -yn tar-mirage.dev './' && \
\nopam pin add -yn tar-eio.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.0 alcotest-lwt.1.9.0 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.10.0 checkseum.0.5.2 cmdliner.1.3.0 conf-linux-libc-dev.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.19.1 dune-configurator.3.19.1 fmt.0.10.0 logs.0.8.0 lwt.5.9.1 mirage-block.3.0.2 mirage-block-unix.2.14.2 mirage-kv.6.1.1 mirage-ptime.5.0.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 optint.0.3.0 ptime.1.2.0 re.1.12.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.0.8 uri.4.4.0 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.3 --depext-only -y tar.dev tar-unix.dev tar-mirage.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 --only-packages=tar,tar-unix,tar-mirage @install @check @runtest && rm -rf _build"))
)
2025-06-17 18:27.01: Waiting for resource in pool OCluster
2025-06-17 18:54.07: Waiting for worker…
2025-06-17 19:10.31: Got resource from pool OCluster
Building on kydoime.caelum.ci.dev
All commits already cached
HEAD is now at a447ca8 Merge pull request #169 from mirage/prepare-v3.3.0
(from ocaml/opam:debian-12-ocaml-4.14@sha256:917f88b62776594a1765ee493319c20552daa24bd5650f3686d77d2a4c834d3a)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:917f88b62776594a1765ee493319c20552daa24bd5650f3686d77d2a4c834d3a' locally
docker.io/ocaml/opam@sha256:917f88b62776594a1765ee493319c20552daa24bd5650f3686d77d2a4c834d3a: Pulling from ocaml/opam
846ba23f7e65: Pulling fs layer
846ba23f7e65: Verifying Checksum
846ba23f7e65: Download complete
846ba23f7e65: Pull complete
Digest: sha256:917f88b62776594a1765ee493319c20552daa24bd5650f3686d77d2a4c834d3a
Status: Downloaded newer image for ocaml/opam@sha256:917f88b62776594a1765ee493319c20552daa24bd5650f3686d77d2a4c834d3a
2025-06-17 19:10.31 ---> using "11d19f84cb930f3d6a4c8f86d2191508a43befa6559297f1fd2bcae65bdc877b" from cache
/: (comment debian-12-4.14_arm64_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-06-17 19:10.31 ---> using "85df4472775e0e47cd1b46937b61a81bae88e16265d2314168ca69abc8f9c720" 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
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-17 19:10.31 ---> using "7ecd163ad6b3b717443fbd526461bbccff30db10ebb94e4193f5f19bc0da321a" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-06-17 19:10.31 ---> using "79cfde54565251707f8c6b9aa29e6281ba5f020714a012422cea3a51a197c1c5" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-06-17 19:10.31 ---> using "0bc0d206574dd8bfb0f2a8360c500fee7965d33bea04df26fb8bd47b108815fa" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1
<><> 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-06-17 19:10.31 ---> using "f73bfb77153d0633fb70a999704f92fced87d317ca4f09447477dba0053e68a6" from cache
/src: (copy (src tar.opam tar-unix.opam tar-mirage.opam tar-eio.opam)
(dst ./))
2025-06-17 19:10.31 ---> saved as "d11b5c82a073e26caf2f332bfe6d516fc4085c0b0abcff0a6bf31d0ec74e78d2"
/src: (run (network host)
(shell "opam pin add -yn tar.dev './' && \
\nopam pin add -yn tar-unix.dev './' && \
\nopam pin add -yn tar-mirage.dev './' && \
\nopam pin add -yn tar-eio.dev './'"))
[tar.dev] synchronised (file:///src)
tar is now pinned to file:///src (version dev)
[tar-unix.dev] synchronised (file:///src)
tar-unix is now pinned to file:///src (version dev)
[tar-mirage.dev] synchronised (file:///src)
tar-mirage is now pinned to file:///src (version dev)
[tar-eio.dev] synchronised (file:///src)
tar-eio is now pinned to file:///src (version dev)
2025-06-17 19:10.38 ---> saved as "f42d99da0d203b09902abaa2294385ceafd09c4572e7250281027a1dcee43e4c"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-17 19:10.38 ---> saved as "26b73e55238c04b85d3a612089531b19e190753844a27e6f90e460795810fd33"
/src: (env DEPS "alcotest.1.9.0 alcotest-lwt.1.9.0 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.10.0 checkseum.0.5.2 cmdliner.1.3.0 conf-linux-libc-dev.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.19.1 dune-configurator.3.19.1 fmt.0.10.0 logs.0.8.0 lwt.5.9.1 mirage-block.3.0.2 mirage-block-unix.2.14.2 mirage-kv.6.1.1 mirage-ptime.5.0.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 optint.0.3.0 ptime.1.2.0 re.1.12.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.0.8 uri.4.4.0 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.3 --depext-only -y tar.dev tar-unix.dev tar-mirage.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 arm64 Packages [259 kB]
- Fetched 362 kB in 1s (564 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[tar.dev] synchronised (file:///src)
[tar-mirage.dev] synchronised (file:///src)
[tar-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.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).
2025-06-17 19:10.51 ---> saved as "b4ea7e0dd9048f8eba8d96d1b11becc55b8e9401ecdda6da3cdce4e2236af0e8"
/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 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 37 packages
- install alcotest 1.9.0
- install alcotest-lwt 1.9.0
- install angstrom 0.16.1
- install astring 0.8.5
- install base-bytes base
- install bigstringaf 0.10.0
- install checkseum 0.5.2
- install cmdliner 1.3.0
- install conf-linux-libc-dev 0
- install cppo 1.8.0
- install csexp 1.5.2
- install cstruct 6.2.0
- install cstruct-lwt 6.2.0
- install decompress 1.5.3
- install dune 3.19.1
- install dune-configurator 3.19.1
- install fmt 0.10.0
- install logs 0.8.0
- install lwt 5.9.1
- install mirage-block 3.0.2
- install mirage-block-unix 2.14.2
- install mirage-kv 6.1.1
- install mirage-ptime 5.0.0
- 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.12.0
- install rresult 0.7.0
- install seq base
- install stdlib-shims 0.3.0
- install stringext 1.6.0
- install topkg 1.0.8
- install uri 4.4.0
- install uutf 1.0.4
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved angstrom.0.16.1 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved alcotest.1.9.0, alcotest-lwt.1.9.0 (cached)
-> retrieved checkseum.0.5.2 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved cstruct.6.2.0, cstruct-lwt.6.2.0 (cached)
-> installed conf-linux-libc-dev.0
-> retrieved fmt.0.10.0 (cached)
-> retrieved logs.0.8.0 (cached)
-> retrieved lwt.5.9.1 (cached)
-> retrieved mirage-block.3.0.2 (cached)
-> retrieved mirage-block-unix.2.14.2 (cached)
-> retrieved mirage-kv.6.1.1 (cached)
-> retrieved mirage-ptime.5.0.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved decompress.1.5.3 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved optint.0.3.0 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved re.1.12.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved stringext.1.6.0 (cached)
-> retrieved topkg.1.0.8 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved uri.4.4.0 (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.0.8
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed dune.3.19.1
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed cstruct.6.2.0
-> installed mirage-ptime.5.0.0
-> installed ocaml-syntax-shims.1.0.0
-> installed optint.0.3.0
-> installed re.1.12.0
-> installed ocplib-endian.1.2
-> installed alcotest.1.9.0
-> installed dune-configurator.3.19.1
-> installed bigstringaf.0.10.0
-> installed checkseum.0.5.2
-> installed angstrom.0.16.1
-> installed decompress.1.5.3
-> installed uri.4.4.0
-> installed lwt.5.9.1
-> installed mirage-block.3.0.2
-> installed mirage-kv.6.1.1
-> installed cstruct-lwt.6.2.0
-> installed logs.0.8.0
-> installed alcotest-lwt.1.9.0
-> installed mirage-block-unix.2.14.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-17 19:11.40 ---> saved as "6d5f808a594f552d1673e7778ff2b06074f9dbeb407bbdc7243d0c784fd23bdd"
/src: (copy (src .) (dst /src))
2025-06-17 19:11.40 ---> saved as "6861b33c595ff69e10dd863641d7136cfe1c42c6db338d1704a3420344892507"
/src: (run (shell "opam exec -- dune build --only-packages=tar,tar-unix,tar-mirage @install @check @runtest && rm -rf _build"))
(cd _build/default/lib_test && ./global_extended_headers_test.exe)
Testing `global extended headers'.
This run has ID `H0W2VDCN'.
[OK] tar - pax global extended headers 0 can use pax gl...
Full test results in `/src/_build/default/lib_test/_build/_tests/global extended headers'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/lib_test && ./allocate_set_partial_test.exe)
Testing `tar-allocate-set-partial'.
This run has ID `41L16T5E'.
[OK] Test512 0 allocate empty file b512.
[OK] Test512 1 set_partial nonexistent file b512.
[OK] Test512 2 allocate is zeroed b512.
[OK] Test512 3 allocate two one-byte files b512.
[OK] Test512 4 allocate and set first byte b512.
[OK] Test512 5 set and rename b512.
[OK] Test4096 0 allocate empty file b4096.
[OK] Test4096 1 set_partial nonexistent file b4096.
[OK] Test4096 2 allocate is zeroed b4096.
[OK] Test4096 3 allocate two one-byte files b4096.
[OK] Test4096 4 allocate and set first byte b4096.
[OK] Test4096 5 set and rename b4096.
Full test results in `/src/_build/default/lib_test/_build/_tests/tar-allocate-set-partial'.
Test Successful in 0.007s. 12 tests run.
(cd _build/default/lib_test && ./write_test.exe)
Testing `tar-write'.
This run has ID `5M9OMXL2'.
[OK] Test512 0 write empty b512.
[OK] Test512 1 write block size b512.
[OK] Test512 2 write block size b512.
[OK] Test512 3 write two blocks b512.
[OK] Test512 4 write two files b512.
[OK] Test512 5 write two files remove first b512.
[OK] Test512 6 write two files remove second b512.
[OK] Test512 7 remove odd sized file b512.
[OK] Test512 8 set after remove b512.
[OK] Test512 9 allocate doesn't affect tail after arch...
[OK] Test512 10 allocate doesn't affect tail after arch...
[OK] Test512 11 allocate doesn't affect tail after arch...
[OK] Test4096 0 write empty b4096.
[OK] Test4096 1 write block size b4096.
[OK] Test4096 2 write block size b4096.
[OK] Test4096 3 write two blocks b4096.
[OK] Test4096 4 write two files b4096.
[OK] Test4096 5 write two files remove first b4096.
[OK] Test4096 6 write two files remove second b4096.
[OK] Test4096 7 remove odd sized file b4096.
[OK] Test4096 8 set after remove b4096.
[OK] Test4096 9 allocate doesn't affect tail after arch...
[OK] Test4096 10 allocate doesn't affect tail after arch...
[OK] Test4096 11 allocate doesn't affect tail after arch...
Full test results in `/src/_build/default/lib_test/_build/_tests/tar-write'.
Test Successful in 0.074s. 24 tests run.
(cd _build/default/lib_test && ./parse_test.exe)
Testing `parse-test'.
This run has ID `PA325W8Y'.
[OK] parse_test 0 header.
[OK] parse_test 1 can_read_tar.
[OK] parse_test 2 can write pax headers.
[OK] parse_test 3 can read @Longlink.
[OK] parse_test 4 can read pax long names and links.
[OK] parse_test 5 can read pax header with implicit dir...
[OK] parse_test 6 can transform tars.
[OK] parse_test 7 can read @LongLink with implicit dire...
Full test results in `/src/_build/_tests/parse-test'.
Test Successful in 0.008s. 8 tests run.
2025-06-17 19:11.41 ---> saved as "69c34dd2c66903a5acb070144ff2787f3492581be7ddb5125c1a93f64da8edfc"
Job succeeded
2025-06-17 19:11.42: Job succeeded