-
-
Notifications
You must be signed in to change notification settings - Fork 116
Fix multiple issues with preload tests #715
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #715 +/- ##
==========================================
- Coverage 70.56% 70.50% -0.06%
==========================================
Files 61 61
Lines 13604 13604
==========================================
- Hits 9599 9591 -8
- Misses 4005 4013 +8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
A full run with Debian
|
If these changes are not enough, I will make logging similar to the disposable integration test, in other words, a lot of logging. |
OpenQA test summaryComplete test suite and dependencies: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2025082411-4.3&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=2025081011-4.3&flavor=update
Failed tests13 failures
Fixed failuresCompared to: https://openqa.qubes-os.org/tests/149225#dependencies 72 fixed
Unstable testsPerformance TestsPerformance degradation:19 performance degradations
Remaining performance tests:155 tests
|
52ad91f
to
ef42f07
Compare
ef42f07
to
c46d62d
Compare
|
The other |
If the system is still starting, slow services may delay the shutdown beyond the default timeout, making the test fail. For: QubesOS/qubes-issues#1512
c46d62d
to
1201890
Compare
Refresh issue of hanging because of dovecot possibly fixed on 1201890 The other issues appear to be because of the threshold set by the installer. |
4e322e7
to
e7e3146
Compare
e7e3146
to
0d587ad
Compare
OpenQA seems happy: |
tests/dispvm_perf.py
Outdated
if orig_preload_max != 0 and self.app.default_dispvm: | ||
asyncio.run( | ||
self.wait_preload( | ||
orig_preload_max, appvm=self.app.default_dispvm | ||
) | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You remove this part few commits later anyway, so 0618ff6 is not needed, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, rebased and removed unecessary commits.
tests/dispvm_perf.py
Outdated
f'max_concurrency="{MAX_CONCURRENCY}"; ' | ||
f"for i in $(seq {self.iterations}); do " | ||
f" out=$({cmd}) {term}" | ||
' echo "$i"' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, added to the same commit now.
Because it is set by the installer and may also be set by the user, it is important to not let the tests be affected by the global preload. Setting the global preload again will not preload, as qubesd is not running. For: QubesOS/qubes-issues#1512
e7e6deb
to
320a68a
Compare
9674971
to
1938e06
Compare
1938e06
to
d280511
Compare
For: QubesOS/qubes-issues#1512
For: #708
tearDown()
anymorefinally
clause, we already have the test configuration so it is easier to consider different factors for different delays, customizing to sleep less when possible and more when neededCurrently running with 16GB of RAM the full test suite for Debian.