Skip to content

Instantly share code, notes, and snippets.

@PlasmaPower
Created July 31, 2016 00:14
Show Gist options
  • Save PlasmaPower/832ae39ab55c8d9085ed4986f90030f3 to your computer and use it in GitHub Desktop.
Save PlasmaPower/832ae39ab55c8d9085ed4986f90030f3 to your computer and use it in GitHub Desktop.
==> wheezy32: =================================== FAILURES ===================================
==> wheezy32: __________ ArchiverTestCaseBinary.test_compression_auto_compressible ___________
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_auto_compressible>
==> wheezy32: def test_compression_auto_compressible(self):
==> wheezy32: > size, csize = self._get_sizes('auto,zlib', compressible=True)
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1264:
==> wheezy32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_auto_compressible>
==> wheezy32: compression = 'auto,zlib', compressible = True, size = 10000
==> wheezy32: def _get_sizes(self, compression, compressible, size=10000):
==> wheezy32: if compressible:
==> wheezy32: contents = b'X' * size
==> wheezy32: else:
==> wheezy32: contents = os.urandom(size)
==> wheezy32: self.create_regular_file('file', contents=contents)
==> wheezy32: self.cmd('init', '--encryption=none', self.repository_location)
==> wheezy32: archive = self.repository_location + '::test'
==> wheezy32: self.cmd('create', '-C', compression, archive, 'input')
==> wheezy32: output = self.cmd('list', '--format', '{size} {csize} {path}{NL}', archive)
==> wheezy32: > size, csize, path = output.split("\n")[1].split(" ")
==> wheezy32: E ValueError: too many values to unpack (expected 3)
==> wheezy32:
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1241: ValueError
==> wheezy32: _________ ArchiverTestCaseBinary.test_compression_auto_uncompressible __________
==> wheezy32:
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_auto_uncompressible>
==> wheezy32:
==> wheezy32: def test_compression_auto_uncompressible(self):
==> wheezy32: > size, csize = self._get_sizes('auto,zlib', compressible=False)
==> wheezy32:
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1269:
==> wheezy32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
==> wheezy32:
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_auto_uncompressible>
==> wheezy32: compression = 'auto,zlib', compressible = False, size = 10000
==> wheezy32:
==> wheezy32: def _get_sizes(self, compression, compressible, size=10000):
==> wheezy32: if compressible:
==> wheezy32: contents = b'X' * size
==> wheezy32: else:
==> wheezy32: contents = os.urandom(size)
==> wheezy32: self.create_regular_file('file', contents=contents)
==> wheezy32: self.cmd('init', '--encryption=none', self.repository_location)
==> wheezy32: archive = self.repository_location + '::test'
==> wheezy32: self.cmd('create', '-C', compression, archive, 'input')
==> wheezy32: output = self.cmd('list', '--format', '{size} {csize} {path}{NL}', archive)
==> wheezy32: > size, csize, path = output.split("\n")[1].split(" ")
==> wheezy32: E ValueError: too many values to unpack (expected 3)
==> wheezy32:
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1241: ValueError
==> wheezy32: ___________ ArchiverTestCaseBinary.test_compression_lz4_compressible ___________
==> wheezy32:
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_lz4_compressible>
==> wheezy32:
==> wheezy32: def test_compression_lz4_compressible(self):
==> wheezy32: > size, csize = self._get_sizes('lz4', compressible=True)
==> wheezy32:
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1274:
==> wheezy32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
==> wheezy32:
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_lz4_compressible>
==> wheezy32: compression = 'lz4', compressible = True, size = 10000
==> wheezy32:
==> wheezy32: def _get_sizes(self, compression, compressible, size=10000):
==> wheezy32: if compressible:
==> wheezy32: contents = b'X' * size
==> wheezy32: else:
==> wheezy32: contents = os.urandom(size)
==> wheezy32: self.create_regular_file('file', contents=contents)
==> wheezy32: self.cmd('init', '--encryption=none', self.repository_location)
==> wheezy32: archive = self.repository_location + '::test'
==> wheezy32: self.cmd('create', '-C', compression, archive, 'input')
==> wheezy32: output = self.cmd('list', '--format', '{size} {csize} {path}{NL}', archive)
==> wheezy32: > size, csize, path = output.split("\n")[1].split(" ")
==> wheezy32: E ValueError: too many values to unpack (expected 3)
==> wheezy32:
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1241: ValueError
==> wheezy32: __________ ArchiverTestCaseBinary.test_compression_lz4_uncompressible __________
==> wheezy32:
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_lz4_uncompressible>
==> wheezy32:
==> wheezy32: def test_compression_lz4_uncompressible(self):
==> wheezy32: > size, csize = self._get_sizes('lz4', compressible=False)
==> wheezy32:
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1278:
==> wheezy32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
==> wheezy32:
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_lz4_uncompressible>
==> wheezy32: compression = 'lz4', compressible = False, size = 10000
==> wheezy32:
==> wheezy32: def _get_sizes(self, compression, compressible, size=10000):
==> wheezy32: if compressible:
==> wheezy32: contents = b'X' * size
==> wheezy32: else:
==> wheezy32: contents = os.urandom(size)
==> wheezy32: self.create_regular_file('file', contents=contents)
==> wheezy32: self.cmd('init', '--encryption=none', self.repository_location)
==> wheezy32: archive = self.repository_location + '::test'
==> wheezy32: self.cmd('create', '-C', compression, archive, 'input')
==> wheezy32: output = self.cmd('list', '--format', '{size} {csize} {path}{NL}', archive)
==> wheezy32: > size, csize, path = output.split("\n")[1].split(" ")
==> wheezy32: E ValueError: too many values to unpack (expected 3)
==> wheezy32:
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1241: ValueError
==> wheezy32: __________ ArchiverTestCaseBinary.test_compression_lzma_compressible ___________
==> wheezy32:
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_lzma_compressible>
==> wheezy32:
==> wheezy32: def test_compression_lzma_compressible(self):
==> wheezy32: > size, csize = self._get_sizes('lzma', compressible=True)
==> wheezy32:
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1282:
==> wheezy32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
==> wheezy32:
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_lzma_compressible>
==> wheezy32: compression = 'lzma', compressible = True, size = 10000
==> wheezy32:
==> wheezy32: def _get_sizes(self, compression, compressible, size=10000):
==> wheezy32: if compressible:
==> wheezy32: contents = b'X' * size
==> wheezy32: else:
==> wheezy32: contents = os.urandom(size)
==> wheezy32: self.create_regular_file('file', contents=contents)
==> wheezy32: self.cmd('init', '--encryption=none', self.repository_location)
==> wheezy32: archive = self.repository_location + '::test'
==> wheezy32: self.cmd('create', '-C', compression, archive, 'input')
==> wheezy32: output = self.cmd('list', '--format', '{size} {csize} {path}{NL}', archive)
==> wheezy32: > size, csize, path = output.split("\n")[1].split(" ")
==> wheezy32: E ValueError: too many values to unpack (expected 3)
==> wheezy32:
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1241: ValueError
==> wheezy32: _________ ArchiverTestCaseBinary.test_compression_lzma_uncompressible __________
==> wheezy32:
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_lzma_uncompressible>
==> wheezy32:
==> wheezy32: def test_compression_lzma_uncompressible(self):
==> wheezy32: > size, csize = self._get_sizes('lzma', compressible=False)
==> wheezy32:
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1286:
==> wheezy32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
==> wheezy32:
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_lzma_uncompressible>
==> wheezy32: compression = 'lzma', compressible = False, size = 10000
==> wheezy32:
==> wheezy32: def _get_sizes(self, compression, compressible, size=10000):
==> wheezy32: if compressible:
==> wheezy32: contents = b'X' * size
==> wheezy32: else:
==> wheezy32: contents = os.urandom(size)
==> wheezy32: self.create_regular_file('file', contents=contents)
==> wheezy32: self.cmd('init', '--encryption=none', self.repository_location)
==> wheezy32: archive = self.repository_location + '::test'
==> wheezy32: self.cmd('create', '-C', compression, archive, 'input')
==> wheezy32: output = self.cmd('list', '--format', '{size} {csize} {path}{NL}', archive)
==> wheezy32: > size, csize, path = output.split("\n")[1].split(" ")
==> wheezy32: E ValueError: too many values to unpack (expected 3)
==> wheezy32:
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1241: ValueError
==> wheezy32: __________ ArchiverTestCaseBinary.test_compression_none_compressible ___________
==> wheezy32:
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_none_compressible>
==> wheezy32:
==> wheezy32: def test_compression_none_compressible(self):
==> wheezy32: > size, csize = self._get_sizes('none', compressible=True)
==> wheezy32:
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1245:
==> wheezy32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
==> wheezy32:
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_none_compressible>
==> wheezy32: compression = 'none', compressible = True, size = 10000
==> wheezy32:
==> wheezy32: def _get_sizes(self, compression, compressible, size=10000):
==> wheezy32: if compressible:
==> wheezy32: contents = b'X' * size
==> wheezy32: else:
==> wheezy32: contents = os.urandom(size)
==> wheezy32: self.create_regular_file('file', contents=contents)
==> wheezy32: self.cmd('init', '--encryption=none', self.repository_location)
==> wheezy32: archive = self.repository_location + '::test'
==> wheezy32: self.cmd('create', '-C', compression, archive, 'input')
==> wheezy32: output = self.cmd('list', '--format', '{size} {csize} {path}{NL}', archive)
==> wheezy32: > size, csize, path = output.split("\n")[1].split(" ")
==> wheezy32: E ValueError: too many values to unpack (expected 3)
==> wheezy32:
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1241: ValueError
==> wheezy32: _________ ArchiverTestCaseBinary.test_compression_none_uncompressible __________
==> wheezy32:
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_none_uncompressible>
==> wheezy32:
==> wheezy32: def test_compression_none_uncompressible(self):
==> wheezy32: > size, csize = self._get_sizes('none', compressible=False)
==> wheezy32:
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1250:
==> wheezy32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
==> wheezy32:
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_none_uncompressible>
==> wheezy32: compression = 'none', compressible = False, size = 10000
==> wheezy32:
==> wheezy32: def _get_sizes(self, compression, compressible, size=10000):
==> wheezy32: if compressible:
==> wheezy32: contents = b'X' * size
==> wheezy32: else:
==> wheezy32: contents = os.urandom(size)
==> wheezy32: self.create_regular_file('file', contents=contents)
==> wheezy32: self.cmd('init', '--encryption=none', self.repository_location)
==> wheezy32: archive = self.repository_location + '::test'
==> wheezy32: self.cmd('create', '-C', compression, archive, 'input')
==> wheezy32: output = self.cmd('list', '--format', '{size} {csize} {path}{NL}', archive)
==> wheezy32: > size, csize, path = output.split("\n")[1].split(" ")
==> wheezy32: E ValueError: too many values to unpack (expected 3)
==> wheezy32:
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1241: ValueError
==> wheezy32: __________ ArchiverTestCaseBinary.test_compression_zlib_compressible ___________
==> wheezy32:
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_zlib_compressible>
==> wheezy32:
==> wheezy32: def test_compression_zlib_compressible(self):
==> wheezy32: > size, csize = self._get_sizes('zlib', compressible=True)
==> wheezy32:
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1255:
==> wheezy32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
==> wheezy32:
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_zlib_compressible>
==> wheezy32: compression = 'zlib', compressible = True, size = 10000
==> wheezy32: def _get_sizes(self, compression, compressible, size=10000):
==> wheezy32: if compressible:
==> wheezy32: contents = b'X' * size
==> wheezy32: else:
==> wheezy32: contents = os.urandom(size)
==> wheezy32: self.create_regular_file('file', contents=contents)
==> wheezy32: self.cmd('init', '--encryption=none', self.repository_location)
==> wheezy32: archive = self.repository_location + '::test'
==> wheezy32: self.cmd('create', '-C', compression, archive, 'input')
==> wheezy32: output = self.cmd('list', '--format', '{size} {csize} {path}{NL}', archive)
==> wheezy32: > size, csize, path = output.split("\n")[1].split(" ")
==> wheezy32: E ValueError: too many values to unpack (expected 3)
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1241: ValueError
==> wheezy32: _________ ArchiverTestCaseBinary.test_compression_zlib_uncompressible __________
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_zlib_uncompressible>
==> wheezy32: def test_compression_zlib_uncompressible(self):
==> wheezy32: > size, csize = self._get_sizes('zlib', compressible=False)
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1260:
==> wheezy32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_zlib_uncompressible>
==> wheezy32: compression = 'zlib', compressible = False, size = 10000
==> wheezy32: def _get_sizes(self, compression, compressible, size=10000):
==> wheezy32: if compressible:
==> wheezy32: contents = b'X' * size
==> wheezy32: else:
==> wheezy32: contents = os.urandom(size)
==> wheezy32: self.create_regular_file('file', contents=contents)
==> wheezy32: self.cmd('init', '--encryption=none', self.repository_location)
==> wheezy32: archive = self.repository_location + '::test'
==> wheezy32: self.cmd('create', '-C', compression, archive, 'input')
==> wheezy32: output = self.cmd('list', '--format', '{size} {csize} {path}{NL}', archive)
==> wheezy32: > size, csize, path = output.split("\n")[1].split(" ")
==> wheezy32: E ValueError: too many values to unpack (expected 3)
==> wheezy32:
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1241: ValueError
==> wheezy32: ___________________ ArchiverTestCaseBinary.test_list_format ____________________
==> wheezy32:
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_list_format>
==> wheezy32:
==> wheezy32: def test_list_format(self):
==> wheezy32: self.cmd('init', self.repository_location)
==> wheezy32: test_archive = self.repository_location + '::test'
==> wheezy32: self.cmd('create', test_archive, src_dir)
==> wheezy32: > self.cmd('list', '--list-format', '-', test_archive, exit_code=1)
==> wheezy32:
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1179:
==> wheezy32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:237: in cmd
==> wheezy32: self.assert_equal(ret, exit_code)
==> wheezy32: E AssertionError: 255 != 1
==> wheezy32: ----------------------------- Captured stdout call -----------------------------
==> wheezy32: ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.
==> wheezy32: ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.
==> wheezy32: ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.
==> wheezy32: ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.
==> wheezy32: Traceback (most recent call last):
==> wheezy32: File "<string>", line 2, in <module>
==> wheezy32: File "borg/archiver.py", line 2273, in main
==> wheezy32: File "borg/archiver.py", line 2166, in get_args
==> wheezy32: File "borg/archiver.py", line 2182, in parse_args
==> wheezy32: File "borg/archiver.py", line 1205, in preprocess_args
==> wheezy32: File "borg/archiver.py", line 124, in print_warning
==> wheezy32: File "borg/logger.py", line 170, in warning
==> wheezy32: File "borg/logger.py", line 150, in __logger
==> wheezy32: Exception: tried to call a logger before setup_logging() was called
==> wheezy32: __main__ returned -1
==> wheezy32:
==> wheezy32: ______________ ArchiverTestCaseBinary.test_list_repository_format ______________
==> wheezy32:
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_list_repository_format>
==> wheezy32:
==> wheezy32: def test_list_repository_format(self):
==> wheezy32: self.cmd('init', self.repository_location)
==> wheezy32: self.cmd('create', self.repository_location + '::test-1', src_dir)
==> wheezy32: self.cmd('create', self.repository_location + '::test-2', src_dir)
==> wheezy32: output_1 = self.cmd('list', self.repository_location)
==> wheezy32: output_2 = self.cmd('list', '--format', '{archive:<36} {time} [{id}]{NL}', self.repository_location)
==> wheezy32: self.assertEqual(output_1, output_2)
==> wheezy32: output_1 = self.cmd('list', '--short', self.repository_location)
==> wheezy32: > self.assertEqual(output_1, 'test-1\ntest-2\n')
==> wheezy32: E AssertionError: "ERROR: ld.so: object 'libfakeroot-sysv.s[332 chars]-2\n" != 'test-1\ntest-2\n'
==> wheezy32: E - ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.
==> wheezy32: E - ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.
==> wheezy32: E - ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.
==> wheezy32: E - ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.
==> wheezy32: E test-1
==> wheezy32: E test-2
==> wheezy32:
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1195: AssertionError
==> wheezy32: ____________________ ArchiverTestCaseBinary.test_list_size _____________________
==> wheezy32:
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_list_size>
==> wheezy32:
==> wheezy32: def test_list_size(self):
==> wheezy32: self.create_regular_file('compressible_file', size=10000)
==> wheezy32: self.cmd('init', self.repository_location)
==> wheezy32: test_archive = self.repository_location + '::test'
==> wheezy32: self.cmd('create', '-C', 'lz4', test_archive, 'input')
==> wheezy32: output = self.cmd('list', '--format', '{size} {csize} {path}{NL}', test_archive)
==> wheezy32: > size, csize, path = output.split("\n")[1].split(" ")
==> wheezy32: E ValueError: too many values to unpack (expected 3)
==> wheezy32:
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1228: ValueError
==> wheezy32: _______________ ArchiverTestCaseBinary.test_recreate_interrupt2 ________________
==> wheezy32:
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_recreate_interrupt2>
==> wheezy32:
==> wheezy32: def test_recreate_interrupt2(self):
==> wheezy32: with patch.object(helpers, 'scandir_inorder', helpers.scandir_generic):
==> wheezy32: > self._test_recreate_interrupt(True, False)
==> wheezy32:
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1594:
==> wheezy32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
==> wheezy32:
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_recreate_interrupt2>
==> wheezy32: change_args = True, interrupt_early = False
==> wheezy32:
==> wheezy32: def _test_recreate_interrupt(self, change_args, interrupt_early):
==> wheezy32: self.create_test_files()
==> wheezy32: self.create_regular_file('dir2/abcdef', size=1024 * 80)
==> wheezy32: self.cmd('init', self.repository_location)
==> wheezy32: self.cmd('create', self.repository_location + '::test', 'input')
==> wheezy32: process_files = 1
==> wheezy32: if interrupt_early:
==> wheezy32: process_files = 0
==> wheezy32: with patch.object(ArchiveRecreater, 'process_item', self._recreate_interrupt_patch(process_files)):
==> wheezy32: self.cmd('recreate', self.repository_location, 'input/dir2')
==> wheezy32: > assert 'test.recreate' in self.cmd('list', self.repository_location)
==> wheezy32: E AssertionError: assert 'test.recreate' in "ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.\nERROR: ld.so: object 'libfa...
Sun, 2016-07-31 00:04:06 [fd5b65860e55b5a5b7c9d6440bb1a09c7617dae0bae1cd4ab8b17eb98e443178]\n"
==> wheezy32: E + where "ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.\nERROR: ld.so: object 'libfa... Sun, 2016-07
-31 00:04:06 [fd5b65860e55b5a5b7c9d6440bb1a09c7617dae0bae1cd4ab8b17eb98e443178]\n" = <bound method ArchiverTestCaseBinary.cmd of <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=te
st_recreate_interrupt2>>('list', '/tmp/tmp0qr3c5bo/repository')
==> wheezy32: E + where <bound method ArchiverTestCaseBinary.cmd of <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_recreate_interrupt2>> = <borg.testsuite.archiver
.ArchiverTestCaseBinary testMethod=test_recreate_interrupt2>.cmd
==> wheezy32: E + and '/tmp/tmp0qr3c5bo/repository' = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_recreate_interrupt2>.repository_location
==> wheezy32:
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1565: AssertionError
==> wheezy32: _______________ ArchiverTestCaseBinary.test_recreate_rechunkify ________________
==> wheezy32:
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_recreate_rechunkify>
==> wheezy32:
==> wheezy32: def test_recreate_rechunkify(self):
==> wheezy32: with open(os.path.join(self.input_path, 'large_file'), 'wb') as fd:
==> wheezy32: fd.write(b'a' * 280)
==> wheezy32: fd.write(b'b' * 280)
==> wheezy32: self.cmd('init', self.repository_location)
==> wheezy32: self.cmd('create', '--chunker-params', '7,9,8,128', self.repository_location + '::test1', 'input')
==> wheezy32: self.cmd('create', self.repository_location + '::test2', 'input', '--no-files-cache')
==> wheezy32: list = self.cmd('list', self.repository_location + '::test1', 'input/large_file',
==> wheezy32: '--format', '{num_chunks} {unique_chunks}')
==> wheezy32: > num_chunks, unique_chunks = map(int, list.split(' '))
==> wheezy32: E ValueError: invalid literal for int() with base 10: 'ERROR:'
==> wheezy32:
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1508: ValueError
==> wheezy32: _______________ ArchiverTestCaseBinary.test_recreate_recompress ________________
==> wheezy32:
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_recreate_recompress>
==> wheezy32:
==> wheezy32: def test_recreate_recompress(self):
==> wheezy32: self.create_regular_file('compressible', size=10000)
==> wheezy32: self.cmd('init', self.repository_location)
==> wheezy32: self.cmd('create', self.repository_location + '::test', 'input', '-C', 'none')
==> wheezy32: file_list = self.cmd('list', self.repository_location + '::test', 'input/compressible',
==> wheezy32: '--format', '{size} {csize} {sha256}')
==> wheezy32: > size, csize, sha256_before = file_list.split(' ')
==> wheezy32: E ValueError: too many values to unpack (expected 3)
==> wheezy32:
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1522: ValueError
==> wheezy32: ======= 16 failed, 643 passed, 121 skipped, 3 xpassed in 568.69 seconds ========
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment