Whamcloud - gitweb
b=13932
authorgrev <grev>
Wed, 28 Nov 2007 22:09:01 +0000 (22:09 +0000)
committergrev <grev>
Wed, 28 Nov 2007 22:09:01 +0000 (22:09 +0000)
i=Adilger

acc-sm "SLOW" list (all scripts)

lustre/tests/acceptance-small.sh
lustre/tests/conf-sanity.sh
lustre/tests/insanity.sh
lustre/tests/recovery-small.sh
lustre/tests/replay-dual.sh
lustre/tests/replay-ost-single.sh
lustre/tests/replay-single.sh
lustre/tests/sanity.sh
lustre/tests/sanityN.sh

index 14f9ac5..03b742b 100755 (executable)
@@ -27,6 +27,11 @@ fi
 
 export TESTSUITE_LIST="RUNTESTS SANITY DBENCH BONNIE IOZONE FSX SANITYN LFSCK LIBLUSTRE REPLAY_SINGLE CONF_SANITY RECOVERY_SMALL REPLAY_OST_SINGLE REPLAY_DUAL INSANITY SANITY_QUOTA"
 
+if [ "$SLOW" = "no" ]; then
+#          5 min  
+    export IOZONE="no"
+fi
+
 if [ "$ACC_SM_ONLY" ]; then
     for O in $TESTSUITE_LIST; do
        export ${O}="no"
@@ -94,13 +99,17 @@ for NAME in $CONFIGS; do
                [ $THREADS -lt $DB_THREADS ] && DB_THREADS=$THREADS
 
                $DEBUG_OFF
-               bash rundbench 1
-               $DEBUG_ON
-               $CLEANUP
-               $SETUP
+               duration=""
+               [ "$SLOW" = "no" ] && duration=" -t 120"
+               if [ "$SLOW" != "no" -o $DB_THREADS -eq 1 ]; then
+                       bash rundbench 1 $duration
+                       $DEBUG_ON
+                       $CLEANUP
+                       $SETUP
+               fi
                if [ $DB_THREADS -gt 1 ]; then
                        $DEBUG_OFF
-                       bash rundbench $DB_THREADS
+                       bash rundbench $DB_THREADS $duration
                        $DEBUG_ON
                        $CLEANUP
                        $SETUP
index 5da69d6..c86e786 100644 (file)
@@ -19,6 +19,9 @@ MOUNTCONFSKIP="10  11  12  13  13b 14  15 "
 ALWAYS_EXCEPT=" $CONF_SANITY_EXCEPT $MOUNTCONFSKIP 34a   36"
 # UPDATE THE COMMENT ABOVE WITH BUG NUMBERS WHEN CHANGING ALWAYS_EXCEPT!
 
+#                                                   
+[ "$SLOW" = "no" ] && EXCEPT="$EXCEPT 0 1 2 3 6 7 15 18 24b 25 30 31 32 33 34a "
+
 SRCDIR=`dirname $0`
 PATH=$PWD/$SRCDIR:$SRCDIR:$SRCDIR/../utils:$PATH
 
index 5470738..1952c61 100755 (executable)
@@ -12,6 +12,9 @@ init_test_env $@
 
 ALWAYS_EXCEPT="10 $INSANITY_EXCEPT"
 
+#
+[ "$SLOW" = "no" ] && EXCEPT="$EXCEPT "
+
 SETUP=${SETUP:-""}
 CLEANUP=${CLEANUP:-""}
 
index c80ba84..99825f3 100755 (executable)
@@ -5,6 +5,10 @@ set -e
 #         bug  5493
 ALWAYS_EXCEPT="52 $RECOVERY_SMALL_EXCEPT"
 
+# also long tests: 19, 21a, 21e, 21f, 23, 27                           
+#                                     1     2.5    4    4          (min)"  
+[ "$SLOW" = "no" ] && EXCEPT="$EXCEPT 17    26b    50   51     57" 
+
 #PTLDEBUG=${PTLDEBUG:--1}
 LUSTRE=${LUSTRE:-`dirname $0`/..}
 . $LUSTRE/tests/test-framework.sh
index 8e1bf12..62cd22d 100755 (executable)
@@ -5,6 +5,9 @@ set -e
 # bug number:  10124 
 ALWAYS_EXCEPT="15c   $REPLAY_DUAL_EXCEPT"
 
+#                                                    
+[ "$SLOW" = "no" ] && EXCEPT="$EXCEPT 1 2 3 4 5 14"
+
 SAVE_PWD=$PWD
 PTLDEBUG=${PTLDEBUG:--1}
 LUSTRE=${LUSTRE:-`dirname $0`/..}
index b705267..7e03456 100755 (executable)
@@ -21,6 +21,9 @@ CPU=`awk '/model/ {print $4}' /proc/cpuinfo`
 # BUG NUMBER: 
 ALWAYS_EXCEPT="$REPLAY_OST_SINGLE_EXCEPT"
 
