[Swift-commit] r6906 - in trunk/tests: . groups
yadunandb at ci.uchicago.edu
yadunandb at ci.uchicago.edu
Wed Aug 21 11:17:48 CDT 2013
Author: yadunandb
Date: 2013-08-21 11:17:47 -0500 (Wed, 21 Aug 2013)
New Revision: 6906
Added:
trunk/tests/groups/group-IO-local.sh
trunk/tests/groups/group-daily-remote.sh
trunk/tests/groups/group-multi-remote.sh
trunk/tests/user_env.sh
Modified:
trunk/tests/groups/group-stress-heavy.sh
trunk/tests/suite.sh
Log:
Committing test-engine to trunk
* Updates to the suite.sh
* Adding new groups
* Stress tests pending update
Added: trunk/tests/groups/group-IO-local.sh
===================================================================
--- trunk/tests/groups/group-IO-local.sh (rev 0)
+++ trunk/tests/groups/group-IO-local.sh 2013-08-21 16:17:47 UTC (rev 6906)
@@ -0,0 +1,10 @@
+
+# GROUPLIST definition to run all local tests
+
+GROUPLIST=( $TESTDIR/stress/IO/beagle \
+ $TESTDIR/stress/IO/bagOnodes \
+ $TESTDIR/stress/IO/multiple \
+ $TESTDIR/stress/IO/uc3 \
+ )
+
+checkvars WORK
Added: trunk/tests/groups/group-daily-remote.sh
===================================================================
--- trunk/tests/groups/group-daily-remote.sh (rev 0)
+++ trunk/tests/groups/group-daily-remote.sh 2013-08-21 16:17:47 UTC (rev 6906)
@@ -0,0 +1,28 @@
+# GROUPLIST definition to run all local tests
+
+GROUPLIST=( # Remote sanity test-group
+ $TESTDIR/sites/remote_sanity/beagle \
+ $TESTDIR/sites/remote_sanity/mcs \
+ $TESTDIR/sites/remote_sanity/midway \
+ $TESTDIR/sites/remote_sanity/uc3 \
+ # Frisbee will fail due to Bug 1030
+ $TESTDIR/sites/remote_sanity/mac-frisbee \
+
+ # Remote-cluster IO tests
+ $TESTDIR/stress/IO/beagle \
+ $TESTDIR/stress/IO/bagOnodes \
+ $TESTDIR/stress/IO/multiple \
+ $TESTDIR/stress/IO/uc3 \
+
+ # Remote-cluster Apps tests - MODIS
+ $TESTDIR/stress/apps/modis_beagle \
+ $TESTDIR/stress/apps/modis_local \
+ $TESTDIR/stress/apps/modis_midway \
+ $TESTDIR/stress/apps/modis_uc3 \
+ $TESTDIR/stress/apps/modis_multiple\
+
+ # Recursive Test invocation
+ $TESTDIR/multi_remote \
+ )
+
+checkvars WORK
Added: trunk/tests/groups/group-multi-remote.sh
===================================================================
--- trunk/tests/groups/group-multi-remote.sh (rev 0)
+++ trunk/tests/groups/group-multi-remote.sh 2013-08-21 16:17:47 UTC (rev 6906)
@@ -0,0 +1,9 @@
+
+# GROUPLIST definition to run all local tests
+
+GROUPLIST=(
+ #$TESTDIR/test_submitter \
+ $TESTDIR/multi_remote \
+ )
+
+checkvars WORK
Modified: trunk/tests/groups/group-stress-heavy.sh
===================================================================
--- trunk/tests/groups/group-stress-heavy.sh 2013-08-20 22:12:32 UTC (rev 6905)
+++ trunk/tests/groups/group-stress-heavy.sh 2013-08-21 16:17:47 UTC (rev 6906)
@@ -1,7 +1,7 @@
# GROUPLIST definition to run all local tests \
GROUPLIST=(
- $TESTDIR/stress/IO \
+# $TESTDIR/stress/IO \
$TESTDIR/stress/internals \
)
Modified: trunk/tests/suite.sh
===================================================================
--- trunk/tests/suite.sh 2013-08-20 22:12:32 UTC (rev 6905)
+++ trunk/tests/suite.sh 2013-08-21 16:17:47 UTC (rev 6906)
@@ -18,6 +18,7 @@
printf "\t -v Verbose (set -x, HTML comments) \n"
printf "\t -l Stress level < 1/ 2/ 3/ 4> \n"
printf "\t -o output Location for cog and output \n"
+ printf "\t -z file Set environment for entire run \n"
printf "\t <GROUP> GROUP argument \n"
}
@@ -86,6 +87,9 @@
-l)
STRESS=$2
shift 2;;
+ -z)
+ ENV_FILE=$2
+ shift 2;;
-v)
VERBOSE=1
shift;;
@@ -116,6 +120,13 @@
fi
export STRESS="S$STRESS"
+if [ -x "$ENV_FILE" ]
+then
+ source $ENV_FILE
+else
+ echo "Could not load $ENV_FILE"
+fi
+
# Iterations per test (may want to run each test multiple times?)
ITERS_LOCAL=1
@@ -534,7 +545,7 @@
PROCESS_INTERNAL_PID=$1
echo "process_trap: killing: $PROCESS_INTERNAL_PID"
# ps -H
- kill -TERM $PROCESS_INTERNAL_PID
+ kill -TERM -$PROCESS_INTERNAL_PID
}
# Execute process in the background
Added: trunk/tests/user_env.sh
===================================================================
--- trunk/tests/user_env.sh (rev 0)
+++ trunk/tests/user_env.sh 2013-08-21 16:17:47 UTC (rev 6906)
@@ -0,0 +1,21 @@
+export BEAGLE_USERNAME=""
+export MIDWAY_USERNAME=""
+export MCS_USERNAME=""
+export UC3_USERNAME=""
+export FROM_MAIL="test_engine at midway001"
+export TO_MAIL=""
+export KILL_JAVA="true" #Set to true to kill dead java processes
+
+# FASTSETUP skips svn updates and rebuild to speed up multi_remote.setup.sh | Can be "true" or "false"
+export REMOTE_DRIVER_FASTSETUP="false"
+#export SWIFT_TAR_FILE="path/to/source/tarball/"
+
+# Determines the groups of tests run on the remote nodes | and future behavior
+# RUN_TYPE can be "daily", "weekly", "manual" (manual is undefined now)
+export RUN_TYPE="daily"
+
+if [ "$HOSTNAME" == "midway001" ]
+then
+ export GLOBUS_HOSTNAME=swift.rcc.uchicago.edu
+ export GLOBUS_TCP_PORT_RANGE=50000,51000
+fi;
Property changes on: trunk/tests/user_env.sh
___________________________________________________________________
Added: svn:executable
+ *
More information about the Swift-commit
mailing list