[Swift-commit] r3883 - in branches/release-0.92/tests: groups providers/local-cobalt providers/local-cobalt/surveyor
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Thu Jan 6 21:11:06 CST 2011
Author: davidk
Date: 2011-01-06 21:11:06 -0600 (Thu, 06 Jan 2011)
New Revision: 3883
Added:
branches/release-0.92/tests/groups/group-surveyor.sh
branches/release-0.92/tests/providers/local-cobalt/surveyor/
branches/release-0.92/tests/providers/local-cobalt/surveyor/001-catsn-surveyor.check.sh
branches/release-0.92/tests/providers/local-cobalt/surveyor/001-catsn-surveyor.setup.sh
branches/release-0.92/tests/providers/local-cobalt/surveyor/001-catsn-surveyor.swift
branches/release-0.92/tests/providers/local-cobalt/surveyor/001-catsn-surveyor.timeout
branches/release-0.92/tests/providers/local-cobalt/surveyor/README
branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0001.out.expected
branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0002.out.expected
branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0003.out.expected
branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0004.out.expected
branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0005.out.expected
branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0006.out.expected
branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0007.out.expected
branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0008.out.expected
branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0009.out.expected
branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0010.out.expected
branches/release-0.92/tests/providers/local-cobalt/surveyor/data.txt
branches/release-0.92/tests/providers/local-cobalt/surveyor/sites.template.xml
branches/release-0.92/tests/providers/local-cobalt/surveyor/tc.template.data
branches/release-0.92/tests/providers/local-cobalt/surveyor/title.txt
Log:
Site configuration test for surveyor
Added: branches/release-0.92/tests/groups/group-surveyor.sh
===================================================================
--- branches/release-0.92/tests/groups/group-surveyor.sh (rev 0)
+++ branches/release-0.92/tests/groups/group-surveyor.sh 2011-01-07 03:11:06 UTC (rev 3883)
@@ -0,0 +1,8 @@
+
+# GROUPLIST definition to run on Intrepid
+
+GROUPLIST=( $TESTDIR/providers/local \
+ $TESTDIR/providers/local-cobalt/surveyor \
+ )
+
+checkvars WORK QUEUE PROJECT
Added: branches/release-0.92/tests/providers/local-cobalt/surveyor/001-catsn-surveyor.check.sh
===================================================================
--- branches/release-0.92/tests/providers/local-cobalt/surveyor/001-catsn-surveyor.check.sh (rev 0)
+++ branches/release-0.92/tests/providers/local-cobalt/surveyor/001-catsn-surveyor.check.sh 2011-01-07 03:11:06 UTC (rev 3883)
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+set -x
+
+for count in `seq --format "%04.f" 1 1 10`
+do
+ [ -f catsn.$count.out ] || exit 1
+ CONTENTS1=$( cat catsn.$count.out.expected )
+ CONTENTS2=$( cat catsn.$count.out )
+ [[ $CONTENTS1 == $CONTENTS2 ]] || exit 1
+done
+exit 0
Property changes on: branches/release-0.92/tests/providers/local-cobalt/surveyor/001-catsn-surveyor.check.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/release-0.92/tests/providers/local-cobalt/surveyor/001-catsn-surveyor.setup.sh
===================================================================
--- branches/release-0.92/tests/providers/local-cobalt/surveyor/001-catsn-surveyor.setup.sh (rev 0)
+++ branches/release-0.92/tests/providers/local-cobalt/surveyor/001-catsn-surveyor.setup.sh 2011-01-07 03:11:06 UTC (rev 3883)
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+cp -v $GROUP/data.txt . || exit 1
+cp -v $GROUP/*expected . || exit 1
Property changes on: branches/release-0.92/tests/providers/local-cobalt/surveyor/001-catsn-surveyor.setup.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/release-0.92/tests/providers/local-cobalt/surveyor/001-catsn-surveyor.swift
===================================================================
--- branches/release-0.92/tests/providers/local-cobalt/surveyor/001-catsn-surveyor.swift (rev 0)
+++ branches/release-0.92/tests/providers/local-cobalt/surveyor/001-catsn-surveyor.swift 2011-01-07 03:11:06 UTC (rev 3883)
@@ -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.92/tests/providers/local-cobalt/surveyor/001-catsn-surveyor.timeout
===================================================================
--- branches/release-0.92/tests/providers/local-cobalt/surveyor/001-catsn-surveyor.timeout (rev 0)
+++ branches/release-0.92/tests/providers/local-cobalt/surveyor/001-catsn-surveyor.timeout 2011-01-07 03:11:06 UTC (rev 3883)
@@ -0,0 +1 @@
+1000
Added: branches/release-0.92/tests/providers/local-cobalt/surveyor/README
===================================================================
--- branches/release-0.92/tests/providers/local-cobalt/surveyor/README (rev 0)
+++ branches/release-0.92/tests/providers/local-cobalt/surveyor/README 2011-01-07 03:11:06 UTC (rev 3883)
@@ -0,0 +1,3 @@
+Be sure to set PROJECT and QUEUE. These settings worked for me, but unsure if they are universal
+export PROJECT=HTCScienceApps
+export QUEUE=default
Added: branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0001.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0001.out.expected (rev 0)
+++ branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0001.out.expected 2011-01-07 03:11:06 UTC (rev 3883)
@@ -0,0 +1 @@
+Hello world
Added: branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0002.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0002.out.expected (rev 0)
+++ branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0002.out.expected 2011-01-07 03:11:06 UTC (rev 3883)
@@ -0,0 +1 @@
+Hello world
Added: branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0003.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0003.out.expected (rev 0)
+++ branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0003.out.expected 2011-01-07 03:11:06 UTC (rev 3883)
@@ -0,0 +1 @@
+Hello world
Added: branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0004.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0004.out.expected (rev 0)
+++ branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0004.out.expected 2011-01-07 03:11:06 UTC (rev 3883)
@@ -0,0 +1 @@
+Hello world
Added: branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0005.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0005.out.expected (rev 0)
+++ branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0005.out.expected 2011-01-07 03:11:06 UTC (rev 3883)
@@ -0,0 +1 @@
+Hello world
Added: branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0006.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0006.out.expected (rev 0)
+++ branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0006.out.expected 2011-01-07 03:11:06 UTC (rev 3883)
@@ -0,0 +1 @@
+Hello world
Added: branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0007.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0007.out.expected (rev 0)
+++ branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0007.out.expected 2011-01-07 03:11:06 UTC (rev 3883)
@@ -0,0 +1 @@
+Hello world
Added: branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0008.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0008.out.expected (rev 0)
+++ branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0008.out.expected 2011-01-07 03:11:06 UTC (rev 3883)
@@ -0,0 +1 @@
+Hello world
Added: branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0009.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0009.out.expected (rev 0)
+++ branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0009.out.expected 2011-01-07 03:11:06 UTC (rev 3883)
@@ -0,0 +1 @@
+Hello world
Added: branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0010.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0010.out.expected (rev 0)
+++ branches/release-0.92/tests/providers/local-cobalt/surveyor/catsn.0010.out.expected 2011-01-07 03:11:06 UTC (rev 3883)
@@ -0,0 +1 @@
+Hello world
Added: branches/release-0.92/tests/providers/local-cobalt/surveyor/data.txt
===================================================================
--- branches/release-0.92/tests/providers/local-cobalt/surveyor/data.txt (rev 0)
+++ branches/release-0.92/tests/providers/local-cobalt/surveyor/data.txt 2011-01-07 03:11:06 UTC (rev 3883)
@@ -0,0 +1 @@
+Hello world
Added: branches/release-0.92/tests/providers/local-cobalt/surveyor/sites.template.xml
===================================================================
--- branches/release-0.92/tests/providers/local-cobalt/surveyor/sites.template.xml (rev 0)
+++ branches/release-0.92/tests/providers/local-cobalt/surveyor/sites.template.xml 2011-01-07 03:11:06 UTC (rev 3883)
@@ -0,0 +1,22 @@
+<config>
+ <pool handle="surveyor">
+ <filesystem provider="local" />
+ <execution provider="coaster" jobmanager="local:cobalt"/>
+ <!-- <profile namespace="swift" key="stagingMethod">local</profile> -->
+ <profile namespace="globus" key="internalHostname">_HOST_</profile>
+ <profile namespace="globus" key="project">_PROJECT_</profile>
+ <profile namespace="globus" key="queue">_QUEUE_</profile>
+ <profile namespace="globus" key="kernelprofile">zeptoos</profile>
+ <profile namespace="globus" key="alcfbgpnat">true</profile>
+ <profile namespace="karajan" key="jobthrottle">21</profile>
+ <profile namespace="karajan" key="initialScore">10000</profile>
+ <profile namespace="globus" key="workersPerNode">1</profile>
+ <profile namespace="globus" key="workerLoggingLevel">DEBUG</profile>
+ <profile namespace="globus" key="slots">1</profile>
+ <profile namespace="globus" key="maxTime">900</profile> <!-- seconds -->
+ <profile namespace="globus" key="nodeGranularity">64</profile>
+ <profile namespace="globus" key="maxNodes">64</profile>
+ <workdirectory>_WORK_</workdirectory>
+ </pool>
+</config>
+
Added: branches/release-0.92/tests/providers/local-cobalt/surveyor/tc.template.data
===================================================================
--- branches/release-0.92/tests/providers/local-cobalt/surveyor/tc.template.data (rev 0)
+++ branches/release-0.92/tests/providers/local-cobalt/surveyor/tc.template.data 2011-01-07 03:11:06 UTC (rev 3883)
@@ -0,0 +1,7 @@
+surveyor echo /bin/echo INSTALLED INTEL32::LINUX
+surveyor cat /bin/cat INSTALLED INTEL32::LINUX
+surveyor ls /bin/ls INSTALLED INTEL32::LINUX
+surveyor grep /bin/grep INSTALLED INTEL32::LINUX
+surveyor sort /bin/sort INSTALLED INTEL32::LINUX
+surveyor paste /bin/paste INSTALLED INTEL32::LINUX
+surveyor wc /usr/bin/wc INSTALLED INTEL32::LINUX
Added: branches/release-0.92/tests/providers/local-cobalt/surveyor/title.txt
===================================================================
--- branches/release-0.92/tests/providers/local-cobalt/surveyor/title.txt (rev 0)
+++ branches/release-0.92/tests/providers/local-cobalt/surveyor/title.txt 2011-01-07 03:11:06 UTC (rev 3883)
@@ -0,0 +1 @@
+Surveyor Site Configuration Test
More information about the Swift-commit
mailing list