[Swift-commit] r6899 - in branches/release-0.94/tests/sites: . blues

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Tue Aug 20 14:22:36 CDT 2013


Author: davidk
Date: 2013-08-20 14:22:36 -0500 (Tue, 20 Aug 2013)
New Revision: 6899

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


Added: branches/release-0.94/tests/sites/blues/sanity.setup.sh
===================================================================
--- branches/release-0.94/tests/sites/blues/sanity.setup.sh	                        (rev 0)
+++ branches/release-0.94/tests/sites/blues/sanity.setup.sh	2013-08-20 19:22:36 UTC (rev 6899)
@@ -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/blues/sanity.setup.sh
___________________________________________________________________
Added: svn:executable
   + *

Added: branches/release-0.94/tests/sites/blues/sanity.source.sh
===================================================================
--- branches/release-0.94/tests/sites/blues/sanity.source.sh	                        (rev 0)
+++ branches/release-0.94/tests/sites/blues/sanity.source.sh	2013-08-20 19:22:36 UTC (rev 6899)
@@ -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/blues/sanity.source.sh
___________________________________________________________________
Added: svn:executable
   + *

Added: branches/release-0.94/tests/sites/blues/sanity.swift
===================================================================
--- branches/release-0.94/tests/sites/blues/sanity.swift	                        (rev 0)
+++ branches/release-0.94/tests/sites/blues/sanity.swift	2013-08-20 19:22:36 UTC (rev 6899)
@@ -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/blues/sanity.timeout
===================================================================
--- branches/release-0.94/tests/sites/blues/sanity.timeout	                        (rev 0)
+++ branches/release-0.94/tests/sites/blues/sanity.timeout	2013-08-20 19:22:36 UTC (rev 6899)
@@ -0,0 +1 @@
+300

Added: branches/release-0.94/tests/sites/blues/sites.template.xml
===================================================================
--- branches/release-0.94/tests/sites/blues/sites.template.xml	                        (rev 0)
+++ branches/release-0.94/tests/sites/blues/sites.template.xml	2013-08-20 19:22:36 UTC (rev 6899)
@@ -0,0 +1,18 @@
+<config>
+    <pool handle="blues">
+        <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="ppn">8</profile>
+        <profile namespace="globus" key="queue">route</profile>
+        <profile namespace="globus" key="slots">1</profile>
+        <profile namespace="globus" key="nodeGranularity">2</profile>
+        <profile namespace="globus" key="maxNodes">2</profile>
+        <profile namespace="karajan" key="jobThrottle">2.20</profile>
+        <profile namespace="karajan" key="initialScore">10000</profile>
+        <profile namespace="globus" key="HighOverAllocation">1000</profile>
+        <profile namespace="globus" key="LowOverAllocation">1000</profile>
+        <workdirectory>{env.HOME}/swiftwork</workdirectory>
+    </pool>
+</config>

Added: branches/release-0.94/tests/sites/blues/swift.properties
===================================================================
--- branches/release-0.94/tests/sites/blues/swift.properties	                        (rev 0)
+++ branches/release-0.94/tests/sites/blues/swift.properties	2013-08-20 19:22:36 UTC (rev 6899)
@@ -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/blues/tc.template.data
===================================================================
--- branches/release-0.94/tests/sites/blues/tc.template.data	                        (rev 0)
+++ branches/release-0.94/tests/sites/blues/tc.template.data	2013-08-20 19:22:36 UTC (rev 6899)
@@ -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
+

Added: branches/release-0.94/tests/sites/blues/title.txt
===================================================================
--- branches/release-0.94/tests/sites/blues/title.txt	                        (rev 0)
+++ branches/release-0.94/tests/sites/blues/title.txt	2013-08-20 19:22:36 UTC (rev 6899)
@@ -0,0 +1 @@
+Blues remote sanity test




More information about the Swift-commit mailing list