Author: Michael Terry <mterry@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):
