[Pkg-bazaar-maint] Bug#972682: breezy fails tests (already with Python 3.8, not yet tested with 3.9)

Matthias Klose doko at debian.org
Thu Oct 22 14:14:29 BST 2020


Package: src:breezy
Version: 3.1.0-5
Severity: serious
Tags: sid bullseye
User: debian-python at lists.debian.org
Usertags: python3.9

breezy fails tests (already with Python 3.8, not yet tested with 3.9)

[...]
======================================================================
ERROR: breezy.git.tests.test_remote.ParseHangupTests.test_filter_boring
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Empty attachments:
  log

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/breezy/git/tests/test_remote.py", line 154, in setUp
    HangupException(['foo'])
  File "/usr/lib/python3/dist-packages/dulwich/errors.py", line 146, in __init__
    [line.decode('utf-8', 'surrogateescape')
  File "/usr/lib/python3/dist-packages/dulwich/errors.py", line 146, in <listcomp>
    [line.decode('utf-8', 'surrogateescape')
AttributeError: 'str' object has no attribute 'decode'

======================================================================
ERROR: breezy.git.tests.test_remote.ParseHangupTests.test_multi_lines
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Empty attachments:
  log

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/breezy/git/tests/test_remote.py", line 154, in setUp
    HangupException(['foo'])
  File "/usr/lib/python3/dist-packages/dulwich/errors.py", line 146, in __init__
    [line.decode('utf-8', 'surrogateescape')
  File "/usr/lib/python3/dist-packages/dulwich/errors.py", line 146, in <listcomp>
    [line.decode('utf-8', 'surrogateescape')
AttributeError: 'str' object has no attribute 'decode'

======================================================================
ERROR: breezy.git.tests.test_remote.ParseHangupTests.test_not_set
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Empty attachments:
  log

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/breezy/git/tests/test_remote.py", line 154, in setUp
    HangupException(['foo'])
  File "/usr/lib/python3/dist-packages/dulwich/errors.py", line 146, in __init__
    [line.decode('utf-8', 'surrogateescape')
  File "/usr/lib/python3/dist-packages/dulwich/errors.py", line 146, in <listcomp>
    [line.decode('utf-8', 'surrogateescape')
AttributeError: 'str' object has no attribute 'decode'

======================================================================
ERROR: breezy.git.tests.test_remote.ParseHangupTests.test_permission_denied
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Empty attachments:
  log

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/breezy/git/tests/test_remote.py", line 154, in setUp
    HangupException(['foo'])
  File "/usr/lib/python3/dist-packages/dulwich/errors.py", line 146, in __init__
    [line.decode('utf-8', 'surrogateescape')
  File "/usr/lib/python3/dist-packages/dulwich/errors.py", line 146, in <listcomp>
    [line.decode('utf-8', 'surrogateescape')
AttributeError: 'str' object has no attribute 'decode'

======================================================================
ERROR: breezy.git.tests.test_remote.ParseHangupTests.test_single_line
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Empty attachments:
  log

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/breezy/git/tests/test_remote.py", line 154, in setUp
    HangupException(['foo'])
  File "/usr/lib/python3/dist-packages/dulwich/errors.py", line 146, in __init__
    [line.decode('utf-8', 'surrogateescape')
  File "/usr/lib/python3/dist-packages/dulwich/errors.py", line 146, in <listcomp>
    [line.decode('utf-8', 'surrogateescape')
AttributeError: 'str' object has no attribute 'decode'

----------------------------------------------------------------------
Ran 31584 tests in 1955.670s

FAILED (errors=5, known_failure_count=68)
2061 tests skipped
Missing feature 'Filesystem treats '\' as a directory separator.' skipped 5 tests.
Missing feature 'Missing tdb' skipped 6 tests.
Missing feature '_winreg' skipped 3 tests.
Missing feature 'apport.report' skipped 1 tests.
Missing feature 'attrib Windows command-line tool' skipped 1 tests.
Missing feature 'breezy._annotator_pyx' skipped 1 tests.
Missing feature 'breezy._bencode_pyx' skipped 1 tests.
Missing feature 'breezy._chunks_to_lines_pyx' skipped 1 tests.
Missing feature 'breezy._readdir_pyx' skipped 2 tests.
Missing feature 'breezy._rio_pyx' skipped 1 tests.
Missing feature 'breezy._simple_set_pyx' skipped 14 tests.
Missing feature 'breezy._static_tuple_c' skipped 1 tests.
Missing feature 'breezy._walkdirs_win32' skipped 11 tests.
Missing feature 'breezy.bzr._btree_serializer_pyx' skipped 23 tests.
Missing feature 'breezy.bzr._chk_map_pyx' skipped 1 tests.
Missing feature 'breezy.bzr._dirstate_helpers_pyx' skipped 104 tests.
Missing feature 'breezy.bzr._groupcompress_pyx' skipped 15 tests.
Missing feature 'breezy.bzr._knit_load_data_pyx' skipped 27 tests.
Missing feature 'case-insensitive case-preserving filesystem' skipped 20 tests.
Missing feature 'case-insensitive filesystem' skipped 1 tests.
Missing feature 'flake8.api.legacy' skipped 1 tests.
Missing feature 'git executable' skipped 27 tests.
Missing feature 'gpg' skipped 12 tests.
Missing feature 'meliae.scanner' skipped 3 tests.
Missing feature 'pywintypes' skipped 2 tests.
Missing feature 'quilt executable' skipped 21 tests.
Missing feature 'win32 platform' skipped 15 tests.
breezy.tests.test_test_server.TestTCPServerInAThread.test_server_fails_while_serving_or_stopping(TestingThreadingTCPServer)
is leaking threads among 1 leaking tests.
1 non-main threads were left active in the end.
/<<PKGBUILDDIR>>/breezy/bzr/smart/server.py:270: DeprecationWarning: isAlive()
is deprecated, use is_alive() instead
  if thread.isAlive():
brz: warning: some compiled extensions could not be loaded; see ``brz help
missing-extensions``
make[1]: *** [debian/rules:23: override_dh_auto_test] Error 1



More information about the Pkg-bazaar-maint mailing list