2024-11-19 20:32.56: New job: test mirage/ocaml-tar https://github.com/mirage/ocaml-tar.git#refs/pull/159/head (eecd76152fce0f49a0a3d65fc96a84ff0416b3fc) (linux-x86_64:opensuse-15.6-4.14_opam-2.3)
Base: ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:528f54cf0e512b7b20e605e7e19d726a45d665e3d514e50f368d0c07118f77ea
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/ocaml-tar.git" && cd "ocaml-tar" && git fetch origin "refs/pull/159/head" && git reset --hard eecd7615
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:528f54cf0e512b7b20e605e7e19d726a45d665e3d514e50f368d0c07118f77ea
# opensuse-15.6-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 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-x86_64.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 20:32.56: Using cache hint "mirage/ocaml-tar-ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:528f54cf0e512b7b20e605e7e19d726a45d665e3d514e50f368d0c07118f77ea-opensuse-15.6-4.14_opam-2.3-fb5625f4e1a4490b2277205cfbbdb6fc"
2024-11-19 20:32.56: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:528f54cf0e512b7b20e605e7e19d726a45d665e3d514e50f368d0c07118f77ea)
(comment opensuse-15.6-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 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-x86_64.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 20:32.56: Waiting for resource in pool OCluster
2024-11-20 04:15.30: Waiting for worker…
2024-11-20 04:19.30: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at eecd761 Add directories and symlinks to Tar_eio.extract
(from ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:528f54cf0e512b7b20e605e7e19d726a45d665e3d514e50f368d0c07118f77ea)
2024-11-20 04:19.30 ---> using "201b1ca57fa05558d49584510281656eae8135bb1a6ae99cd0326e041f2616de" from cache
/: (comment opensuse-15.6-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"))
2024-11-20 04:19.30 ---> using "64cadbe969188484e77a35dc6591c3d0fbb7698c6f55419155814ef2f5db3444" from cache
/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-11-20 04:19.30 ---> using "9ea07aa5b82c6f24db73099ada4a8c8621b9bd457f79fc2bb16cba3d98a2966d" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-125-generic
The OCaml toplevel, version 4.14.2
2.3.0
2024-11-20 04:19.30 ---> using "5d0f2959adc67aeb2ac3e79c1e2c0dca90c202d892399a490b561b6ce7acb412" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-11-20 04:19.30 ---> using "fc8abc3e0de7a514986d603b8e02618cdc030b89196559d2aa4e89193e881943" 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 04:19.30 ---> using "378d8dbdae6a97a49ef634a8e688b75236551d1205d9ce91f9a7a82f8ff83eef" from cache
/src: (copy (src tar.opam tar-unix.opam tar-mirage.opam tar-eio.opam)
(dst ./))
2024-11-20 04:19.30 ---> saved as "126af3427cf869932a6ac3e285af10cc76a931f1afb4a6e93dd41eb5daff7da4"
/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 04:20.04 ---> saved as "2f8fc3ceb2c6daba3e872cc8413c97c95cc7acd78560953a81157d0c4f5336e6"
/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-x86_64.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 "zypper" "--non-interactive" "refresh"
- Repository 'Update repository of openSUSE Backports' is up to date.
- Repository 'Non-OSS Repository' is up to date.
- Repository 'Main Repository' is up to date.
- Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata [.
- ..........
- ..........
- .........
- ..........
- done]
- Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache [..
- ..done]
- Repository 'Main Update Repository' is up to date.
- Repository 'Update Repository (Non-Oss)' is up to date.
- All repositories have been refreshed.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[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 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-x86_64 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 04:20.34 ---> saved as "cb6848a66bdb3b9b133c3ad929860c2c7e691e766c29edbaadbae49a0a66cc70"
/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-x86_64 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 angstrom.0.16.1 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved bigstringaf.0.10.0 (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)
-> installed conf-linux-libc-dev.0
-> retrieved fmt.0.9.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved decompress.1.5.3 (cached)
-> retrieved lwt.5.9.0 (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)
-> 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 rresult.0.7.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved re.1.12.0 (cached)
-> retrieved dune.3.16.1, dune-configurator.3.16.1 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved stringext.1.6.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved uri.4.4.0 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.15.0
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed dune.3.16.1
-> installed mirage-clock.4.2.0
-> installed csexp.1.5.2
-> installed cppo.1.7.0
-> installed cstruct.6.2.0
-> installed ocaml-syntax-shims.1.0.0
-> installed optint.0.3.0
-> installed re.1.12.0
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed ocplib-endian.1.2
-> installed alcotest.1.8.0
-> installed dune-configurator.3.16.1
-> installed bigstringaf.0.10.0
-> installed mirage-clock-unix.4.2.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.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 04:21.18 ---> saved as "886c9018d0b9b95f042aa525ddb28c07ac1ff895d44feed078d45291dcbadc1d"
/src: (copy (src .) (dst /src))
2024-11-20 04:21.19 ---> saved as "3e13104e628a1e38c0f6141a84d069bee0f5a119c8bce93ea267b08eedf048f5"
/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 `2J1B0XN8'.
[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 `PGPFGR3M'.
[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.006s. 12 tests run.
(cd _build/default/lib_test && ./write_test.exe)
Testing `tar-write'.
This run has ID `A0TD2HKK'.
[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.085s. 24 tests run.
(cd _build/default/lib_test && ./parse_test.exe)
Testing `parse-test'.
This run has ID `IXM73E1R'.
[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.011s. 8 tests run.
2024-11-20 04:21.20 ---> saved as "b7f4767b62d1083440ef8e5bec6bfdc3d2a6d52221ccb6fad931858fdd303edc"
Job succeeded
2024-11-20 04:21.21: Job succeeded