Enforce test duration across reboots and restarts#4416
Open
Conversation
LecrisUT
approved these changes
Dec 11, 2025
vaibhavdaren
approved these changes
Dec 24, 2025
3d281a5 to
5974245
Compare
3d48646 to
834945d
Compare
therazix
approved these changes
Jan 6, 2026
psss
reviewed
Jan 12, 2026
Contributor
Author
|
Blocked on resolving the question of true meaning of Christmas^W |
Contributor
Author
|
/packit build |
Tests that triggered reboots and restarts were given their full duration on every invocation. This behavior is most likely incorrect, a duration should apply to the whole test, no matter how many times it reboots a guest. Patch adds `Duration` object which poses a strict deadline, derived from the test `duration` key. Unlike a timeout, it is not reset after guest reboot or test restart.
psss
approved these changes
Jan 22, 2026
therazix
approved these changes
Jan 22, 2026
Contributor
Author
|
Some reboot tests seem to be affected, although the reason why remains a mystery to me. Cannot waive the failures, fix needed. |
Contributor
Author
|
Blocked on #4519 - it's not an actual blocker, but this PR reveals the bug, so it makes sense to fit the bug first, then tests from this PR should pass. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tests that triggered reboots and restarts were given their full duration on every invocation. This behavior is most likely incorrect, a duration should apply to the whole test, no matter how many times it reboots a guest.
Patch adds
Durationobject which poses a strict deadline, derived from the testdurationkey. Unlike a timeout, it is not reset after guest reboot or test restart.Pull Request Checklist