This wiki is obsolete, see the NorduGrid web pages for up to date information.
Testing/test XRSL EMI1 RC3
From NorduGrid
< Testing
Jump to navigationJump to search
test XRSL
executable element:
- input:
&(executable="start.sh")
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
arguments element:
- input:
&(executable="start.sh")(arguments= "arg1" "arg2" "arg3")
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> <posix-jsdl:Argument>prog.c</posix-jsdl:Argument> <posix-jsdl:Argument>arg1</posix-jsdl:Argument> <posix-jsdl:Argument>arg2</posix-jsdl:Argument> <posix-jsdl:Argument>arg3</posix-jsdl:Argument> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> <hpcp-jsdl:Argument>prog.c</hpcp-jsdl:Argument> <hpcp-jsdl:Argument>arg1</hpcp-jsdl:Argument> <hpcp-jsdl:Argument>arg2</hpcp-jsdl:Argument> <hpcp-jsdl:Argument>arg3</hpcp-jsdl:Argument> </hpcp-jsdl:HPCProfileApplication> </Application> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
inputFiles element:
- input:
&(executable="start.sh")(inputfiles=("input_file" "http://host.com/input_file_url"))
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <DataStaging> <FileName>input_file</FileName> <Source> <URI>http://host.com:80/input_file_url</URI> </Source> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
executables element:
- input:
&(executable="start.sh")(inputfiles=("input_file1" "input_file1")("input_file2" "input_file2"))(executables="input_file2")
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <DataStaging> <FileName>input_file1</FileName> <Source/> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> <DataStaging> <FileName>input_file2</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
cache element:
- input:
&(executable="start.sh")(inputfiles=("cache_input_file" "cache_input_file"))(cache="yes")
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <DataStaging> <FileName>cache_input_file</FileName> <Source/> <DeleteOnTermination>true</DeleteOnTermination> <DownloadToCache>yes</DownloadToCache> </DataStaging> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
outputFiles element:
- input:
&(executable="start.sh")(outputfiles=("output_file" "output_file"))
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <DataStaging> <FileName>output_file</FileName> <DeleteOnTermination>false</DeleteOnTermination> </DataStaging> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
cpuTime element:
- input:
&(executable="start.sh")(cpuTime="240")
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> <posix-jsdl:CPUTimeLimit>14400</posix-jsdl:CPUTimeLimit> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <Resources> <TotalCPUTime> <Value> <Min>14400</Min> <Max>14400</Max> </Value> </TotalCPUTime> </Resources> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
wallTime element:
- input:
&(executable="start.sh")(wallTime="1 hour, 30 minutes")
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> <posix-jsdl:WallTimeLimit>5400</posix-jsdl:WallTimeLimit> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <Resources> <TotalWallTime> <Value> <Min>5400</Min> <Max>5400</Max> </Value> </TotalWallTime> </Resources> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
gridTime element:
- input:
&(executable="start.sh")(gridTime="2 h")
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> <posix-jsdl:CPUTimeLimit>7200</posix-jsdl:CPUTimeLimit> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <Resources> <TotalCPUTime> <Value> <Max>7200</Max> </Value> <BenchmarkType>clock rate</BenchmarkType> <BenchmarkValue>2800</BenchmarkValue> </TotalCPUTime> </Resources> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
benchmarks element:
- input:
&(executable="start.sh")(benchmarks=("mybenchmark" "10" "1 hour, 30 minutes"))
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> <posix-jsdl:CPUTimeLimit>5400</posix-jsdl:CPUTimeLimit> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <Resources> <TotalCPUTime> <Value> <Max>5400</Max> </Value> <BenchmarkType>mybenchmark</BenchmarkType> <BenchmarkValue>10</BenchmarkValue> </TotalCPUTime> </Resources> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
memory element:
- input:
&(executable="start.sh")(memory>="5")
- generated output:
Unable to print job description: No matching target found.
- result: FAILED It was fixed, but it is not in the RC3.
- bugzilla report:
2324
disk element:
- input:
&(executable="start.sh")(disk<="8")
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <Resources> <DiskSpaceRequirement> <DiskSpace> <Max>8</Max> </DiskSpace> </DiskSpaceRequirement> <FileSystem> <FileSystem> <UpperBoundedRange>8</UpperBoundedRange> </FileSystem> </FileSystem> </Resources> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
runTimeEnvironment element:
- input:
&(executable="start.sh")(runTimeEnvironment>="APPS/HEP/MEEP")
- generated output:
Job description to be sent to https://interop.grid.niif.hu:2010/arex-x509: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <Resources> <QueueName>portal</QueueName> <CandidateTarget> <QueueName>portal</QueueName> </CandidateTarget> <RunTimeEnvironment require="all"> <Software> <Name>APPS/HEP/MEEP</Name> <Version>1.1.1</Version> </Software> </RunTimeEnvironment> </Resources> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
middleware element:
- input:
&(executable="start.sh")(middleware="ARC-1.0.0b4")
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <Resources> <CEType> <Software> <Name>ARC</Name> <Version>1.0.0b4</Version> </Software> </CEType> </Resources> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
opsys element:
- input:
&(executable="start.sh")(opsys="scientificlinux5.5")
- generated output:
Unable to print job description: No matching target found.
- result: FAILED It was fixed, but it is not in the RC3.
- Bugzilla report:
2325
stdin element:
- input:
&(executable="start.sh")(stdin="myinput.dat")
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> <posix-jsdl:Input>myinput.dat</posix-jsdl:Input> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> <hpcp-jsdl:Input>myinput.dat</hpcp-jsdl:Input> </hpcp-jsdl:HPCProfileApplication> </Application> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> <DataStaging> <FileName>myinput.dat</FileName> <Source/> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
stdout element:
- input:
&(executable="start.sh")(stdout="myoutput.txt")
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> <posix-jsdl:Output>myoutput.txt</posix-jsdl:Output> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> <hpcp-jsdl:Output>myoutput.txt</hpcp-jsdl:Output> </hpcp-jsdl:HPCProfileApplication> </Application> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> <DataStaging> <FileName>myoutput.txt</FileName> <DeleteOnTermination>false</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
stderr element:
- input:
&(executable="start.sh")(stderr="myjob.err")
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> <posix-jsdl:Error>myjob.err</posix-jsdl:Error> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> <hpcp-jsdl:Error>myjob.err</hpcp-jsdl:Error> </hpcp-jsdl:HPCProfileApplication> </Application> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> <DataStaging> <FileName>myjob.err</FileName> <DeleteOnTermination>false</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
join element:
- input:
&(executable="start.sh")(stdout="myoutput.txt")(join="yes")
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> <posix-jsdl:Output>myoutput.txt</posix-jsdl:Output> <posix-jsdl:Error>myoutput.txt</posix-jsdl:Error> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> <hpcp-jsdl:Output>myoutput.txt</hpcp-jsdl:Output> <hpcp-jsdl:Error>myoutput.txt</hpcp-jsdl:Error> </hpcp-jsdl:HPCProfileApplication> </Application> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> <DataStaging> <FileName>myoutput.txt</FileName> <DeleteOnTermination>false</DeleteOnTermination> </DataStaging> <DataStaging> <FileName>myoutput.txt</FileName> <DeleteOnTermination>false</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: FAILED
- Bugzilla report: http://bugzilla.nordugrid.org/show_bug.cgi?id=2326
gmlog element:
- input:
&(executable="start.sh")(gmlog="myjob.log")
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <LogDir>myjob.log</LogDir> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> <DataStaging> <FileName>myjob.log</FileName> <DeleteOnTermination>false</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
jobName element:
- input:
&(executable="start.sh")(jobName="My Job nr. 1")
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <JobIdentification> <JobName>My Job nr. 1</JobName> </JobIdentification> <Application> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
ftpThreads element:
- input:
&(executable="start.sh")(ftpThreads="4")
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
acl element:
- input:
&(executable="start.sh")(acl="<?xml version=""1.0""?><gacl version=""0.0.1""><entry><any-user></any-user><allow><write/><read/><list/><admin/></allow></entry></gacl>")
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <AccessControl/> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: FAILED
- Bugzilla report: http://bugzilla.nordugrid.org/show_bug.cgi?id=2327
cluster element:
- input:
&(executable="start.sh")(cluster="cluster1.site2.org")
- generated output:
ERROR: The cluster XRSL attribute is currently unsupported.
- result: PASSED
queue element:
- input:
&(executable="start.sh")(queue="portal")
- generated output:
Job description to be sent to https://interop.grid.niif.hu:2010/arex-x509: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <Resources> <QueueName>portal</QueueName> <CandidateTarget> <QueueName>portal</QueueName> </CandidateTarget> </Resources> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
startTime element:
- input:
&(executable="start.sh")(startTime="2002-05-25 21:30:00")
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <ProcessingStartTime>2002-05-25 21:30:00</ProcessingStartTime> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
lifeTime element:
- input:
&(executable="start.sh")(lifeTime="2")
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <Resources> <SessionLifeTime>PT2M</SessionLifeTime> </Resources> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
- Bugzilla report:
2329
notify element:
- input:
&(executable="start.sh")(notify="be your.name@your.domain.com")
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <Notification> <Type>Email</Type> <Endpoint>your.name@your.domain.com</Endpoint> <State>PREPARING</State> <State>FINISHED</State> </Notification> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
replicaCollection element:
Not mapped.
- input:
&(executable="start.sh")(replicaCollection="http://host.com/myfile")
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
rerun element:
- input:
&(executable="start.sh")(rerun="2")
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <Rerun>2</Rerun> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
architecture element:
- input:
&(executable="start.sh")(architecture="amd64")
- generated output:
Unable to print job description: No matching target found.
- result: FAILED It was fixed, but it is not in the RC3.
- Bugzilla report:
2330
nodeAccess element:
- input:
&(executable="start.sh")(nodeAccess="inbound")
- generated output:
Job description to be sent to https://interop.grid.niif.hu:2010/arex-x509: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <Resources> <NodeAccess>inbound</NodeAccess> <QueueName>portal</QueueName> <CandidateTarget> <QueueName>portal</QueueName> </CandidateTarget> </Resources> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
dryRun element:
Not mapped.
- input:
&(executable="start.sh")(dryRun="yes")
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
rsl_substitution element:
Not mapped.
- input:
&(executable="start.sh")(rsl_substitution=("ATLAS" "/opt/atlas"))
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
environment element:
- input:
&(executable="start.sh")(environment=("ATLSRC" "/opt/atlas/src")("ALISRC" "/opt/alice/src"))
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> <posix-jsdl:Environment name="ATLSRC">/opt/atlas/src</posix-jsdl:Environment> <posix-jsdl:Environment name="ALISRC">/opt/alice/src</posix-jsdl:Environment> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> <hpcp-jsdl:Environment name="ATLSRC">/opt/atlas/src</hpcp-jsdl:Environment> <hpcp-jsdl:Environment name="ALISRC">/opt/alice/src</hpcp-jsdl:Environment> </hpcp-jsdl:HPCProfileApplication> </Application> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
count element:
- input:
&(executable="start.sh")(count="4")
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <Resources> <TotalCPUCount> <UpperBoundedRange>4</UpperBoundedRange> </TotalCPUCount> <SlotRequirement> <ProcessPerHost> <Max>4</Max> </ProcessPerHost> </SlotRequirement> </Resources> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
jobreport element:
- input:
&(executable="start.sh")(jobreport="https://grid.uio.no:8001/logger")
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <RemoteLogging>https://grid.uio.no:8001/logger</RemoteLogging> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
credentialserver element:
- input:
&(executable="start.sh")(credentialserver="myproxy://myproxy.nordugrid.org;username=user")
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <CredentialService>myproxy://myproxy.nordugrid.org;username=user</CredentialService> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED
priority element:
- input:
&(executable="start.sh")(priority="80")
- generated output:
Job description to be sent to https://localhost:60000/arex: <?xml version="1.0"?> <JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"> <JobDescription> <Application> <Priority>80</Priority> <posix-jsdl:POSIXApplication xmlns:posix-jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"> <posix-jsdl:Executable>start.sh</posix-jsdl:Executable> </posix-jsdl:POSIXApplication> <hpcp-jsdl:HPCProfileApplication xmlns:hpcp-jsdl="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa"> <hpcp-jsdl:Executable>start.sh</hpcp-jsdl:Executable> </hpcp-jsdl:HPCProfileApplication> </Application> <DataStaging> <FileName>start.sh</FileName> <Source/> <IsExecutable>true</IsExecutable> <DeleteOnTermination>true</DeleteOnTermination> </DataStaging> </JobDescription> </JobDefinition>
- result: PASSED