[Borgbackup] Version 1.0.3 has grown a new failing test in test_sparse_file
Thomas Waldmann
tw at waldmann-edv.de
Tue Jun 14 07:58:41 EDT 2016
Hi,
> while preparing 1.0.3 for openSUSE, I noticed two more failing tests:
>
> [ 112s] ______________________ ArchiverTestCase.test_sparse_file _______________________
> [ 112s]
> [ 112s] def test_sparse_file(self):
...
> [ 112s] st = os.stat(filename)
> [ 112s] self.assert_equal(st.st_size, total_len)
> [ 112s] if sparse_support and hasattr(st, 'st_blocks'):
> [ 112s] > self.assert_true(st.st_blocks * 512 < total_len / 9) # is output sparse?
> [ 112s] E AssertionError: False is not true
> [ 112s]
> [ 112s] borg/testsuite/archiver.py:416: AssertionError
We've seen this recently on Solaris / ZFS also.
> [ 112s] ___________________ RemoteArchiverTestCase.test_sparse_file ____________________
Same thing.
This is harmless - maybe xfs and zfs just have more overhead, so they do
not fullfil that assertion.
> While at it, I noticed, that the document generation also fails.
> The usual build sequence for packaging is:
>
> CFLAGS="%{optflags}" python3 setup.py build
> make -C docs html man && rm docs/_build/html/.buildinfo
>
> resulting in:
>
> [ 14s] ImportError: cannot import name 'hashindex'
hashindex is a Cython module. For releases, we bundle the resulting C
source, but that needs to be compiled (and usually is, if build deps are
present).
Cheers, Thomas
--
GPG ID: FAF7B393
GPG FP: 6D5B EF9A DD20 7580 5747 B70F 9F88 FB52 FAF7 B393
More information about the Borgbackup
mailing list