Organisationsgildor478ocaml-fileutils460bb6 ()macos-homebrew-5.1_arm64_opam-2.1

macos-homebrew-5.1_arm64_opam-2.1

Link Copied
Code Copied

Logs

2024-05-10 08:49.57: New job: test gildor478/ocaml-fileutils https://github.com/gildor478/ocaml-fileutils.git#refs/pull/58/head (460bb6d25ef3cd73d79e400fe0a1e010181046f3) (macos-arm64:macos-homebrew-5.1_arm64_opam-2.1)
Base: macos-homebrew-ocaml-5.1
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/gildor478/ocaml-fileutils.git" && cd "ocaml-fileutils" && git fetch origin "refs/pull/58/head" && git reset --hard 460bb6d2
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.1
# macos-homebrew-5.1_arm64_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.1 ~/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
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 fileutils.opam ./src/./
RUN opam pin add -yn fileutils.dev './src/./'
ENV DEPS="base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base dune.3.15.2 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ounit2.2.2.7 seq.base stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y fileutils.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . ./src
RUN cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build


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


2024-05-10 08:49.57: Using cache hint "gildor478/ocaml-fileutils-macos-macos-homebrew-ocaml-5.1-macos-homebrew-5.1_arm64_opam-2.1-c6b2dd02874f10a4b933b5461d75b233"
2024-05-10 08:49.57: Using OBuilder spec:
((from macos-homebrew-ocaml-5.1)
 (comment macos-homebrew-5.1_arm64_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "ln -f ~/local/bin/opam-2.1 ~/local/bin/opam"))
 (run (shell "opam init --reinit -ni"))
 (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (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 fileutils.opam) (dst ./src/./))
 (run (network host)
      (shell "opam pin add -yn fileutils.dev './src/./'"))
 (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base dune.3.15.2 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ounit2.2.2.7 seq.base stdlib-shims.0.3.0")
 (env CI true)
 (env OCAMLCI true)
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell "opam update --depexts && opam install --cli=2.1 --depext-only -y fileutils.dev $DEPS"))
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell "opam install $DEPS"))
 (copy (src .) (dst ./src))
 (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2024-05-10 08:49.57: Waiting for resource in pool OCluster
2024-05-10 08:49.57: Waiting for worker…
2024-05-10 09:27.06: Got resource from pool OCluster
Building on m1-worker-01
All commits already cached
HEAD is now at 460bb6d Silence exceptions raised when closing after an exception in FileUtilCP


(from macos-homebrew-ocaml-5.1)
2024-05-10 09:27.06 ---> using "b7b1005f775d216bee3ed8ddea7a5cf967981ce80479def84cf765e6fa9c281f" from cache


/: (comment macos-homebrew-5.1_arm64_opam-2.1)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "ln -f ~/local/bin/opam-2.1 ~/local/bin/opam"))
2024-05-10 09:27.07 ---> using "22cd16a64c632695859fdcedd94c70c4cc08c65c5ac152872708c4f22bdb6b91" from cache


/: (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:///Users/mac1000/opam-repository
2024-05-10 09:27.07 ---> using "a88b721b113bbcb0b1d9c9d9953be1d371de01973789d03f702acf5d676e7e9e" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.1.0
The OCaml toplevel, version 5.1.1
2.1.5
2024-05-10 09:27.07 ---> using "b9cb7a7e67e401d6d05e669cb4a23e6bbd1c29e9a607e1e5d301dc2a9918b0c9" from cache


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (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
   3505e93828..20baedeee4  master     -> origin/master
307e33d08f @dra27 and @Octachron maintain the 4.08+ packages


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///Users/mac1000/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
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-05-10 09:27.07 ---> using "cabee6b61444bc33d210024577406e218f69742c8bcf128a36e96832a17bee72" from cache


/: (copy (src fileutils.opam) (dst ./src/./))
2024-05-10 09:27.08 ---> saved as "96b74315c84e0f0b23fce434464152951fb28bd46f2a1b4b989736035bd987f0"


/: (run (network host)
        (shell "opam pin add -yn fileutils.dev './src/./'"))
[fileutils.dev] synchronised (file:///Users/mac1000/src)
fileutils is now pinned to file:///Users/mac1000/src (version dev)
2024-05-10 09:27.34 ---> saved as "225e65f3621ec018f0c2159e50dcdaf881e64bbdceeb79399ff923f98a1737d2"


/: (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base dune.3.15.2 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ounit2.2.2.7 seq.base stdlib-shims.0.3.0")


/: (env CI true)


/: (env OCAMLCI true)


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (network host)
        (shell "opam update --depexts && opam install --cli=2.1 --depext-only -y fileutils.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[fileutils.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-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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-nnp 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).
Constructing initial basis...
No 0-1 knapsack inequalities detected
Constructing conflict graph...
Conflict graph has 2 + 2 = 4 vertices
2024-05-10 09:28.09 ---> saved as "de4c06f6ed8ba2bb7f8ba6ed095a49f0e6bc3f5dd9e034506dd28bb8d3c3ae99"


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (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-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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-nnp 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).
Constructing initial basis...
No 0-1 knapsack inequalities detected
Constructing conflict graph...
Conflict graph has 2 + 2 = 4 vertices
The following actions will be performed:
  - install seq          base
  - install dune         3.15.2
  - install stdlib-shims 0.3.0
  - install ounit2       2.2.7
===== 4 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved dune.3.15.2  (cached)
-> installed dune.3.15.2
-> installed stdlib-shims.0.3.0
-> installed ounit2.2.2.7
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-10 09:28.51 ---> saved as "66d2876ebf9f9b544f2a954ba9af6b8a112ed55e427f68d8ac3f4e68025ef40e"


/: (copy (src .) (dst ./src))
2024-05-10 09:28.52 ---> saved as "2ef82949df54e75fe65cba49918226d7ded97f0c139a8c6e66d33e1afdda2fa7"


/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "test/dune", line 7, characters 8-12:
7 |   (name test)
            ^^^^
(cd _build/default/test && ./test.exe)
................................................................................................................................F...................................................................................................
==============================================================================
Error: ocaml-fileutils:1:FileUtil:0:Test.


File "/Users/mac1000/src/_build/default/test/oUnit-ocaml-fileutils-m1-worker-01#01.log", line 196, characters 1-1:
Error: ocaml-fileutils:1:FileUtil:0:Test (in the log).


Raised at OUnitAssert.assert_failure in file "src/lib/ounit2/advanced/oUnitAssert.ml", line 45, characters 2-27
Called from OUnitTest.section_ctxt in file "src/lib/ounit2/advanced/oUnitTest.ml", line 130, characters 16-22
Re-raised at OUnitTest.section_ctxt in file "src/lib/ounit2/advanced/oUnitTest.ml", line 135, characters 6-13
Called from OUnitTest.non_fatal in file "src/lib/ounit2/advanced/oUnitTest.ml", line 267, characters 4-23


Test Is_owned_by_group_ID on /var/folders/h3/6p01ww3n62zdyn9x02xb8my40000z8/T/build_8dba53_dune/ounit-85d48d-m1-worker-01#01.dir
------------------------------------------------------------------------------
Ran: 227 tests in: 0.29 seconds.
FAILED: Cases: 227 Tried: 227 Errors: 0 Failures: 1 Skip:  0 Todo: 0 Timeouts: 0.
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-05-10 09:28.59: Job failed: Failed: Build failed