[Swift-commit] r6657 - in branches/release-0.94/tests/stress/IO: bagOnodes multiple uc3
yadunandb at ci.uchicago.edu
yadunandb at ci.uchicago.edu
Tue Jul 16 17:32:45 CDT 2013
Author: yadunandb
Date: 2013-07-16 17:32:44 -0500 (Tue, 16 Jul 2013)
New Revision: 6657
Added:
branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remote1x1.check.sh
branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remote1x2.check.sh
branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remoteNx1.check.sh
branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remoteNx2.check.sh
branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remote1x1.check.sh
branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remote1x2.check.sh
branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remoteNx1.check.sh
branches/release-0.94/tests/stress/IO/bagOnodes/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_remote1x1.setup.sh
branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x1.swift
branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x1.timeout
branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x2.check.sh
branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x2.setup.sh
branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x2.swift
branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x2.timeout
branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx1.check.sh
branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx1.setup.sh
branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx1.setup.sh~
branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx1.swift
branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx1.timeout
branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx2.check.sh
branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx2.setup.sh
branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx2.swift
branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx2.timeout
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.args
branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.check.sh
branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.setup.sh
branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.setup.sh~
branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.source.sh
branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.swift
branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.timeout
branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.check.sh
branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.setup.sh
branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.setup.sh~
branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.source.sh
branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.swift
branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.timeout
branches/release-0.94/tests/stress/IO/uc3/stage_from_remote.check.sh
branches/release-0.94/tests/stress/IO/uc3/stage_from_remote.setup.sh
branches/release-0.94/tests/stress/IO/uc3/stage_from_remote.source.sh
branches/release-0.94/tests/stress/IO/uc3/stage_from_remote.swift
branches/release-0.94/tests/stress/IO/uc3/stage_from_remote.timeout
branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x1.check.sh
branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x1.setup.sh
branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x1.source.sh
branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x1.swift
branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x1.timeout
branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x2.check.sh
branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x2.setup.sh
branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x2.source.sh
branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x2.swift
branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x2.timeout
branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx1.check.sh
branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx1.setup.sh
branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx1.source.sh
branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx1.swift
branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx1.timeout
branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx2.check.sh
branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx2.setup.sh
branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx2.source.sh
branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx2.swift
branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx2.timeout
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_remote1x2.setup.sh
branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x2.source.sh
branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x2.swift
branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x2.timeout
branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx1.check.sh
branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx1.setup.sh
branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx1.source.sh
branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx1.swift
branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx1.timeout
branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx2.check.sh
branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx2.setup.sh
branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx2.source.sh
branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx2.swift
branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx2.timeout
Removed:
branches/release-0.94/tests/stress/IO/multiple/temp/
branches/release-0.94/tests/stress/IO/uc3/temp/
Modified:
branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remote1x1.setup.sh
branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remote1x2.setup.sh
branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remoteNx1.setup.sh
branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remoteNx2.setup.sh
branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remote1x1.setup.sh
branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remote1x2.setup.sh
branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remoteNx1.setup.sh
branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remoteNx2.setup.sh
branches/release-0.94/tests/stress/IO/bagOnodes/temp.sh
branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x1.setup.sh
branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x2.setup.sh
branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x1.setup.sh
Log:
Several changes to IO stress to tests to ensure that disks do not
get filled up with useless test artifacts.
Added: branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remote1x1.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remote1x1.check.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remote1x1.check.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "Cleaning up"
+rm -rf "dummy" driver*.out &> /dev/null
+
Property changes on: branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remote1x1.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remote1x1.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remote1x1.setup.sh 2013-07-16 21:56:51 UTC (rev 6656)
+++ branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remote1x1.setup.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -1,7 +1,7 @@
#!/bin/bash
ARGS_FILE=${0%.setup.sh}.args
-USERNAME=$MCS_USERNAME
+MCS_USERNAME=$MCS_USERNAME
case $STRESS in
"S1")
@@ -30,10 +30,10 @@
EOF
-if [[ -z $USERNAME ]]
+if [[ -z $MCS_USERNAME ]]
then
echo "Remote username not provided. Skipping sites configs"
else
ls *xml
- cat sites.xml | sed "s/{env.USER}/$USERNAME/" > tmp && mv tmp sites.xml
+ cat sites.xml | sed "s/{env.USER}/$MCS_USERNAME/" > tmp && mv tmp sites.xml
fi
Added: branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remote1x2.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remote1x2.check.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remote1x2.check.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "Cleaning up"
+rm -rf "dummy" driver*.out &> /dev/null
+
Property changes on: branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remote1x2.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remote1x2.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remote1x2.setup.sh 2013-07-16 21:56:51 UTC (rev 6656)
+++ branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remote1x2.setup.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -1,7 +1,7 @@
#!/bin/bash
ARGS_FILE=${0%.setup.sh}.args
-USERNAME=$MCS_USERNAME
+MCS_USERNAME=$MCS_USERNAME
case $STRESS in
"S1")
@@ -30,10 +30,10 @@
EOF
-if [[ -z $USERNAME ]]
+if [[ -z $MCS_USERNAME ]]
then
echo "Remote username not provided. Skipping sites configs"
else
ls *xml
- cat sites.xml | sed "s/{env.USER}/$USERNAME/" > tmp && mv tmp sites.xml
+ cat sites.xml | sed "s/{env.USER}/$MCS_USERNAME/" > tmp && mv tmp sites.xml
fi
Added: branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remoteNx1.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remoteNx1.check.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remoteNx1.check.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "Cleaning up"
+rm -rf "dummy" driver*.out &> /dev/null
+
Property changes on: branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remoteNx1.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remoteNx1.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remoteNx1.setup.sh 2013-07-16 21:56:51 UTC (rev 6656)
+++ branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remoteNx1.setup.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -1,7 +1,7 @@
#!/bin/bash
ARGS_FILE=${0%.setup.sh}.args
-USERNAME=$MCS_USERNAME
+MCS_USERNAME=$MCS_USERNAME
case $STRESS in
"S1")
@@ -30,10 +30,10 @@
EOF
-if [[ -z $USERNAME ]]
+if [[ -z $MCS_USERNAME ]]
then
echo "Remote username not provided. Skipping sites configs"
else
ls *xml
- cat sites.xml | sed "s/{env.USER}/$USERNAME/" > tmp && mv tmp sites.xml
+ cat sites.xml | sed "s/{env.USER}/$MCS_USERNAME/" > tmp && mv tmp sites.xml
fi
Added: branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remoteNx2.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remoteNx2.check.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remoteNx2.check.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "Cleaning up"
+rm -rf "dummy" driver*.out &> /dev/null
+
Property changes on: branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remoteNx2.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remoteNx2.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remoteNx2.setup.sh 2013-07-16 21:56:51 UTC (rev 6656)
+++ branches/release-0.94/tests/stress/IO/bagOnodes/stage_from_remoteNx2.setup.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -1,7 +1,7 @@
#!/bin/bash
ARGS_FILE=${0%.setup.sh}.args
-USERNAME=$MCS_USERNAME
+MCS_USERNAME=$MCS_USERNAME
case $STRESS in
"S1")
@@ -30,10 +30,10 @@
EOF
-if [[ -z $USERNAME ]]
+if [[ -z $MCS_USERNAME ]]
then
echo "Remote username not provided. Skipping sites configs"
else
ls *xml
- cat sites.xml | sed "s/{env.USER}/$USERNAME/" > tmp && mv tmp sites.xml
+ cat sites.xml | sed "s/{env.USER}/$MCS_USERNAME/" > tmp && mv tmp sites.xml
fi
Added: branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remote1x1.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remote1x1.check.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remote1x1.check.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "Cleaning up"
+rm -rf "dummy" driver*.out &> /dev/null
+
Property changes on: branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remote1x1.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remote1x1.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remote1x1.setup.sh 2013-07-16 21:56:51 UTC (rev 6656)
+++ branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remote1x1.setup.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -1,9 +1,18 @@
#!/bin/bash
ARGS_FILE=${0%.setup.sh}.args
-USERNAME=$MCS_USERNAME
+MCS_USERNAME=$MCS_USERNAME
case $STRESS in
+ "S1")
+ FILES=50
+ LOOPS=0
+ ;;
+ "S2")
+ FILES=100
+ LOOPS=0
+ ;;
+
*)
FILES=50
LOOPS=0
@@ -38,10 +47,10 @@
echo "Residual files cleaned up"
EOF
-if [[ -z $USERNAME ]]
+if [[ -z $MCS_USERNAME ]]
then
echo "Remote username not provided. Skipping sites configs"
else
ls *xml
- cat sites.xml | sed "s/{env.USER}/$USERNAME/" > tmp && mv tmp sites.xml
+ cat sites.xml | sed "s/{env.USER}/$MCS_USERNAME/" > tmp && mv tmp sites.xml
fi
\ No newline at end of file
Added: branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remote1x2.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remote1x2.check.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remote1x2.check.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "Cleaning up"
+rm -rf "dummy" driver*.out &> /dev/null
+
Property changes on: branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remote1x2.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remote1x2.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remote1x2.setup.sh 2013-07-16 21:56:51 UTC (rev 6656)
+++ branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remote1x2.setup.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -1,9 +1,17 @@
#!/bin/bash
ARGS_FILE=${0%.setup.sh}.args
-USERNAME=$MCS_USERNAME
+MCS_USERNAME=$MCS_USERNAME
case $STRESS in
+ "S1")
+ FILES=100
+ LOOPS=0
+ ;;
+ "S2")
+ FILES=500
+ LOOPS=0
+ ;;
*)
FILES=100
LOOPS=0
@@ -38,10 +46,10 @@
echo "Residual files cleaned up"
EOF
-if [[ -z $USERNAME ]]
+if [[ -z $MCS_USERNAME ]]
then
echo "Remote username not provided. Skipping sites configs"
else
ls *xml
- cat sites.xml | sed "s/{env.USER}/$USERNAME/" > tmp && mv tmp sites.xml
+ cat sites.xml | sed "s/{env.USER}/$MCS_USERNAME/" > tmp && mv tmp sites.xml
fi
Added: branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remoteNx1.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remoteNx1.check.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remoteNx1.check.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "Cleaning up"
+rm -rf "dummy" driver*.out &> /dev/null
+
Property changes on: branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remoteNx1.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remoteNx1.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remoteNx1.setup.sh 2013-07-16 21:56:51 UTC (rev 6656)
+++ branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remoteNx1.setup.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -1,7 +1,7 @@
#!/bin/bash
ARGS_FILE=${0%.setup.sh}.args
-USERNAME=$MCS_USERNAME
+MCS_USERNAME=$MCS_USERNAME
case $STRESS in
"S1")
@@ -46,10 +46,10 @@
echo "Residual files cleaned up"
EOF
-if [[ -z $USERNAME ]]
+if [[ -z $MCS_USERNAME ]]
then
echo "Remote username not provided. Skipping sites configs"
else
ls *xml
- cat sites.xml | sed "s/{env.USER}/$USERNAME/" > tmp && mv tmp sites.xml
+ cat sites.xml | sed "s/{env.USER}/$MCS_USERNAME/" > tmp && mv tmp sites.xml
fi
\ No newline at end of file
Added: branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remoteNx2.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remoteNx2.check.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remoteNx2.check.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "Cleaning up"
+rm -rf "dummy" driver*.out &> /dev/null
+
Property changes on: branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remoteNx2.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remoteNx2.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remoteNx2.setup.sh 2013-07-16 21:56:51 UTC (rev 6656)
+++ branches/release-0.94/tests/stress/IO/bagOnodes/stage_to_remoteNx2.setup.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -1,12 +1,12 @@
#!/bin/bash
ARGS_FILE=${0%.setup.sh}.args
-USERNAME=$MCS_USERNAME
+MCS_USERNAME=$MCS_USERNAME
case $STRESS in
"S1")
FILES=50
- LOOPS=100
+ LOOPS=50
;;
"S2")
FILES=100
@@ -14,7 +14,7 @@
;;
*)
FILES=50
- LOOPS=100
+ LOOPS=50
;;
esac
@@ -46,10 +46,10 @@
echo "Residual files cleaned up"
EOF
-if [[ -z $USERNAME ]]
+if [[ -z $MCS_USERNAME ]]
then
echo "Remote username not provided. Skipping sites configs"
else
ls *xml
- cat sites.xml | sed "s/{env.USER}/$USERNAME/" > tmp && mv tmp sites.xml
+ cat sites.xml | sed "s/{env.USER}/$MCS_USERNAME/" > tmp && mv tmp sites.xml
fi
\ No newline at end of file
Modified: branches/release-0.94/tests/stress/IO/bagOnodes/temp.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/bagOnodes/temp.sh 2013-07-16 21:56:51 UTC (rev 6656)
+++ branches/release-0.94/tests/stress/IO/bagOnodes/temp.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -6,14 +6,11 @@
echo $BASE
echo "Source file : $BASE.source.sh"
- cat <<'EOF' >> $BASE.setup.sh
+ cat <<'EOF' > $BASE.check.sh
+#!/bin/bash
+echo "Cleaning up"
+rm -rf "dummy" driver*.out &> /dev/null
-if [[ -n "$BEAGLE_USERNAME" ]]
-then
- echo "BEAGLE_USERNAME is $BEAGLE_USERNAME";
- sed "s/{env.USER}/$BEAGLE_USERNAME/g" sites.template.xml > sites.backup && mv sites.backup sites.template.xml
-fi;
-
EOF
done;
\ No newline at end of file
Added: 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 (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x1.check.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "Cleaning up"
+rm -rf "dummy" driver*.out &> /dev/null
+
Property changes on: branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x1.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x1.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x1.setup.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x1.setup.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,60 @@
+#!/bin/bash
+#OVERRIDE_GLOBUS_HOST swift.rcc.uchicago.edu
+#OVERRIDE_GLOBUS_TCP_PORT_RANGE 50000,51000
+
+
+
+
+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
+ "S1")
+ SIZE=10
+ LOOPS=0
+ ;;
+ "S2")
+ SIZE=15
+ LOOPS=0
+ ;;
+ *)
+ SIZE=10
+ 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
\ No newline at end of file
Property changes on: branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x1.setup.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x1.swift
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x1.swift (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x1.swift 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,17 @@
+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
Added: branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x1.timeout
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x1.timeout (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x1.timeout 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1 @@
+600
Added: 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 (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x2.check.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "Cleaning up"
+rm -rf "dummy" driver*.out &> /dev/null
+
Property changes on: branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x2.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x2.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x2.setup.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x2.setup.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,60 @@
+#!/bin/bash
+#OVERRIDE_GLOBUS_HOST swift.rcc.uchicago.edu
+#OVERRIDE_GLOBUS_TCP_PORT_RANGE 50000,51000
+
+
+
+
+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
+ "S1")
+ SIZE=100
+ LOOPS=0
+ ;;
+ "S2")
+ SIZE=150
+ LOOPS=0
+ ;;
+ *)
+ SIZE=100
+ 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
\ No newline at end of file
Property changes on: branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x2.setup.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x2.swift
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x2.swift (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x2.swift 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,17 @@
+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
Added: branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x2.timeout
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x2.timeout (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_from_remote1x2.timeout 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1 @@
+600
Added: 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 (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx1.check.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "Cleaning up"
+rm -rf "dummy" driver*.out &> /dev/null
+
Property changes on: branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx1.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx1.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx1.setup.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx1.setup.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,59 @@
+#!/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
+ "S1")
+ SIZE=20
+ LOOPS=10
+ ;;
+ "S2")
+ SIZE=30
+ LOOPS=20
+ ;;
+ *)
+ SIZE=20
+ LOOPS=10
+ ;;
+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
\ No newline at end of file
Property changes on: branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx1.setup.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx1.setup.sh~
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx1.setup.sh~ (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx1.setup.sh~ 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,59 @@
+#!/bin/bash
+
+
+BEAGLE_USERNAME="yadunandb"
+UC3_USERNAME="yadunand"
+
+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
+ "S1")
+ SIZE=20
+ LOOPS=10
+ ;;
+ "S2")
+ SIZE=30
+ LOOPS=20
+ ;;
+ *)
+ SIZE=20
+ LOOPS=10
+ ;;
+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
\ No newline at end of file
Property changes on: branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx1.setup.sh~
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx1.swift
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx1.swift (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx1.swift 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,17 @@
+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
Added: branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx1.timeout
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx1.timeout (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx1.timeout 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1 @@
+600
Added: 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 (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx2.check.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "Cleaning up"
+rm -rf "dummy" driver*.out &> /dev/null
+
Property changes on: branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx2.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx2.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx2.setup.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx2.setup.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,59 @@
+#!/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
+ "S1")
+ SIZE=20
+ LOOPS=50
+ ;;
+ "S2")
+ SIZE=50
+ LOOPS=50
+ ;;
+ *)
+ SIZE=20
+ LOOPS=50
+ ;;
+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
\ No newline at end of file
Property changes on: branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx2.setup.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx2.swift
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx2.swift (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx2.swift 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,17 @@
+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
Added: branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx2.timeout
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx2.timeout (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_from_remoteNx2.timeout 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1 @@
+600
Added: 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 (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x1.check.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "Cleaning up"
+rm -rf "dummy" driver*.out &> /dev/null
+
Property changes on: branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x1.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x1.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x1.setup.sh 2013-07-16 21:56:51 UTC (rev 6656)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x1.setup.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -29,6 +29,14 @@
ARGS_FILE=${0%.setup.sh}.args
case $STRESS in
+ "S1")
+ FILES=50
+ LOOPS=0
+ ;;
+ "S2")
+ FILES=100
+ LOOPS=0
+ ;;
*)
FILES=50
LOOPS=0
Added: 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 (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x2.check.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "Cleaning up"
+rm -rf "dummy" driver*.out &> /dev/null
+
Property changes on: branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x2.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x2.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x2.setup.sh 2013-07-16 21:56:51 UTC (rev 6656)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_to_remote1x2.setup.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -28,6 +28,14 @@
ARGS_FILE=${0%.setup.sh}.args
case $STRESS in
+ "S1")
+ FILES=100
+ LOOPS=0
+ ;;
+ "S2")
+ FILES=500
+ LOOPS=0
+ ;;
*)
FILES=100
LOOPS=0
Added: branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.args
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.args (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.args 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1 @@
+-loops=10
Added: 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 (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.check.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "Cleaning up"
+rm -rf "dummy" *.out &> /dev/null
+
Property changes on: branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.setup.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.setup.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,74 @@
+#!/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
+ "S1")
+ FILES=10
+ LOOPS=10
+ ;;
+ "S2")
+ FILES=10
+ LOOPS=50
+ ;;
+ *)
+ FILES=10
+ LOOPS=10
+ ;;
+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
Property changes on: branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.setup.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.setup.sh~
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.setup.sh~ (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.setup.sh~ 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,55 @@
+#!/bin/bash
+
+ARGS_FILE=${0%.setup.sh}.args
+BEAGLE_USERNAME=$BEAGLE_USERNAME
+
+case $STRESS in
+ "S1")
+ FILES=10
+ LOOPS=10
+ ;;
+ "S2")
+ FILES=10
+ LOOPS=50
+ ;;
+ *)
+ FILES=10
+ LOOPS=10
+ ;;
+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
Property changes on: branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.setup.sh~
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.source.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.source.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.source.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+if [ "midway001" == "midway001" ]
+then
+ export GLOBUS_HOSTNAME=swift.rcc.uchicago.edu
+ export GLOBUS_TCP_PORT_RANGE=50000,51000
+fi;
+
Property changes on: branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.source.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.swift
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.swift (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.swift 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,17 @@
+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
Added: branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.timeout
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.timeout (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx1.timeout 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1 @@
+1200
Added: 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 (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.check.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "Cleaning up"
+rm -rf "dummy" *.out &> /dev/null
+
Property changes on: branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.setup.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.setup.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,74 @@
+#!/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
+ "S1")
+ FILES=50
+ LOOPS=50
+ ;;
+ "S2")
+ FILES=100
+ LOOPS=100
+ ;;
+ *)
+ FILES=50
+ 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
Property changes on: branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.setup.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.setup.sh~
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.setup.sh~ (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.setup.sh~ 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,74 @@
+#!/bin/bash
+
+
+BEAGLE_USERNAME="yadunandb"
+UC3_USERNAME="yadunand"
+
+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
+ "S1")
+ FILES=10
+ LOOPS=10
+ ;;
+ "S2")
+ FILES=10
+ LOOPS=50
+ ;;
+ *)
+ FILES=10
+ LOOPS=10
+ ;;
+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
Property changes on: branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.setup.sh~
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.source.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.source.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.source.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+if [ "midway001" == "midway001" ]
+then
+ export GLOBUS_HOSTNAME=swift.rcc.uchicago.edu
+ export GLOBUS_TCP_PORT_RANGE=50000,51000
+fi;
+
Property changes on: branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.source.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.swift
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.swift (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.swift 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,17 @@
+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
Added: branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.timeout
===================================================================
--- branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.timeout (rev 0)
+++ branches/release-0.94/tests/stress/IO/multiple/stage_to_remoteNx2.timeout 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1 @@
+1200
Added: branches/release-0.94/tests/stress/IO/uc3/stage_from_remote.check.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_from_remote.check.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remote.check.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "Cleaning up"
+rm -rf "dummy" driver*.out &> /dev/null
+
Added: branches/release-0.94/tests/stress/IO/uc3/stage_from_remote.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_from_remote.setup.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remote.setup.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+echo "-loops=10 -size=10 -Dtcp.channel.log.io.performance=true" > stage_from_remote.args
+
+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
Property changes on: branches/release-0.94/tests/stress/IO/uc3/stage_from_remote.setup.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/uc3/stage_from_remote.source.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_from_remote.source.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remote.source.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+if [ "midway001" == "midway001" ]
+then
+ export GLOBUS_HOSTNAME=swift.rcc.uchicago.edu
+ export GLOBUS_TCP_PORT_RANGE=50000,51000
+fi;
Property changes on: branches/release-0.94/tests/stress/IO/uc3/stage_from_remote.source.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/uc3/stage_from_remote.swift
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_from_remote.swift (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remote.swift 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,17 @@
+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
Added: branches/release-0.94/tests/stress/IO/uc3/stage_from_remote.timeout
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_from_remote.timeout (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remote.timeout 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1 @@
+600
Added: 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 (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x1.check.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "Cleaning up"
+rm -rf "dummy" driver*.out &> /dev/null
+
Added: branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x1.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x1.setup.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x1.setup.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,39 @@
+#!/bin/bash
+
+ARGS_FILE=${0%.setup.sh}.args
+UC3_USERNAME=$UC3_USERNAME
+
+case $STRESS in
+ "S1")
+ SIZE=10
+ LOOPS=0
+ ;;
+ "S2")
+ SIZE=15
+ LOOPS=0
+ ;;
+ *)
+ SIZE=10
+ 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 $UC3_USERNAME ]]
+then
+ echo "Remote username not provided. Skipping sites configs"
+else
+ ls *xml
+ cat sites.xml | sed "s/{env.USER}/$UC3_USERNAME/" > tmp && mv tmp sites.xml
+fi
Property changes on: branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x1.setup.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x1.source.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x1.source.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x1.source.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,6 @@
+#!/bin/bash
+if [ "midway001" == "midway001" ]
+then
+ export GLOBUS_HOSTNAME=swift.rcc.uchicago.edu
+ export GLOBUS_TCP_PORT_RANGE=50000,51000
+fi;
Property changes on: branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x1.source.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x1.swift
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x1.swift (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x1.swift 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,17 @@
+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
Added: branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x1.timeout
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x1.timeout (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x1.timeout 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1 @@
+600
Added: 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 (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x2.check.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "Cleaning up"
+rm -rf "dummy" driver*.out &> /dev/null
+
Added: branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x2.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x2.setup.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x2.setup.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,39 @@
+#!/bin/bash
+
+ARGS_FILE=${0%.setup.sh}.args
+UC3_USERNAME=$UC3_USERNAME
+
+case $STRESS in
+ "S1")
+ SIZE=100
+ LOOPS=0
+ ;;
+ "S2")
+ SIZE=150
+ LOOPS=0
+ ;;
+ *)
+ SIZE=100
+ 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 $UC3_USERNAME ]]
+then
+ echo "Remote username not provided. Skipping sites configs"
+else
+ ls *xml
+ cat sites.xml | sed "s/{env.USER}/$UC3_USERNAME/" > tmp && mv tmp sites.xml
+fi
Property changes on: branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x2.setup.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x2.source.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x2.source.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x2.source.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,6 @@
+#!/bin/bash
+if [ "midway001" == "midway001" ]
+then
+ export GLOBUS_HOSTNAME=swift.rcc.uchicago.edu
+ export GLOBUS_TCP_PORT_RANGE=50000,51000
+fi;
Property changes on: branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x2.source.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x2.swift
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x2.swift (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x2.swift 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,17 @@
+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
Added: branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x2.timeout
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x2.timeout (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remote1x2.timeout 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1 @@
+600
Added: 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 (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx1.check.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "Cleaning up"
+rm -rf "dummy" driver*.out &> /dev/null
+
Added: branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx1.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx1.setup.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx1.setup.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,39 @@
+#!/bin/bash
+
+ARGS_FILE=${0%.setup.sh}.args
+UC3_USERNAME=$UC3_USERNAME
+
+case $STRESS in
+ "S1")
+ SIZE=20
+ LOOPS=10
+ ;;
+ "S2")
+ SIZE=30
+ LOOPS=20
+ ;;
+ *)
+ SIZE=20
+ LOOPS=10
+ ;;
+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 $UC3_USERNAME ]]
+then
+ echo "Remote username not provided. Skipping sites configs"
+else
+ ls *xml
+ cat sites.xml | sed "s/{env.USER}/$UC3_USERNAME/" > tmp && mv tmp sites.xml
+fi
Property changes on: branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx1.setup.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx1.source.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx1.source.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx1.source.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,6 @@
+#!/bin/bash
+if [ "midway001" == "midway001" ]
+then
+ export GLOBUS_HOSTNAME=swift.rcc.uchicago.edu
+ export GLOBUS_TCP_PORT_RANGE=50000,51000
+fi;
Property changes on: branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx1.source.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx1.swift
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx1.swift (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx1.swift 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,17 @@
+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
Added: branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx1.timeout
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx1.timeout (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx1.timeout 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1 @@
+600
Added: 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 (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx2.check.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "Cleaning up"
+rm -rf "dummy" driver*.out &> /dev/null
+
Added: branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx2.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx2.setup.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx2.setup.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,39 @@
+#!/bin/bash
+
+ARGS_FILE=${0%.setup.sh}.args
+UC3_USERNAME=$UC3_USERNAME
+
+case $STRESS in
+ "S1")
+ SIZE=20
+ LOOPS=50
+ ;;
+ "S2")
+ SIZE=50
+ LOOPS=50
+ ;;
+ *)
+ SIZE=20
+ LOOPS=50
+ ;;
+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 $UC3_USERNAME ]]
+then
+ echo "Remote username not provided. Skipping sites configs"
+else
+ ls *xml
+ cat sites.xml | sed "s/{env.USER}/$UC3_USERNAME/" > tmp && mv tmp sites.xml
+fi
Property changes on: branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx2.setup.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx2.source.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx2.source.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx2.source.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,6 @@
+#!/bin/bash
+if [ "midway001" == "midway001" ]
+then
+ export GLOBUS_HOSTNAME=swift.rcc.uchicago.edu
+ export GLOBUS_TCP_PORT_RANGE=50000,51000
+fi;
Property changes on: branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx2.source.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx2.swift
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx2.swift (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx2.swift 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,17 @@
+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
Added: branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx2.timeout
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx2.timeout (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_from_remoteNx2.timeout 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1 @@
+600
Added: 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 (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x1.check.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "Cleaning up"
+rm -rf "dummy" driver*.out &> /dev/null
+
Modified: branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x1.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x1.setup.sh 2013-07-16 21:56:51 UTC (rev 6656)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x1.setup.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -1,8 +1,18 @@
#!/bin/bash
ARGS_FILE=${0%.setup.sh}.args
+UC3_USERNAME=$UC3_USERNAME
case $STRESS in
+ "S1")
+ FILES=50
+ LOOPS=0
+ ;;
+ "S2")
+ FILES=100
+ LOOPS=0
+ ;;
+
*)
FILES=50
LOOPS=0
@@ -36,3 +46,11 @@
rm $ARG1 $ARG1.test
echo "Residual files cleaned up"
EOF
+
+if [[ -z $UC3_USERNAME ]]
+then
+ echo "Remote username not provided. Skipping sites configs"
+else
+ ls *xml
+ cat sites.xml | sed "s/{env.USER}/$UC3_USERNAME/" > tmp && mv tmp sites.xml
+fi
\ No newline at end of file
Added: 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 (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x2.check.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "Cleaning up"
+rm -rf "dummy" driver*.out &> /dev/null
+
Added: branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x2.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x2.setup.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x2.setup.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,55 @@
+#!/bin/bash
+
+ARGS_FILE=${0%.setup.sh}.args
+UC3_USERNAME=$UC3_USERNAME
+
+case $STRESS in
+ "S1")
+ FILES=100
+ LOOPS=0
+ ;;
+ "S2")
+ FILES=500
+ LOOPS=0
+ ;;
+ *)
+ FILES=100
+ 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 $UC3_USERNAME ]]
+then
+ echo "Remote username not provided. Skipping sites configs"
+else
+ ls *xml
+ cat sites.xml | sed "s/{env.USER}/$UC3_USERNAME/" > tmp && mv tmp sites.xml
+fi
Property changes on: branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x2.setup.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x2.source.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x2.source.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x2.source.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,6 @@
+#!/bin/bash
+if [ "midway001" == "midway001" ]
+then
+ export GLOBUS_HOSTNAME=swift.rcc.uchicago.edu
+ export GLOBUS_TCP_PORT_RANGE=50000,51000
+fi;
Property changes on: branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x2.source.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x2.swift
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x2.swift (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x2.swift 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,17 @@
+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
Added: branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x2.timeout
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x2.timeout (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_to_remote1x2.timeout 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1 @@
+600
Added: 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 (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx1.check.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "Cleaning up"
+rm -rf "dummy" driver*.out &> /dev/null
+
Added: branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx1.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx1.setup.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx1.setup.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,55 @@
+#!/bin/bash
+
+ARGS_FILE=${0%.setup.sh}.args
+UC3_USERNAME=$UC3_USERNAME
+
+case $STRESS in
+ "S1")
+ FILES=10
+ LOOPS=10
+ ;;
+ "S2")
+ FILES=10
+ LOOPS=50
+ ;;
+ *)
+ FILES=10
+ LOOPS=10
+ ;;
+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 $UC3_USERNAME ]]
+then
+ echo "Remote username not provided. Skipping sites configs"
+else
+ ls *xml
+ cat sites.xml | sed "s/{env.USER}/$UC3_USERNAME/" > tmp && mv tmp sites.xml
+fi
\ No newline at end of file
Property changes on: branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx1.setup.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx1.source.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx1.source.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx1.source.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,6 @@
+#!/bin/bash
+if [ "midway001" == "midway001" ]
+then
+ export GLOBUS_HOSTNAME=swift.rcc.uchicago.edu
+ export GLOBUS_TCP_PORT_RANGE=50000,51000
+fi;
Property changes on: branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx1.source.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx1.swift
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx1.swift (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx1.swift 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,17 @@
+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
Added: branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx1.timeout
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx1.timeout (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx1.timeout 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1 @@
+1200
Added: 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 (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx2.check.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "Cleaning up"
+rm -rf "dummy" driver*.out &> /dev/null
+
Added: branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx2.setup.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx2.setup.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx2.setup.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,55 @@
+#!/bin/bash
+
+ARGS_FILE=${0%.setup.sh}.args
+UC3_USERNAME=$UC3_USERNAME
+
+case $STRESS in
+ "S1")
+ FILES=50
+ LOOPS=50
+ ;;
+ "S2")
+ FILES=100
+ LOOPS=100
+ ;;
+ *)
+ FILES=50
+ 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 $UC3_USERNAME ]]
+then
+ echo "Remote username not provided. Skipping sites configs"
+else
+ ls *xml
+ cat sites.xml | sed "s/{env.USER}/$UC3_USERNAME/" > tmp && mv tmp sites.xml
+fi
\ No newline at end of file
Property changes on: branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx2.setup.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx2.source.sh
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx2.source.sh (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx2.source.sh 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,6 @@
+#!/bin/bash
+if [ "midway001" == "midway001" ]
+then
+ export GLOBUS_HOSTNAME=swift.rcc.uchicago.edu
+ export GLOBUS_TCP_PORT_RANGE=50000,51000
+fi;
Property changes on: branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx2.source.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx2.swift
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx2.swift (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx2.swift 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1,17 @@
+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
Added: branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx2.timeout
===================================================================
--- branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx2.timeout (rev 0)
+++ branches/release-0.94/tests/stress/IO/uc3/stage_to_remoteNx2.timeout 2013-07-16 22:32:44 UTC (rev 6657)
@@ -0,0 +1 @@
+1200
More information about the Swift-commit
mailing list