[Swift-commit] r6670 - in branches/release-0.94/tests/stress/IO: beagle multiple uc3

yadunandb at ci.uchicago.edu yadunandb at ci.uchicago.edu
Fri Jul 26 17:35:20 CDT 2013


Author: yadunandb
Date: 2013-07-26 17:35:19 -0500 (Fri, 26 Jul 2013)
New Revision: 6670

Removed:
   branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x3.setup.sh
   branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x3.source.sh
   branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x3.swift
   branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x3.timeout
Modified:
   branches/release-0.94/tests/stress/IO/beagle/stage_from_remote1x1.check.sh
   branches/release-0.94/tests/stress/IO/beagle/stage_from_remote1x2.check.sh
   branches/release-0.94/tests/stress/IO/beagle/stage_from_remoteNx1.check.sh
   branches/release-0.94/tests/stress/IO/beagle/stage_from_remoteNx2.check.sh
   branches/release-0.94/tests/stress/IO/beagle/stage_to_remote1x1.check.sh
   branches/release-0.94/tests/stress/IO/beagle/stage_to_remote1x2.check.sh
   branches/release-0.94/tests/stress/IO/beagle/stage_to_remoteNx1.check.sh
   branches/release-0.94/tests/stress/IO/beagle/stage_to_remoteNx2.check.sh
   branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x1.check.sh
   branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x2.check.sh
   branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx1.check.sh
   branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx2.check.sh
   branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x1.check.sh
   branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x2.check.sh
   branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.check.sh
   branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.check.sh
   branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x1.check.sh
   branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x2.check.sh
   branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx1.check.sh
   branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx2.check.sh
   branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x1.check.sh
   branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x2.check.sh
   branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx1.check.sh
   branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx2.check.sh
Log:

Changed the stress levels and remove x3 test series from IO tests



Modified: branches/release-0.94/tests/stress/IO/beagle/stage_from_remote1x1.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/beagle/stage_from_remote1x1.check.sh	2013-07-26 22:33:15 UTC (rev 6669)
+++ branches/release-0.94/tests/stress/IO/beagle/stage_from_remote1x1.check.sh	2013-07-26 22:35:19 UTC (rev 6670)
@@ -1,4 +1,19 @@
-#!/bin/bash                                                                                                                                            
-echo "Cleaning up"
+#!/bin/bash
+
 rm -rf "dummy" *.out &> /dev/null
+if [ "$KILL_JAVA" == "true" ];
+then
+    echo "Killing Java.."
+    killall -u $USER java -9
+fi
 
+IN=`grep "PerformanceDiagnosticInputStream\ \[IN\]" $BASE*log | tail -n 1`
+MEM=`grep "PerformanceDiagnosticInputStream\ \[MEM\]" $BASE*log`
+OUT=`grep "PerformanceDiagnosticOutputStream\ \[OUT\]" $BASE*log | tail -n 1`
+
+echo "====="
+echo "IN  : $IN"
+echo "MEM : $MEM"
+echo "OUT : $OUT"
+echo "====="
+

Modified: branches/release-0.94/tests/stress/IO/beagle/stage_from_remote1x2.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/beagle/stage_from_remote1x2.check.sh	2013-07-26 22:33:15 UTC (rev 6669)
+++ branches/release-0.94/tests/stress/IO/beagle/stage_from_remote1x2.check.sh	2013-07-26 22:35:19 UTC (rev 6670)
@@ -1,4 +1,19 @@
-#!/bin/bash                                                                                                                                            
-echo "Cleaning up"
+#!/bin/bash
+
 rm -rf "dummy" *.out &> /dev/null
+if [ "$KILL_JAVA" == "true" ];
+then
+    echo "Killing Java.."
+    killall -u $USER java -9
+fi
 
+IN=`grep "PerformanceDiagnosticInputStream\ \[IN\]" $BASE*log | tail -n 1`
+MEM=`grep "PerformanceDiagnosticInputStream\ \[MEM\]" $BASE*log`
+OUT=`grep "PerformanceDiagnosticOutputStream\ \[OUT\]" $BASE*log | tail -n 1`
+
+echo "====="
+echo "IN  : $IN"
+echo "MEM : $MEM"
+echo "OUT : $OUT"
+echo "====="
+

