tags 886117 + unreproducible moreinfo severity 886117 normal thanks On Wed, 03 Jan 2018 16:24:57 +0100, Adam Borowski writes: >Working hypothesis so far is that the testsuite fails on btrfs; I won't be >able to confirm until the evening.
sorry, but i can't reproduce your problem. duplicity builds and tests fine on stretch with ext4 and and with btrfs, kernel 4.9.69; on sid with ext4 and btrfs (same kernel), and on the build daemons as per https://buildd.debian.org/status/package.php?p=duplicity&suite=sid. i've removed the output-silencing for the tar invocation that fails in your environment (see the attached updated patch), but all that changed is that i get a number of 'implausibly old timestamp' warnings; these are legit as the test files do contain time stamps near 1.1.1970. regards az
Author: Michael Terry <mte...@ubuntu.com> Subject: Disable some tests for being flaky --- a/testing/functional/test_restart.py +++ b/testing/functional/test_restart.py @@ -111,6 +111,7 @@ class RestartTest(FunctionalTestCase): # there should be 2 differences found, one missing file, one mtime change # self.verify("testfiles/largefiles") + @unittest.skip("Flaky test because it relies on knowing how many volumes the source files will be split into") def test_last_file_missing_at_end(self): """ Test restart when the last file being backed up is missing on restart. --- a/testing/unit/test_gpg.py +++ b/testing/unit/test_gpg.py @@ -129,6 +129,7 @@ class GPGTest(UnitTestCase): sig = decrypted_file.get_signature() assert sig == self.sign_key, sig[-8:] + @unittest.skip("Flaky test because it relies on compressed size of random bytes") def test_GPGWriteFile(self): """Test GPGWriteFile""" size = 400 * 1000 @@ -144,6 +145,7 @@ class GPGTest(UnitTestCase): profile, size=size) # print os.stat("testfiles/output/gpgwrite.gpg").st_size + @unittest.skip("Flaky test because it relies on compressed size of random bytes") def test_GzipWriteFile(self): """Test GzipWriteFile""" size = 400 * 1000 --- a/testing/unit/test_selection.py +++ b/testing/unit/test_selection.py @@ -173,6 +173,7 @@ class MatchingTest(UnitTestCase): assert select.glob_get_sf("**", 0)(root) == 0 assert select.glob_get_sf("/foo/*", 0)(root) is None + @unittest.skip("unreliable ass-U-me wrt / and /usr on one fs") def test_other_filesystems(self): """Test to see if --exclude-other-filesystems works correctly""" root = Path("/") --- a/testing/unit/test_statistics.py +++ b/testing/unit/test_statistics.py @@ -59,12 +59,13 @@ class StatsObjTest(UnitTestCase): s1 = StatsDeltaProcess() assert s1.get_stat('SourceFiles') == 0 + @unittest.skip("TZ setting seems to fail under sbuild, #880251") def test_get_stats_string(self): """Test conversion of stat object into string""" s = StatsObj() stats_string = s.get_stats_string() assert stats_string == "", stats_string - + self.set_obj(s) stats_string = s.get_stats_string() assert stats_string == """\ --- a/testing/__init__.py +++ b/testing/__init__.py @@ -85,7 +85,7 @@ class DuplicityTestCase(unittest.TestCas def unpack_testfiles(self): assert not os.system("rm -rf testfiles") - assert not os.system("tar xzf testfiles.tar.gz > /dev/null 2>&1") + assert not os.system("tar xzf testfiles.tar.gz") assert not os.system("mkdir testfiles/output testfiles/cache") def _update_env(self, key, value):
-- Alexander Zangerl + GPG Key 2FCCF66BB963BD5F + http://snafu.priv.at/ "I can't see any data coming out of this Tolkien Ring card." "Well of course not, it confers invisibility." -- Anthony de Boer
signature.asc
Description: Digital Signature