-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Skip checkpoint/restore tests on Fedora for now #2461
Conversation
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adrianreber, vrothberg 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 |
LGTM |
I've been playing with the tests suite and the checkpoint/restore tests. It would be nice to keep a whitelist of OCI runtimes that support the feature. It is not part of the OCI specs, although runc supports it. |
@giuseppe Maybe this is something we can add to libpod.conf - whether a given runtime includes support for non-standard features like checkpoint/restore? |
@giuseppe good point. Not sure how it could look like. Something like |
There is currently still one SELinux related checkpoint/restore problem: containers#2334 To avoid unnecessary CI failures the checkpoint/restore tests are temporarily disabled on Fedora. It is not necessary to disable the tests on Ubuntu as it is running without SELinux and it is also not necessary to disable the RHEL 7 tests as RHEL's CRIU is too old to run the checkpoint/restore tests at all. Signed-off-by: Adrian Reber <[email protected]>
(this should also help with #1936 ) |
That's an odd test to fail on only Ubuntu Output shows:
Looking at test code... |
(code I really can't understand how that could fail, the test before it passed fine. Unless (somehow) one of those |
I think for the tests we could simply do something like:
if it fails then the OCI runtime doesn't support checkpoint/restore |
Also works fine - I'd be fine doing that probe to check runtime capabilities |
@adrianreber okay, looks like the test-failure is a race condition. I learned that others are seeing it as well. Pretty sure #2481 (or similar) should address it. Until that merges, we can just smash the re-test button until it passes 😕 |
There...tests all green now. |
Code LGTM |
/lgtm |
There is currently still one SELinux related checkpoint/restore problem:
#2334
To avoid unnecessary CI failures the checkpoint/restore tests are
temporarily disabled on Fedora.
It is not necessary to disable the tests on Ubuntu as it is running
without SELinux and it is also not necessary to disable the RHEL 7 tests
as RHEL's CRIU is too old to run the checkpoint/restore tests at all.
Signed-off-by: Adrian Reber [email protected]