+#                                      
+[ "$SLOW" = "no" ] && EXCEPT="$EXCEPT  "
+
 # It is replay-ost-single, after all
 OSTCOUNT=1
 
index 9019697..106910a 100755 (executable)
@@ -20,6 +20,9 @@ GRANT_CHECK_LIST=${GRANT_CHECK_LIST:-""}
 # bug number: 
 ALWAYS_EXCEPT="$REPLAY_SINGLE_EXCEPT"
 
+#                                                       63 min  7 min  AT AT AT AT"
+[ "SLOW" = "no" ] && EXCEPT="$EXCEPT 1 2 3 4 6 6b 12 16 44      44b    65 66 67 68"
+
 build_test_filter
 
 cleanup_and_setup_lustre
@@ -1332,7 +1335,7 @@ test_58() {
     replay_barrier mds
     fail mds
     sleep 2
-    $CHECKSTAT -t file $DIR/$tdir/$tfile-* || return 1
+    $CHECKSTAT -t file $DIR/$tdir/$tfile-* >/dev/null || return 1
     do_facet mds "sysctl -w lustre.fail_loc=0x0"
     unlinkmany $DIR/$tdir/$tfile-%d 2500
     rmdir $DIR/$tdir
index 5ba3f4e..fc2178f 100644 (file)
@@ -11,7 +11,7 @@ ONLY=${ONLY:-"$*"}
 ALWAYS_EXCEPT=${ALWAYS_EXCEPT:-"27o  27q  42a  42b  42c  42d  45  51d   74b   75 $SANITY_EXCEPT" }
 # UPDATE THE COMMENT ABOVE WITH BUG NUMBERS WHEN CHANGING ALWAYS_EXCEPT!
 
-[ "$SLOW" = "no" ] && EXCEPT="$EXCEPT 24o 27m 36f 36g 51b 51c 60c 63 64b 68 71 73 101 103 115 120g"
+[ "$SLOW" = "no" ] && EXCEPT="$EXCEPT 24o 27m 36f 36g 51b 51c 60c 63 64b 68 71 73 78 101 103 115 120g"
 
 # Tests that fail on uml, maybe elsewhere, FIXME
 CPU=`awk '/model/ {print $4}' /proc/cpuinfo`
@@ -4606,11 +4606,11 @@ test_123() # statahead(bug 11401)
 
         mkdir -p $DIR/$tdir
 
-        for ((i=1, j=0; i<=10000; j=$i, i=$((i * 10)) )); do
+        for ((i=1, j=0; i<=100000; j=$i, i=$((i * 10)) )); do
                 createmany -o $DIR/$tdir/$tfile $j $((i - j))
 
                 grep '[0-9]' $LPROC/llite/*/statahead_max
-                cancel_lru_locks mdc
+                cancel_lru_locks osc
                 stime=`date +%s`
                 ls -l $DIR/$tdir > /dev/null
                 etime=`date +%s`
@@ -4624,7 +4624,7 @@ test_123() # statahead(bug 11401)
                 done
 
                 grep '[0-9]' $LPROC/llite/*/statahead_max
-                cancel_lru_locks mdc
+                cancel_lru_locks osc
                 stime=`date +%s`
                 ls -l $DIR/$tdir > /dev/null
                 etime=`date +%s`
@@ -4639,6 +4639,9 @@ test_123() # statahead(bug 11401)
                 if [ $delta_sa -gt $delta ]; then
                         log "ls $i files is slower with statahead!"
                 fi
+
+                [ $delta -gt 20 ] && break
+                [ "$SLOW" = "no" -a $delta -gt 3 ] && break            
         done
         log "ls done"
 
@@ -4730,7 +4733,7 @@ test_124b() {
         MOUNTOPT="$MOUNTOPT,nolruresize"
         setup || error "setup failed"
 
-        NR=3000
+        NR=2000
         mkdir -p $DIR/$tdir || error "failed to create $DIR/$tdir"
 
         createmany -o $DIR/$tdir/f $NR
index 896d977..7aba5cd 100644 (file)
@@ -7,7 +7,7 @@ ONLY=${ONLY:-"$*"}
 ALWAYS_EXCEPT="                 14b  14c   $SANITYN_EXCEPT"
 # UPDATE THE COMMENT ABOVE WITH BUG NUMBERS WHEN CHANGING ALWAYS_EXCEPT!
 
-[ "$SLOW" = "no" ] && EXCEPT="$EXCEPT 16"
+[ "$SLOW" = "no" ] && EXCEPT="$EXCEPT  12 16"
 
 # Tests that fail on uml
 [ "$UML" = "true" ] && EXCEPT="$EXCEPT 7"