From 4ae1c96672df324554ee1b3e3acaf664811ac866 Mon Sep 17 00:00:00 2001 From: James Nunez Date: Wed, 30 Oct 2019 10:47:16 -0600 Subject: [PATCH] LU-12895 tests: stop running tests for SSK and SELinux There are a few tests that crash consistently when Shared Secret Key (SSK) and/or SELinux are enabled. We need to stop running them, by adding them to the ALWAYS_EXCEPT list, until we can find a solution. sanity test 185, 230b, 230d, 272a recovery-small test 110k, 136 Test-Parameters: trivial Test-Parameters: testgroup=review-dne-ssk Test-Parameters: testgroup=review-dne-selinux Test-Parameters: testgroup=review-dne-selinux-ssk Signed-off-by: James Nunez Change-Id: I0af5f0c9d0d3c56a79e6558f2ce9f4e5a0a2d4c5 Reviewed-on: https://review.whamcloud.com/36616 Tested-by: jenkins Tested-by: Maloo Reviewed-by: James Simmons Reviewed-by: Andreas Dilger --- lustre/tests/recovery-small.sh | 14 +++++++++++--- lustre/tests/sanity.sh | 10 ++++++++-- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/lustre/tests/recovery-small.sh b/lustre/tests/recovery-small.sh index 891ac23..5cac794 100755 --- a/lustre/tests/recovery-small.sh +++ b/lustre/tests/recovery-small.sh @@ -11,9 +11,17 @@ init_test_env $@ init_logging ALWAYS_EXCEPT="$RECOVERY_SMALL_EXCEPT " -# bug number for skipped test: -ALWAYS_EXCEPT+=" " -# UPDATE THE COMMENT ABOVE WITH BUG NUMBERS WHEN CHANGING ALWAYS_EXCEPT! +if $SHARED_KEY; then + # bug number for skipped test: LU-12896 + ALWAYS_EXCEPT+=" 110k" + # UPDATE THE COMMENT ABOVE WITH BUG NUMBERS WHEN CHANGING ALWAYS_EXCEPT! +fi + +selinux_status=$(getenforce) +if [ "$selinux_status" != "Disabled" ]; then + # bug number for skipped test: LU-12928 + $SHARED_KEY && ALWAYS_EXCEPT+=" 136" +fi require_dsh_mds || exit 0 diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 62ff94f..965ebda 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -45,8 +45,14 @@ ALWAYS_EXCEPT+=" 42a 42b 42c " ALWAYS_EXCEPT+=" 407 312 " if $SHARED_KEY; then - # bug number: LU-9795 LU-9795 LU-9795 LU-9795 - ALWAYS_EXCEPT+=" 17n 60a 133g 300f " + # bug number: LU-9795 LU-9795 LU-9795 LU-9795 LU-12781 + ALWAYS_EXCEPT+=" 17n 60a 133g 300f 272a" +fi + +selinux_status=$(getenforce) +if [ "$selinux_status" != "Disabled" ]; then + # bug number: LU-12895 LU-12469 LU-12469 + ALWAYS_EXCEPT+=" 185a 230b 230d" fi # skip the grant tests for ARM until they are fixed -- 1.8.3.1