[Pkg-bazaar-maint] Bug#877413: bzr-git: FTBFS and Debci failure with python-dulwich >= 0.18.3

Adrian Bunk bunk at debian.org
Sun Oct 1 15:02:00 UTC 2017


Source: bzr-git
Version: 0.6.13-2
Severity: serious
Tags: buster sid

https://ci.debian.net/packages/b/bzr-git/unstable/amd64/
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/bzr-git.html

...
======================================================================
ERROR: bzrlib.plugins.git.tests.test_transportgit.TransportObjectStoreTests.test_repack
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Empty attachments:
  log

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/dulwich/tests/test_object_store.py", line 298, in test_repack
    self.assertEqual(6, self.store.repack())
  File "/usr/lib/python2.7/dist-packages/dulwich/object_store.py", line 377, in repack
    self._remove_pack(pack)
  File "/usr/lib/python2.7/dist-packages/dulwich/object_store.py", line 337, in _remove_pack
    raise NotImplementedError(self._remove_pack)
NotImplementedError: <bound method TransportObjectStore._remove_pack of TransportObjectStore(<bzrlib.transport.local.LocalTransport url=file:///tmp/testbzr-7HZtQG.tmp/bzrlib.plugins.git.tests.test_transportgit.TransportObjectStoreTests.test_repack/work/>)>

======================================================================
ERROR: bzrlib.plugins.git.tests.test_transportgit.TransportObjectStoreTests.test_repack_existing
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Empty attachments:
  log

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/dulwich/tests/test_object_store.py", line 311, in test_repack_existing
    self.assertEqual(2, self.store.repack())
  File "/usr/lib/python2.7/dist-packages/dulwich/object_store.py", line 377, in repack
    self._remove_pack(pack)
  File "/usr/lib/python2.7/dist-packages/dulwich/object_store.py", line 337, in _remove_pack
    raise NotImplementedError(self._remove_pack)
NotImplementedError: <bound method TransportObjectStore._remove_pack of TransportObjectStore(<bzrlib.transport.local.LocalTransport url=file:///tmp/testbzr-pZ3d3f.tmp/bzrlib.plugins.git.tests.test_transportgit.TransportObjectStoreTests.test_repack_existing/work/>)>

======================================================================
FAIL: bzrlib.plugins.git.tests.test_blackbox.TestGitBlackBox.test_diff_format
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: log: {{{
0.684  creating repository in file:///tmp/testbzr-CQDCBu.tmp/.bzr/.
0.689  creating branch <bzrlib.branch.BzrBranchFormat7 object at 0x7ffbb4a22850> in file:///tmp/testbzr-CQDCBu.tmp/
0.705  trying to create missing lock '/tmp/testbzr-CQDCBu.tmp/.bzr/checkout/dirstate'
0.706  opening working tree '/tmp/testbzr-CQDCBu.tmp'
0.724  creating repository in file:///tmp/testbzr-CQDCBu.tmp/bzrlib.plugins.git.tests.test_blackbox.TestGitBlackBox.test_diff_format/work/.bzr/.
0.727  creating branch <bzrlib.branch.BzrBranchFormat7 object at 0x7ffbb06b9ad0> in file:///tmp/testbzr-CQDCBu.tmp/bzrlib.plugins.git.tests.test_blackbox.TestGitBlackBox.test_diff_format/work/
0.741  trying to create missing lock '/tmp/testbzr-CQDCBu.tmp/bzrlib.plugins.git.tests.test_blackbox.TestGitBlackBox.test_diff_format/work/.bzr/checkout/dirstate'
0.742  opening working tree '/tmp/testbzr-CQDCBu.tmp/bzrlib.plugins.git.tests.test_blackbox.TestGitBlackBox.test_diff_format/work'
0.755  run bzr: ['diff', '--format=git']
0.756  bazaar version: 2.8.0dev1
0.756  bzr arguments: [u'diff', u'--format=git']
0.764  encoding stdout as sys.stdout encoding 'ascii'
0.768  opening working tree '/tmp/testbzr-CQDCBu.tmp/bzrlib.plugins.git.tests.test_blackbox.TestGitBlackBox.test_diff_format/work'
0.775  output:
'diff --git /dev/null b/a\nold mode 0\nnew mode 100644\nindex 0000000..c197bd8 100644\n--- /dev/null\n+++ b/a\n@@ -0,0 +1 @@\n+contents of a\n'
}}}

Traceback (most recent call last):
  File "/build/1st/bzr-git-0.6.13/tests/test_blackbox.py", line 171, in test_diff_format
    'diff --git /dev/null b/a\n'
  File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 1370, in assertEqual
    pprint.pformat(a), pprint.pformat(b)))
AssertionError: not equal:
a = 'diff --git /dev/null b/a\nold mode 0\nnew mode 100644\nindex 0000000..c197bd8 100644\n--- /dev/null\n+++ b/a\n@@ -0,0 +1 @@\n+contents of a\n'
b = 'diff --git /dev/null b/a\nold mode 0\nnew mode 100644\nindex 0000000..c197bd8 100644\n--- /dev/null\n+++ b/a\n@@ -1,0 +1,1 @@\n+contents of a\n'

----------------------------------------------------------------------
Ran 249 tests in 1.472s

FAILED (failures=1, errors=2, known_failure_count=1)
1 test skipped
debian/rules:16: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1



More information about the Pkg-bazaar-maint mailing list