Source: breezy
Version: 3.3.10-1
Severity: serious
Tags: ftbfs
Justification: ftbfs
X-Debbugs-CC: s...@lists.debian.org
User: s...@lists.debian.org
Usertags: s390x

Hi,

The recent upload of breezy fails to build on s390x buildds (5 times already).

Paul

https://buildd.debian.org/status/fetch.php?pkg=breezy&arch=s390x&ver=3.3.11-1&stamp=1746461116&raw=0

======================================================================
ERROR: breezy.plugins.upload.tests.test_upload.TestUploadFromRemoteBranch.test_upload_without_working_tree(SFTPTransport,SFTPAbsoluteServer)
----------------------------------------------------------------------
testtools.testresult.real._StringException: log: {{{
806.767 creating repository in file:///tmp/testbzr-w8_nsa0q.tmp/breezy.plugins.upload.tests.test_upload.TestUploadFromRemoteBranch.test_upload_without_working_tree%28SFTPTransport%2CSFTPAbsoluteServer%29/work/branch/.bzr/. 806.769 creating branch <breezy.bzr.branch.BzrBranchFormat7 object at 0x3ff32f518b0> in file:///tmp/testbzr-w8_nsa0q.tmp/breezy.plugins.upload.tests.test_upload.TestUploadFromRemoteBranch.test_upload_without_working_tree%28SFTPTransport%2CSFTPAbsoluteServer%29/work/branch/ 806.772 trying to create missing lock '/tmp/testbzr-w8_nsa0q.tmp/breezy.plugins.upload.tests.test_upload.TestUploadFromRemoteBranch.test_upload_without_working_tree(SFTPTransport,SFTPAbsoluteServer)/work/branch/.bzr/checkout/dirstate' 806.772 opening working tree '/tmp/testbzr-w8_nsa0q.tmp/breezy.plugins.upload.tests.test_upload.TestUploadFromRemoteBranch.test_upload_without_working_tree(SFTPTransport,SFTPAbsoluteServer)/work/branch'
806.776  preparing to commit
INFO Committing to: /tmp/testbzr-w8_nsa0q.tmp/breezy.plugins.upload.tests.test_upload.TestUploadFromRemoteBranch.test_upload_without_working_tree(SFTPTransport,SFTPAbsoluteServer)/work/branch/
806.776  Selecting files for commit with filter None
    INFO  Committed revision 1.
806.780 Committed revid b'jran...@example.com-20250505142513-c1myn4ue2jst9pbx' as revno 1.
806.784  preparing to commit
INFO Committing to: /tmp/testbzr-w8_nsa0q.tmp/breezy.plugins.upload.tests.test_upload.TestUploadFromRemoteBranch.test_upload_without_working_tree(SFTPTransport,SFTPAbsoluteServer)/work/branch/
806.785  Selecting files for commit with filter None
    INFO  added hello
    INFO  Committed revision 2.
806.789 Committed revid b'jran...@example.com-20250505142513-o24pbivz0rf0k2u1' as revno 2. 806.790 run brz: ['push', 'sftp://foo:bar@127.0.0.1:56633/tmp/testbzr-w8_nsa0q.tmp/breezy.plugins.upload.tests.test_upload.TestUploadFromRemoteBranch.test_upload_without_working_tree%28SFTPTransport%2CSFTPAbsoluteServer%29/work/remote_branch', '--directory', 'branch']
806.790  breezy version: 3.3.11
806.790 brz arguments: ['push', 'sftp://foo:bar@127.0.0.1:56633/tmp/testbzr-w8_nsa0q.tmp/breezy.plugins.upload.tests.test_upload.TestUploadFromRemoteBranch.test_upload_without_working_tree%28SFTPTransport%2CSFTPAbsoluteServer%29/work/remote_branch', '--directory', 'branch'] 806.792 opening working tree '/tmp/testbzr-w8_nsa0q.tmp/breezy.plugins.upload.tests.test_upload.TestUploadFromRemoteBranch.test_upload_without_working_tree(SFTPTransport,SFTPAbsoluteServer)/work/branch' 806.796 opening working tree '/tmp/testbzr-w8_nsa0q.tmp/breezy.plugins.upload.tests.test_upload.TestUploadFromRemoteBranch.test_upload_without_working_tree(SFTPTransport,SFTPAbsoluteServer)/work/branch' 806.804 creating repository in sftp://foo@127.0.0.1:56633/tmp/testbzr-w8_nsa0q.tmp/breezy.plugins.upload.tests.test_upload.TestUploadFromRemoteBranch.test_upload_without_working_tree%28SFTPTransport%2CSFTPAbsoluteServer%29/work/remote_branch/.bzr/. 806.809 Using fetch logic to copy between CHKInventoryRepository('file:///tmp/testbzr-w8_nsa0q.tmp/breezy.plugins.upload.tests.test_upload.TestUploadFromRemoteBranch.test_upload_without_working_tree%28SFTPTransport%2CSFTPAbsoluteServer%29/work/branch/.bzr/repository/')(RepositoryFormat2a()) and CHKInventoryRepository('sftp://foo@127.0.0.1:56633/tmp/testbzr-w8_nsa0q.tmp/breezy.plugins.upload.tests.test_upload.TestUploadFromRemoteBranch.test_upload_without_working_tree%28SFTPTransport%2CSFTPAbsoluteServer%29/work/remote_branch/.bzr/repository/')(RepositoryFormat2a()) 806.809 fetching: <PendingAncestryResult heads:frozenset({b'jran...@example.com-20250505142513-o24pbivz0rf0k2u1'}) repo:CHKInventoryRepository('file:///tmp/testbzr-w8_nsa0q.tmp/breezy.plugins.upload.tests.test_upload.TestUploadFromRemoteBranch.test_upload_without_working_tree%28SFTPTransport%2CSFTPAbsoluteServer%29/work/branch/.bzr/repository/')> 806.818 creating branch <breezy.bzr.branch.BzrBranchFormat7 object at 0x3ff33851310> in sftp://foo@127.0.0.1:56633/tmp/testbzr-w8_nsa0q.tmp/breezy.plugins.upload.tests.test_upload.TestUploadFromRemoteBranch.test_upload_without_working_tree%28SFTPTransport%2CSFTPAbsoluteServer%29/work/remote_branch/
    INFO  Created new branch.
806.830  errors:
'Created new branch.\n'
}}}

Traceback (most recent call last):
File "/build/reproducible-path/breezy-3.3.11/breezy/bzr/chk_map.py", line 182, in _read_bytes
    return _get_cache()[key]
           ~~~~~~~~~~~~^^^^^
File "/build/reproducible-path/breezy-3.3.11/breezy/lru_cache.py", line 61, in __getitem__
    node = cache[key]
           ~~~~~^^^^^
KeyError: (b'sha1:c069bd9709b8be0e3502128605dd858870d3af8b',)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/build/reproducible-path/breezy-3.3.11/breezy/bzr/groupcompress.py", line 1525, in _get_blocks
    yield read_memo, cached[read_memo]
                     ~~~~~~^^^^^^^^^^^
KeyError: (<breezy.bzr.btree_index.BTreeGraphIndex object at 0x3ff33925470>, 934, 133)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/build/reproducible-path/breezy-3.3.11/breezy/plugins/upload/tests/test_upload.py", line 790, in test_upload_without_working_tree
    self.do_full_upload(directory=self.remote_branch_url)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/build/reproducible-path/breezy-3.3.11/breezy/plugins/upload/tests/test_upload.py", line 208, in do_full_upload
    upload.run(up_url, *args, **kwargs)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/build/reproducible-path/breezy-3.3.11/breezy/commands.py", line 816, in run
    return class_run(*args, **kwargs)
File "/build/reproducible-path/breezy-3.3.11/breezy/plugins/upload/cmds.py", line 587, in run
    uploader.upload_full_tree()
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/build/reproducible-path/breezy-3.3.11/breezy/plugins/upload/cmds.py", line 324, in upload_full_tree
    for relpath, ie in self.tree.iter_entries_by_dir():
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/build/reproducible-path/breezy-3.3.11/breezy/bzr/inventorytree.py", line 323, in iter_entries
    for p, e in inv.iter_entries_by_dir(
                ~~~~~~~~~~~~~~~~~~~~~~~^
        specific_file_ids=inventory_file_ids
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ):
    ^
File "/build/reproducible-path/breezy-3.3.11/breezy/bzr/inventory.py", line 805, in iter_entries_by_dir
    self._preload_cache()
    ~~~~~~~~~~~~~~~~~~~^^
