[Pkg-bazaar-maint] Bug#962452: breezy: FTBFS: TypeError: argument of type 'method' is not iterable

Andreas Beckmann anbe at debian.org
Mon Jun 8 10:29:04 BST 2020


Source: breezy
Version: 3.1.0~bzr7509-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Hi,

breezy/experimental recently started to FTBFS with the following test
failure:

[...]
======================================================================
ERROR: breezy.git.tests.test_server.TestPlainFetch.test_fetch_from_native_git
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: log: {{{
3.228  preparing to commit
    INFO  Committing to: /tmp/testbzr-5_1hrbhm.tmp/breezy.git.tests.test_server.TestPlainFetch.test_fetch_from_native_git/work/t/
3.228  Selecting files for commit with filter None
    INFO  added foo
    INFO  Committed revision 1.
3.229  Committed revid b'git-v1:2fbc976b3c510f8c21454176243823a491749f4f' as revno 1.
3.232  client opens b'/': <breezy.transport.local.LocalTransport url=file:///tmp/testbzr-5_1hrbhm.tmp/breezy.git.tests.test_server.TestPlainFetch.test_fetch_from_native_git/work/t/>
3.237  Traceback (most recent call last):
  File "/usr/lib/python3.8/socketserver.py", line 316, in _handle_request_noblock
    self.process_request(request, client_address)
  File "/usr/lib/python3.8/socketserver.py", line 347, in process_request
    self.finish_request(request, client_address)
  File "/usr/lib/python3.8/socketserver.py", line 360, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python3/dist-packages/dulwich/server.py", line 1117, in _make_handler
    return TCPGitRequestHandler(self.handlers, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/dulwich/server.py", line 1097, in __init__
    socketserver.StreamRequestHandler.__init__(self, *args, **kwargs)
  File "/usr/lib/python3.8/socketserver.py", line 720, in __init__
    self.handle()
  File "/usr/lib/python3/dist-packages/dulwich/server.py", line 1108, in handle
    h.handle()
  File "/usr/lib/python3/dist-packages/dulwich/server.py", line 358, in handle
    objects_iter = self.repo.fetch_objects(
  File "/build/breezy-3.1.0~bzr7509/breezy/git/server.py", line 99, in fetch_objects
    return self.object_store.generate_pack_contents(
  File "/usr/lib/python3/dist-packages/dulwich/object_store.py", line 251, in generate_pack_contents
    missing = self.find_missing_objects(have, want, shallow, progress)
  File "/usr/lib/python3/dist-packages/dulwich/object_store.py", line 222, in find_missing_objects
    finder = MissingObjectFinder(self, haves, wants, shallow, progress,
  File "/usr/lib/python3/dist-packages/dulwich/object_store.py", line 1185, in __init__
    missing_commits, common_commits = object_store._collect_ancestors(
  File "/usr/lib/python3/dist-packages/dulwich/object_store.py", line 309, in _collect_ancestors
    if e in shallow:
TypeError: argument of type 'method' is not iterable

 WARNING  Exception happened during processing of request from ('127.0.0.1', 41356)
}}}

Traceback (most recent call last):
  File "/build/breezy-3.1.0~bzr7509/breezy/git/tests/test_server.py", line 68, in test_fetch_from_native_git
    result = c.fetch('/', gitrepo)
  File "/usr/lib/python3/dist-packages/dulwich/client.py", line 422, in fetch
    result = self.fetch_pack(
  File "/usr/lib/python3/dist-packages/dulwich/client.py", line 903, in fetch_pack
    self._handle_upload_pack_tail(
  File "/usr/lib/python3/dist-packages/dulwich/client.py", line 695, in _handle_upload_pack_tail
    pkt = proto.read_pkt_line()
  File "/usr/lib/python3/dist-packages/dulwich/protocol.py", line 208, in read_pkt_line
    raise HangupException()
dulwich.errors.HangupException: The remote server unexpectedly closed the connection.

----------------------------------------------------------------------
Ran 31603 tests in 345.732s

FAILED (errors=1, known_failure_count=68)
4453 tests skipped
failed to open trace file: [Errno 13] Permission denied: '/nonexistent'
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: breezy_3.1.0~bzr7509-1.log.gz
Type: application/gzip
Size: 349307 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-bazaar-maint/attachments/20200608/693e9191/attachment-0001.gz>


More information about the Pkg-bazaar-maint mailing list