Skip to content

Commit

Permalink
test: Skip TestMachinesLifecycle.testBasicSysadmU on RHEL 8
Browse files Browse the repository at this point in the history
This new test from commit de52680 often triggers a C bridge crash
on RHEL 8. We won't fix anything there any more, and this test at least
works sometimes (so SELinux policy is correct in RHEL 8).
  • Loading branch information
martinpitt committed Jan 17, 2025
1 parent 4dd5037 commit cbf0500
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/check-machines-lifecycle
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ class TestMachinesLifecycle(machineslib.VirtualMachinesCase):
self._testBasic(user, superuser=False)

@testlib.skipImage("No SELinux", "debian-*", "ubuntu-*", "arch", "opensuse*")
@testlib.skipImage("crashes C bridge", "rhel-8*")
def testBasicSysadmU(self):
user = self.createUser(user_group='libvirt')
self.machine.execute(f"semanage login -a -s sysadm_u {user}")
Expand Down

0 comments on commit cbf0500

Please sign in to comment.