Skip to content

flaky "tests/test_repo.py::test_ssh_dialog" in 0.8.3 #1258

Description

@sten0

Hi,

In the interest of helping to prepare for 0.8.4, I thought I'd mention this flaky test (if you think it's fixed in HEAD, please let me know, and I'll upload to Debian experimental to gain the benefit of early CI). I'm reporting it in case it's something Vorta can and should work around.

…
tests/test_repo.py::test_repo_add_success PASSED
tests/test_repo.py::test_ssh_dialog Exceptions caught in Qt event loop:
________________________________________________________________________________
Traceback (most recent call last):
  File "/build/vorta-0.8.3/.pybuild/cpython3_3.9_vorta/build/vorta/views/archive_tab.py", line 262, in list_result
    self.populate_from_profile()
  File "/build/vorta-0.8.3/.pybuild/cpython3_3.9_vorta/build/vorta/views/archive_tab.py", line 141, in populate_from_profile
    profile = self.profile()
  File "/build/vorta-0.8.3/.pybuild/cpython3_3.9_vorta/build/vorta/store/models.py", line 188, in profile
    return BackupProfileModel.get(id=self.window().current_profile.id)
AttributeError: 'QWidget' object has no attribute 'current_profile'
________________________________________________________________________________
ERROR
tests/test_repo.py::test_create PASSED
…
tests/network_manager/test_network_manager.py::test_decode_ssid[ssid_bytes2-\\x00\\x01\\x02\\n"'] PASSED

==================================== ERRORS ====================================
______________________ ERROR at setup of test_ssh_dialog _______________________
SETUP ERROR: Exceptions caught in Qt event loop:
________________________________________________________________________________
Traceback (most recent call last):
  File "/build/vorta-0.8.3/.pybuild/cpython3_3.9_vorta/build/vorta/views/archive_tab.py", line 262, in list_result
    self.populate_from_profile()
  File "/build/vorta-0.8.3/.pybuild/cpython3_3.9_vorta/build/vorta/views/archive_tab.py", line 141, in populate_from_profile
    profile = self.profile()
  File "/build/vorta-0.8.3/.pybuild/cpython3_3.9_vorta/build/vorta/store/models.py", line 188, in profile
    return BackupProfileModel.get(id=self.window().current_profile.id)
AttributeError: 'QWidget' object has no attribute 'current_profile'
________________________________________________________________________________
=========================== short test summary info ============================
ERROR tests/test_repo.py::test_ssh_dialog
========================= 68 passed, 1 error in 52.07s =========================
…

https://tests.reproducible-builds.org/debian/rbuild/bookworm/amd64/vorta_0.8.3-1.rbuild.log.gz

Kind regards,
Nicholas

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueSimple change to start learning code basehelp wantedThis issue is available, comment if you want to fix ittype:taskA TODO

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions