Bug#976134: vorta: flaky autopkgtest
Source: vorta
Version: 0.7.1-2
Severity: serious
X-Debbugs-CC: debian-ci@lists.debian.org
User: debian-ci@lists.debian.org
Usertags: flaky
Hi Maintainer
The autopkgtests of vorta are failing often. Two of the failures
[1][2] seem to be a time out, but there may be other problems as well.
I've copied what I hope is the relevant part of these logs below.
Regards
Graham
[1] https://ci.debian.net/data/autopkgtest/testing/arm64/v/vorta/8520699/log.gz
[2] https://ci.debian.net/data/autopkgtest/testing/i386/v/vorta/8521042/log.gz
=================================== FAILURES ===================================
_____________________________ test_archive_extract _____________________________
qapp = <vorta.application.VortaApp object at 0xffffb4d8eca0>
qtbot = <pytestqt.qtbot.QtBot object at 0xffffb4d1d430>
mocker = <pytest_mock.MockFixture object at 0xffffb4d400d0>
borg_json_output = <function borg_json_output.<locals>._read_json at
0xffffb4c3cc10>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xffffaf6a7a90>
def test_archive_extract(qapp, qtbot, mocker, borg_json_output,
monkeypatch):
main = qapp.main_window
tab = main.archiveTab
main.tabWidget.setCurrentIndex(3)
tab.populate_from_profile()
qtbot.waitUntil(lambda: tab.archiveTable.rowCount() == 2)
monkeypatch.setattr(
vorta.views.extract_dialog.ExtractDialog, "exec_", lambda
*args: True
)
tab.archiveTable.selectRow(0)
stdout, stderr = borg_json_output('list_archive')
popen_result = mocker.MagicMock(stdout=stdout, stderr=stderr,
returncode=0)
mocker.patch.object(vorta.borg.borg_thread, 'Popen',
return_value=popen_result)
qtbot.mouseClick(tab.extractButton, QtCore.Qt.LeftButton)
> qtbot.waitUntil(lambda: hasattr(tab, '_window'), timeout=10000)
E AssertionError: waitUntil timed out in 10000 miliseconds
tests/test_archives.py:129: AssertionError
Reply to: