From 1ca1da79a9e6b2af9f89a6c237d40b0333f64965 Mon Sep 17 00:00:00 2001 From: James Nunez Date: Mon, 6 Aug 2018 15:26:25 -0600 Subject: [PATCH] LU-10686 tests: stop running sanity-pfl test 9 sanity-pfl test 9 consistently fails when run on a Lustre file system with a single MDS. We need to add test 9 to the ALWAYS_EXCCEPT list and, thus, stop running the test until a fix for the underlying problem can be found. Test-Parameters: trivial mdscount=1 mdtcount=1 testlist=sanity-pfl Test-Parameters: mdscount=2 mdtcount=2 testlist=sanity-pfl Signed-off-by: James Nunez Change-Id: Ife4b3c044e2777bb9b9010e0be7c00549a683fdc Reviewed-on: https://review.whamcloud.com/32945 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Wei Liu Reviewed-by: James Simmons Reviewed-by: Oleg Drokin --- lustre/tests/sanity-pfl.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lustre/tests/sanity-pfl.sh b/lustre/tests/sanity-pfl.sh index d72d00f..679a0dd 100644 --- a/lustre/tests/sanity-pfl.sh +++ b/lustre/tests/sanity-pfl.sh @@ -12,9 +12,6 @@ ONLY=${ONLY:-"$*"} ALWAYS_EXCEPT="$SANITY_PFL_EXCEPT" # UPDATE THE COMMENT ABOVE WITH BUG NUMBERS WHEN CHANGING ALWAYS_EXCEPT! -[ "$ALWAYS_EXCEPT$EXCEPT" ] && - echo "Skipping tests: $ALWAYS_EXCEPT $EXCEPT" - TMP=${TMP:-/tmp} CHECKSTAT=${CHECKSTAT:-"checkstat -v"} @@ -30,6 +27,14 @@ if [[ $(lustre_version_code $SINGLEMDS) -lt $(version_code 2.9.51) ]]; then skip_env "Need MDS version at least 2.9.51" fi +if [ $MDSCOUNT -eq 1 ]; then + # Bug number: LU-10686 + ALWAYS_EXCEPT+=" 9" +fi + +[ "$ALWAYS_EXCEPT$EXCEPT" ] && + echo "Skipping tests: $ALWAYS_EXCEPT $EXCEPT" + build_test_filter [ $UID -eq 0 -a $RUNAS_ID -eq 0 ] && -- 1.8.3.1