Modified: branches/release-0.94/tests/stress/IO/beagle/stage_from_remoteNx1.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/beagle/stage_from_remoteNx1.check.sh	2013-07-26 22:33:15 UTC (rev 6669)
+++ branches/release-0.94/tests/stress/IO/beagle/stage_from_remoteNx1.check.sh	2013-07-26 22:35:19 UTC (rev 6670)
@@ -1,4 +1,19 @@
-#!/bin/bash                                                                                                                                            
-echo "Cleaning up"
+#!/bin/bash
+
 rm -rf "dummy" *.out &> /dev/null
+if [ "$KILL_JAVA" == "true" ];
+then
+    echo "Killing Java.."
+    killall -u $USER java -9
+fi
 
+IN=`grep "PerformanceDiagnosticInputStream\ \[IN\]" $BASE*log | tail -n 1`
+MEM=`grep "PerformanceDiagnosticInputStream\ \[MEM\]" $BASE*log`
+OUT=`grep "PerformanceDiagnosticOutputStream\ \[OUT\]" $BASE*log | tail -n 1`
+
+echo "====="
+echo "IN  : $IN"
+echo "MEM : $MEM"
+echo "OUT : $OUT"
+echo "====="
+

Modified: branches/release-0.94/tests/stress/IO/beagle/stage_from_remoteNx2.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/beagle/stage_from_remoteNx2.check.sh	2013-07-26 22:33:15 UTC (rev 6669)
+++ branches/release-0.94/tests/stress/IO/beagle/stage_from_remoteNx2.check.sh	2013-07-26 22:35:19 UTC (rev 6670)
@@ -1,4 +1,19 @@
-#!/bin/bash                                                                                                                                            
-echo "Cleaning up"
+#!/bin/bash
+
 rm -rf "dummy" *.out &> /dev/null
+if [ "$KILL_JAVA" == "true" ];
+then
+    echo "Killing Java.."
+    killall -u $USER java -9
+fi
 
+IN=`grep "PerformanceDiagnosticInputStream\ \[IN\]" $BASE*log | tail -n 1`
+MEM=`grep "PerformanceDiagnosticInputStream\ \[MEM\]" $BASE*log`
+OUT=`grep "PerformanceDiagnosticOutputStream\ \[OUT\]" $BASE*log | tail -n 1`
+
+echo "====="
+echo "IN  : $IN"
+echo "MEM : $MEM"
+echo "OUT : $OUT"
+echo "====="
+

Modified: branches/release-0.94/tests/stress/IO/beagle/stage_to_remote1x1.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/beagle/stage_to_remote1x1.check.sh	2013-07-26 22:33:15 UTC (rev 6669)
+++ branches/release-0.94/tests/stress/IO/beagle/stage_to_remote1x1.check.sh	2013-07-26 22:35:19 UTC (rev 6670)
@@ -1,4 +1,19 @@
-#!/bin/bash                                                                                                                                            
-echo "Cleaning up"
+#!/bin/bash
+
 rm -rf "dummy" *.out &> /dev/null
+if [ "$KILL_JAVA" == "true" ];
+then
+    echo "Killing Java.."
+    killall -u $USER java -9
+fi
 
+IN=`grep "PerformanceDiagnosticInputStream\ \[IN\]" $BASE*log | tail -n 1`
+MEM=`grep "PerformanceDiagnosticInputStream\ \[MEM\]" $BASE*log`
+OUT=`grep "PerformanceDiagnosticOutputStream\ \[OUT\]" $BASE*log | tail -n 1`
+
+echo "====="
+echo "IN  : $IN"
+echo "MEM : $MEM"
+echo "OUT : $OUT"
+echo "====="
+

Modified: branches/release-0.94/tests/stress/IO/beagle/stage_to_remote1x2.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/beagle/stage_to_remote1x2.check.sh	2013-07-26 22:33:15 UTC (rev 6669)
+++ branches/release-0.94/tests/stress/IO/beagle/stage_to_remote1x2.check.sh	2013-07-26 22:35:19 UTC (rev 6670)
@@ -1,4 +1,19 @@
-#!/bin/bash                                                                                                                                            
-echo "Cleaning up"
+#!/bin/bash
+
 rm -rf "dummy" *.out &> /dev/null
+if [ "$KILL_JAVA" == "true" ];
+then
+    echo "Killing Java.."
+    killall -u $USER java -9
+fi
 
+IN=`grep "PerformanceDiagnosticInputStream\ \[IN\]" $BASE*log | tail -n 1`
+MEM=`grep "PerformanceDiagnosticInputStream\ \[MEM\]" $BASE*log`
+OUT=`grep "PerformanceDiagnosticOutputStream\ \[OUT\]" $BASE*log | tail -n 1`
+
+echo "====="
+echo "IN  : $IN"
+echo "MEM : $MEM"
+echo "OUT : $OUT"
+echo "====="
+

Modified: branches/release-0.94/tests/stress/IO/beagle/stage_to_remoteNx1.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/beagle/stage_to_remoteNx1.check.sh	2013-07-26 22:33:15 UTC (rev 6669)
+++ branches/release-0.94/tests/stress/IO/beagle/stage_to_remoteNx1.check.sh	2013-07-26 22:35:19 UTC (rev 6670)
@@ -1,4 +1,19 @@
-#!/bin/bash                                                                                                                                            
-echo "Cleaning up"
+#!/bin/bash
+
 rm -rf "dummy" *.out &> /dev/null
+if [ "$KILL_JAVA" == "true" ];
+then
+    echo "Killing Java.."
+    killall -u $USER java -9
+fi
 
+IN=`grep "PerformanceDiagnosticInputStream\ \[IN\]" $BASE*log | tail -n 1`
+MEM=`grep "PerformanceDiagnosticInputStream\ \[MEM\]" $BASE*log`
+OUT=`grep "PerformanceDiagnosticOutputStream\ \[OUT\]" $BASE*log | tail -n 1`
+
+echo "====="
+echo "IN  : $IN"
+echo "MEM : $MEM"
+echo "OUT : $OUT"
+echo "====="
+

Modified: branches/release-0.94/tests/stress/IO/beagle/stage_to_remoteNx2.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/beagle/stage_to_remoteNx2.check.sh	2013-07-26 22:33:15 UTC (rev 6669)
+++ branches/release-0.94/tests/stress/IO/beagle/stage_to_remoteNx2.check.sh	2013-07-26 22:35:19 UTC (rev 6670)
@@ -1,4 +1,19 @@
-#!/bin/bash                                                                                                                                            
-echo "Cleaning up"
+#!/bin/bash
+
 rm -rf "dummy" *.out &> /dev/null
+if [ "$KILL_JAVA" == "true" ];
+then
+    echo "Killing Java.."
+    killall -u $USER java -9
+fi
 
+IN=`grep "PerformanceDiagnosticInputStream\ \[IN\]" $BASE*log | tail -n 1`
+MEM=`grep "PerformanceDiagnosticInputStream\ \[MEM\]" $BASE*log`
+OUT=`grep "PerformanceDiagnosticOutputStream\ \[OUT\]" $BASE*log | tail -n 1`
+
+echo "====="
+echo "IN  : $IN"
+echo "MEM : $MEM"
+echo "OUT : $OUT"
+echo "====="
+

Modified: branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x1.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x1.check.sh	2013-07-26 22:33:15 UTC (rev 6669)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x1.check.sh	2013-07-26 22:35:19 UTC (rev 6670)
@@ -1,4 +1,17 @@
-#!/bin/bash                                                                                                                                            
+
+#!/bin/bash
+
 echo "Cleaning up"
-rm -rf "dummy" driver*.out &> /dev/null
+rm -rf "dummy" *.out &> /dev/null
 
+if [ "$KILL_JAVA" == "true" ];
+then
+    echo "Killing Java.."
+    for dead in `ps axf -u $USER | grep HeapDumpOnOutOfMemoryError | grep -o ^[0-9]*`
+    do
+        kill -9 $dead
+    done
+else
+    echo "No"
+fi
+

Modified: branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x2.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x2.check.sh	2013-07-26 22:33:15 UTC (rev 6669)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x2.check.sh	2013-07-26 22:35:19 UTC (rev 6670)
@@ -1,4 +1,19 @@
-#!/bin/bash                                                                                                                                            
-echo "Cleaning up"
-rm -rf "dummy" driver*.out &> /dev/null
+#!/bin/bash                                                                                                                                                                              
 
+rm -rf "dummy" *.out &> /dev/null
+if [ "$KILL_JAVA" == "true" ];
+then
+    echo "Killing Java.."
+    killall -u $USER java -9
+fi
+
+IN=`grep "PerformanceDiagnosticInputStream\ \[IN\]" $BASE*log | tail -n 1`
+MEM=`grep "PerformanceDiagnosticInputStream\ \[MEM\]" $BASE*log`
+OUT=`grep "PerformanceDiagnosticOutputStream\ \[OUT\]" $BASE*log | tail -n 1`
+
+echo "====="
+echo "IN  : $IN"
+echo "MEM : $MEM"
+echo "OUT : $OUT"
+echo "====="
+

Modified: branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx1.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx1.check.sh	2013-07-26 22:33:15 UTC (rev 6669)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx1.check.sh	2013-07-26 22:35:19 UTC (rev 6670)
@@ -1,4 +1,17 @@
-#!/bin/bash                                                                                                                                            
+
+#!/bin/bash
+
 echo "Cleaning up"
-rm -rf "dummy" driver*.out &> /dev/null
+rm -rf "dummy" *.out &> /dev/null
 
+if [ "$KILL_JAVA" == "true" ];
+then
+    echo "Killing Java.."
+    for dead in `ps axf -u $USER | grep HeapDumpOnOutOfMemoryError | grep -o ^[0-9]*`
+    do
+        kill -9 $dead
+    done
+else
+    echo "No"
+fi
+

Modified: branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx2.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx2.check.sh	2013-07-26 22:33:15 UTC (rev 6669)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx2.check.sh	2013-07-26 22:35:19 UTC (rev 6670)
@@ -1,4 +1,19 @@
-#!/bin/bash                                                                                                                                            
-echo "Cleaning up"
-rm -rf "dummy" driver*.out &> /dev/null
+#!/bin/bash                                                                                                                                                                              
 
+rm -rf "dummy" *.out &> /dev/null
+if [ "$KILL_JAVA" == "true" ];
+then
+    echo "Killing Java.."
+    killall -u $USER java -9
+fi
+
+IN=`grep "PerformanceDiagnosticInputStream\ \[IN\]" $BASE*log | tail -n 1`
+MEM=`grep "PerformanceDiagnosticInputStream\ \[MEM\]" $BASE*log`
+OUT=`grep "PerformanceDiagnosticOutputStream\ \[OUT\]" $BASE*log | tail -n 1`
+
+echo "====="
+echo "IN  : $IN"
+echo "MEM : $MEM"
+echo "OUT : $OUT"
+echo "====="
+

Modified: branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x1.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x1.check.sh	2013-07-26 22:33:15 UTC (rev 6669)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x1.check.sh	2013-07-26 22:35:19 UTC (rev 6670)
@@ -1,4 +1,17 @@
-#!/bin/bash                                                                                                                                            
+
+#!/bin/bash
+
 echo "Cleaning up"
-rm -rf "dummy" driver*.out &> /dev/null
+rm -rf "dummy" *.out &> /dev/null
 
+if [ "$KILL_JAVA" == "true" ];
+then
+    echo "Killing Java.."
+    for dead in `ps axf -u $USER | grep HeapDumpOnOutOfMemoryError | grep -o ^[0-9]*`
+    do
+        kill -9 $dead
+    done
+else
+    echo "No"
+fi
+

Modified: branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x2.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x2.check.sh	2013-07-26 22:33:15 UTC (rev 6669)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x2.check.sh	2013-07-26 22:35:19 UTC (rev 6670)
@@ -1,4 +1,19 @@
-#!/bin/bash                                                                                                                                            
-echo "Cleaning up"
-rm -rf "dummy" driver*.out &> /dev/null
+#!/bin/bash                                                                                                                                                                              
 
+rm -rf "dummy" *.out &> /dev/null
+if [ "$KILL_JAVA" == "true" ];
+then
+    echo "Killing Java.."
+    killall -u $USER java -9
+fi
+
+IN=`grep "PerformanceDiagnosticInputStream\ \[IN\]" $BASE*log | tail -n 1`
+MEM=`grep "PerformanceDiagnosticInputStream\ \[MEM\]" $BASE*log`
+OUT=`grep "PerformanceDiagnosticOutputStream\ \[OUT\]" $BASE*log | tail -n 1`
+
+echo "====="
+echo "IN  : $IN"
+echo "MEM : $MEM"
+echo "OUT : $OUT"
+echo "====="
+

Deleted: branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x3.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x3.setup.sh	2013-07-26 22:33:15 UTC (rev 6669)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x3.setup.sh	2013-07-26 22:35:19 UTC (rev 6670)
@@ -1,63 +0,0 @@
-#!/bin/bash
-
-if [[ -z $MIDWAY_USERNAME ]]
-then
-    echo "Remote username not provided. Skipping sites configs"
-else
-    ls *xml
-    cat sites.xml  | sed "s/{mid.USER}/$MIDWAY_USERNAME/" > tmp && mv tmp\
- sites.xml
-fi
-if [[ -z $UC3_USERNAME ]]
-then
-    echo "Remote username not provided. Skipping sites configs"
-else
-    ls *xml
-    cat sites.xml  | sed "s/{uc3.USER}/$UC3_USERNAME/" > tmp && mv tmp si\
-tes.xml
-fi
-if [[ -z $BEAGLE_USERNAME ]]
-then
-    echo "Remote username not provided. Skipping sites configs"
-else
-    ls *xml
-    cat sites.xml  | sed "s/{beagle.USER}/$BEAGLE_USERNAME/" > tmp && mv \
-tmp sites.xml
-fi
-
-ARGS_FILE=${0%.setup.sh}.args
-
-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

Deleted: branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x3.source.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x3.source.sh	2013-07-26 22:33:15 UTC (rev 6669)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x3.source.sh	2013-07-26 22:35:19 UTC (rev 6670)
@@ -1,6 +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/multiple/stage_to_remote1x3.swift
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x3.swift	2013-07-26 22:33:15 UTC (rev 6669)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x3.swift	2013-07-26 22:35:19 UTC (rev 6670)
@@ -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/multiple/stage_to_remote1x3.timeout
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x3.timeout	2013-07-26 22:33:15 UTC (rev 6669)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x3.timeout	2013-07-26 22:35:19 UTC (rev 6670)
@@ -1 +0,0 @@
-600

Modified: branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.check.sh	2013-07-26 22:33:15 UTC (rev 6669)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.check.sh	2013-07-26 22:35:19 UTC (rev 6670)
@@ -1,4 +1,17 @@
-#!/bin/bash                                                                                                                                            
+
+#!/bin/bash
+
 echo "Cleaning up"
 rm -rf "dummy" *.out &> /dev/null
 
+if [ "$KILL_JAVA" == "true" ];
+then
+    echo "Killing Java.."
+    for dead in `ps axf -u $USER | grep HeapDumpOnOutOfMemoryError | grep -o ^[0-9]*`
+    do
+        kill -9 $dead
+    done
+else
+    echo "No"
+fi
+

Modified: branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.check.sh	2013-07-26 22:33:15 UTC (rev 6669)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.check.sh	2013-07-26 22:35:19 UTC (rev 6670)
@@ -1,4 +1,19 @@
-#!/bin/bash                                                                                                                                            
-echo "Cleaning up"
+#!/bin/bash                                                                                                                                                                              
+
 rm -rf "dummy" *.out &> /dev/null
+if [ "$KILL_JAVA" == "true" ];
+then
+    echo "Killing Java.."
+    killall -u $USER java -9
+fi
 
+IN=`grep "PerformanceDiagnosticInputStream\ \[IN\]" $BASE*log | tail -n 1`
+MEM=`grep "PerformanceDiagnosticInputStream\ \[MEM\]" $BASE*log`
+OUT=`grep "PerformanceDiagnosticOutputStream\ \[OUT\]" $BASE*log | tail -n 1`
+
+echo "====="
+echo "IN  : $IN"
+echo "MEM : $MEM"
+echo "OUT : $OUT"
+echo "====="
+

Modified: branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x1.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x1.check.sh	2013-07-26 22:33:15 UTC (rev 6669)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x1.check.sh	2013-07-26 22:35:19 UTC (rev 6670)
@@ -1,4 +1,17 @@
-#!/bin/bash                                                                                                                                            
+
+#!/bin/bash
+
 echo "Cleaning up"
-rm -rf "dummy" driver*.out &> /dev/null
+rm -rf "dummy" *.out &> /dev/null
 
+if [ "$KILL_JAVA" == "true" ];
+then
+    echo "Killing Java.."
+    for dead in `ps axf -u $USER | grep HeapDumpOnOutOfMemoryError | grep -o ^[0-9]*`
+    do
+        kill -9 $dead
+    done
+else
+    echo "No"
+fi
+

Modified: branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x2.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x2.check.sh	2013-07-26 22:33:15 UTC (rev 6669)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x2.check.sh	2013-07-26 22:35:19 UTC (rev 6670)
@@ -1,4 +1,19 @@
-#!/bin/bash                                                                                                                                            
-echo "Cleaning up"
-rm -rf "dummy" driver*.out &> /dev/null
+#!/bin/bash                                                                                                                                                                              
 
+rm -rf "dummy" *.out &> /dev/null
+if [ "$KILL_JAVA" == "true" ];
+then
+    echo "Killing Java.."
+    killall -u $USER java -9
+fi
+
+IN=`grep "PerformanceDiagnosticInputStream\ \[IN\]" $BASE*log | tail -n 1`
+MEM=`grep "PerformanceDiagnosticInputStream\ \[MEM\]" $BASE*log`
+OUT=`grep "PerformanceDiagnosticOutputStream\ \[OUT\]" $BASE*log | tail -n 1`
+
+echo "====="
+echo "IN  : $IN"
+echo "MEM : $MEM"
+echo "OUT : $OUT"
+echo "====="
+

Modified: branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx1.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx1.check.sh	2013-07-26 22:33:15 UTC (rev 6669)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx1.check.sh	2013-07-26 22:35:19 UTC (rev 6670)
@@ -1,4 +1,17 @@
-#!/bin/bash                                                                                                                                            
+
+#!/bin/bash
+
 echo "Cleaning up"
-rm -rf "dummy" driver*.out &> /dev/null
+rm -rf "dummy" *.out &> /dev/null
 
+if [ "$KILL_JAVA" == "true" ];
+then
+    echo "Killing Java.."
+    for dead in `ps axf -u $USER | grep HeapDumpOnOutOfMemoryError | grep -o ^[0-9]*`
+    do
+        kill -9 $dead
+    done
+else
+    echo "No"
+fi
+

Modified: branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx2.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx2.check.sh	2013-07-26 22:33:15 UTC (rev 6669)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx2.check.sh	2013-07-26 22:35:19 UTC (rev 6670)
@@ -1,4 +1,19 @@
-#!/bin/bash                                                                                                                                            
-echo "Cleaning up"
-rm -rf "dummy" driver*.out &> /dev/null
+#!/bin/bash                                                                                                                                                                              
 
+rm -rf "dummy" *.out &> /dev/null
+if [ "$KILL_JAVA" == "true" ];
+then
+    echo "Killing Java.."
+    killall -u $USER java -9
+fi
+
+IN=`grep "PerformanceDiagnosticInputStream\ \[IN\]" $BASE*log | tail -n 1`
+MEM=`grep "PerformanceDiagnosticInputStream\ \[MEM\]" $BASE*log`
+OUT=`grep "PerformanceDiagnosticOutputStream\ \[OUT\]" $BASE*log | tail -n 1`
+
+echo "====="
+echo "IN  : $IN"
+echo "MEM : $MEM"
+echo "OUT : $OUT"
+echo "====="
+

