tests: add missing test cleanup#816
Conversation
OpenQA test summaryComplete test suite and dependencies: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2026060617-devel&flavor=pull-requests Test run included the following:
New failures, excluding unstableCompared to: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2026050504-devel&flavor=update
Failed tests22 failures
Fixed failuresCompared to: https://openqa.qubes-os.org/tests/176874#dependencies 22 fixed
Unstable testsDetails
Performance TestsPerformance degradation:20 performance degradations
Remaining performance tests:91 tests
|
|
PipelineRetry |
skip_kernel_validation_patch was not stopped, and keeps reference to some objects. This also requires setUp() being called consistently - fix this one in rpc_import tests.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #816 +/- ##
==========================================
- Coverage 70.42% 70.40% -0.02%
==========================================
Files 61 61
Lines 14112 14145 +33
==========================================
+ Hits 9938 9959 +21
- Misses 4174 4186 +12
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There is a code that drops references to Qubes* objects saved directly in test instance attributes already. But 274bb39 "Set deferred netvm for paused clients on shutdown" introduced also a list of such objects, which weren't cleaned up. Fix it by considering lists too - if first element is a qubes object, remove the whole list. Fixes: 274bb39 "Set deferred netvm for paused clients on shutdown"
skip_kernel_validation_patch was not stopped, and keeps reference to
some objects.