Organisationsmirageocaml-tar239a87 (main)freebsd-14.3-4.14_opam-2.4

freebsd-14.3-4.14_opam-2.4

Logs

Show full logs
2025-10-07 16:51.10: New job: test mirage/ocaml-tar https://github.com/mirage/ocaml-tar.git#refs/heads/main (239a879212f3f0881732f1e72e0d39a8f3b6c080) (freebsd-x86_64:freebsd-14.3-4.14_opam-2.4)
Base: freebsd-14.3-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 239a8792
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-14.3-ocaml-4.14
# freebsd-14.3-4.14_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.4 /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 241aae26db44294142794da0ce695e8beac418df || git fetch origin master) && git reset -q --hard 241aae26db44294142794da0ce695e8beac418df && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 tar.opam tar-unix.opam tar-mirage.opam tar-eio.opam ./
RUN opam pin add -yn tar.dev './' && \
    opam pin add -yn tar-unix.dev './' && \
    opam pin add -yn tar-mirage.dev './' && \
    opam pin add -yn tar-eio.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 alcotest-lwt.1.9.1 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.2.0.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 logs.0.9.0 lwt.5.9.2 mirage-block.3.0.2 mirage-block-unix.2.14.2 mirage-kv.6.1.1 mirage-ptime.5.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 optint.0.3.0 ptime.1.2.0 re.1.14.0 rresult.0.7.0 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.0 uri.4.4.0 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y tar.dev tar-unix.dev tar-mirage.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=tar,tar-unix,tar-mirage @install @check @runtest && rm -rf _build

END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK

2025-10-07 16:51.10: Using cache hint "mirage/ocaml-tar-freebsd-14.3-ocaml-4.14-freebsd-14.3-4.14_opam-2.4-bc43ce9209bdc0b808a164a31eb4c07d"
2025-10-07 16:51.10: Using OBuilder spec:
((from freebsd-14.3-ocaml-4.14)
 (comment freebsd-14.3-4.14_opam-2.4)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/local/bin/opam-2.4 /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 241aae26db44294142794da0ce695e8beac418df || git fetch origin master) && git reset -q --hard 241aae26db44294142794da0ce695e8beac418df && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src tar.opam tar-unix.opam tar-mirage.opam tar-eio.opam) (dst ./))
 (run (network host)
      (shell  "opam pin add -yn tar.dev './' && \
             \nopam pin add -yn tar-unix.dev './' && \
             \nopam pin add -yn tar-mirage.dev './' && \
             \nopam pin add -yn tar-eio.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "alcotest.1.9.1 alcotest-lwt.1.9.1 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.2.0.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 logs.0.9.0 lwt.5.9.2 mirage-block.3.0.2 mirage-block-unix.2.14.2 mirage-kv.6.1.1 mirage-ptime.5.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 optint.0.3.0 ptime.1.2.0 re.1.14.0 rresult.0.7.0 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.0 uri.4.4.0 uutf.1.0.4")
 (env CI true)
 (env OCAMLCI true)
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam update --depexts && opam install --cli=2.4 --depext-only -y tar.dev tar-unix.dev tar-mirage.dev $DEPS"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam install $DEPS"))
 (copy (src .) (dst /src))
 (run (shell "opam exec -- dune build --only-packages=tar,tar-unix,tar-mirage @install @check @runtest && rm -rf _build"))
)

2025-10-07 16:51.10: Waiting for resource in pool OCluster
2025-10-07 21:05.47: Waiting for worker…
2025-10-07 22:03.41: Got resource from pool OCluster
Building on rosemary
All commits already cached
HEAD is now at 239a879 Merge pull request #172 from patricoferris/fix-eio-global

(from freebsd-14.3-ocaml-4.14)
2025-10-07 22:04.58 ---> using "7e5247e9853d1c2fb95ef9ffdfdb895ef70516f48155f08a9b10db936cb8c6c6" from cache

/: (comment freebsd-14.3-4.14_opam-2.4)

