2024-05-10 09:50.09: New job: test mirage/ocaml-tar https://github.com/mirage/ocaml-tar.git#refs/heads/main (3bad2c2b3abfbcdf85b95ae69058888574941742) (freebsd-x86_64:freebsd-4.14_opam-2.1)
Base: freebsd-ocaml-4.14
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/ocaml-tar.git" -b "main" && cd "ocaml-tar" && git reset --hard 3bad2c2b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-ocaml-4.14
# freebsd-4.14_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.1 /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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && 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.7.0 alcotest-lwt.1.7.0 angstrom.0.16.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.9.1 checkseum.0.5.2 cmdliner.1.2.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.15.2 dune-configurator.3.15.2 fmt.0.9.0 logs.0.7.0 lwt.5.7.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.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 optint.0.3.0 ptime.1.1.0 re.1.11.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.1 --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-05-10 09:50.09: Using cache hint "mirage/ocaml-tar-freebsd-freebsd-ocaml-4.14-freebsd-4.14_opam-2.1-83e63814fe47d4ad012eae5de71dadb1"
2024-05-10 09:50.09: Using OBuilder spec:
((from freebsd-ocaml-4.14)
(comment freebsd-4.14_opam-2.1)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/local/bin/opam-2.1 /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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && 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.7.0 alcotest-lwt.1.7.0 angstrom.0.16.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.9.1 checkseum.0.5.2 cmdliner.1.2.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.15.2 dune-configurator.3.15.2 fmt.0.9.0 logs.0.7.0 lwt.5.7.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.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 optint.0.3.0 ptime.1.1.0 re.1.11.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.1 --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-05-10 09:50.09: Waiting for resource in pool OCluster
2024-05-10 16:19.20: Waiting for worker…
2024-05-10 19:12.09: Got resource from pool OCluster
Building on summer
All commits already cached
HEAD is now at 3bad2c2 Merge pull request #145 from mirage/fix-marshal-checksum
(from freebsd-ocaml-4.14)
2024-05-10 19:05.48 ---> using "57eeeabfec88366322a66f228a693df277d348dc99f1cc2a63749102c5e1e405" from cache
/: (comment freebsd-4.14_opam-2.1)
/: (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.1 /usr/local/bin/opam"))
2024-05-10 19:05.48 ---> using "e9fe3959c02c848d2766600d2fd363dc0faa291980b23311949b4972bc5ea188" 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.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2024-05-10 19:05.49 ---> using "dba2ef0de478afdbd43a6552d310929f1c3c3ee6b86c81b7ff6f06256f6544c3" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.0-RELEASE-p5
The OCaml toplevel, version 4.14.2
2.1.5
2024-05-10 19:05.49 ---> using "fa8577a82f6c8311031f5ac9ddbcefef5d36d0876493f17a1dc5aa96593235c6" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-05-10 19:05.49 ---> using "1b1f323c7946b3615d1855d65edd6179caf157152d4670670539e49efbdc1d2e" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
ac9a846c00..20baedeee4 master -> origin/master
307e33d08f @dra27 and @Octachron maintain the 4.08+ packages
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
Constructing initial basis...
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.3.0
- ocaml-config.3
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2024-05-10 19:05.50 ---> using "8500110bb34f5fa0eecc8ffdce35dbb8d679b67af89bb1cba1cce8086b8f5e32" from cache
/src: (copy (src tar.opam tar-unix.opam tar-mirage.opam tar-eio.opam)
(dst ./))
2024-05-10 19:05.50 ---> saved as "738db947163828160ac8628d645e5da65bf48cdaf6c2b2acfe3e3d349e6b4b37"
/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-05-10 19:05.57 ---> saved as "2c2101298f7d2200a38f6a3ca9826adee871638c2ec895c1ceeda3d97d22bbee"
/src: (env DEPS "alcotest.1.7.0 alcotest-lwt.1.7.0 angstrom.0.16.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.9.1 checkseum.0.5.2 cmdliner.1.2.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.15.2 dune-configurator.3.15.2 fmt.0.9.0 logs.0.7.0 lwt.5.7.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.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 optint.0.3.0 ptime.1.1.0 re.1.11.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.1 --depext-only -y tar.dev tar-unix.dev tar-mirage.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[tar-mirage.dev] synchronised (no changes)
[tar.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 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).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 3
Constructing conflict graph...
Conflict graph has 4 + 3 = 7 vertices
2024-05-10 19:06.17 ---> saved as "26b48269ad79c90ad23526a094ef798bccba5cf2b13cc8a074e1cca02a266699"
/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).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 3
Constructing conflict graph...
Conflict graph has 4 + 3 = 7 vertices
The following actions will be performed:
∗ install ocamlbuild 0.14.3
∗ install cmdliner 1.2.0
∗ install ocamlfind 1.9.6
∗ install seq base
∗ install dune 3.15.2
∗ install topkg 1.0.7
∗ install base-bytes base
∗ install stringext 1.6.0
∗ install stdlib-shims 0.3.0
∗ install re 1.11.0
∗ install optint 0.3.0
∗ install ocaml-syntax-shims 1.0.0
∗ install mirage-clock 4.2.0
∗ install csexp 1.5.2
∗ install cppo 1.6.9
∗ install uutf 1.0.3
∗ install rresult 0.7.0
∗ install ptime 1.1.0
∗ install fmt 0.9.0
∗ install astring 0.8.5
∗ install dune-configurator 3.15.2
∗ install ocplib-endian 1.2
∗ install cstruct 6.2.0
∗ install alcotest 1.7.0
∗ install mirage-clock-unix 4.2.0
∗ install checkseum 0.5.2
∗ install bigstringaf 0.9.1
∗ install lwt 5.7.0
∗ install decompress 1.5.3
∗ install angstrom 0.16.0
∗ install mirage-kv 6.1.1
∗ install mirage-block 3.0.2
∗ install logs 0.7.0
∗ install cstruct-lwt 6.2.0
∗ install uri 4.4.0
∗ install alcotest-lwt 1.7.0
∗ install mirage-block-unix 2.14.2
===== ∗ 37 =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved angstrom.0.16.0 (cached)
⬇ retrieved alcotest-lwt.1.7.0 (cached)
⬇ retrieved astring.0.8.5 (cached)
⬇ retrieved bigstringaf.0.9.1 (cached)
⬇ retrieved alcotest.1.7.0 (cached)
⬇ retrieved cmdliner.1.2.0 (cached)
⬇ retrieved csexp.1.5.2 (cached)
⬇ retrieved cppo.1.6.9 (cached)
⬇ retrieved cstruct.6.2.0 (cached)
⬇ retrieved cstruct-lwt.6.2.0 (cached)
⬇ retrieved checkseum.0.5.2 (cached)
∗ installed cmdliner.1.2.0
⬇ retrieved decompress.1.5.3 (cached)
⬇ retrieved dune-configurator.3.15.2 (cached)
⬇ retrieved fmt.0.9.0 (cached)
⬇ retrieved logs.0.7.0 (cached)
⬇ retrieved lwt.5.7.0 (cached)
⬇ retrieved mirage-block.3.0.2 (cached)
⬇ retrieved mirage-block-unix.2.14.2 (cached)
⬇ retrieved mirage-clock.4.2.0 (cached)
⬇ retrieved 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.14.3 (cached)
⬇ retrieved ocplib-endian.1.2 (cached)
⬇ retrieved ocamlfind.1.9.6 (cached)
⬇ retrieved ptime.1.1.0 (cached)
⬇ retrieved optint.0.3.0 (cached)
⬇ retrieved dune.3.15.2 (cached)
∗ installed seq.base
⬇ retrieved stdlib-shims.0.3.0 (cached)
⬇ retrieved rresult.0.7.0 (cached)
⬇ retrieved stringext.1.6.0 (cached)
⬇ retrieved topkg.1.0.7 (cached)
⬇ retrieved re.1.11.0 (cached)
⬇ retrieved uutf.1.0.3 (cached)
⬇ retrieved uri.4.4.0 (cached)
∗ installed ocamlfind.1.9.6
∗ installed base-bytes.base
∗ installed ocamlbuild.0.14.3
∗ installed topkg.1.0.7
∗ installed rresult.0.7.0
∗ installed uutf.1.0.3
∗ installed ptime.1.1.0
∗ installed fmt.0.9.0
∗ installed astring.0.8.5
∗ installed dune.3.15.2
∗ installed mirage-clock.4.2.0
∗ installed stdlib-shims.0.3.0
∗ installed csexp.1.5.2
∗ installed stringext.1.6.0
∗ installed re.1.11.0
∗ installed optint.0.3.0
∗ installed ocaml-syntax-shims.1.0.0
∗ installed cstruct.6.2.0
∗ installed cppo.1.6.9
∗ installed ocplib-endian.1.2
∗ installed alcotest.1.7.0
∗ installed dune-configurator.3.15.2
∗ installed bigstringaf.0.9.1
∗ installed mirage-clock-unix.4.2.0
∗ installed checkseum.0.5.2
∗ installed angstrom.0.16.0
∗ installed decompress.1.5.3
∗ installed uri.4.4.0
∗ installed lwt.5.7.0
∗ installed cstruct-lwt.6.2.0
∗ installed mirage-block.3.0.2
∗ installed mirage-kv.6.1.1
∗ installed logs.0.7.0
∗ installed alcotest-lwt.1.7.0
∗ installed mirage-block-unix.2.14.2
Done.
2024-05-10 19:08.28 ---> saved as "ab2ec25c6a28e6608d57dca722a3ee4c18a2ae14e4a4412e8f98272fe34e943c"
/src: (copy (src .) (dst /src))
2024-05-10 19:08.30 ---> saved as "634a282a0cc454dbe69fbc8e3e29286f1da08bbf23d2bd0343bb457ea32020ef"
/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 `JKTJXL0V'.
[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 `B6TLEA1U'.
[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.010s. 12 tests run.
(cd _build/default/lib_test && ./parse_test.exe)
Testing `parse-test'.
This run has ID `CG5SHFIP'.
[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.
(cd _build/default/lib_test && ./write_test.exe)
Testing `tar-write'.
This run has ID `OF5KWR9V'.
[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.231s. 24 tests run.
2024-05-10 19:08.35 ---> saved as "58d44020b4978d28019a77316527e8ba0d07ec027379cf7f7c9bc0d9ba88e855"
Job succeeded
2024-05-10 19:14.57: Job succeeded