Modified: branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x1.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x1.check.sh	2013-07-26 22:33:15 UTC (rev 6669)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x1.check.sh	2013-07-26 22:35:19 UTC (rev 6670)
@@ -1,4 +1,17 @@
-#!/bin/bash                                                                                                                                            
+
+#!/bin/bash
+
 echo "Cleaning up"
-rm -rf "dummy" driver*.out &> /dev/null
+rm -rf "dummy" *.out &> /dev/null
 
+if [ "$KILL_JAVA" == "true" ];
+then
+    echo "Killing Java.."
+    for dead in `ps axf -u $USER | grep HeapDumpOnOutOfMemoryError | grep -o ^[0-9]*`
+    do
+        kill -9 $dead
+    done
+else
+    echo "No"
+fi
+

Modified: branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x2.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x2.check.sh	2013-07-26 22:33:15 UTC (rev 6669)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x2.check.sh	2013-07-26 22:35:19 UTC (rev 6670)
@@ -1,4 +1,19 @@
-#!/bin/bash                                                                                                                                            
-echo "Cleaning up"
-rm -rf "dummy" driver*.out &> /dev/null
+#!/bin/bash                                                                                                                                                                              
 
+rm -rf "dummy" *.out &> /dev/null
+if [ "$KILL_JAVA" == "true" ];
+then
+    echo "Killing Java.."
+    killall -u $USER java -9
+fi
+
+IN=`grep "PerformanceDiagnosticInputStream\ \[IN\]" $BASE*log | tail -n 1`
+MEM=`grep "PerformanceDiagnosticInputStream\ \[MEM\]" $BASE*log`
+OUT=`grep "PerformanceDiagnosticOutputStream\ \[OUT\]" $BASE*log | tail -n 1`
+
+echo "====="
+echo "IN  : $IN"
+echo "MEM : $MEM"
+echo "OUT : $OUT"
+echo "====="
+

Modified: branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx1.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx1.check.sh	2013-07-26 22:33:15 UTC (rev 6669)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx1.check.sh	2013-07-26 22:35:19 UTC (rev 6670)
@@ -1,4 +1,17 @@
-#!/bin/bash                                                                                                                                            
+
+#!/bin/bash
+
 echo "Cleaning up"
-rm -rf "dummy" driver*.out &> /dev/null
+rm -rf "dummy" *.out &> /dev/null
 
+if [ "$KILL_JAVA" == "true" ];
+then
+    echo "Killing Java.."
+    for dead in `ps axf -u $USER | grep HeapDumpOnOutOfMemoryError | grep -o ^[0-9]*`
+    do
+        kill -9 $dead
+    done
+else
+    echo "No"
+fi
+

Modified: branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx2.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx2.check.sh	2013-07-26 22:33:15 UTC (rev 6669)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx2.check.sh	2013-07-26 22:35:19 UTC (rev 6670)
@@ -1,4 +1,19 @@
-#!/bin/bash                                                                                                                                            
-echo "Cleaning up"
-rm -rf "dummy" driver*.out &> /dev/null
+#!/bin/bash                                                                                                                                                                              
 
+rm -rf "dummy" *.out &> /dev/null
+if [ "$KILL_JAVA" == "true" ];
+then
+    echo "Killing Java.."
+    killall -u $USER java -9
+fi
+
+IN=`grep "PerformanceDiagnosticInputStream\ \[IN\]" $BASE*log | tail -n 1`
+MEM=`grep "PerformanceDiagnosticInputStream\ \[MEM\]" $BASE*log`
+OUT=`grep "PerformanceDiagnosticOutputStream\ \[OUT\]" $BASE*log | tail -n 1`
+
+echo "====="
+echo "IN  : $IN"
+echo "MEM : $MEM"
+echo "OUT : $OUT"
+echo "====="
+




More information about the Swift-commit mailing list