-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
client tests spuriously segfault and or fail #1880
Comments
These tests are pretty quick that they don't really benefit from xdist. Plus not all of our tests are threadsafe (e.g. the ones that call locale.setlocale()), so if there's no real need for parallelization, let's skip it. Refs #1880.
I've been seeing a few
Which indicates that the background sync job was (improperly?) terminated at the end of the test run while it was in progress and that triggered the segfault. |
Nice one! I implemented some logic that may or may not be relevant on the wizard - basically connecting to the appwindow's finished signal, which is fired when the app is closed (although not when it's closed improperly in a crash) and killing in my case a QProcess not a QThread. securedrop-client/client/securedrop_client/gui/conversation/export/export_wizard.py Lines 65 to 67 in 2de3a3b
and securedrop-client/client/securedrop_client/export.py Lines 275 to 284 in 2de3a3b
|
These tests are pretty quick that they don't really benefit from xdist. Plus not all of our tests are threadsafe (e.g. the ones that call locale.setlocale()), so if there's no real need for parallelization, let's skip it. Refs #1880.
Description
A tracking issue to discuss and investigate that our client tests regularly flakily segfault and fail. The failures usually error similar to
RuntimeError: wrapped C/C++ object of type QPushButton has been deleted
.E.g.:
The text was updated successfully, but these errors were encountered: