Index: tests/fdktestqa/fdk.config ================================================================== --- tests/fdktestqa/fdk.config +++ tests/fdktestqa/fdk.config @@ -3,21 +3,20 @@ RELEASE TEXT [setup] # Adjust max_concurrent_jobs to limit how much you load your machines # max_concurrent_jobs 150 -max_concurrent_jobs 1000 +max_concurrent_jobs 10000 # This is your link path, you can move it but it is generally better to keep it stable linktree #{shell readlink -f #{getenv MT_RUN_AREA_HOME}/../simplelinks} [include testqa/configs/megatest.abc.config] # timeout 0.025 [jobtools] -maxload 4 launcher nbfake [server] # timeout 0.01 # homehost xena Index: tests/fdktestqa/testqa/Makefile ================================================================== --- tests/fdktestqa/testqa/Makefile +++ tests/fdktestqa/testqa/Makefile @@ -1,6 +1,6 @@ -BINDIR = $(PWD)/../../../bin +# BINDIR = /mfs/$(PWD)/../../../bin PATH := $(BINDIR):$(PATH) MEGATEST = $(BINDIR)/megatest DASHBOARD = $(BINDIR)/dashboard NEWDASHBOARD = $(BINDIR)/newdashboard RUNNAME = a @@ -28,11 +28,11 @@ bigrun2 : NUMTESTS=$(NUMTESTS) $(MEGATEST) -run -testpatt bigrun2 -target a/bigrun2 -runname a$(shell date +%V) bigrun3 : - NUMTESTS=$(NUMTESTS) $(MEGATEST) -run -testpatt bigrun3 -target a/bigrun3 -runname $(RUNNAME) + NUMTESTS=$(NUMTESTS) $(MEGATEST) -run -testpatt bigrun3 -target a/bigrun3 -runname $(RUNNAME)$(shell date +%V.%u-%H%M) dashboard : mkdir -p ../simpleruns $(DASHBOARD) -rows 20 & ADDED tests/fdktestqa/testqa/bigrun.sh Index: tests/fdktestqa/testqa/bigrun.sh ================================================================== --- /dev/null +++ tests/fdktestqa/testqa/bigrun.sh @@ -0,0 +1,4 @@ +umask 000 +export BINDIR=/mfs/pkgs/x86_64/bin +make dashboard +script -c "make bigrun3 NUMTESTS=900" ADDED tests/fdktestqa/testqa/cleanup.sh Index: tests/fdktestqa/testqa/cleanup.sh ================================================================== --- /dev/null +++ tests/fdktestqa/testqa/cleanup.sh @@ -0,0 +1,6 @@ +ssh xena killall mtest dboard -v +killall mtest dboard -v +sleep 4 +make clean +ssh xena killall mtest dboard -v -9 +killall mtest dboard -v -9 Index: tests/fdktestqa/testqa/megatest.config ================================================================== --- tests/fdktestqa/testqa/megatest.config +++ tests/fdktestqa/testqa/megatest.config @@ -1,11 +1,11 @@ [setup] testcopycmd cp --remove-destination -rlv TEST_SRC_PATH/. TEST_TARG_PATH/. >> TEST_TARG_PATH/mt_launch.log 2>> TEST_TARG_PATH/mt_launch.log # launchwait no launch-delay 0.1 -[server] +;; [server] # runtime 180 # timeout is in hours, this is how long the server will stay alive when not being used. timeout 0.1 # All these are overridden in ../fdk.config ADDED tests/fdktestqa/testqa/monitor.sh Index: tests/fdktestqa/testqa/monitor.sh ================================================================== --- /dev/null +++ tests/fdktestqa/testqa/monitor.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +function printit() { + rload=$(ssh xena cat /proc/loadavg|cut -d' ' -f1) + lload=$(cat /proc/loadavg |cut -d' ' -f1) + numrunning=$(megatest -list-runs % | grep RUNNING | wc -l) + numlogs=$(ls logs | wc -l) + numalive=$(megatest -list-servers |grep alive|wc -l) + echo "$(date +%s) Numlogs: ${numlogs} NumRunning: ${numrunning} Lload ${lload} Rload: ${rload} NumAlive: ${numalive}" +} + +function runforever () { + while true;do + printit + sleep 5 + done +} + +runforever Index: tests/fdktestqa/testqa/tests/bigrun/step1.sh ================================================================== --- tests/fdktestqa/testqa/tests/bigrun/step1.sh +++ tests/fdktestqa/testqa/tests/bigrun/step1.sh @@ -1,11 +1,11 @@ #!/bin/bash if [ $NUMBER -lt 10 ];then sleep 20 sleep `echo 4 * $NUMBER | bc` else - sleep 130 + sleep 600 fi if [[ $RANDOM -lt 10000 ]];then exit 1 else