From 96a6846bb9acc0e5ebcf398a0a0b127c2ae9748f Mon Sep 17 00:00:00 2001
From: Dominik Perpeet <dperpeet@redhat.com>
Date: Thu, 15 Jun 2017 16:27:34 +0200
Subject: [PATCH 09/23] test: Add allowed journal message
Bug https://bugzilla.redhat.com/show_bug.cgi?id=1461893
This is a HACK for the journal messages caused by the above bug.
It doesn't have any other noticeable impact on Cockpit.
Original commit:
b870d04a62231c40ba997794e10ef2d205ac1bf5
test: Add allowed journal message
Closes #7025
Reviewed-by: Stef Walter <stefw@redhat.com>
---
test/common/testlib.py | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/test/common/testlib.py b/test/common/testlib.py
index 0be3f24..1594265 100755
--- a/test/common/testlib.py
+++ b/test/common/testlib.py
@@ -616,6 +616,11 @@ class MachineCase(unittest.TestCase):
'Error was encountered while opening journal files:.*',
'Failed to get data: Cannot assign requested address',
+ # HACK https://bugzilla.redhat.com/show_bug.cgi?id=1461893
+ # selinux errors while logging in via ssh
+ 'type=1401 audit(.*): op=security_compute_av reason=bounds scontext=system_u:system_r:sshd_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:svirt_lxc_net_t:s0-s0:c0.c1023 tclass=process perms=transition,sigchld,sigstop,signull,signal,getattr',
+ 'type=1401 audit(.*): op=security_compute_av reason=bounds scontext=system_u:system_r:sshd_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:svirt_lxc_net_t:s0-s0:c0.c1023 tclass=process perms=transition,sigchld,sigstop,signull,signal,getattr',
+
# Various operating systems see this from time to time
"Journal file.*truncated, ignoring file.",
]
--
2.13.5