[Swift-commit] r5019 - in branches/release-0.93/tests: groups providers providers/PADS providers/PADS/coasters providers/PADS/pbs

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Mon Aug 29 13:32:10 CDT 2011


Author: davidk
Date: 2011-08-29 13:32:10 -0500 (Mon, 29 Aug 2011)
New Revision: 5019

Added:
   branches/release-0.93/tests/groups/providers-pads.sh
   branches/release-0.93/tests/providers/PADS/
   branches/release-0.93/tests/providers/PADS/coasters/
   branches/release-0.93/tests/providers/PADS/coasters/README
   branches/release-0.93/tests/providers/PADS/coasters/catsn.0001.out.expected
   branches/release-0.93/tests/providers/PADS/coasters/catsn.0002.out.expected
   branches/release-0.93/tests/providers/PADS/coasters/catsn.0003.out.expected
   branches/release-0.93/tests/providers/PADS/coasters/catsn.0004.out.expected
   branches/release-0.93/tests/providers/PADS/coasters/catsn.0005.out.expected
   branches/release-0.93/tests/providers/PADS/coasters/catsn.0006.out.expected
   branches/release-0.93/tests/providers/PADS/coasters/catsn.0007.out.expected
   branches/release-0.93/tests/providers/PADS/coasters/catsn.0008.out.expected
   branches/release-0.93/tests/providers/PADS/coasters/catsn.0009.out.expected
   branches/release-0.93/tests/providers/PADS/coasters/catsn.0010.out.expected
   branches/release-0.93/tests/providers/PADS/coasters/catsn.setup.sh
   branches/release-0.93/tests/providers/PADS/coasters/catsn.swift
   branches/release-0.93/tests/providers/PADS/coasters/catsn.timeout
   branches/release-0.93/tests/providers/PADS/coasters/data.txt
   branches/release-0.93/tests/providers/PADS/coasters/sites.template.xml
   branches/release-0.93/tests/providers/PADS/coasters/tc.template.data
   branches/release-0.93/tests/providers/PADS/pbs/
   branches/release-0.93/tests/providers/PADS/pbs/catsn.0001.out.expected
   branches/release-0.93/tests/providers/PADS/pbs/catsn.0002.out.expected
   branches/release-0.93/tests/providers/PADS/pbs/catsn.0003.out.expected
   branches/release-0.93/tests/providers/PADS/pbs/catsn.0004.out.expected
   branches/release-0.93/tests/providers/PADS/pbs/catsn.0005.out.expected
   branches/release-0.93/tests/providers/PADS/pbs/catsn.0006.out.expected
   branches/release-0.93/tests/providers/PADS/pbs/catsn.0007.out.expected
   branches/release-0.93/tests/providers/PADS/pbs/catsn.0008.out.expected
   branches/release-0.93/tests/providers/PADS/pbs/catsn.0009.out.expected
   branches/release-0.93/tests/providers/PADS/pbs/catsn.0010.out.expected
   branches/release-0.93/tests/providers/PADS/pbs/catsn.setup.sh
   branches/release-0.93/tests/providers/PADS/pbs/catsn.swift
   branches/release-0.93/tests/providers/PADS/pbs/catsn.timeout
   branches/release-0.93/tests/providers/PADS/pbs/data.txt
   branches/release-0.93/tests/providers/PADS/pbs/sites.template.xml
   branches/release-0.93/tests/providers/PADS/pbs/tc.template.data
Removed:
   branches/release-0.93/tests/groups/group-pads.sh
Log:
Updated provider tests for PADS


Deleted: branches/release-0.93/tests/groups/group-pads.sh
===================================================================
--- branches/release-0.93/tests/groups/group-pads.sh	2011-08-29 15:40:14 UTC (rev 5018)
+++ branches/release-0.93/tests/groups/group-pads.sh	2011-08-29 18:32:10 UTC (rev 5019)
@@ -1,7 +0,0 @@
-
-# GROUPLIST definition to run pbs tests
-
-GROUPLIST=( 	    
-	    $TESTDIR/providers/local \
-	    $TESTDIR/providers/local-pbs/pads \
-)

Copied: branches/release-0.93/tests/groups/providers-pads.sh (from rev 5018, branches/release-0.93/tests/groups/group-pads.sh)
===================================================================
--- branches/release-0.93/tests/groups/providers-pads.sh	                        (rev 0)
+++ branches/release-0.93/tests/groups/providers-pads.sh	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1,7 @@
+
+# GROUPLIST definition of providers that run on PADS
+
+GROUPLIST=( 	    
+	    #$TESTDIR/providers/PADS/coasters \
+	    $TESTDIR/providers/PADS/pbs \
+)

Added: branches/release-0.93/tests/providers/PADS/coasters/README
===================================================================
--- branches/release-0.93/tests/providers/PADS/coasters/README	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/coasters/README	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1,2 @@
+Provider test for PADS with coasters and pbs
+Make sure you have your default project set up (run 'projects' or 'projects -h' for more info)

Added: branches/release-0.93/tests/providers/PADS/coasters/catsn.0001.out.expected
===================================================================
--- branches/release-0.93/tests/providers/PADS/coasters/catsn.0001.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/coasters/catsn.0001.out.expected	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/PADS/coasters/catsn.0002.out.expected
===================================================================
--- branches/release-0.93/tests/providers/PADS/coasters/catsn.0002.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/coasters/catsn.0002.out.expected	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/PADS/coasters/catsn.0003.out.expected
===================================================================
--- branches/release-0.93/tests/providers/PADS/coasters/catsn.0003.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/coasters/catsn.0003.out.expected	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/PADS/coasters/catsn.0004.out.expected
===================================================================
--- branches/release-0.93/tests/providers/PADS/coasters/catsn.0004.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/coasters/catsn.0004.out.expected	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/PADS/coasters/catsn.0005.out.expected
===================================================================
--- branches/release-0.93/tests/providers/PADS/coasters/catsn.0005.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/coasters/catsn.0005.out.expected	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/PADS/coasters/catsn.0006.out.expected
===================================================================
--- branches/release-0.93/tests/providers/PADS/coasters/catsn.0006.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/coasters/catsn.0006.out.expected	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/PADS/coasters/catsn.0007.out.expected
===================================================================
--- branches/release-0.93/tests/providers/PADS/coasters/catsn.0007.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/coasters/catsn.0007.out.expected	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/PADS/coasters/catsn.0008.out.expected
===================================================================
--- branches/release-0.93/tests/providers/PADS/coasters/catsn.0008.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/coasters/catsn.0008.out.expected	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/PADS/coasters/catsn.0009.out.expected
===================================================================
--- branches/release-0.93/tests/providers/PADS/coasters/catsn.0009.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/coasters/catsn.0009.out.expected	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/PADS/coasters/catsn.0010.out.expected
===================================================================
--- branches/release-0.93/tests/providers/PADS/coasters/catsn.0010.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/coasters/catsn.0010.out.expected	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/PADS/coasters/catsn.setup.sh
===================================================================
--- branches/release-0.93/tests/providers/PADS/coasters/catsn.setup.sh	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/coasters/catsn.setup.sh	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+cp -v $GROUP/data.txt . || exit 1


Property changes on: branches/release-0.93/tests/providers/PADS/coasters/catsn.setup.sh
___________________________________________________________________
Added: svn:executable
   + *

Added: branches/release-0.93/tests/providers/PADS/coasters/catsn.swift
===================================================================
--- branches/release-0.93/tests/providers/PADS/coasters/catsn.swift	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/coasters/catsn.swift	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1,15 @@
+type file;
+
+app (file o) cat (file i)
+{
+  cat @i stdout=@o;
+}
+
+string t = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
+string char[] = @strsplit(t, "");  
+
+file out[]<simple_mapper; location=".", prefix="catsn.",suffix=".out">;
+foreach j in [1:@toint(@arg("n","10"))] {
+  file data<"data.txt">;
+  out[j] = cat(data);
+}

Added: branches/release-0.93/tests/providers/PADS/coasters/catsn.timeout
===================================================================
--- branches/release-0.93/tests/providers/PADS/coasters/catsn.timeout	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/coasters/catsn.timeout	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1,2 @@
+7200
+

Added: branches/release-0.93/tests/providers/PADS/coasters/data.txt
===================================================================
--- branches/release-0.93/tests/providers/PADS/coasters/data.txt	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/coasters/data.txt	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/PADS/coasters/sites.template.xml
===================================================================
--- branches/release-0.93/tests/providers/PADS/coasters/sites.template.xml	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/coasters/sites.template.xml	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1,16 @@
+<config>
+<pool handle="PADS-coasters">
+  <execution jobmanager="local:pbs" provider="coaster" url="none"/>
+  <filesystem provider="local" url="none" />
+  <profile namespace="globus" key="maxWallTime">2</profile>
+  <profile namespace="globus" key="maxTime">300</profile>
+  <profile key="jobsPerNode" namespace="globus">1</profile>
+  <profile key="slots" namespace="globus">1</profile>
+  <profile key="nodeGranularity" namespace="globus">1</profile>
+  <profile key="maxNodes" namespace="globus">1</profile>
+  <profile key="queue" namespace="globus">fast</profile>
+  <profile key="jobThrottle" namespace="karajan">5.99</profile>
+  <profile key="initialScore" namespace="karajan">10000</profile>
+  <workdirectory>_WORK_</workdirectory>
+</pool>
+</config>

Added: branches/release-0.93/tests/providers/PADS/coasters/tc.template.data
===================================================================
--- branches/release-0.93/tests/providers/PADS/coasters/tc.template.data	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/coasters/tc.template.data	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1,7 @@
+PADS-coasters 	echo 		/bin/echo	INSTALLED	INTEL32::LINUX	null
+PADS-coasters 	cat 		/bin/cat	INSTALLED	INTEL32::LINUX	null
+PADS-coasters 	ls 		/bin/ls		INSTALLED	INTEL32::LINUX	null
+PADS-coasters 	grep 		/bin/grep	INSTALLED	INTEL32::LINUX	null
+PADS-coasters 	sort 		/bin/sort	INSTALLED	INTEL32::LINUX	null
+PADS-coasters 	paste 		/bin/paste	INSTALLED	INTEL32::LINUX	null
+PADS-coasters	wc		/usr/bin/wc	INSTALLED	INTEL32::LINUX	null

Added: branches/release-0.93/tests/providers/PADS/pbs/catsn.0001.out.expected
===================================================================
--- branches/release-0.93/tests/providers/PADS/pbs/catsn.0001.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/pbs/catsn.0001.out.expected	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/PADS/pbs/catsn.0002.out.expected
===================================================================
--- branches/release-0.93/tests/providers/PADS/pbs/catsn.0002.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/pbs/catsn.0002.out.expected	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/PADS/pbs/catsn.0003.out.expected
===================================================================
--- branches/release-0.93/tests/providers/PADS/pbs/catsn.0003.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/pbs/catsn.0003.out.expected	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/PADS/pbs/catsn.0004.out.expected
===================================================================
--- branches/release-0.93/tests/providers/PADS/pbs/catsn.0004.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/pbs/catsn.0004.out.expected	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/PADS/pbs/catsn.0005.out.expected
===================================================================
--- branches/release-0.93/tests/providers/PADS/pbs/catsn.0005.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/pbs/catsn.0005.out.expected	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/PADS/pbs/catsn.0006.out.expected
===================================================================
--- branches/release-0.93/tests/providers/PADS/pbs/catsn.0006.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/pbs/catsn.0006.out.expected	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/PADS/pbs/catsn.0007.out.expected
===================================================================
--- branches/release-0.93/tests/providers/PADS/pbs/catsn.0007.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/pbs/catsn.0007.out.expected	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/PADS/pbs/catsn.0008.out.expected
===================================================================
--- branches/release-0.93/tests/providers/PADS/pbs/catsn.0008.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/pbs/catsn.0008.out.expected	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/PADS/pbs/catsn.0009.out.expected
===================================================================
--- branches/release-0.93/tests/providers/PADS/pbs/catsn.0009.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/pbs/catsn.0009.out.expected	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/PADS/pbs/catsn.0010.out.expected
===================================================================
--- branches/release-0.93/tests/providers/PADS/pbs/catsn.0010.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/pbs/catsn.0010.out.expected	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/PADS/pbs/catsn.setup.sh
===================================================================
--- branches/release-0.93/tests/providers/PADS/pbs/catsn.setup.sh	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/pbs/catsn.setup.sh	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+cp -v $GROUP/data.txt . || exit 1


Property changes on: branches/release-0.93/tests/providers/PADS/pbs/catsn.setup.sh
___________________________________________________________________
Added: svn:executable
   + *

Added: branches/release-0.93/tests/providers/PADS/pbs/catsn.swift
===================================================================
--- branches/release-0.93/tests/providers/PADS/pbs/catsn.swift	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/pbs/catsn.swift	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1,15 @@
+type file;
+
+app (file o) cat (file i)
+{
+  cat @i stdout=@o;
+}
+
+string t = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
+string char[] = @strsplit(t, "");  
+
+file out[]<simple_mapper; location=".", prefix="catsn.",suffix=".out">;
+foreach j in [1:@toint(@arg("n","10"))] {
+  file data<"data.txt">;
+  out[j] = cat(data);
+}

Added: branches/release-0.93/tests/providers/PADS/pbs/catsn.timeout
===================================================================
--- branches/release-0.93/tests/providers/PADS/pbs/catsn.timeout	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/pbs/catsn.timeout	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1,2 @@
+7200
+

Added: branches/release-0.93/tests/providers/PADS/pbs/data.txt
===================================================================
--- branches/release-0.93/tests/providers/PADS/pbs/data.txt	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/pbs/data.txt	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/PADS/pbs/sites.template.xml
===================================================================
--- branches/release-0.93/tests/providers/PADS/pbs/sites.template.xml	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/pbs/sites.template.xml	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1,16 @@
+<config>
+<pool handle="PADS-pbs">
+  <execution jobmanager="local:pbs" provider="pbs" url="none"/>
+  <filesystem provider="local" url="none" />
+  <profile namespace="globus" key="maxWallTime">2</profile>
+  <profile namespace="globus" key="maxTime">300</profile>
+  <profile key="jobsPerNode" namespace="globus">1</profile>
+  <profile key="slots" namespace="globus">1</profile>
+  <profile key="nodeGranularity" namespace="globus">1</profile>
+  <profile key="maxNodes" namespace="globus">1</profile>
+  <profile key="queue" namespace="globus">fast</profile>
+  <profile key="jobThrottle" namespace="karajan">5.99</profile>
+  <profile key="initialScore" namespace="karajan">10000</profile>
+  <workdirectory>_WORK_</workdirectory>
+</pool>
+</config>

Added: branches/release-0.93/tests/providers/PADS/pbs/tc.template.data
===================================================================
--- branches/release-0.93/tests/providers/PADS/pbs/tc.template.data	                        (rev 0)
+++ branches/release-0.93/tests/providers/PADS/pbs/tc.template.data	2011-08-29 18:32:10 UTC (rev 5019)
@@ -0,0 +1,7 @@
+PADS-pbs 	echo 		/bin/echo	INSTALLED	INTEL32::LINUX	null
+PADS-pbs 	cat 		/bin/cat	INSTALLED	INTEL32::LINUX	null
+PADS-pbs 	ls 		/bin/ls		INSTALLED	INTEL32::LINUX	null
+PADS-pbs 	grep 		/bin/grep	INSTALLED	INTEL32::LINUX	null
+PADS-pbs 	sort 		/bin/sort	INSTALLED	INTEL32::LINUX	null
+PADS-pbs 	paste 		/bin/paste	INSTALLED	INTEL32::LINUX	null
+PADS-pbs	wc		/usr/bin/wc	INSTALLED	INTEL32::LINUX	null




More information about the Swift-commit mailing list