We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c85177 commit 73aaa1fCopy full SHA for 73aaa1f
test_suite/generic/helpers.py
@@ -1,5 +1,6 @@
1
import os
2
import json
3
+from packaging import version
4
from lib import test_lib
5
6
INSTANCES_JSON_PATH = os.environ['CIV_INSTANCES_JSON']
@@ -21,9 +22,9 @@ def check_avc_denials(host):
21
22
23
no_avc_denials_found = 'no matches' in result.stdout
24
- # ignore avc denial for irqbalance
25
- # remove when RHEL-78630 is fixed
26
- if 'irqbalance' in result.stdout:
+ # ignore avc denial for irqbalance in 9.6 and 10.0
+ # revise when RHEL-78630 is fixed
27
+ if 'irqbalance' in result.stdout and version.parse(host.system_info.release) in [9.6, 10.0]:
28
no_avc_denials_found = True
29
30
assert no_avc_denials_found, 'There should not be any avc denials (selinux)'
0 commit comments