File "/build/reproducible-path/breezy-3.3.11/breezy/bzr/inventory.py", line 2195, in _preload_cache
    pid_items = self.parent_id_basename_to_file_id.iteritems()
File "/build/reproducible-path/breezy-3.3.11/breezy/bzr/chk_map.py", line 566, in iteritems
    self._ensure_root()
    ~~~~~~~~~~~~~~~~~^^
File "/build/reproducible-path/breezy-3.3.11/breezy/bzr/chk_map.py", line 162, in _ensure_root
    self._root_node = self._get_node(self._root_node)
                      ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/build/reproducible-path/breezy-3.3.11/breezy/bzr/chk_map.py", line 175, in _get_node
    bytes = self._read_bytes(node)
File "/build/reproducible-path/breezy-3.3.11/breezy/bzr/chk_map.py", line 185, in _read_bytes
    bytes = next(stream).get_bytes_as("fulltext")
            ~~~~^^^^^^^^
File "/build/reproducible-path/breezy-3.3.11/breezy/bzr/groupcompress.py", line 1570, in get_record_stream
    for content_factory in self._get_remaining_record_stream(
                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        keys, orig_keys, ordering, include_delta_closure
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ):
    ^
File "/build/reproducible-path/breezy-3.3.11/breezy/bzr/groupcompress.py", line 1736, in _get_remaining_record_stream
    yield from batcher.yield_factories(full_flush=True)
File "/build/reproducible-path/breezy-3.3.11/breezy/bzr/groupcompress.py", line 1244, in yield_factories
    block_read_memo, block = next(blocks)
                             ~~~~^^^^^^^^
File "/build/reproducible-path/breezy-3.3.11/breezy/bzr/groupcompress.py", line 1528, in _get_blocks
    zdata = next(raw_records)
File "/build/reproducible-path/breezy-3.3.11/breezy/bzr/pack_repo.py", line 2277, in get_raw_records
    for _names, read_func in reader.iter_records():
                             ~~~~~~~~~~~~~~~~~~~^^
File "/build/reproducible-path/breezy-3.3.11/breezy/bzr/pack.py", line 320, in iter_records
    self._read_format()
    ~~~~~~~~~~~~~~~~~^^
File "/build/reproducible-path/breezy-3.3.11/breezy/bzr/pack.py", line 364, in _read_format
    format = self._read_line()
File "/build/reproducible-path/breezy-3.3.11/breezy/bzr/pack.py", line 288, in _read_line
    line = self._source.readline()
File "/build/reproducible-path/breezy-3.3.11/breezy/bzr/pack.py", line 252, in readline
    self._next()
    ~~~~~~~~~~^^
File "/build/reproducible-path/breezy-3.3.11/breezy/bzr/pack.py", line 236, in _next
    offset, data = next(self.readv_result)
                   ~~~~^^^^^^^^^^^^^^^^^^^
File "/build/reproducible-path/breezy-3.3.11/breezy/transport/sftp.py", line 186, in request_and_yield_offsets
    for (start, length), data in zip(requests, data_stream):
                                 ~~~^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/paramiko/sftp_file.py", line 527, in readv
    yield self.read(x[1])
          ~~~~~~~~~^^^^^^
  File "/usr/lib/python3/dist-packages/paramiko/file.py", line 203, in read
    new_data = self._read(read_size)
File "/usr/lib/python3/dist-packages/paramiko/sftp_file.py", line 182, in _read
    data = self._read_prefetch(size)
File "/usr/lib/python3/dist-packages/paramiko/sftp_file.py", line 162, in _read_prefetch
    self.sftp._read_response()
    ~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/paramiko/sftp_client.py", line 887, in _read_response
    t, data = self._read_packet()
              ~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/paramiko/sftp.py", line 212, in _read_packet
    x = self._read_all(4)
File "/usr/lib/python3/dist-packages/paramiko/sftp.py", line 196, in _read_all
    x = self.sock.recv(n)
File "/build/reproducible-path/breezy-3.3.11/breezy/transport/ssh.py", line 193, in recv
    return self.__socket.recv(n)
           ~~~~~~~~~~~~~~~~~~^^^
File "/build/reproducible-path/breezy-3.3.11/breezy/tests/fixtures.py", line 162, in signal_handler
    raise TimeoutException(self.timeout_secs)
breezy.tests.fixtures.TimeoutException: 6000

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to