Skip to content

Commit

Permalink
test: Skip more LUKS tests on rhel-8-10
Browse files Browse the repository at this point in the history
RHEL 8.10's cryptsetup uses too much memory
(https://issues.redhat.com/browse/RHEL-8258). So the LUKS tests are too
flaky in RHEL 8. Skip them, like in check-storage-resize.
  • Loading branch information
martinpitt committed Oct 28, 2024
1 parent fdb0070 commit d455f3e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/verify/check-storage-luks
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def console_screenshot(machine, name):


@testlib.nondestructive
@testlib.skipImage("cryptsetup uses too much memory, OOM on our test VMs", "rhel-8-*")
class TestStorageLuks(storagelib.StorageCase):

def testLuks(self):
Expand Down
1 change: 1 addition & 0 deletions test/verify/check-storage-mounting
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ ExecStart=/usr/bin/sleep infinity


@testlib.nondestructive
@testlib.skipImage("cryptsetup uses too much memory, OOM on our test VMs", "rhel-8-*")
class TestStorageMountingLUKS(storagelib.StorageCase):
def testEncryptedMountingHelp(self):
m = self.machine
Expand Down
1 change: 1 addition & 0 deletions test/verify/check-storage-swap
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ class TestStorageswap(storagelib.StorageCase):
self.checkSwapUsed()
testlib.wait(lambda: "defaults" in m.execute(f"findmnt --fstab -n -o OPTIONS {disk}"))

@testlib.skipImage("cryptsetup uses too much memory, OOM on our test VMs", "rhel-8-*")
def testEncrypted(self):
b = self.browser
m = self.machine
Expand Down

0 comments on commit d455f3e

Please sign in to comment.