-
Notifications
You must be signed in to change notification settings - Fork 2.7k
System tests: skip checkpoint tests on Fedora Rawhide/RHEL/CentOS Stream #26319
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
base: main
Are you sure you want to change the base?
Conversation
[NON-BLOCKING] Packit jobs failed. @containers/packit-build please check. Everyone else, feel free to ignore. |
760f4d0
to
5c226fa
Compare
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.
LGTM
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: giuseppe, lsm5 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
weird it's failing on rawhide env but it passes on my local rawhide. trying on manual testing farm env... |
e4dce62
to
b6cc817
Compare
/packit test |
3d7065a
to
706fe08
Compare
af47dba
to
66d9d60
Compare
These tests break all the time on said environments. Signed-off-by: Lokesh Mandvekar <[email protected]>
66d9d60
to
78fe947
Compare
Really weird why this would fail on testing-farm rawhide env in CI, when it works on my local rawhide, manually run testing-farm instance as well as in the cirrus |
It is failing on all rawhide systems AFAICT, if it isn't on yours I guess you are using an older kernel since criu is just broken with 6.16 (not sure what the issue on centos/RHEL is) |
# Often breaks on RHEL/CentOS Stream and Fedora Rawhide | ||
skip_if_rhel_or_centos | ||
skip_if_rawhide |
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.
This is fundamentally incorrect in my eyes.
First this should be tested on RHEL/centos in general, if this breaks there than this is highly concerning and there must be clear bug reports linked why it is skipped so QE people can unskip it once the issue is fixed. Otherwise we never catch new issues there which means they won't get fixed either.
As for rawhide there is only a single test case that fails so it should only skip that specific one.
function is_rhel_or_centos() { | ||
if find /etc/redhat-release && grep -Eiq "Red Hat Enterprise Linux|CentOS Stream" /etc/redhat-release; then | ||
return 0 | ||
fi | ||
return 1 | ||
} | ||
|
||
function is_rawhide() { | ||
if find /etc/fedora-release && grep -Eiq "Rawhide" /etc/fedora-release; then | ||
return 0 | ||
fi | ||
return 1 | ||
} |
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.
Should this be cached? Also hard coded to redhat/fedora-release seems unnecessary.
I would think the best way would be to parse /etc/os-release
and then safe ID and VERSION_ID fields like done in e2e tests, i.e. GetHostDistributionInfo()?
I meant the test skip was failing in CI too, not the test itself. Anyway, I'll rework this to only be for Fedora Rawhide as that's very annoying on main PRs. I'll do rhel/centos in a separate PR. |
These tests break all the time on said environments.
Does this PR introduce a user-facing change?