2025-01-13 15:19.50: New job: test mirage/ocaml-tar https://github.com/mirage/ocaml-tar.git#refs/pull/152/head (d2ec3f1410079c6a352f62ae0e4bff3ce71b0ea1) (freebsd-x86_64:freebsd-14.1-5.3_opam-2.3) Base: freebsd-14.1-ocaml-5.3 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 d2ec3f14 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM freebsd-14.1-ocaml-5.3 # freebsd-14.1-5.3_opam-2.3 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/local/bin/opam-2.3 /usr/local/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 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc || git fetch origin master) && git reset -q --hard 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc && 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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.10.0 checkseum.0.5.2 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 domain-local-await.1.0.1 dune.3.17.1 dune-configurator.3.17.1 eio.1.1 fmt.0.9.0 hmap.0.8.1 logs.0.7.0 lwt.5.9.0 lwt-dllist.1.0.1 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 mtime.2.1.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 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 psq.0.2.1 ptime.1.2.0 re.1.12.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 thread-table.1.0.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 tar-eio.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-01-13 15:19.50: Using cache hint "mirage/ocaml-tar-freebsd-14.1-ocaml-5.3-freebsd-14.1-5.3_opam-2.3-0c0f035080627b9a8e5d3bd6d3dbde31" 2025-01-13 15:19.50: Using OBuilder spec: ((from freebsd-14.1-ocaml-5.3) (comment freebsd-14.1-5.3_opam-2.3) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (workdir /src) (run (shell "sudo ln -f /usr/local/bin/opam-2.3 /usr/local/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 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc || git fetch origin master) && git reset -q --hard 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc && 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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.10.0 checkseum.0.5.2 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 domain-local-await.1.0.1 dune.3.17.1 dune-configurator.3.17.1 eio.1.1 fmt.0.9.0 hmap.0.8.1 logs.0.7.0 lwt.5.9.0 lwt-dllist.1.0.1 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 mtime.2.1.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 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 psq.0.2.1 ptime.1.2.0 re.1.12.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 thread-table.1.0.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 tar-eio.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-01-13 15:19.50: Waiting for resource in pool OCluster 2025-01-13 15:19.50: Waiting for worker… 2025-01-13 15:19.50: Got resource from pool OCluster Building on spring HEAD is now at 5aa785f Update lib/tar.ml HEAD is now at d2ec3f1 Fix Str.search_forward into test/regress_targz.ml (from freebsd-14.1-ocaml-5.3) 2025-01-13 15:07.40 ---> using "fa4c65a721275037aa0f851d49090cd38fc202c0147147d39fba5c0e4d9b16e6" from cache /: (comment freebsd-14.1-5.3_opam-2.3) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (workdir /src) /src: (run (shell "sudo ln -f /usr/local/bin/opam-2.3 /usr/local/bin/opam")) 2025-01-13 15:07.40 ---> using "707c7e294765dd0c27e269a5b580560b225237a2f86c98e49e9b55231281b700" from cache /src: (run (shell "opam init --reinit -ni")) No configuration file found, using 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.1 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 1 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=1 --global Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] no changes from git+file:///home/opam/opam-repository 2025-01-13 15:07.40 ---> using "45749df81b3980750ffa6bca410a05b72322147ab2725b654dada75710103de9" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) FreeBSD 14.1-RELEASE-p5 The OCaml toplevel, version 5.3.0 2.3.0 2025-01-13 15:07.41 ---> using "f64bb7c3e303337c7ff569b67d81a7b6dbef733cbc8fc2ef78eebdda8d34b5e9" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-01-13 15:07.41 ---> using "b5dd81919ce8bb132a9ebf4541726236220f50fa3e495f7f25632fce1e88b154" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc || git fetch origin master) && git reset -q --hard 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD f93eb7cb02..1754762f77 master -> origin/master 82749c0bc5 Merge pull request #27235 from dbuenzli/erratique-maintenance-intent <><> 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). The following packages are not being upgraded because the new versions conflict with other installed packages: - ocaml.5.4.0 However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages. Nothing to do. 2025-01-13 15:07.41 ---> using "f363e2a294d54f8e99085a74f8967272e9be0839062042063be7867bef7b3c30" from cache /src: (copy (src tar.opam tar-unix.opam tar-mirage.opam tar-eio.opam) (dst ./)) 2025-01-13 15:07.41 ---> using "02a5240a4da127035c4ff39732e679250ba7d1d519ebe38da61e21c2916b5269" from cache /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-01-13 15:07.41 ---> using "b68cfad525c19868b264b81daf33227001e40214bbe587da104dd0da63d3df0c" from cache /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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.10.0 checkseum.0.5.2 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 domain-local-await.1.0.1 dune.3.17.1 dune-configurator.3.17.1 eio.1.1 fmt.0.9.0 hmap.0.8.1 logs.0.7.0 lwt.5.9.0 lwt-dllist.1.0.1 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 mtime.2.1.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 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 psq.0.2.1 ptime.1.2.0 re.1.12.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 thread-table.1.0.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 tar-eio.dev $DEPS")) [WARNING] Unknown update command for bsd, skipping system update <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [tar-eio.dev] synchronised (no changes) [tar.dev] synchronised (no changes) [tar-mirage.dev] synchronised (no changes) [tar-unix.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 3). [NOTE] Package ocaml-compiler is already installed (current version is 5.3.0). [NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0). [NOTE] Package ocaml is already installed (current version is 5.3.0). [NOTE] Package base-unix is already installed (current version is base). [NOTE] Package base-threads is already installed (current version is base). [NOTE] Package base-nnp is already installed (current version is base). [NOTE] Package base-effects is already installed (current version is base). [NOTE] Package base-domains is already installed (current version is base). [NOTE] Package base-bigarray is already installed (current version is base). 2025-01-13 15:07.41 ---> using "74bf2bd6b20d6f8f5f3ee23cbceb1b5a9683f0ea9b99d81933d0f6022dfd601d" from cache /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 3). [NOTE] Package ocaml-compiler is already installed (current version is 5.3.0). [NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0). [NOTE] Package ocaml is already installed (current version is 5.3.0). [NOTE] Package base-unix is already installed (current version is base). [NOTE] Package base-threads is already installed (current version is base). [NOTE] Package base-nnp is already installed (current version is base). [NOTE] Package base-effects is already installed (current version is base). [NOTE] Package base-domains is already installed (current version is base). [NOTE] Package base-bigarray is already installed (current version is base). The following actions will be performed: === install 44 packages ∗ alcotest 1.8.0 ∗ alcotest-lwt 1.8.0 ∗ angstrom 0.16.1 ∗ astring 0.8.5 ∗ base-bytes base ∗ bigstringaf 0.10.0 ∗ checkseum 0.5.2 ∗ cmdliner 1.3.0 ∗ cppo 1.8.0 ∗ csexp 1.5.2 ∗ cstruct 6.2.0 ∗ cstruct-lwt 6.2.0 ∗ decompress 1.5.3 ∗ domain-local-await 1.0.1 ∗ dune 3.17.1 ∗ dune-configurator 3.17.1 ∗ eio 1.1 ∗ fmt 0.9.0 ∗ hmap 0.8.1 ∗ logs 0.7.0 ∗ lwt 5.9.0 ∗ lwt-dllist 1.0.1 ∗ 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 ∗ mtime 2.1.0 ∗ ocaml-syntax-shims 1.0.0 ∗ ocamlbuild 0.15.0 ∗ ocamlfind 1.9.6 ∗ ocplib-endian 1.2 ∗ optint 0.3.0 ∗ psq 0.2.1 ∗ ptime 1.2.0 ∗ re 1.12.0 ∗ rresult 0.7.0 ∗ seq base ∗ stdlib-shims 0.3.0 ∗ stringext 1.6.0 ∗ thread-table 1.0.0 ∗ topkg 1.0.7 ∗ uri 4.4.0 ∗ uutf 1.0.3 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> ⬇ retrieved alcotest.1.8.0, alcotest-lwt.1.8.0 (cached) ⬇ retrieved astring.0.8.5 (cached) ⬇ retrieved bigstringaf.0.10.0 (cached) ⬇ retrieved checkseum.0.5.2 (cached) ⬇ retrieved cmdliner.1.3.0 (cached) ⬇ retrieved csexp.1.5.2 (cached) ⬇ retrieved cppo.1.8.0 (cached) ⬇ retrieved cstruct.6.2.0, cstruct-lwt.6.2.0 (cached) ⬇ retrieved decompress.1.5.3 (cached) ⬇ retrieved domain-local-await.1.0.1 (cached) ⬇ retrieved angstrom.0.16.1 (cached) ⬇ retrieved fmt.0.9.0 (cached) ⬇ retrieved eio.1.1 (cached) ⬇ retrieved hmap.0.8.1 (cached) ⬇ retrieved logs.0.7.0 (cached) ⬇ retrieved lwt.5.9.0 (cached) ⬇ retrieved lwt-dllist.1.0.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 mtime.2.1.0 (cached) ⬇ retrieved ocaml-syntax-shims.1.0.0 (cached) ⬇ retrieved ocamlbuild.0.15.0 (cached) ⬇ retrieved ocplib-endian.1.2 (cached) ⬇ retrieved ocamlfind.1.9.6 (cached) ⬇ retrieved psq.0.2.1 (cached) ⬇ retrieved optint.0.3.0 (cached) ⬇ retrieved ptime.1.2.0 (cached) ⬇ retrieved re.1.12.0 (cached) ⬇ retrieved seq.base (cached) ∗ installed seq.base ⬇ retrieved stdlib-shims.0.3.0 (cached) ⬇ retrieved rresult.0.7.0 (cached) ⬇ retrieved stringext.1.6.0 (cached) ⬇ retrieved thread-table.1.0.0 (cached) ⬇ retrieved topkg.1.0.7 (cached) ⬇ retrieved uri.4.4.0 (cached) ⬇ retrieved uutf.1.0.3 (cached) ⬇ retrieved dune.3.17.1, dune-configurator.3.17.1 (cached) ∗ installed cmdliner.1.3.0 ∗ installed ocamlfind.1.9.6 ∗ installed base-bytes.base ∗ installed ocamlbuild.0.15.0 ∗ installed topkg.1.0.7 ∗ installed hmap.0.8.1 ∗ installed rresult.0.7.0 ∗ installed mtime.2.1.0 ∗ installed fmt.0.9.0 ∗ installed ptime.1.2.0 ∗ installed astring.0.8.5 ∗ installed uutf.1.0.3 ∗ installed dune.3.17.1 ∗ installed lwt-dllist.1.0.1 ∗ installed mirage-clock.4.2.0 ∗ installed csexp.1.5.2 ∗ installed optint.0.3.0 ∗ installed stdlib-shims.0.3.0 ∗ installed psq.0.2.1 ∗ installed ocaml-syntax-shims.1.0.0 ∗ installed cstruct.6.2.0 ∗ installed cppo.1.8.0 ∗ installed re.1.12.0 ∗ installed thread-table.1.0.0 ∗ installed stringext.1.6.0 ∗ installed ocplib-endian.1.2 ∗ installed domain-local-await.1.0.1 ∗ installed dune-configurator.3.17.1 ∗ installed alcotest.1.8.0 ∗ installed checkseum.0.5.2 ∗ installed mirage-clock-unix.4.2.0 ∗ installed bigstringaf.0.10.0 ∗ installed angstrom.0.16.1 ∗ installed decompress.1.5.3 ∗ installed uri.4.4.0 ∗ installed lwt.5.9.0 ∗ installed cstruct-lwt.6.2.0 ∗ installed eio.1.1 ∗ installed mirage-block.3.0.2 ∗ 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. 2025-01-13 15:07.41 ---> using "bfe2f57cc0b40da94983af6e24b712e6b4139482889c83803c5cdb97ab452869" from cache /src: (copy (src .) (dst /src)) 2025-01-13 15:07.42 ---> saved as "52b8b474f76fb383aefeda4f5f5d0a4225f0cae2d2b5a0b62d2caee92e9277d8" /src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) File "test/targz.t", line 1, characters 0-0: /usr/local/bin/git --no-pager diff --no-index --color=always -u _build/.sandbox/6988ad3e71590b7f80a4b3072bc9e340/default/test/targz.t _build/.sandbox/6988ad3e71590b7f80a4b3072bc9e340/default/test/targz.t.corrected diff --git a/_build/.sandbox/6988ad3e71590b7f80a4b3072bc9e340/default/test/targz.t b/_build/.sandbox/6988ad3e71590b7f80a4b3072bc9e340/default/test/targz.t.corrected index acf0d42..143d425 100644 --- a/_build/.sandbox/6988ad3e71590b7f80a4b3072bc9e340/default/test/targz.t +++ b/_build/.sandbox/6988ad3e71590b7f80a4b3072bc9e340/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: open: 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 + gunzip: can't stat: 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] (cd _build/default/lib_test && ./global_extended_headers_test.exe) Testing `global extended headers'. This run has ID `OVO4QOE4'. [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 `OKIZ72TA'. [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 && ./parse_test.exe) Testing `parse-test'. This run has ID `2TV8NJSJ'. [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.014s. 8 tests run. (cd _build/default/lib_test && ./write_test.exe) Testing `tar-write'. This run has ID `7NIEJ4J1'. [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.176s. 24 tests run. jail: /usr/bin/su -l opam -c cd '/src' && env OCAMLCI='true' CI='true' 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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.10.0 checkseum.0.5.2 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 domain-local-await.1.0.1 dune.3.17.1 dune-configurator.3.17.1 eio.1.1 fmt.0.9.0 hmap.0.8.1 logs.0.7.0 lwt.5.9.0 lwt-dllist.1.0.1 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 mtime.2.1.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 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 psq.0.2.1 ptime.1.2.0 re.1.12.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 thread-table.1.0.0 topkg.1.0.7 uri.4.4.0 uutf.1.0.3' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build @install @check @runtest && rm -rf _build': failed "jail" "-c" "name=obuilder_90885_5010" "mount.devfs" "path=/obuilder/result/b659e6f6c55f66cd62ee3aaf8bf84ce577161c10dad4f70f4abb714c25688661/rootfs" "vnet" "exec.start=/sbin/ifconfig lo0 127.0.0.1/8" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/src' && env OCAMLCI='true' CI='true' 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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.10.0 checkseum.0.5.2 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 domain-local-await.1.0.1 dune.3.17.1 dune-configurator.3.17.1 eio.1.1 fmt.0.9.0 hmap.0.8.1 logs.0.7.0 lwt.5.9.0 lwt-dllist.1.0.1 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 mtime.2.1.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 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 psq.0.2.1 ptime.1.2.0 re.1.12.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 thread-table.1.0.0 topkg.1.0.7 uri.4.4.0 uutf.1.0.3' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build @install @check @runtest && rm -rf _build'" failed with exit status 1 2025-01-13 15:19.56: Job failed: Failed: Build failed