From 468de179b3a2c33df62454216de13bdb6f14614e Mon Sep 17 00:00:00 2001 From: Bob Glossman Date: Tue, 20 Nov 2012 12:39:40 -0800 Subject: [PATCH] LU-2181 tests: test failure on conf-sanity, subtest 23a Disable subtests that do umount with mds down in SLES11 SP2. Problems with upstream umount command cause hangs. Test-Parameters: fortestonly, clientdistro=sles11sp2, \ envdefinitions=SANITY_EXCEPT=39l Signed-off-by: Bob Glossman Change-Id: I3d5f0c02dcc0deef1d38e2d1a09c8ed6cf2b295f Reviewed-on: http://review.whamcloud.com/4639 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Andreas Dilger --- lustre/tests/conf-sanity.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index e399684..b55c9d3 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -13,6 +13,25 @@ ONLY=${ONLY:-"$*"} ALWAYS_EXCEPT="$CONF_SANITY_EXCEPT" # UPDATE THE COMMENT ABOVE WITH BUG NUMBERS WHEN CHANGING ALWAYS_EXCEPT! +is_sles11() # LU-2181 +{ + if [ -r /etc/SuSE-release ] + then + local vers=`grep VERSION /etc/SuSE-release | awk '{print $3}'` + local patchlev=`grep PATCHLEVEL /etc/SuSE-release \ + | awk '{print $3}'` + if [ $vers -eq 11 ] && [ $patchlev -eq 2 ] + then + return 0 + fi + fi + return 1 +} + +if is_sles11; then # LU-2181 + ALWAYS_EXCEPT="$ALWAYS_EXCEPT 23a 34b" +fi + if [ "$FAILURE_MODE" = "HARD" ]; then CONFIG_EXCEPTIONS="24a " && \ echo "Except the tests: $CONFIG_EXCEPTIONS for FAILURE_MODE=$FAILURE_MODE, bug 23573" && \ -- 1.8.3.1