Advertisement
Guest User

Untitled

a guest
Jul 30th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.27 KB | None | 0 0
  1. ==> wheezy32: =================================== FAILURES ===================================
  2. ==> wheezy32: __________ ArchiverTestCaseBinary.test_compression_auto_compressible ___________
  3. ==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_auto_compressible>
  4. ==> wheezy32: def test_compression_auto_compressible(self):
  5. ==> wheezy32: > size, csize = self._get_sizes('auto,zlib', compressible=True)
  6. ==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1264:
  7. ==> wheezy32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  8. ==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_auto_compressible>
  9. ==> wheezy32: compression = 'auto,zlib', compressible = True, size = 10000
  10. ==> wheezy32: def _get_sizes(self, compression, compressible, size=10000):
  11. ==> wheezy32: if compressible:
  12. ==> wheezy32: contents = b'X' * size
  13. ==> wheezy32: else:
  14. ==> wheezy32: contents = os.urandom(size)
  15. ==> wheezy32: self.create_regular_file('file', contents=contents)
  16. ==> wheezy32: self.cmd('init', '--encryption=none', self.repository_location)
  17. ==> wheezy32: archive = self.repository_location + '::test'
  18. ==> wheezy32: self.cmd('create', '-C', compression, archive, 'input')
  19. ==> wheezy32: output = self.cmd('list', '--format', '{size} {csize} {path}{NL}', archive)
  20. ==> wheezy32: > size, csize, path = output.split("\n")[1].split(" ")
  21. ==> wheezy32: E ValueError: too many values to unpack (expected 3)
  22. ==> wheezy32:
  23. ==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1241: ValueError
  24. ==> wheezy32: _________ ArchiverTestCaseBinary.test_compression_auto_uncompressible __________
  25. ==> wheezy32:
  26. ==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_auto_uncompressible>
  27. ==> wheezy32:
  28. ==> wheezy32: def test_compression_auto_uncompressible(self):
  29. ==> wheezy32: > size, csize = self._get_sizes('auto,zlib', compressible=False)
  30. ==> wheezy32:
  31. ==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1269:
  32. ==> wheezy32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  33. ==> wheezy32:
  34. ==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_auto_uncompressible>
  35. ==> wheezy32: compression = 'auto,zlib', compressible = False, size = 10000
  36. ==> wheezy32:
  37. ==> wheezy32: def _get_sizes(self, compression, compressible, size=10000):
  38. ==> wheezy32: if compressible:
  39. ==> wheezy32: contents = b'X' * size
  40. ==> wheezy32: else:
  41. ==> wheezy32: contents = os.urandom(size)
  42. ==> wheezy32: self.create_regular_file('file', contents=contents)
  43. ==> wheezy32: self.cmd('init', '--encryption=none', self.repository_location)
  44. ==> wheezy32: archive = self.repository_location + '::test'
  45. ==> wheezy32: self.cmd('create', '-C', compression, archive, 'input')
  46. ==> wheezy32: output = self.cmd('list', '--format', '{size} {csize} {path}{NL}', archive)
  47. ==> wheezy32: > size, csize, path = output.split("\n")[1].split(" ")
  48. ==> wheezy32: E ValueError: too many values to unpack (expected 3)
  49. ==> wheezy32:
  50. ==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1241: ValueError
  51. ==> wheezy32: ___________ ArchiverTestCaseBinary.test_compression_lz4_compressible ___________
  52. ==> wheezy32:
  53. ==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_lz4_compressible>
  54. ==> wheezy32:
  55. ==> wheezy32: def test_compression_lz4_compressible(self):
  56. ==> wheezy32: > size, csize = self._get_sizes('lz4', compressible=True)
  57. ==> wheezy32:
  58. ==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1274:
  59. ==> wheezy32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  60. ==> wheezy32:
  61. ==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_lz4_compressible>
  62. ==> wheezy32: compression = 'lz4', compressible = True, size = 10000
  63. ==> wheezy32:
  64. ==> wheezy32: def _get_sizes(self, compression, compressible, size=10000):
  65. ==> wheezy32: if compressible:
  66. ==> wheezy32: contents = b'X' * size
  67. ==> wheezy32: else:
  68. ==> wheezy32: contents = os.urandom(size)
  69. ==> wheezy32: self.create_regular_file('file', contents=contents)
  70. ==> wheezy32: self.cmd('init', '--encryption=none', self.repository_location)
  71. ==> wheezy32: archive = self.repository_location + '::test'
  72. ==> wheezy32: self.cmd('create', '-C', compression, archive, 'input')
  73. ==> wheezy32: output = self.cmd('list', '--format', '{size} {csize} {path}{NL}', archive)
  74. ==> wheezy32: > size, csize, path = output.split("\n")[1].split(" ")
  75. ==> wheezy32: E ValueError: too many values to unpack (expected 3)
  76. ==> wheezy32:
  77. ==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1241: ValueError
  78. ==> wheezy32: __________ ArchiverTestCaseBinary.test_compression_lz4_uncompressible __________
  79. ==> wheezy32:
  80. ==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_lz4_uncompressible>
  81. ==> wheezy32:
  82. ==> wheezy32: def test_compression_lz4_uncompressible(self):
  83. ==> wheezy32: > size, csize = self._get_sizes('lz4', compressible=False)
  84. ==> wheezy32:
  85. ==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1278:
  86. ==> wheezy32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  87. ==> wheezy32:
  88. ==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_lz4_uncompressible>
  89. ==> wheezy32: compression = 'lz4', compressible = False, size = 10000
  90. ==> wheezy32:
  91. ==> wheezy32: def _get_sizes(self, compression, compressible, size=10000):
  92. ==> wheezy32: if compressible:
  93. ==> wheezy32: contents = b'X' * size
  94. ==> wheezy32: else:
  95. ==> wheezy32: contents = os.urandom(size)
  96. ==> wheezy32: self.create_regular_file('file', contents=contents)
  97. ==> wheezy32: self.cmd('init', '--encryption=none', self.repository_location)
  98. ==> wheezy32: archive = self.repository_location + '::test'
  99. ==> wheezy32: self.cmd('create', '-C', compression, archive, 'input')
  100. ==> wheezy32: output = self.cmd('list', '--format', '{size} {csize} {path}{NL}', archive)
  101. ==> wheezy32: > size, csize, path = output.split("\n")[1].split(" ")
  102. ==> wheezy32: E ValueError: too many values to unpack (expected 3)
  103. ==> wheezy32:
  104. ==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1241: ValueError
  105. ==> wheezy32: __________ ArchiverTestCaseBinary.test_compression_lzma_compressible ___________
  106. ==> wheezy32:
  107. ==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_lzma_compressible>
  108. ==> wheezy32:
  109. ==> wheezy32: def test_compression_lzma_compressible(self):
  110. ==> wheezy32: > size, csize = self._get_sizes('lzma', compressible=True)
  111. ==> wheezy32:
  112. ==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1282:
  113. ==> wheezy32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  114. ==> wheezy32:
  115. ==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_lzma_compressible>
  116. ==> wheezy32: compression = 'lzma', compressible = True, size = 10000
  117. ==> wheezy32:
  118. ==> wheezy32: def _get_sizes(self, compression, compressible, size=10000):
  119. ==> wheezy32: if compressible:
  120. ==> wheezy32: contents = b'X' * size
  121. ==> wheezy32: else:
  122. ==> wheezy32: contents = os.urandom(size)
  123. ==> wheezy32: self.create_regular_file('file', contents=contents)
  124. ==> wheezy32: self.cmd('init', '--encryption=none', self.repository_location)
  125. ==> wheezy32: archive = self.repository_location + '::test'
  126. ==> wheezy32: self.cmd('create', '-C', compression, archive, 'input')
  127. ==> wheezy32: output = self.cmd('list', '--format', '{size} {csize} {path}{NL}', archive)
  128. ==> wheezy32: > size, csize, path = output.split("\n")[1].split(" ")
  129. ==> wheezy32: E ValueError: too many values to unpack (expected 3)
  130. ==> wheezy32:
  131. ==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1241: ValueError
  132. ==> wheezy32: _________ ArchiverTestCaseBinary.test_compression_lzma_uncompressible __________
  133. ==> wheezy32:
  134. ==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_lzma_uncompressible>
  135. ==> wheezy32:
  136. ==> wheezy32: def test_compression_lzma_uncompressible(self):
  137. ==> wheezy32: > size, csize = self._get_sizes('lzma', compressible=False)
  138. ==> wheezy32:
  139. ==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1286:
  140. ==> wheezy32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  141. ==> wheezy32:
  142. ==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_lzma_uncompressible>
  143. ==> wheezy32: compression = 'lzma', compressible = False, size = 10000
  144. ==> wheezy32:
  145. ==> wheezy32: def _get_sizes(self, compression, compressible, size=10000):
  146. ==> wheezy32: if compressible:
  147. ==> wheezy32: contents = b'X' * size
  148. ==> wheezy32: else:
  149. ==> wheezy32: contents = os.urandom(size)
  150. ==> wheezy32: self.create_regular_file('file', contents=contents)
  151. ==> wheezy32: self.cmd('init', '--encryption=none', self.repository_location)
  152. ==> wheezy32: archive = self.repository_location + '::test'
  153. ==> wheezy32: self.cmd('create', '-C', compression, archive, 'input')
  154. ==> wheezy32: output = self.cmd('list', '--format', '{size} {csize} {path}{NL}', archive)
  155. ==> wheezy32: > size, csize, path = output.split("\n")[1].split(" ")
  156. ==> wheezy32: E ValueError: too many values to unpack (expected 3)
  157. ==> wheezy32:
  158. ==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1241: ValueError
  159. ==> wheezy32: __________ ArchiverTestCaseBinary.test_compression_none_compressible ___________
  160. ==> wheezy32:
  161. ==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_none_compressible>
  162. ==> wheezy32:
  163. ==> wheezy32: def test_compression_none_compressible(self):
  164. ==> wheezy32: > size, csize = self._get_sizes('none', compressible=True)
  165. ==> wheezy32:
  166. ==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1245:
  167. ==> wheezy32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  168. ==> wheezy32:
  169. ==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_none_compressible>
  170. ==> wheezy32: compression = 'none', compressible = True, size = 10000
  171. ==> wheezy32:
  172. ==> wheezy32: def _get_sizes(self, compression, compressible, size=10000):
  173. ==> wheezy32: if compressible:
  174. ==> wheezy32: contents = b'X' * size
  175. ==> wheezy32: else:
  176. ==> wheezy32: contents = os.urandom(size)
  177. ==> wheezy32: self.create_regular_file('file', contents=contents)
  178. ==> wheezy32: self.cmd('init', '--encryption=none', self.repository_location)
  179. ==> wheezy32: archive = self.repository_location + '::test'
  180. ==> wheezy32: self.cmd('create', '-C', compression, archive, 'input')
  181. ==> wheezy32: output = self.cmd('list', '--format', '{size} {csize} {path}{NL}', archive)
  182. ==> wheezy32: > size, csize, path = output.split("\n")[1].split(" ")
  183. ==> wheezy32: E ValueError: too many values to unpack (expected 3)
  184. ==> wheezy32:
  185. ==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1241: ValueError
  186. ==> wheezy32: _________ ArchiverTestCaseBinary.test_compression_none_uncompressible __________
  187. ==> wheezy32:
  188. ==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_none_uncompressible>
  189. ==> wheezy32:
  190. ==> wheezy32: def test_compression_none_uncompressible(self):
  191. ==> wheezy32: > size, csize = self._get_sizes('none', compressible=False)
  192. ==> wheezy32:
  193. ==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1250:
  194. ==> wheezy32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  195. ==> wheezy32:
  196. ==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_none_uncompressible>
  197. ==> wheezy32: compression = 'none', compressible = False, size = 10000
  198. ==> wheezy32:
  199. ==> wheezy32: def _get_sizes(self, compression, compressible, size=10000):
  200. ==> wheezy32: if compressible:
  201. ==> wheezy32: contents = b'X' * size
  202. ==> wheezy32: else:
  203. ==> wheezy32: contents = os.urandom(size)
  204. ==> wheezy32: self.create_regular_file('file', contents=contents)
  205. ==> wheezy32: self.cmd('init', '--encryption=none', self.repository_location)
  206. ==> wheezy32: archive = self.repository_location + '::test'
  207. ==> wheezy32: self.cmd('create', '-C', compression, archive, 'input')
  208. ==> wheezy32: output = self.cmd('list', '--format', '{size} {csize} {path}{NL}', archive)
  209. ==> wheezy32: > size, csize, path = output.split("\n")[1].split(" ")
  210. ==> wheezy32: E ValueError: too many values to unpack (expected 3)
  211. ==> wheezy32:
  212. ==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1241: ValueError
  213. ==> wheezy32: __________ ArchiverTestCaseBinary.test_compression_zlib_compressible ___________
  214. ==> wheezy32:
  215. ==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_zlib_compressible>
  216. ==> wheezy32:
  217. ==> wheezy32: def test_compression_zlib_compressible(self):
  218. ==> wheezy32: > size, csize = self._get_sizes('zlib', compressible=True)
  219. ==> wheezy32:
  220. ==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1255:
  221. ==> wheezy32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  222. ==> wheezy32:
  223. ==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_zlib_compressible>
  224. ==> wheezy32: compression = 'zlib', compressible = True, size = 10000
  225. ==> wheezy32: def _get_sizes(self, compression, compressible, size=10000):
  226. ==> wheezy32: if compressible:
  227. ==> wheezy32: contents = b'X' * size
  228. ==> wheezy32: else:
  229. ==> wheezy32: contents = os.urandom(size)
  230. ==> wheezy32: self.create_regular_file('file', contents=contents)
  231. ==> wheezy32: self.cmd('init', '--encryption=none', self.repository_location)
  232. ==> wheezy32: archive = self.repository_location + '::test'
  233. ==> wheezy32: self.cmd('create', '-C', compression, archive, 'input')
  234. ==> wheezy32: output = self.cmd('list', '--format', '{size} {csize} {path}{NL}', archive)
  235. ==> wheezy32: > size, csize, path = output.split("\n")[1].split(" ")
  236. ==> wheezy32: E ValueError: too many values to unpack (expected 3)
  237. ==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1241: ValueError
  238. ==> wheezy32: _________ ArchiverTestCaseBinary.test_compression_zlib_uncompressible __________
  239. ==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_zlib_uncompressible>
  240. ==> wheezy32: def test_compression_zlib_uncompressible(self):
  241. ==> wheezy32: > size, csize = self._get_sizes('zlib', compressible=False)
  242. ==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1260:
  243. ==> wheezy32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  244. ==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_zlib_uncompressible>
  245. ==> wheezy32: compression = 'zlib', compressible = False, size = 10000
  246. ==> wheezy32: def _get_sizes(self, compression, compressible, size=10000):
  247. ==> wheezy32: if compressible:
  248. ==> wheezy32: contents = b'X' * size
  249. ==> wheezy32: else:
  250. ==> wheezy32: contents = os.urandom(size)
  251. ==> wheezy32: self.create_regular_file('file', contents=contents)
  252. ==> wheezy32: self.cmd('init', '--encryption=none', self.repository_location)
  253. ==> wheezy32: archive = self.repository_location + '::test'
  254. ==> wheezy32: self.cmd('create', '-C', compression, archive, 'input')
  255. ==> wheezy32: output = self.cmd('list', '--format', '{size} {csize} {path}{NL}', archive)
  256. ==> wheezy32: > size, csize, path = output.split("\n")[1].split(" ")
  257. ==> wheezy32: E ValueError: too many values to unpack (expected 3)
  258. ==> wheezy32:
  259. ==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1241: ValueError
  260. ==> wheezy32: ___________________ ArchiverTestCaseBinary.test_list_format ____________________
  261. ==> wheezy32:
  262. ==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_list_format>
  263. ==> wheezy32:
  264. ==> wheezy32: def test_list_format(self):
  265. ==> wheezy32: self.cmd('init', self.repository_location)
  266. ==> wheezy32: test_archive = self.repository_location + '::test'
  267. ==> wheezy32: self.cmd('create', test_archive, src_dir)
  268. ==> wheezy32: > self.cmd('list', '--list-format', '-', test_archive, exit_code=1)
  269. ==> wheezy32:
  270. ==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1179:
  271. ==> wheezy32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  272. ==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:237: in cmd
  273. ==> wheezy32: self.assert_equal(ret, exit_code)
  274. ==> wheezy32: E AssertionError: 255 != 1
  275. ==> wheezy32: ----------------------------- Captured stdout call -----------------------------
  276. ==> wheezy32: ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.
  277. ==> wheezy32: ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.
  278. ==> wheezy32: ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.
  279. ==> wheezy32: ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.
  280. ==> wheezy32: Traceback (most recent call last):
  281. ==> wheezy32: File "<string>", line 2, in <module>
  282. ==> wheezy32: File "borg/archiver.py", line 2273, in main
  283. ==> wheezy32: File "borg/archiver.py", line 2166, in get_args
  284. ==> wheezy32: File "borg/archiver.py", line 2182, in parse_args
  285. ==> wheezy32: File "borg/archiver.py", line 1205, in preprocess_args
  286. ==> wheezy32: File "borg/archiver.py", line 124, in print_warning
  287. ==> wheezy32: File "borg/logger.py", line 170, in warning
  288. ==> wheezy32: File "borg/logger.py", line 150, in __logger
  289. ==> wheezy32: Exception: tried to call a logger before setup_logging() was called
  290. ==> wheezy32: __main__ returned -1
  291. ==> wheezy32:
  292. ==> wheezy32: ______________ ArchiverTestCaseBinary.test_list_repository_format ______________
  293. ==> wheezy32:
  294. ==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_list_repository_format>
  295. ==> wheezy32:
  296. ==> wheezy32: def test_list_repository_format(self):
  297. ==> wheezy32: self.cmd('init', self.repository_location)
  298. ==> wheezy32: self.cmd('create', self.repository_location + '::test-1', src_dir)
  299. ==> wheezy32: self.cmd('create', self.repository_location + '::test-2', src_dir)
  300. ==> wheezy32: output_1 = self.cmd('list', self.repository_location)
  301. ==> wheezy32: output_2 = self.cmd('list', '--format', '{archive:<36} {time} [{id}]{NL}', self.repository_location)
  302. ==> wheezy32: self.assertEqual(output_1, output_2)
  303. ==> wheezy32: output_1 = self.cmd('list', '--short', self.repository_location)
  304. ==> wheezy32: > self.assertEqual(output_1, 'test-1\ntest-2\n')
  305. ==> wheezy32: E AssertionError: "ERROR: ld.so: object 'libfakeroot-sysv.s[332 chars]-2\n" != 'test-1\ntest-2\n'
  306. ==> wheezy32: E - ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.
  307. ==> wheezy32: E - ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.
  308. ==> wheezy32: E - ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.
  309. ==> wheezy32: E - ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.
  310. ==> wheezy32: E test-1
  311. ==> wheezy32: E test-2
  312. ==> wheezy32:
  313. ==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1195: AssertionError
  314. ==> wheezy32: ____________________ ArchiverTestCaseBinary.test_list_size _____________________
  315. ==> wheezy32:
  316. ==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_list_size>
  317. ==> wheezy32:
  318. ==> wheezy32: def test_list_size(self):
  319. ==> wheezy32: self.create_regular_file('compressible_file', size=10000)
  320. ==> wheezy32: self.cmd('init', self.repository_location)
  321. ==> wheezy32: test_archive = self.repository_location + '::test'
  322. ==> wheezy32: self.cmd('create', '-C', 'lz4', test_archive, 'input')
  323. ==> wheezy32: output = self.cmd('list', '--format', '{size} {csize} {path}{NL}', test_archive)
  324. ==> wheezy32: > size, csize, path = output.split("\n")[1].split(" ")
  325. ==> wheezy32: E ValueError: too many values to unpack (expected 3)
  326. ==> wheezy32:
  327. ==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1228: ValueError
  328. ==> wheezy32: _______________ ArchiverTestCaseBinary.test_recreate_interrupt2 ________________
  329. ==> wheezy32:
  330. ==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_recreate_interrupt2>
  331. ==> wheezy32:
  332. ==> wheezy32: def test_recreate_interrupt2(self):
  333. ==> wheezy32: with patch.object(helpers, 'scandir_inorder', helpers.scandir_generic):
  334. ==> wheezy32: > self._test_recreate_interrupt(True, False)
  335. ==> wheezy32:
  336. ==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1594:
  337. ==> wheezy32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  338. ==> wheezy32:
  339. ==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_recreate_interrupt2>
  340. ==> wheezy32: change_args = True, interrupt_early = False
  341. ==> wheezy32:
  342. ==> wheezy32: def _test_recreate_interrupt(self, change_args, interrupt_early):
  343. ==> wheezy32: self.create_test_files()
  344. ==> wheezy32: self.create_regular_file('dir2/abcdef', size=1024 * 80)
  345. ==> wheezy32: self.cmd('init', self.repository_location)
  346. ==> wheezy32: self.cmd('create', self.repository_location + '::test', 'input')
  347. ==> wheezy32: process_files = 1
  348. ==> wheezy32: if interrupt_early:
  349. ==> wheezy32: process_files = 0
  350. ==> wheezy32: with patch.object(ArchiveRecreater, 'process_item', self._recreate_interrupt_patch(process_files)):
  351. ==> wheezy32: self.cmd('recreate', self.repository_location, 'input/dir2')
  352. ==> wheezy32: > assert 'test.recreate' in self.cmd('list', self.repository_location)
  353. ==> 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...
  354. Sun, 2016-07-31 00:04:06 [fd5b65860e55b5a5b7c9d6440bb1a09c7617dae0bae1cd4ab8b17eb98e443178]\n"
  355. ==> 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
  356. -31 00:04:06 [fd5b65860e55b5a5b7c9d6440bb1a09c7617dae0bae1cd4ab8b17eb98e443178]\n" = <bound method ArchiverTestCaseBinary.cmd of <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=te
  357. st_recreate_interrupt2>>('list', '/tmp/tmp0qr3c5bo/repository')
  358. ==> wheezy32: E + where <bound method ArchiverTestCaseBinary.cmd of <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_recreate_interrupt2>> = <borg.testsuite.archiver
  359. .ArchiverTestCaseBinary testMethod=test_recreate_interrupt2>.cmd
  360. ==> wheezy32: E + and '/tmp/tmp0qr3c5bo/repository' = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_recreate_interrupt2>.repository_location
  361. ==> wheezy32:
  362. ==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1565: AssertionError
  363. ==> wheezy32: _______________ ArchiverTestCaseBinary.test_recreate_rechunkify ________________
  364. ==> wheezy32:
  365. ==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_recreate_rechunkify>
  366. ==> wheezy32:
  367. ==> wheezy32: def test_recreate_rechunkify(self):
  368. ==> wheezy32: with open(os.path.join(self.input_path, 'large_file'), 'wb') as fd:
  369. ==> wheezy32: fd.write(b'a' * 280)
  370. ==> wheezy32: fd.write(b'b' * 280)
  371. ==> wheezy32: self.cmd('init', self.repository_location)
  372. ==> wheezy32: self.cmd('create', '--chunker-params', '7,9,8,128', self.repository_location + '::test1', 'input')
  373. ==> wheezy32: self.cmd('create', self.repository_location + '::test2', 'input', '--no-files-cache')
  374. ==> wheezy32: list = self.cmd('list', self.repository_location + '::test1', 'input/large_file',
  375. ==> wheezy32: '--format', '{num_chunks} {unique_chunks}')
  376. ==> wheezy32: > num_chunks, unique_chunks = map(int, list.split(' '))
  377. ==> wheezy32: E ValueError: invalid literal for int() with base 10: 'ERROR:'
  378. ==> wheezy32:
  379. ==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1508: ValueError
  380. ==> wheezy32: _______________ ArchiverTestCaseBinary.test_recreate_recompress ________________
  381. ==> wheezy32:
  382. ==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_recreate_recompress>
  383. ==> wheezy32:
  384. ==> wheezy32: def test_recreate_recompress(self):
  385. ==> wheezy32: self.create_regular_file('compressible', size=10000)
  386. ==> wheezy32: self.cmd('init', self.repository_location)
  387. ==> wheezy32: self.cmd('create', self.repository_location + '::test', 'input', '-C', 'none')
  388. ==> wheezy32: file_list = self.cmd('list', self.repository_location + '::test', 'input/compressible',
  389. ==> wheezy32: '--format', '{size} {csize} {sha256}')
  390. ==> wheezy32: > size, csize, sha256_before = file_list.split(' ')
  391. ==> wheezy32: E ValueError: too many values to unpack (expected 3)
  392. ==> wheezy32:
  393. ==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1522: ValueError
  394. ==> wheezy32: ======= 16 failed, 643 passed, 121 skipped, 3 xpassed in 568.69 seconds ========
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement