[Swift-commit] r7146 - in trunk/tests/sites: . osgconnect

yadunandb at ci.uchicago.edu yadunandb at ci.uchicago.edu
Wed Oct 9 10:07:43 CDT 2013


Author: yadunandb
Date: 2013-10-09 10:07:42 -0500 (Wed, 09 Oct 2013)
New Revision: 7146

Added:
   trunk/tests/sites/osgconnect/
   trunk/tests/sites/osgconnect/osgc_sanity.setup.sh
   trunk/tests/sites/osgconnect/osgc_sanity.source.sh
   trunk/tests/sites/osgconnect/osgc_sanity.swift
   trunk/tests/sites/osgconnect/osgc_sanity.timeout
   trunk/tests/sites/osgconnect/sites.template.xml
   trunk/tests/sites/osgconnect/swift.properties
   trunk/tests/sites/osgconnect/tc.template.data
   trunk/tests/sites/osgconnect/title.txt
Log:
Adding sanity tests for OSG Connect

Added: trunk/tests/sites/osgconnect/osgc_sanity.setup.sh
===================================================================
--- trunk/tests/sites/osgconnect/osgc_sanity.setup.sh	                        (rev 0)
+++ trunk/tests/sites/osgconnect/osgc_sanity.setup.sh	2013-10-09 15:07:42 UTC (rev 7146)
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+USERNAME=$UC3_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: trunk/tests/sites/osgconnect/osgc_sanity.setup.sh
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/tests/sites/osgconnect/osgc_sanity.source.sh
===================================================================
--- trunk/tests/sites/osgconnect/osgc_sanity.source.sh	                        (rev 0)
+++ trunk/tests/sites/osgconnect/osgc_sanity.source.sh	2013-10-09 15:07:42 UTC (rev 7146)
@@ -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: trunk/tests/sites/osgconnect/osgc_sanity.source.sh
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/tests/sites/osgconnect/osgc_sanity.swift
===================================================================
--- trunk/tests/sites/osgconnect/osgc_sanity.swift	                        (rev 0)
+++ trunk/tests/sites/osgconnect/osgc_sanity.swift	2013-10-09 15:07:42 UTC (rev 7146)
@@ -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: trunk/tests/sites/osgconnect/osgc_sanity.timeout
===================================================================
--- trunk/tests/sites/osgconnect/osgc_sanity.timeout	                        (rev 0)
+++ trunk/tests/sites/osgconnect/osgc_sanity.timeout	2013-10-09 15:07:42 UTC (rev 7146)
@@ -0,0 +1 @@
+500

Added: trunk/tests/sites/osgconnect/sites.template.xml
===================================================================
--- trunk/tests/sites/osgconnect/sites.template.xml	                        (rev 0)
+++ trunk/tests/sites/osgconnect/sites.template.xml	2013-10-09 15:07:42 UTC (rev 7146)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<config xmlns="http://www.ci.uchicago.edu/swift/SwiftSites">
+
+  <pool handle="osgc">
+    <execution provider="coaster" url="login01.osgconnect.net" jobmanager="ssh-cl:condor"/>
+    <profile namespace="karajan" key="jobThrottle">10.00</profile>
+    <profile namespace="karajan" key="initialScore">10000</profile>
+    <profile namespace="globus"  key="jobsPerNode">1</profile>
+    <profile namespace="globus"  key="maxtime">3600</profile>
+    <profile namespace="globus"  key="maxWalltime">00:30:00</profile>
+    <profile namespace="globus"  key="highOverAllocation">100</profile>
+    <profile namespace="globus"  key="lowOverAllocation">100</profile>
+    <profile namespace="globus"  key="slots">1</profile>
+    <profile namespace="globus"  key="maxNodes">1</profile>
+    <profile namespace="globus"  key="nodeGranularity">1</profile>
+    <profile namespace="globus"  key="jobType">nonshared</profile>
+    <profile namespace="globus"  key="condor.+ProjectName">"Swift"</profile>
+    <workdirectory>.</workdirectory>
+  </pool>
+</config>

Added: trunk/tests/sites/osgconnect/swift.properties
===================================================================
--- trunk/tests/sites/osgconnect/swift.properties	                        (rev 0)
+++ trunk/tests/sites/osgconnect/swift.properties	2013-10-09 15:07:42 UTC (rev 7146)
@@ -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: trunk/tests/sites/osgconnect/tc.template.data
===================================================================
--- trunk/tests/sites/osgconnect/tc.template.data	                        (rev 0)
+++ trunk/tests/sites/osgconnect/tc.template.data	2013-10-09 15:07:42 UTC (rev 7146)
@@ -0,0 +1,6 @@
+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
+osgc   date /bin/date null null null
\ No newline at end of file

Added: trunk/tests/sites/osgconnect/title.txt
===================================================================
--- trunk/tests/sites/osgconnect/title.txt	                        (rev 0)
+++ trunk/tests/sites/osgconnect/title.txt	2013-10-09 15:07:42 UTC (rev 7146)
@@ -0,0 +1 @@
+OSG-Connect remote sanity test




More information about the Swift-commit mailing list