mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
After mounting "Unspecified GSS failure" should not be in logs.
When there is directory mounted on the ipa-client Then no "Unspecified GSS failure" should be in logs. This is an integration test for : https://bugzilla.redhat.com/show_bug.cgi?id=1759665 Signed-off-by: Anuja More <amore@redhat.com> Reviewed-By: Francois Cami <fcami@redhat.com> Reviewed-By: Sumedh Sidhaye <ssidhaye@redhat.com>
This commit is contained in:
committed by
Florence Blanc-Renaud
parent
c940f96b70
commit
ab1999deb6
@@ -127,6 +127,8 @@ class TestNFS(IntegrationTest):
|
||||
nfssrv = self.clients[0]
|
||||
nfsclt = self.clients[1]
|
||||
|
||||
# for journalctl --since
|
||||
since = time.strftime('%H:%M:%S')
|
||||
nfsclt.run_command(["systemctl", "restart", "rpc-gssd"])
|
||||
time.sleep(WAIT_AFTER_INSTALL)
|
||||
mountpoints = ("/mnt/krb", "/mnt/std", "/home")
|
||||
@@ -146,6 +148,11 @@ class TestNFS(IntegrationTest):
|
||||
"mount", "-t", "nfs4", "-o", "sec=krb5p,vers=4.0",
|
||||
"%s:/exports/home" % nfssrv.hostname, "/home", "-v"
|
||||
])
|
||||
error = "Unspecified GSS failure"
|
||||
check_log = [
|
||||
'journalctl', '-u', 'gssproxy', '--since={}'.format(since)]
|
||||
result = nfsclt.run_command(check_log)
|
||||
assert error not in (result.stdout_text, result.stderr_text)
|
||||
|
||||
def test_automount(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user