/: (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.4 /usr/local/bin/opam"))
2025-10-07 22:04.59 ---> using "f8f2ae50f983ba53790a433c81d8570b8becc44c74ab2707cf43746ed1b463d1" 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-10-07 22:04.59 ---> using "a95cd97103c96a777086d9508c45964fbffa4285a5c5e6703b704acabfb6945b" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.3-RELEASE-p3
The OCaml toplevel, version 4.14.2
2.4.1
2025-10-07 22:04.59 ---> using "199d8be57ed603ac6837a6d6cc7e578c2f630e2b79e2520a8892deff98662ca8" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-10-07 22:05.00 ---> using "c9d8693a3c313f3750cea43d98891a3f5490d8d3ab8357236d5eb49fea038272" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 241aae26db44294142794da0ce695e8beac418df || git fetch origin master) && git reset -q --hard 241aae26db44294142794da0ce695e8beac418df && git log --no-decorate -n1 --oneline && opam update -u"))
241aae26db Merge pull request #28629 from dinosaure/release-alcotest-1.9.1

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository

Everything as up-to-date as possible

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 at these versions (e.g. "opam upgrade ocaml.5.3.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2025-10-07 22:05.00 ---> using "de0bd8698b2e3bc0711b3652af2879eb45db39585a1fe11d06fcfadb2457ddfe" from cache

/src: (copy (src tar.opam tar-unix.opam tar-mirage.opam tar-eio.opam)
            (dst ./))
2025-10-07 22:05.01 ---> saved as "97e2e5fb44d06875793208864dee936c2f909710525eae0ff090391301e9137b"

/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-10-07 22:05.04 ---> saved as "f670b48ffca23ac94bca70f5c85e652c576c72300247c3cef55d33eea8512075"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-07 22:05.05 ---> saved as "0e4a9d40fc74804c0266c93deccd62236393b0b020069826deef5c01b717ba1d"

/src: (env DEPS "alcotest.1.9.1 alcotest-lwt.1.9.1 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.2.0.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 logs.0.9.0 lwt.5.9.2 mirage-block.3.0.2 mirage-block-unix.2.14.2 mirage-kv.6.1.1 mirage-ptime.5.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 optint.0.3.0 ptime.1.2.0 re.1.14.0 rresult.0.7.0 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.0 uri.4.4.0 uutf.1.0.4")

/src: (env CI true)

/src: (env OCAMLCI true)

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam update --depexts && opam install --cli=2.4 --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-unix.dev] synchronised (file:///src)
[tar-mirage.dev] synchronised (file:///src)
[tar.dev] synchronised (file:///src)

[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-10-07 22:05.13 ---> saved as "846cb1766daef391b42587a7ee4c5dd47aeb673587ec85f226660d29541b7222"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 35 packages
   alcotest           1.9.1
   alcotest-lwt       1.9.1
   angstrom           0.16.1
   astring            0.8.5
   base-bytes         base
   bigstringaf        0.10.0
   checkseum          0.5.2
   cmdliner           2.0.0
   cppo               1.8.0
   csexp              1.5.2
   cstruct            6.2.0
   cstruct-lwt        6.2.0
   decompress         1.5.3
   dune               3.20.2
   dune-configurator  3.20.2
   fmt                0.11.0
   logs               0.9.0
   lwt                5.9.2
   mirage-block       3.0.2
   mirage-block-unix  2.14.2
   mirage-kv          6.1.1
   mirage-ptime       5.1.0
   ocaml-syntax-shims 1.0.0
   ocamlbuild         0.16.1
   ocamlfind          1.9.8
   ocplib-endian      1.2
   optint             0.3.0
   ptime              1.2.0
   re                 1.14.0
   rresult            0.7.0
   stdlib-shims       0.3.0
   stringext          1.6.0
   topkg              1.1.0
   uri                4.4.0
   uutf               1.0.4

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 retrieved astring.0.8.5  (cached)
 retrieved angstrom.0.16.1  (cached)
 retrieved bigstringaf.0.10.0  (cached)
 retrieved alcotest.1.9.1, alcotest-lwt.1.9.1  (cached)
 retrieved cmdliner.2.0.0  (cached)
 retrieved csexp.1.5.2  (cached)
 retrieved cppo.1.8.0  (cached)
 retrieved checkseum.0.5.2  (https://github.com/mirage/checkseum/releases/download/v0.5.2/checkseum-0.5.2.tbz)
 retrieved cstruct.6.2.0, cstruct-lwt.6.2.0  (cached)
 retrieved fmt.0.11.0  (cached)
 retrieved logs.0.9.0  (cached)
 retrieved lwt.5.9.2  (cached)
 retrieved mirage-block.3.0.2  (https://github.com/mirage/mirage-block/releases/download/v3.0.2/mirage-block-3.0.2.tbz)
 retrieved decompress.1.5.3  (https://github.com/mirage/decompress/releases/download/v1.5.3/decompress-1.5.3.tbz)
 retrieved mirage-kv.6.1.1  (cached)
 retrieved mirage-ptime.5.1.0  (cached)
 retrieved ocaml-syntax-shims.1.0.0  (cached)
 retrieved mirage-block-unix.2.14.2  (https://github.com/mirage/mirage-block-unix/releases/download/v2.14.2/mirage-block-unix-2.14.2.tbz)
 retrieved ocamlbuild.0.16.1  (cached)
 retrieved ocplib-endian.1.2  (cached)
 retrieved ocamlfind.1.9.8  (cached)
 retrieved ptime.1.2.0  (cached)
 retrieved optint.0.3.0  (cached)
 retrieved rresult.0.7.0  (cached)
 retrieved re.1.14.0  (cached)
 retrieved stdlib-shims.0.3.0  (cached)
 retrieved stringext.1.6.0  (cached)
 retrieved topkg.1.1.0  (cached)
 retrieved uri.4.4.0  (cached)
 retrieved uutf.1.0.4  (cached)
 retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
 installed ocamlbuild.0.16.1
 installed cmdliner.2.0.0
 installed ocamlfind.1.9.8
 installed base-bytes.base
 installed topkg.1.1.0
 installed rresult.0.7.0
 installed uutf.1.0.4
 installed ptime.1.2.0
 installed fmt.0.11.0
 installed astring.0.8.5
 installed dune.3.20.2
 installed csexp.1.5.2
 installed stringext.1.6.0
 installed stdlib-shims.0.3.0
 installed re.1.14.0
 installed optint.0.3.0
 installed ocaml-syntax-shims.1.0.0
 installed mirage-ptime.5.1.0
 installed cstruct.6.2.0
 installed cppo.1.8.0
 installed ocplib-endian.1.2
 installed alcotest.1.9.1
 installed dune-configurator.3.20.2
 installed bigstringaf.0.10.0
 installed checkseum.0.5.2
 installed angstrom.0.16.1
 installed decompress.1.5.3
 installed uri.4.4.0
 installed lwt.5.9.2
 installed mirage-block.3.0.2
 installed mirage-kv.6.1.1
 installed cstruct-lwt.6.2.0
 installed logs.0.9.0
 installed alcotest-lwt.1.9.1
 installed mirage-block-unix.2.14.2
Done.
2025-10-07 22:06.00 ---> saved as "9caba64dfe1a11bb7f687e120c610ba3ba09472119ed89a482adde8dbb8ff71f"

/src: (copy (src .) (dst /src))
2025-10-07 22:06.01 ---> saved as "ec44e23301bad6815c381ccb5fb33a93bd0f6425dfa676ea58107322bcabab47"

/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 `V6CC5N8X'.

  [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 `KFS3IM6N'.

  [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 `JJFKL2BC'.

  [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.020s. 8 tests run.
(cd _build/default/lib_test && ./write_test.exe)
Testing `tar-write'.
This run has ID `JJCO04V3'.

  [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.172s. 24 tests run.
2025-10-07 22:06.03 ---> saved as "b4e8f5326cdbf3ad5b60f629b79909cba928ffb91e89a93f3f886892532f7df0"
Job succeeded
2025-10-07 22:07.50: Job succeeded