Organisationsmirageocaml-tar432667 (main)freebsd-14.1-4.14_opam-2.3

freebsd-14.1-4.14_opam-2.3

Logs

Show full logs
2025-01-20 16:44.01: New job: test mirage/ocaml-tar https://github.com/mirage/ocaml-tar.git#refs/heads/main (432667a612d5c5e44b868b7015d23b36c49d83c5) (freebsd-x86_64:freebsd-14.1-4.14_opam-2.3)
Base: freebsd-14.1-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 432667a6
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-14.1-ocaml-4.14
# freebsd-14.1-4.14_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 './'
RUN echo '(lang dune 3.0)' > './dune-project'
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 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.17.1 dune-configurator.3.17.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

2025-01-20 16:44.01: Using cache hint "mirage/ocaml-tar-freebsd-14.1-ocaml-4.14-freebsd-14.1-4.14_opam-2.3-16d82b611ceda4d7f6bcdcf1885a1d9a"
2025-01-20 16:44.01: Using OBuilder spec:
((from freebsd-14.1-ocaml-4.14)
 (comment freebsd-14.1-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/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 './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (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 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.17.1 dune-configurator.3.17.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"))
)

2025-01-20 16:44.01: Waiting for resource in pool OCluster
2025-01-20 16:44.01: Waiting for worker…
2025-01-20 16:44.01: Got resource from pool OCluster
Building on summer
All commits already cached
HEAD is now at 432667a Merge pull request #159 from patricoferris/eio

(from freebsd-14.1-ocaml-4.14)
2025-01-20 16:32.03 ---> using "ae13298952475462d6ff8423c053aa12bd6b321268da2da393f31b39d910ae06" from cache

/: (comment freebsd-14.1-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/local/bin/opam-2.3 /usr/local/bin/opam"))
2025-01-20 16:32.04 ---> using "a01a14b3afaf0e96198b4995f7495eb095c8d446bea3004be25da82cfecae768" 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-20 16:32.04 ---> using "a60b36efeb57e54e6ca4e23dae975fff8d0668822376b173ed63b66aa24444bc" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.1-RELEASE-p5
The OCaml toplevel, version 4.14.2
2.3.0
2025-01-20 16:32.04 ---> using "188549049d3e68e7a3a1a01e1161c07610550818a3f0b75ffbaafa2a77641d27" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-01-20 16:32.05 ---> using "39fdaef227d4780a13f56312f6b694c46af609f82c1eca907bb338ae047f238f" 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
   c31c18de15..da383c8610  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
  - 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.
2025-01-20 16:32.05 ---> using "0ee694432c4efa6daaf16d873ffbe4def771e54f4677d42c54a75239a91ef509" from cache

/src: (copy (src tar.opam tar-unix.opam tar-mirage.opam tar-eio.opam)
            (dst ./))
2025-01-20 16:32.05 ---> saved as "cb53d16e418f1e3e6fbb309dddac7037777941980ff4bf35bf29dc2559b865da"

/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-20 16:32.11 ---> saved as "8bf4ca6bbec41992879960c96b24220254fbc00ec79139d554c5f320ff92a83f"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-01-20 16:32.11 ---> saved as "57c7aacb948272a3b23bf44ffdf518c473d8573f86ae79202691f04ad13a9b6b"

/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 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.17.1 dune-configurator.3.17.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"))
[WARNING] Unknown update command for bsd, skipping system update

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[tar.dev] synchronised (file:///src)
[tar-mirage.dev] synchronised (file:///src)
[tar-unix.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 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).
2025-01-20 16:32.26 ---> saved as "c3b3f13f257dab9b4cb360e80a4ad716de3cfd5d482f8669261c349ab41129a9"

/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 37 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
   dune               3.17.1
   dune-configurator  3.17.1
   fmt                0.9.0
   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-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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 retrieved angstrom.0.16.1  (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 alcotest.1.8.0, alcotest-lwt.1.8.0  (cached)
 retrieved decompress.1.5.3  (cached)
 retrieved cstruct.6.2.0, cstruct-lwt.6.2.0  (cached)
 retrieved fmt.0.9.0  (cached)
 retrieved logs.0.7.0  (cached)
 retrieved mirage-block.3.0.2  (cached)
 retrieved lwt.5.9.0  (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 ocplib-endian.1.2  (cached)
 retrieved ocamlfind.1.9.6  (cached)
 retrieved ptime.1.2.0  (cached)
 retrieved optint.0.3.0  (cached)
 retrieved rresult.0.7.0  (cached)
 retrieved seq.base  (cached)
 installed seq.base
 retrieved stdlib-shims.0.3.0  (cached)
 retrieved re.1.12.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)
 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 rresult.0.7.0
 installed uutf.1.0.3
 installed ptime.1.2.0
 installed fmt.0.9.0
 installed astring.0.8.5
 installed dune.3.17.1
 installed mirage-clock.4.2.0
 installed csexp.1.5.2
 installed stringext.1.6.0
 installed stdlib-shims.0.3.0
 installed optint.0.3.0
 installed ocaml-syntax-shims.1.0.0
 installed cstruct.6.2.0
 installed cppo.1.8.0
 installed re.1.12.0
 installed ocplib-endian.1.2
 installed dune-configurator.3.17.1
 installed alcotest.1.8.0
 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 mirage-kv.6.1.1
 installed cstruct-lwt.6.2.0
 installed logs.0.7.0
 installed alcotest-lwt.1.8.0
 installed mirage-block-unix.2.14.2
Done.
2025-01-20 16:33.41 ---> saved as "7254cc24cdcf9ce7b0cc8e90c8339846780725b06b61ec5e318d7239f00fc3aa"

/src: (copy (src .) (dst /src))
2025-01-20 16:33.42 ---> saved as "2d5f6dc98bd27c2dc2146c97abfb28438c603d02bb20c1b02405e17ae2af637a"

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

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

  [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.008s. 12 tests run.
(cd _build/default/lib_test && ./parse_test.exe)
Testing `parse-test'.
This run has ID `AEZ37GZK'.

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

  [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.175s. 24 tests run.
2025-01-20 16:33.44 ---> saved as "05be4e5fedee76376ed8db5b3c315c0c817224ed4b61ee807b2edb5e3cb74e2b"
Job succeeded
2025-01-20 16:45.44: Job succeeded