Whamcloud - gitweb
LU-17173 tests: fix security related tests 12/53012/13
authorSebastien Buisson <sbuisson@ddn.com>
Mon, 13 Nov 2023 10:03:38 +0000 (11:03 +0100)
committerOleg Drokin <green@whamcloud.com>
Sun, 4 Feb 2024 08:28:24 +0000 (08:28 +0000)
commit9fc12ca7f29bd70be19471c2b9143d50d2e24eda
tree66cbbd5de0cd2adace6ab7f3c83cafa005380155
parent3f70481c93dcabbb30267608a0054f4d7092e0db
LU-17173 tests: fix security related tests

Several cleanups required in security related tests.

In sanity-krb5, in order to get proper access to keyrings, use su -
instead of runas to initialize process more completely.
Also fix use of 'lfs flushctx', as some tests do not call it properly.
And in test_8, avoid waiting arbitrarily and change fail_loc to just
sleep once.

In sanity-krb5 and sanity-sec, fix parameters passed to
start_gss_daemons().

Test-Parameters: trivial
Test-Parameters: kerberos=true testlist=sanity-krb5
Test-Parameters: testgroup=review-dne-selinux-ssk-part-2
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I4598ae5a7d28afbc39d7cc2d0afd1096d877d03b
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53012
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Aurelien Degremont <adegremont@nvidia.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/sanity-krb5.sh
lustre/tests/sanity-sec.sh
lustre/tests/test-framework.sh