Skip to content

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lsm5
Copy link
Member

@lsm5 lsm5 commented Jun 9, 2025

These tests break all the time on said environments.

Does this PR introduce a user-facing change?

None

@openshift-ci openshift-ci bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. release-note-none approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jun 9, 2025
Copy link

[NON-BLOCKING] Packit jobs failed. @containers/packit-build please check. Everyone else, feel free to ignore.

@lsm5 lsm5 changed the title System tests: skip checkpoint tests on Fedora/RHEL/CentOS Stream System tests: skip checkpoint tests on Fedora Rawhide/RHEL/CentOS Stream Jun 9, 2025
@lsm5 lsm5 marked this pull request as ready for review June 9, 2025 13:02
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 9, 2025
@lsm5 lsm5 force-pushed the rawhide-rhel-skip-checkpoint branch from 760f4d0 to 5c226fa Compare June 9, 2025 13:13
Copy link
Member

@giuseppe giuseppe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

openshift-ci bot commented Jun 9, 2025

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@lsm5
Copy link
Member Author

lsm5 commented Jun 9, 2025

weird it's failing on rawhide env but it passes on my local rawhide. trying on manual testing farm env...

@lsm5 lsm5 force-pushed the rawhide-rhel-skip-checkpoint branch 2 times, most recently from e4dce62 to b6cc817 Compare June 9, 2025 14:36
@lsm5
Copy link
Member Author

lsm5 commented Jun 9, 2025

/packit test

@lsm5 lsm5 force-pushed the rawhide-rhel-skip-checkpoint branch 2 times, most recently from 3d7065a to 706fe08 Compare June 9, 2025 18:06
@lsm5 lsm5 marked this pull request as draft June 9, 2025 18:17
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 9, 2025
@lsm5 lsm5 force-pushed the rawhide-rhel-skip-checkpoint branch from af47dba to 66d9d60 Compare June 9, 2025 19:57
These tests break all the time on said environments.

Signed-off-by: Lokesh Mandvekar <[email protected]>
@lsm5 lsm5 force-pushed the rawhide-rhel-skip-checkpoint branch from 66d9d60 to 78fe947 Compare June 9, 2025 20:09
@lsm5
Copy link
Member Author

lsm5 commented Jun 9, 2025

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 sys podman rawhide root host sqlite job. I'll check with the testing-farm folks

@Luap99
Copy link
Member

Luap99 commented Jun 10, 2025

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 sys podman rawhide root host sqlite job. I'll check with the testing-farm folks

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)

Comment on lines +11 to +13
# Often breaks on RHEL/CentOS Stream and Fedora Rawhide
skip_if_rhel_or_centos
skip_if_rawhide
Copy link
Member

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.

Comment on lines +736 to +748
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
}
Copy link
Member

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()?

@Luap99
Copy link
Member

Luap99 commented Jun 10, 2025

cc @timcoding1988

@lsm5
Copy link
Member Author

lsm5 commented Jun 12, 2025

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 sys podman rawhide root host sqlite job. I'll check with the testing-farm folks

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)

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. release-note-none
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants