From 6dd7450082f6bfde9e0b9a2827ce8fd5b6c15ed6 Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Thu, 5 Dec 2024 15:40:29 +0100 Subject: [PATCH] test: skip checkpoint tests on rawhide 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 --- test/e2e/checkpoint_image_test.go | 1 + test/e2e/checkpoint_test.go | 1 + test/system/520-checkpoint.bats | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/test/e2e/checkpoint_image_test.go b/test/e2e/checkpoint_image_test.go index 2481e2226e..326c738100 100644 --- a/test/e2e/checkpoint_image_test.go +++ b/test/e2e/checkpoint_image_test.go @@ -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") diff --git a/test/e2e/checkpoint_test.go b/test/e2e/checkpoint_test.go index e6abe28d23..a1d6292019 100644 --- a/test/e2e/checkpoint_test.go +++ b/test/e2e/checkpoint_test.go @@ -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. diff --git a/test/system/520-checkpoint.bats b/test/system/520-checkpoint.bats index 22b834867e..aafb1c75d4 100644 --- a/test/system/520-checkpoint.bats +++ b/test/system/520-checkpoint.bats @@ -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