[Swift-commit] r6900 - in branches/release-0.94/tests/sites: . fusion

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Tue Aug 20 14:51:50 CDT 2013


Author: davidk
Date: 2013-08-20 14:51:50 -0500 (Tue, 20 Aug 2013)
New Revision: 6900

Added:
   branches/release-0.94/tests/sites/fusion/
   branches/release-0.94/tests/sites/fusion/sanity.setup.sh
   branches/release-0.94/tests/sites/fusion/sanity.source.sh
   branches/release-0.94/tests/sites/fusion/sanity.swift
   branches/release-0.94/tests/sites/fusion/sanity.timeout
   branches/release-0.94/tests/sites/fusion/sites.template.xml
   branches/release-0.94/tests/sites/fusion/swift.properties
   branches/release-0.94/tests/sites/fusion/tc.template.data
   branches/release-0.94/tests/sites/fusion/title.txt
Log:
Fusion site test


Added: branches/release-0.94/tests/sites/fusion/sanity.setup.sh
===================================================================
--- branches/release-0.94/tests/sites/fusion/sanity.setup.sh	                        (rev 0)
+++ branches/release-0.94/tests/sites/fusion/sanity.setup.sh	2013-08-20 19:51:50 UTC (rev 6900)
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+USERNAME=$BLUES_USERNAME
+
+if [[ -z $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
+fi


Property changes on: branches/release-0.94/tests/sites/fusion/sanity.setup.sh
___________________________________________________________________
Added: svn:executable
   + *

Added: branches/release-0.94/tests/sites/fusion/sanity.source.sh
===================================================================
--- branches/release-0.94/tests/sites/fusion/sanity.source.sh	                        (rev 0)
+++ branches/release-0.94/tests/sites/fusion/sanity.source.sh	2013-08-20 19:51:50 UTC (rev 6900)
@@ -0,0 +1,6 @@
+#!/bin/bash
+if [ "$HOSTNAME" == "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/sites/fusion/sanity.source.sh
___________________________________________________________________
Added: svn:executable
   + *

Added: branches/release-0.94/tests/sites/fusion/sanity.swift
===================================================================
--- branches/release-0.94/tests/sites/fusion/sanity.swift	                        (rev 0)
+++ branches/release-0.94/tests/sites/fusion/sanity.swift	2013-08-20 19:51:50 UTC (rev 6900)
@@ -0,0 +1,11 @@
+type file;
+
+app (file out, file err) remote_driver ()
+{
+    date stdout=@filename(out) stderr=@filename(err);
+}
+
+file driver_out <simple_mapper; prefix="sanity", suffix=".out">;
+file driver_err <simple_mapper; prefix="sanity", suffix=".err">;
+
+(driver_out, driver_err) = remote_driver();
\ No newline at end of file

Added: branches/release-0.94/tests/sites/fusion/sanity.timeout
===================================================================
--- branches/release-0.94/tests/sites/fusion/sanity.timeout	                        (rev 0)
+++ branches/release-0.94/tests/sites/fusion/sanity.timeout	2013-08-20 19:51:50 UTC (rev 6900)
@@ -0,0 +1 @@
+300

Added: branches/release-0.94/tests/sites/fusion/sites.template.xml
===================================================================
--- branches/release-0.94/tests/sites/fusion/sites.template.xml	                        (rev 0)
+++ branches/release-0.94/tests/sites/fusion/sites.template.xml	2013-08-20 19:51:50 UTC (rev 6900)
@@ -0,0 +1,18 @@
+<config>
+   <pool handle="fusion">
+      <execution jobmanager="local:pbs" provider="coaster" url="none"/>
+      <filesystem provider="local" url="none" />
+      <profile namespace="globus" key="maxtime">3600</profile>
+      <profile namespace="globus" key="jobsPerNode">2</profile>
+      <profile namespace="globus" key="slots">1</profile>
+      <profile namespace="globus" key="nodeGranularity">2</profile>
+      <profile namespace="globus" key="maxNodes">2</profile>
+      <profile namespace="globus" key="queue">shared</profile>
+      <profile namespace="karajan" key="jobThrottle">5.99</profile>
+      <profile namespace="karajan" key="initialScore">10000</profile>
+      <profile namespace="globus" key="HighOverAllocation">1000</profile>
+      <profile namespace="globus" key="LowOverAllocation">1000</profile>
+      <workdirectory>/homes/davidk/test4</workdirectory>
+   </pool>
+</config>
+

Added: branches/release-0.94/tests/sites/fusion/swift.properties
===================================================================
--- branches/release-0.94/tests/sites/fusion/swift.properties	                        (rev 0)
+++ branches/release-0.94/tests/sites/fusion/swift.properties	2013-08-20 19:51:50 UTC (rev 6900)
@@ -0,0 +1,8 @@
+use.provider.staging=true
+use.wrapper.staging=false
+wrapperlog.always.transfer=true
+execution.retries=0
+lazy.errors=false
+provider.staging.pin.swiftfiles=false
+sitedir.keep=true
+tcp.port.range=50000,51000
\ No newline at end of file

Added: branches/release-0.94/tests/sites/fusion/tc.template.data
===================================================================
--- branches/release-0.94/tests/sites/fusion/tc.template.data	                        (rev 0)
+++ branches/release-0.94/tests/sites/fusion/tc.template.data	2013-08-20 19:51:50 UTC (rev 6900)
@@ -0,0 +1,7 @@
+local  date /bin/date null null null
+beagle date /bin/date null null null
+uc3    date /bin/date null null null
+mcs    date /bin/date null null null
+midway date /bin/date null null null
+blues  date /bin/date null null null
+fusion date /bin/date null null null

Added: branches/release-0.94/tests/sites/fusion/title.txt
===================================================================
--- branches/release-0.94/tests/sites/fusion/title.txt	                        (rev 0)
+++ branches/release-0.94/tests/sites/fusion/title.txt	2013-08-20 19:51:50 UTC (rev 6900)
@@ -0,0 +1 @@
+Fusion remote sanity test




More information about the Swift-commit mailing list