2024-12-19 05:47.34: New job: test gildor478/ocaml-fileutils https://github.com/gildor478/ocaml-fileutils.git#refs/pull/59/head (0ebe9003654838141068ca097d58fadae5b0e374) (openbsd-amd64:openbsd-76-amd64-4.14_opam-2.3)
Base: openbsd-76-amd64-ocaml-4.14
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/gildor478/ocaml-fileutils.git" && cd "ocaml-fileutils" && git fetch origin "refs/pull/59/head" && git reset --hard 0ebe9003
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM openbsd-76-amd64-ocaml-4.14
# openbsd-76-amd64-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN doas ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 fileutils.opam /home/opam/src/./
RUN opam pin add -yn fileutils.dev '/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base dune.3.17.1 host-arch-x86_64.1 host-system-other.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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.3 --depext-only -y fileutils.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /home/opam/src
RUN cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-12-19 05:47.34: Using cache hint "gildor478/ocaml-fileutils-openbsd-76-amd64-ocaml-4.14-openbsd-76-amd64-4.14_opam-2.3-7f863a9a2127a7886e476bcb320fdce3"
2024-12-19 05:47.34: Using OBuilder spec:
((from openbsd-76-amd64-ocaml-4.14)
(comment openbsd-76-amd64-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "doas 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"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src fileutils.opam) (dst /home/opam/src/./))
(run (network host)
(shell "opam pin add -yn fileutils.dev '/home/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.17.1 host-arch-x86_64.1 host-system-other.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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 /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y fileutils.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /home/opam/src))
(run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2024-12-19 05:47.34: Waiting for resource in pool OCluster
2024-12-19 05:47.34: Waiting for worker…
2024-12-19 06:37.02: Got resource from pool OCluster
Building on bremusa
All commits already cached
HEAD is now at 0ebe900 Make cmp return None for identical files
(from openbsd-76-amd64-ocaml-4.14)
2024-12-19 06:37.02 ---> using "273e81235ea8a6b452476629509f5a1e49a129b613e30bfb7515f80881f75048" from cache
/: (comment openbsd-76-amd64-4.14_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "doas ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2024-12-19 06:37.02 ---> using "8f4c505b74dc31d91c5d30f3e3d123c2567bb97ae9c1708d719a97f14994a2cb" 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] synchronised from file:///home/opam/opam-repository
2024-12-19 06:37.02 ---> using "b66ba35f8a9a53257673fce4c0b7f7307b571514bb7b92fa06cc7e407f80f85e" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.6
The OCaml toplevel, version 4.14.2
2.3.0
2024-12-19 06:37.02 ---> using "136946daf17d74755f97e0e0d17c355664b0b582f53f270159dfd90ff2a9858b" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
727427c1e7..5c7ffb23c8 master -> origin/master
5c7ffb23c8 Merge pull request #27137 from maiste/release-dune-3.17.1
<><> 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-12-19 06:37.02 ---> using "cb023556dce7f9713645e8a116b976711078168515df967fe83f3f673bac72b6" from cache
/: (copy (src fileutils.opam) (dst /home/opam/src/./))
2024-12-19 06:37.02 ---> using "003786ad35bc5011c5bf7b067b853781bc5b05498dca622af0a8aa0136a9f12b" from cache
/: (run (network host)
(shell "opam pin add -yn fileutils.dev '/home/opam/src/./'"))
[fileutils.dev] synchronised (file:///home/opam/src)
fileutils is now pinned to file:///home/opam/src (version dev)
2024-12-19 06:37.02 ---> using "5f5e699d07b7d4ccc4e7530f53493a815d5a538cf66f2bab8f84505395b7612a" from cache
/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2024-12-19 06:37.02 ---> using "23af672c509267c7af0817b80441f94c0996150f63de6fe431aeb24b739b13a6" from cache
/: (env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.17.1 host-arch-x86_64.1 host-system-other.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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 /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y fileutils.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[fileutils.dev] synchronised (file:///home/opam/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).
2024-12-19 06:37.02 ---> using "e5bd983b3c5a22d8559cd46897ea634f283b17e7d34bb5468067d387b638c2da" from cache
/: (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 4 packages
- install dune 3.17.1
- install ounit2 2.2.7
- install seq base
- install stdlib-shims 0.3.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved ounit2.2.2.7 (cached)
-> retrieved dune.3.17.1 (cached)
-> installed dune.3.17.1
-> installed stdlib-shims.0.3.0
-> installed ounit2.2.2.7
Done.
# To update the current shell environment, run: eval $(opam env)
2024-12-19 06:40.27 ---> saved as "728fe4b3a39b67e02936c352ef9ac212b2ac16a4f0ab6d2ec6abc12c3450e4c5"
/: (copy (src .) (dst /home/opam/src))
2024-12-19 06:41.10 ---> saved as "eff6ccad841c9ac592331395df49a392319ef16c4080aca063be554375cb694b"
/: (run (shell "cd /home/opam/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 "/home/opam/src/_build/default/test/oUnit-ocaml-fileutils-openbsd.my.domain#01.log", line 193, 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 /tmp/build_0400a6_dune/ounit-79ee46-openbsd.my.domain#01.dir
------------------------------------------------------------------------------
Ran: 227 tests in: 0.91 seconds.
FAILED: Cases: 227 Tried: 227 Errors: 0 Failures: 1 Skip: 0 Todo: 0 Timeouts: 0.
"cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-12-19 06:42.00: Job failed: Failed: Build failed