2024-11-19 18:58.19: New job: test mirage/ocaml-tar https://github.com/mirage/ocaml-tar.git#refs/pull/152/head (db6c507c6ac7f9b8ee677b37d4de438b1d3bded7) (linux-s390x:debian-12-4.14_s390x_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:e4e63ddd9ab0ce3757a460313a4ad22f9a62c6e6e259c5cdf18c455fcfdc4fef
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/ocaml-tar.git" && cd "ocaml-tar" && git fetch origin "refs/pull/152/head" && git reset --hard db6c507c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:e4e63ddd9ab0ce3757a460313a4ad22f9a62c6e6e259c5cdf18c455fcfdc4fef
# debian-12-4.14_s390x_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 bf952fff418e4e73b706d8c991bda01670225833 || git fetch origin master) && git reset -q --hard bf952fff418e4e73b706d8c991bda01670225833 && 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 './'
ENV DEPS="alcotest.1.8.0 alcotest-lwt.1.8.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.7.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.16.1 dune-configurator.3.16.1 fmt.0.9.0 host-arch-s390x.1 host-system-other.1 logs.0.7.0 lwt.5.9.0 mirage-block.3.0.2 mirage-block-unix.2.14.2 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mirage-kv.6.1.1 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.15.0 ocamlfind.1.9.6 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.7 uri.4.4.0 uutf.1.0.3"
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
2024-11-19 18:58.19: Using cache hint "mirage/ocaml-tar-ocaml/opam:debian-12-ocaml-4.14@sha256:e4e63ddd9ab0ce3757a460313a4ad22f9a62c6e6e259c5cdf18c455fcfdc4fef-debian-12-4.14_s390x_opam-2.3-54ff9bf993d1f165a40e07aff7dd1577"
2024-11-19 18:58.19: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:e4e63ddd9ab0ce3757a460313a4ad22f9a62c6e6e259c5cdf18c455fcfdc4fef)
(comment debian-12-4.14_s390x_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 bf952fff418e4e73b706d8c991bda01670225833 || git fetch origin master) && git reset -q --hard bf952fff418e4e73b706d8c991bda01670225833 && 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 './'"))
(env DEPS "alcotest.1.8.0 alcotest-lwt.1.8.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.7.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.16.1 dune-configurator.3.16.1 fmt.0.9.0 host-arch-s390x.1 host-system-other.1 logs.0.7.0 lwt.5.9.0 mirage-block.3.0.2 mirage-block-unix.2.14.2 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mirage-kv.6.1.1 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.15.0 ocamlfind.1.9.6 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.7 uri.4.4.0 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.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"))
)
2024-11-19 18:58.19: Waiting for resource in pool OCluster
2024-11-19 23:22.27: Waiting for worker…
2024-11-20 02:18.05: Got resource from pool OCluster
Building on s390x-worker-01.marist.ci.dev
All commits already cached
HEAD is now at db6c507 Fix bugs in test/regress_targz.ml
(from ocaml/opam:debian-12-ocaml-4.14@sha256:e4e63ddd9ab0ce3757a460313a4ad22f9a62c6e6e259c5cdf18c455fcfdc4fef)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:e4e63ddd9ab0ce3757a460313a4ad22f9a62c6e6e259c5cdf18c455fcfdc4fef' locally
docker.io/ocaml/opam@sha256:e4e63ddd9ab0ce3757a460313a4ad22f9a62c6e6e259c5cdf18c455fcfdc4fef: Pulling from ocaml/opam
9f9f8fa8b120: Already exists
8e6cbae09e36: Already exists
4ab695da637f: Already exists
5ad82a311d0e: Already exists
2b871046e303: Already exists
0687f8c393d0: Already exists
0c56b0a94aca: Already exists
bbdfdb2635ff: Already exists
5fd7b192f2d9: Already exists
169c467384fb: Already exists
2472ebc7595d: Already exists
c59ed37e713a: Already exists
868315a8af9a: Already exists
d0e7bb6a72db: Already exists
417ff03ca34f: Already exists
417ff03ca34f: Already exists
0526264c6b23: Already exists
a8b362961b12: Already exists
5508f3d135e1: Already exists
5049a0ab6dd0: Already exists
4f4fb700ef54: Already exists
fc6148839988: Already exists
ef433ac0a16f: Already exists
3eb65be92fa2: Already exists
467c4875a8aa: Already exists
9998672e06b6: Already exists
98741f23e93f: Already exists
b90a83b62eb8: Already exists
370f876bf8b8: Already exists
ee5b763fffc3: Already exists
0670d9f68814: Already exists
7f7db8e9ce1b: Already exists
24ec35890220: Already exists
ea2140c2a21a: Already exists
b657ebc86ba2: Already exists
78c0e74e3879: Already exists
c95975c30c0f: Already exists
81019a4d48d2: Already exists
9c6c4ce431ff: Pulling fs layer
14593332ce0a: Pulling fs layer
129513c09812: Pulling fs layer
eaddf154dc5a: Pulling fs layer
eaddf154dc5a: Waiting
129513c09812: Verifying Checksum
129513c09812: Download complete
14593332ce0a: Verifying Checksum
14593332ce0a: Download complete
eaddf154dc5a: Verifying Checksum
eaddf154dc5a: Download complete
9c6c4ce431ff: Verifying Checksum
9c6c4ce431ff: Download complete
9c6c4ce431ff: Pull complete
14593332ce0a: Pull complete
129513c09812: Pull complete
eaddf154dc5a: Pull complete
Digest: sha256:e4e63ddd9ab0ce3757a460313a4ad22f9a62c6e6e259c5cdf18c455fcfdc4fef
Status: Downloaded newer image for ocaml/opam@sha256:e4e63ddd9ab0ce3757a460313a4ad22f9a62c6e6e259c5cdf18c455fcfdc4fef
2024-11-20 02:18.05 ---> using "b83ef794986133572dd7c54db16337221af0b42baad7df61823234ac61778360" from cache
/: (comment debian-12-4.14_s390x_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"))
2024-11-20 02:18.05 ---> using "62acd4a2a4ea1fe99fea3d7c86ded8d1607bc248a66cb550e3611ff5bf37af83" 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.2, 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-11-20 02:18.05 ---> using "550dc434568ce17008313e6912a3259cfe33f07ec85a557a5651ed54f660c0bd" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-48-generic
The OCaml toplevel, version 4.14.2
2.3.0
2024-11-20 02:18.05 ---> using "764d97d9abbbfcb9f10083dfb29964568ca01e66d3d9d56037bfa4fbbaee8e2f" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-11-20 02:18.05 ---> using "a2a098481d7ef7cc3eea59788f14dfe5e06a849827c692940992888a839904dc" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e bf952fff418e4e73b706d8c991bda01670225833 || git fetch origin master) && git reset -q --hard bf952fff418e4e73b706d8c991bda01670225833 && git log --no-decorate -n1 --oneline && opam update -u"))
bf952fff41 Merge pull request #26877 from raphael-proust/opam-publish-lwt.5.9.0
<><> 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.
# To update the current shell environment, run: eval $(opam env)
2024-11-20 02:18.05 ---> using "a6c607140396587aa3dc4746d39be4cb710bcbe7d71475803b9228a54cd37682" from cache
/src: (copy (src tar.opam tar-unix.opam tar-mirage.opam tar-eio.opam)
(dst ./))
2024-11-20 02:18.10 ---> saved as "40e31132674b5f3de4b8e6f5780256084928bb52876020b359944e6757b65e63"
/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)
2024-11-20 02:18.24 ---> saved as "f3a7008e4cc473877f429c9c8d308f26ef87051cfdcb5f780794410069f3c247"
/src: (env DEPS "alcotest.1.8.0 alcotest-lwt.1.8.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.7.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.16.1 dune-configurator.3.16.1 fmt.0.9.0 host-arch-s390x.1 host-system-other.1 logs.0.7.0 lwt.5.9.0 mirage-block.3.0.2 mirage-block-unix.2.14.2 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mirage-kv.6.1.1 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.15.0 ocamlfind.1.9.6 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.7 uri.4.4.0 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.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 s390x Packages [194 kB]
- Fetched 298 kB in 0s (718 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[tar-unix.dev] synchronised (no changes)
[tar.dev] synchronised (no changes)
[tar-mirage.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-s390x 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-11-20 02:18.50 ---> saved as "c88623f50b765e35f3c1a48ae02746624a2b99c7b16d1f41dc7d544c8460bf24"
/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-s390x 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 38 packages
- install alcotest 1.8.0
- install alcotest-lwt 1.8.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.7.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.16.1
- install dune-configurator 3.16.1
- install fmt 0.9.0
- install logs 0.7.0
- install lwt 5.9.0
- install mirage-block 3.0.2
- install mirage-block-unix 2.14.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.15.0
- install ocamlfind 1.9.6
- 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.7
- install uri 4.4.0
- install uutf 1.0.3
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved angstrom.0.16.1 (cached)
-> retrieved alcotest.1.8.0, alcotest-lwt.1.8.0 (cached)
-> retrieved checkseum.0.5.2 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cppo.1.7.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved cstruct.6.2.0, cstruct-lwt.6.2.0 (cached)
-> retrieved decompress.1.5.3 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved lwt.5.9.0 (cached)
-> retrieved dune.3.16.1, dune-configurator.3.16.1 (cached)
-> retrieved mirage-block.3.0.2 (cached)
-> retrieved mirage-block-unix.2.14.2 (cached)
-> retrieved mirage-clock.4.2.0, 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.15.0 (cached)
-> installed cmdliner.1.3.0
-> installed conf-linux-libc-dev.0
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved optint.0.3.0 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved seq.base (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved re.1.12.0 (cached)
-> 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 uutf.1.0.3 (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed seq.base
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed rresult.0.7.0
-> installed ptime.1.2.0
-> installed uutf.1.0.3
-> installed dune.3.16.1
-> installed csexp.1.5.2
-> installed mirage-clock.4.2.0
-> installed cppo.1.7.0
-> installed cstruct.6.2.0
-> installed ocplib-endian.1.2
-> installed ocaml-syntax-shims.1.0.0
-> installed optint.0.3.0
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed dune-configurator.3.16.1
-> installed bigstringaf.0.10.0
-> installed re.1.12.0
-> installed checkseum.0.5.2
-> installed angstrom.0.16.1
-> installed decompress.1.5.3
-> installed alcotest.1.8.0
-> installed mirage-clock-unix.4.2.0
-> installed uri.4.4.0
-> installed lwt.5.9.0
-> installed mirage-block.3.0.2
-> installed cstruct-lwt.6.2.0
-> installed mirage-kv.6.1.1
-> installed logs.0.7.0
-> installed alcotest-lwt.1.8.0
-> installed mirage-block-unix.2.14.2
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-20 02:20.34 ---> saved as "dbb8ed46d44aac4adbcec40a154b78d06d83c67a6d44f890b81f7f78b41409b1"
/src: (copy (src .) (dst /src))
2024-11-20 02:21.10 ---> saved as "a719b4a3c9fd8ef5548300e1ae4ed3c7e605bdea3f1c013c3ddd1bd604e63119"
/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 `TAEGA7WO'.
[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.001s. 1 test run.
(cd _build/default/lib_test && ./allocate_set_partial_test.exe)
Testing `tar-allocate-set-partial'.
This run has ID `7AUADLXI'.
[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.016s. 12 tests run.
(cd _build/default/lib_test && ./parse_test.exe)
Testing `parse-test'.
This run has ID `HBPOGA0E'.
[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.015s. 8 tests run.
(cd _build/default/lib_test && ./write_test.exe)
Testing `tar-write'.
This run has ID `HUJE4XAY'.
[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.102s. 24 tests run.
File "test/targz.t", line 1, characters 0-0:
/usr/bin/git --no-pager diff --no-index --color=always -u _build/.sandbox/e427aa2b4c5777fb869e38e925e74028/default/test/targz.t _build/.sandbox/e427aa2b4c5777fb869e38e925e74028/default/test/targz.t.corrected
diff --git a/_build/.sandbox/e427aa2b4c5777fb869e38e925e74028/default/test/targz.t b/_build/.sandbox/e427aa2b4c5777fb869e38e925e74028/default/test/targz.t.corrected
index acf0d42..a003fef 100644
--- a/_build/.sandbox/e427aa2b4c5777fb869e38e925e74028/default/test/targz.t
+++ b/_build/.sandbox/e427aa2b4c5777fb869e38e925e74028/default/test/targz.t.corrected
@@ -9,33 +9,31 @@ C. Decompressing and untarring it in OCaml
Download v1044.tar.gz
$ curl -s -L -o v1044.tar.gz https://github.com/stripe/openapi/archive/refs/tags/v1044.tar.gz
+ [6]
$ wc -c v1044.tar.gz
- 4307906 v1044.tar.gz
+ wc: v1044.tar.gz: No such file or directory
+ [1]
Uncompress it
_ (fun () -> Tar_lwt_unix.run (decompress (Tar.fold f init)) fd)
_ in regress_targz.ml:fold works when `decompress = Fun.id`
$ gunzip -c v1044.tar.gz > v1044.tar
+ gzip: v1044.tar.gz: No such file or directory
+ [1]
$ wc -c v1044.tar
- 42301440 v1044.tar
+ 0 v1044.tar
A. "Extract"-ing it in OCaml.
That is, TestExtract.do_test
$ OCAMLRUNPARAM=b ./regress_targz.exe v1044.tar extract
- Fatal error: exception Invalid_argument("Lwt_unix.read")
- Raised at Stdlib.invalid_arg in file "stdlib.ml", line 30, characters 20-45
- Called from Tar_lwt_unix.safe.(fun) in file "unix/tar_lwt_unix.ml", line 38, characters 15-18
- Called from Lwt.Sequential_composition.catch in file "src/core/lwt.ml", line 2016, characters 10-14
- Re-raised at Tar_lwt_unix.safe.(fun) in file "unix/tar_lwt_unix.ml", line 41, characters 13-26
- Called from Tar_lwt_unix.read_complete.loop in file "unix/tar_lwt_unix.ml", line 47, characters 6-55
- Called from Tar_lwt_unix.run.run in file "unix/tar_lwt_unix.ml", line 99, characters 6-44
- Called from Tar_lwt_unix.run.run in file "unix/tar_lwt_unix.ml", line 105, characters 6-11
+ Fatal error: exception Failure("Could not find entry. Unexpected end of file")
+ Raised at Stdlib.failwith in file "stdlib.ml", line 29, characters 17-33
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__Regress_targz in file "test/regress_targz.ml", line 131, characters 2-19
+ Called from Dune__exe__Regress_targz in file "test/regress_targz.ml", line 134, characters 2-19
[2]
B. Decompressing in Unix, and then untarring it in OCaml.
@@ -43,20 +41,14 @@ That is, TestUntar.do_test ~gunzip:false where ...
_ (fun () -> Tar_lwt_unix.run (decompress (Tar.fold f init)) fd)
in regress_targz.ml:fold works when `decompress = Fun.id`
$ OCAMLRUNPARAM=b ./regress_targz.exe v1044.tar untar
- Fatal error: exception Invalid_argument("Lwt_unix.read")
- Raised at Stdlib.invalid_arg in file "stdlib.ml", line 30, characters 20-45
- Called from Tar_lwt_unix.safe.(fun) in file "unix/tar_lwt_unix.ml", line 38, characters 15-18
- Called from Lwt.Sequential_composition.catch in file "src/core/lwt.ml", line 2016, characters 10-14
- Re-raised at Tar_lwt_unix.safe.(fun) in file "unix/tar_lwt_unix.ml", line 41, characters 13-26
- Called from Tar_lwt_unix.read_complete.loop in file "unix/tar_lwt_unix.ml", line 47, characters 6-55
- Called from Tar_lwt_unix.run.run in file "unix/tar_lwt_unix.ml", line 99, characters 6-44
- Called from Tar_lwt_unix.run.run in file "unix/tar_lwt_unix.ml", line 105, characters 6-11
+ Fatal error: exception Failure("Could not find entry. Unexpected end of file")
+ Raised at Stdlib.failwith in file "stdlib.ml", line 29, characters 17-33
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__Regress_targz in file "test/regress_targz.ml", line 131, characters 2-19
+ Called from Dune__exe__Regress_targz in file "test/regress_targz.ml", line 134, characters 2-19
[2]
C. Decompressing and untarring it in OCaml.
@@ -64,12 +56,12 @@ That is, TestUntar.do_test ~gunzip:true where ...
_ (fun () -> Tar_lwt_unix.run (decompress (Tar.fold f init)) fd)
in regress_targz.ml:fold works when `decompress = Tar_gz.in_gzipped`
$ OCAMLRUNPARAM=b ./regress_targz.exe v1044.tar.gz untargz
- Fatal error: exception Failure("Could not find entry. unmarshal Int64.of_string: failed to parse int64 \"0o0erated c\"")
+ Fatal error: exception Failure("Could not find entry. Unix error No such file or directory (function open, arg v1044.tar.gz)")
Raised at Stdlib.failwith in file "stdlib.ml", line 29, characters 17-33
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__Regress_targz in file "test/regress_targz.ml", line 131, characters 2-19
+ Called from Dune__exe__Regress_targz in file "test/regress_targz.ml", line 134, characters 2-19
[2]
"/usr/bin/env" "bash" "-c" "opam exec -- dune build --only-packages=tar,tar-unix,tar-mirage @install @check @runtest && rm -rf _build" failed with exit status 1
2024-11-20 02:21.25: Job failed: Failed: Build failed