[Swift-commit] r6732 - in branches/release-0.94/tests/stress/IO: beagle multiple uc3
yadunandb at ci.uchicago.edu
yadunandb at ci.uchicago.edu
Sat Aug 3 17:59:23 CDT 2013
Author: yadunandb
Date: 2013-08-03 17:59:23 -0500 (Sat, 03 Aug 2013)
New Revision: 6732
Added:
branches/release-0.94/tests/stress/IO/beagle/z_stats.clean.sh
branches/release-0.94/tests/stress/IO/beagle/z_stats.swift
branches/release-0.94/tests/stress/IO/multiple/z_stats.clean.sh
branches/release-0.94/tests/stress/IO/multiple/z_stats.swift
branches/release-0.94/tests/stress/IO/uc3/z_stats.clean.sh
branches/release-0.94/tests/stress/IO/uc3/z_stats.swift
Removed:
branches/release-0.94/tests/stress/IO/beagle/stage_from_remote1x3.setup.sh
branches/release-0.94/tests/stress/IO/beagle/stage_from_remote1x3.source.sh
branches/release-0.94/tests/stress/IO/beagle/stage_from_remote1x3.swift
branches/release-0.94/tests/stress/IO/beagle/stage_from_remote1x3.timeout
branches/release-0.94/tests/stress/IO/beagle/stage_from_remoteNx3.setup.sh
branches/release-0.94/tests/stress/IO/beagle/stage_from_remoteNx3.source.sh
branches/release-0.94/tests/stress/IO/beagle/stage_from_remoteNx3.swift
branches/release-0.94/tests/stress/IO/beagle/stage_from_remoteNx3.timeout
branches/release-0.94/tests/stress/IO/beagle/stage_to_remote1x3.setup.sh
branches/release-0.94/tests/stress/IO/beagle/stage_to_remote1x3.source.sh
branches/release-0.94/tests/stress/IO/beagle/stage_to_remote1x3.swift
branches/release-0.94/tests/stress/IO/beagle/stage_to_remote1x3.timeout
branches/release-0.94/tests/stress/IO/beagle/stage_to_remoteNx3.setup.sh
branches/release-0.94/tests/stress/IO/beagle/stage_to_remoteNx3.source.sh
branches/release-0.94/tests/stress/IO/beagle/stage_to_remoteNx3.swift
branches/release-0.94/tests/stress/IO/beagle/stage_to_remoteNx3.timeout
Log:
Committing updates for tests
Deleted: branches/release-0.94/tests/stress/IO/beagle/stage_from_remote1x3.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/beagle/stage_from_remote1x3.setup.sh 2013-08-03 22:56:46 UTC (rev 6731)
+++ branches/release-0.94/tests/stress/IO/beagle/stage_from_remote1x3.setup.sh 2013-08-03 22:59:23 UTC (rev 6732)
@@ -1,40 +0,0 @@
-#!/bin/bash
-
-ARGS_FILE=${0%.setup.sh}.args
-BEAGLE_USERNAME=$BEAGLE_USERNAME
-
-case $STRESS in
- "S1")
- SIZE=300
- LOOPS=0
- ;;
- "S2")
- SIZE=500
- LOOPS=0
- ;;
- *)
- SIZE=300
- LOOPS=0
- ;;
-esac
-
-echo "-loops=$LOOPS -size=$SIZE " > $ARGS_FILE
-
-cat <<'EOF' > filemaker.sh
-#!/bin/bash
-
-echo "From filemaker.sh $1 $2 on Host:$HOSTNAME"
-MAXSIZE=$1
-OUT=$2
-dd if=/dev/zero of=$OUT bs=1024 count=0 seek=$((1024*MAXSIZE))
-
-EOF
-
-if [[ -z $BEAGLE_USERNAME ]]
-then
- echo "Remote username not provided. Skipping sites configs"
-else
- ls *xml
- cat sites.xml | sed "s/{env.USER}/$BEAGLE_USERNAME/" > tmp && mv tmp sites.xml
-fi
-
Deleted: branches/release-0.94/tests/stress/IO/beagle/stage_from_remote1x3.source.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/beagle/stage_from_remote1x3.source.sh 2013-08-03 22:56:46 UTC (rev 6731)
+++ branches/release-0.94/tests/stress/IO/beagle/stage_from_remote1x3.source.sh 2013-08-03 22:59:23 UTC (rev 6732)
@@ -1,8 +0,0 @@
-#!/bin/bash
-
-if [ "midway001" == "midway001" ]
-then
- export GLOBUS_HOSTNAME=swift.rcc.uchicago.edu
- export GLOBUS_TCP_PORT_RANGE=50000,51000
-fi;
-
Deleted: branches/release-0.94/tests/stress/IO/beagle/stage_from_remote1x3.swift
===================================================================
--- branches/release-0.94/tests/stress/IO/beagle/stage_from_remote1x3.swift 2013-08-03 22:56:46 UTC (rev 6731)
+++ branches/release-0.94/tests/stress/IO/beagle/stage_from_remote1x3.swift 2013-08-03 22:59:23 UTC (rev 6732)
@@ -1,17 +0,0 @@
-type file;
-file script <"filemaker.sh">;
-
-app (file out, file log) remote_driver (file run, int size)
-{
- bash @run size @out stdout=@filename(log);
-}
-
-file driver_out[] <simple_mapper; prefix="driver", suffix=".out">;
-file driver_log[] <simple_mapper; prefix="driver", suffix=".log">;
-
-int filesize = @toInt(@arg("size","10"));
-int loop = @toInt(@arg("loops","0"));
-
-foreach item,i in [0:loop] {
- (driver_out[i], driver_log[i]) = remote_driver(script, filesize);
-}
\ No newline at end of file
Deleted: branches/release-0.94/tests/stress/IO/beagle/stage_from_remote1x3.timeout
===================================================================
--- branches/release-0.94/tests/stress/IO/beagle/stage_from_remote1x3.timeout 2013-08-03 22:56:46 UTC (rev 6731)
+++ branches/release-0.94/tests/stress/IO/beagle/stage_from_remote1x3.timeout 2013-08-03 22:59:23 UTC (rev 6732)
@@ -1 +0,0 @@
-600
Deleted: branches/release-0.94/tests/stress/IO/beagle/stage_from_remoteNx3.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/beagle/stage_from_remoteNx3.setup.sh 2013-08-03 22:56:46 UTC (rev 6731)
+++ branches/release-0.94/tests/stress/IO/beagle/stage_from_remoteNx3.setup.sh 2013-08-03 22:59:23 UTC (rev 6732)
@@ -1,39 +0,0 @@
-#!/bin/bash
-
-ARGS_FILE=${0%.setup.sh}.args
-BEAGLE_USERNAME=$BEAGLE_USERNAME
-
-case $STRESS in
- "S1")
- SIZE=10
- LOOPS=100
- ;;
- "S2")
- SIZE=15
- LOOPS=100
- ;;
- *)
- SIZE=10
- LOOPS=100
- ;;
-esac
-
-echo "-loops=$LOOPS -size=$SIZE " > $ARGS_FILE
-
-cat <<'EOF' > filemaker.sh
-#!/bin/bash
-
-echo "From filemaker.sh $1 $2 on Host:$HOSTNAME"
-MAXSIZE=$1
-OUT=$2
-dd if=/dev/zero of=$OUT bs=1024 count=0 seek=$((1024*MAXSIZE))
-
-EOF
-
-if [[ -z $BEAGLE_USERNAME ]]
-then
- echo "Remote username not provided. Skipping sites configs"
-else
- ls *xml
- cat sites.xml | sed "s/{env.USER}/$BEAGLE_USERNAME/" > tmp && mv tmp sites.xml
-fi
Deleted: branches/release-0.94/tests/stress/IO/beagle/stage_from_remoteNx3.source.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/beagle/stage_from_remoteNx3.source.sh 2013-08-03 22:56:46 UTC (rev 6731)
+++ branches/release-0.94/tests/stress/IO/beagle/stage_from_remoteNx3.source.sh 2013-08-03 22:59:23 UTC (rev 6732)
@@ -1,8 +0,0 @@
-#!/bin/bash
-
-if [ "midway001" == "midway001" ]
-then
- export GLOBUS_HOSTNAME=swift.rcc.uchicago.edu
- export GLOBUS_TCP_PORT_RANGE=50000,51000
-fi;
-
Deleted: branches/release-0.94/tests/stress/IO/beagle/stage_from_remoteNx3.swift
===================================================================
--- branches/release-0.94/tests/stress/IO/beagle/stage_from_remoteNx3.swift 2013-08-03 22:56:46 UTC (rev 6731)
+++ branches/release-0.94/tests/stress/IO/beagle/stage_from_remoteNx3.swift 2013-08-03 22:59:23 UTC (rev 6732)
@@ -1,17 +0,0 @@
-type file;
-file script <"filemaker.sh">;
-
-app (file out, file log) remote_driver (file run, int size)
-{
- bash @run size @out stdout=@filename(log);
-}
-
-file driver_out[] <simple_mapper; prefix="driver", suffix=".out">;
-file driver_log[] <simple_mapper; prefix="driver", suffix=".log">;
-
-int filesize = @toInt(@arg("size","10"));
-int loop = @toInt(@arg("loops","0"));
-
-foreach item,i in [0:loop] {
- (driver_out[i], driver_log[i]) = remote_driver(script, filesize);
-}
\ No newline at end of file
Deleted: branches/release-0.94/tests/stress/IO/beagle/stage_from_remoteNx3.timeout
===================================================================
--- branches/release-0.94/tests/stress/IO/beagle/stage_from_remoteNx3.timeout 2013-08-03 22:56:46 UTC (rev 6731)
+++ branches/release-0.94/tests/stress/IO/beagle/stage_from_remoteNx3.timeout 2013-08-03 22:59:23 UTC (rev 6732)
@@ -1 +0,0 @@
-600
Deleted: branches/release-0.94/tests/stress/IO/beagle/stage_to_remote1x3.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/beagle/stage_to_remote1x3.setup.sh 2013-08-03 22:56:46 UTC (rev 6731)
+++ branches/release-0.94/tests/stress/IO/beagle/stage_to_remote1x3.setup.sh 2013-08-03 22:59:23 UTC (rev 6732)
@@ -1,47 +0,0 @@
-#!/bin/bash
-
-ARGS_FILE=${0%.setup.sh}.args
-BEAGLE_USERNAME=$BEAGLE_USERNAME
-
-case $STRESS in
- *)
- FILES=500
- LOOPS=0
- ;;
-esac
-
-
-dd if=/dev/zero of=dummy bs=1024 count=0 seek=$((1024*FILES))
-echo "-loops=$LOOPS" > $ARGS_FILE
-
-cat <<'EOF' > wrapper.sh
-#!/bin/bash
-ARG1=$1
-ls | grep "$1" &> /dev/null
-if [ $? == 0 ]
-then
- echo "Hey this is wrapper and the $1 exists as a file";
- ls -lah;
-else
- echo "Doinks! the file we need isn't here";
- ls -lah
-fi
-cat $ARG1 > $ARG1.test
-if [ $? == 0 ]
-then
- echo "The cat worked! ";
-else
- echo "The cat failed ";
-fi
-
-rm $ARG1 $ARG1.test
-echo "Residual files cleaned up"
-EOF
-
-if [[ -z $BEAGLE_USERNAME ]]
-then
- echo "Remote username not provided. Skipping sites configs"
-else
- ls *xml
- cat sites.xml | sed "s/{env.USER}/$BEAGLE_USERNAME/" > tmp && mv tmp sites.xml
-fi
\ No newline at end of file
Deleted: branches/release-0.94/tests/stress/IO/beagle/stage_to_remote1x3.source.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/beagle/stage_to_remote1x3.source.sh 2013-08-03 22:56:46 UTC (rev 6731)
+++ branches/release-0.94/tests/stress/IO/beagle/stage_to_remote1x3.source.sh 2013-08-03 22:59:23 UTC (rev 6732)
@@ -1,8 +0,0 @@
-#!/bin/bash
-
-if [ "midway001" == "midway001" ]
-then
- export GLOBUS_HOSTNAME=swift.rcc.uchicago.edu
- export GLOBUS_TCP_PORT_RANGE=50000,51000
-fi;
-
Deleted: branches/release-0.94/tests/stress/IO/beagle/stage_to_remote1x3.swift
===================================================================
--- branches/release-0.94/tests/stress/IO/beagle/stage_to_remote1x3.swift 2013-08-03 22:56:46 UTC (rev 6731)
+++ branches/release-0.94/tests/stress/IO/beagle/stage_to_remote1x3.swift 2013-08-03 22:59:23 UTC (rev 6732)
@@ -1,17 +0,0 @@
-type file;
-
-file package <"dummy">;
-file script <"wrapper.sh">;
-int loop = @toInt(@arg("loops","0"));
-
-app (file out, file err) remote_driver (file run, file tar)
-{
- bash @run @filename(tar) stdout=@filename(out) stderr=@filename(err);
-}
-
-file driver_out[] <simple_mapper; prefix="driver", suffix=".out">;
-file driver_err[] <simple_mapper; prefix="driver", suffix=".err">;
-
-foreach item,i in [0:loop] {
- (driver_out[i], driver_err[i]) = remote_driver(script, package);
-}
\ No newline at end of file
Deleted: branches/release-0.94/tests/stress/IO/beagle/stage_to_remote1x3.timeout
===================================================================
--- branches/release-0.94/tests/stress/IO/beagle/stage_to_remote1x3.timeout 2013-08-03 22:56:46 UTC (rev 6731)
+++ branches/release-0.94/tests/stress/IO/beagle/stage_to_remote1x3.timeout 2013-08-03 22:59:23 UTC (rev 6732)
@@ -1 +0,0 @@
-600
Deleted: branches/release-0.94/tests/stress/IO/beagle/stage_to_remoteNx3.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/beagle/stage_to_remoteNx3.setup.sh 2013-08-03 22:56:46 UTC (rev 6731)
+++ branches/release-0.94/tests/stress/IO/beagle/stage_to_remoteNx3.setup.sh 2013-08-03 22:59:23 UTC (rev 6732)
@@ -1,55 +0,0 @@
-#!/bin/bash
-
-ARGS_FILE=${0%.setup.sh}.args
-BEAGLE_USERNAME=$BEAGLE_USERNAME
-
-case $STRESS in
- "S1")
- FILES=100
- LOOPS=50
- ;;
- "S2")
- FILES=100
- LOOPS=100
- ;;
- *)
- FILES=100
- LOOPS=50
- ;;
-esac
-
-
-dd if=/dev/zero of=dummy bs=1024 count=0 seek=$((1024*FILES))
-echo "-loops=$LOOPS" > $ARGS_FILE
-
-cat <<'EOF' > wrapper.sh
-#!/bin/bash
-ARG1=$1
-ls | grep "$1" &> /dev/null
-if [ $? == 0 ]
-then
- echo "Hey this is wrapper and the $1 exists as a file";
- ls -lah;
-else
- echo "Doinks! the file we need isn't here";
- ls -lah
-fi
-cat $ARG1 > $ARG1.test
-if [ $? == 0 ]
-then
- echo "The cat worked! ";
-else
- echo "The cat failed ";
-fi
-
-rm $ARG1 $ARG1.test
-echo "Residual files cleaned up"
-EOF
-
-if [[ -z $BEAGLE_USERNAME ]]
-then
- echo "Remote username not provided. Skipping sites configs"
-else
- ls *xml
- cat sites.xml | sed "s/{env.USER}/$BEAGLE_USERNAME/" > tmp && mv tmp sites.xml
-fi
\ No newline at end of file
Deleted: branches/release-0.94/tests/stress/IO/beagle/stage_to_remoteNx3.source.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/beagle/stage_to_remoteNx3.source.sh 2013-08-03 22:56:46 UTC (rev 6731)
+++ branches/release-0.94/tests/stress/IO/beagle/stage_to_remoteNx3.source.sh 2013-08-03 22:59:23 UTC (rev 6732)
@@ -1,8 +0,0 @@
-#!/bin/bash
-
-if [ "midway001" == "midway001" ]
-then
- export GLOBUS_HOSTNAME=swift.rcc.uchicago.edu
- export GLOBUS_TCP_PORT_RANGE=50000,51000
-fi;
-
Deleted: branches/release-0.94/tests/stress/IO/beagle/stage_to_remoteNx3.swift
===================================================================
--- branches/release-0.94/tests/stress/IO/beagle/stage_to_remoteNx3.swift 2013-08-03 22:56:46 UTC (rev 6731)
+++ branches/release-0.94/tests/stress/IO/beagle/stage_to_remoteNx3.swift 2013-08-03 22:59:23 UTC (rev 6732)
@@ -1,17 +0,0 @@
-type file;
-
-file package <"dummy">;
-file script <"wrapper.sh">;
-int loop = @toInt(@arg("loops","0"));
-
-app (file out, file err) remote_driver (file run, file tar)
-{
- bash @run @tar stdout=@out stderr=@err;
-}
-
-file driver_out[] <simple_mapper; prefix="driver", suffix=".out">;
-file driver_err[] <simple_mapper; prefix="driver", suffix=".err">;
-
-foreach item,i in [0:loop] {
- (driver_out[i], driver_err[i]) = remote_driver(script, package);
-}
\ No newline at end of file
Deleted: branches/release-0.94/tests/stress/IO/beagle/stage_to_remoteNx3.timeout
===================================================================
--- branches/release-0.94/tests/stress/IO/beagle/stage_to_remoteNx3.timeout 2013-08-03 22:56:46 UTC (rev 6731)
+++ branches/release-0.94/tests/stress/IO/beagle/stage_to_remoteNx3.timeout 2013-08-03 22:59:23 UTC (rev 6732)
@@ -1 +0,0 @@
-1200
Added: branches/release-0.94/tests/stress/IO/beagle/z_stats.clean.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/beagle/z_stats.clean.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/beagle/z_stats.clean.sh 2013-08-03 22:59:23 UTC (rev 6732)
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+HOME=$PWD
+echo "Current test : $HOME"
+
+TESTS_HOME=$(dirname $HOME)
+echo "Tests home : $TESTS_HOME"
+
+ps -u $USER
+echo "Clearing all java instances"
+
+ps -u $USER | grep java
+if [ "$?" == "0" ]
+then
+ killall -u $USER java -9
+fi
+
+echo "Collecting stats"
+for test_case in `ls $TESTS_HOME | grep stage`
+do
+ echo "$test_case"
+ cat $TESTS_HOME/$test_case/*check.stdout
+ echo
+done
\ No newline at end of file
Property changes on: branches/release-0.94/tests/stress/IO/beagle/z_stats.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/beagle/z_stats.swift
===================================================================
--- branches/release-0.94/tests/stress/IO/beagle/z_stats.swift (rev 0)
+++ branches/release-0.94/tests/stress/IO/beagle/z_stats.swift 2013-08-03 22:59:23 UTC (rev 6732)
@@ -0,0 +1 @@
+type file;
\ No newline at end of file
Added: branches/release-0.94/tests/stress/IO/multiple/z_stats.clean.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/z_stats.clean.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/z_stats.clean.sh 2013-08-03 22:59:23 UTC (rev 6732)
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+HOME=$PWD
+echo "Current test : $HOME"
+
+TESTS_HOME=$(dirname $HOME)
+echo "Tests home : $TESTS_HOME"
+
+ps -u $USER
+echo "Clearing all java instances"
+
+ps -u $USER | grep java
+if [ "$?" == "0" ]
+then
+ killall -u $USER java -9
+fi
+
+echo "Collecting stats"
+for test_case in `ls $TESTS_HOME | grep stage`
+do
+ echo "$test_case"
+ cat $TESTS_HOME/$test_case/*check.stdout
+ echo
+done
\ No newline at end of file
Property changes on: branches/release-0.94/tests/stress/IO/multiple/z_stats.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/multiple/z_stats.swift
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/z_stats.swift (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/z_stats.swift 2013-08-03 22:59:23 UTC (rev 6732)
@@ -0,0 +1 @@
+type file;
\ No newline at end of file
Added: branches/release-0.94/tests/stress/IO/uc3/z_stats.clean.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/z_stats.clean.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/z_stats.clean.sh 2013-08-03 22:59:23 UTC (rev 6732)
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+HOME=$PWD
+echo "Current test : $HOME"
+
+TESTS_HOME=$(dirname $HOME)
+echo "Tests home : $TESTS_HOME"
+
+ps -u $USER
+echo "Clearing all java instances"
+
+ps -u $USER | grep java
+if [ "$?" == "0" ]
+then
+ killall -u $USER java -9
+fi
+
+echo "Collecting stats"
+for test_case in `ls $TESTS_HOME | grep stage`
+do
+ echo "$test_case"
+ cat $TESTS_HOME/$test_case/*check.stdout
+ echo
+done
\ No newline at end of file
Property changes on: branches/release-0.94/tests/stress/IO/uc3/z_stats.clean.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/uc3/z_stats.swift
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/z_stats.swift (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/z_stats.swift 2013-08-03 22:59:23 UTC (rev 6732)
@@ -0,0 +1 @@
+type file;
\ No newline at end of file
More information about the Swift-commit
mailing list