Skip to content

Commit

Permalink
test: skip checkpoint tests on rawhide
Browse files Browse the repository at this point in the history
With the new kernel 6.13 checkpoint seems to be completely broken
https://bugzilla.redhat.com/show_bug.cgi?id=2328985

As such we skip all checkpoint tests there.

Signed-off-by: Paul Holzinger <[email protected]>
  • Loading branch information
Luap99 committed Dec 5, 2024
1 parent 91a07b9 commit 6dd7450
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/e2e/checkpoint_image_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ var _ = Describe("Podman checkpoint", func() {

BeforeEach(func() {
SkipIfRootless("checkpoint not supported in rootless mode")
SkipOnOSVersion("fedora", "42", "checkpoint broken on new 6.13 rawhide kernel: https://bugzilla.redhat.com/show_bug.cgi?id=2328985")
// Check if the runtime implements checkpointing. Currently only
// runc's checkpoint/restore implementation is supported.
cmd := exec.Command(podmanTest.OCIRuntime, "checkpoint", "--help")
Expand Down
1 change: 1 addition & 0 deletions test/e2e/checkpoint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ var _ = Describe("Podman checkpoint", func() {

BeforeEach(func() {
SkipIfRootless("checkpoint not supported in rootless mode")
SkipOnOSVersion("fedora", "42", "checkpoint broken on new 6.13 rawhide kernel: https://bugzilla.redhat.com/show_bug.cgi?id=2328985")

// Check if the runtime implements checkpointing. Currently only
// runc's checkpoint/restore implementation is supported.
Expand Down
4 changes: 4 additions & 0 deletions test/system/520-checkpoint.bats
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ load helpers.network

CHECKED_ROOTLESS=
function setup() {
if grep -q ID=fedora /etc/os-release && grep -q VERSION_ID=42 /etc/os-release; then
skip "checkpoint broken on new 6.13 rawhide kernel: https://bugzilla.redhat.com/show_bug.cgi?id=2328985"
fi

# None of these tests work rootless....
if is_rootless; then
# ...however, is that a genuine cast-in-stone limitation, or one
Expand Down

0 comments on commit 6dd7450

Please sign in to comment.