| System.err |
Could not save workflow to myspace
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString:
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}exceptionName:org.astrogrid.filemanager.common.NodeNotFoundFault
{http://xml.apache.org/axis/}stackTrace:
at org.astrogrid.filemanager.client.FileManagerClientImpl.createParentFolder(FileManagerClientImpl.java:392)
at org.astrogrid.filemanager.client.FileManagerClientImpl.createFile(FileManagerClientImpl.java:345)
at org.astrogrid.workflow.integration.AbstractTestForWorkflow.writeWorkflowToVOSpace(AbstractTestForWorkflow.java:230)
at org.astrogrid.workflow.integration.AbstractTestForWorkflow.writeWorkflowToVOSpace(AbstractTestForWorkflow.java:212)
at org.astrogrid.workflow.integration.AbstractTestForWorkflow.writeWorkflowToVOSpace(AbstractTestForWorkflow.java:199)
at org.astrogrid.workflow.integration.AbstractTestForWorkflow.testWorkflow(AbstractTestForWorkflow.java:136)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at net.sourceforge.groboutils.junit.v1.SubTestTestCase.run(SubTestTestCase.java:144)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)
{http://xml.apache.org/axis/}hostname:twmbarlwm
at org.astrogrid.filemanager.client.FileManagerClientImpl.createParentFolder(FileManagerClientImpl.java:392)
at org.astrogrid.filemanager.client.FileManagerClientImpl.createFile(FileManagerClientImpl.java:345)
at org.astrogrid.workflow.integration.AbstractTestForWorkflow.writeWorkflowToVOSpace(AbstractTestForWorkflow.java:230)
at org.astrogrid.workflow.integration.AbstractTestForWorkflow.writeWorkflowToVOSpace(AbstractTestForWorkflow.java:212)
at org.astrogrid.workflow.integration.AbstractTestForWorkflow.writeWorkflowToVOSpace(AbstractTestForWorkflow.java:199)
at org.astrogrid.workflow.integration.AbstractTestForWorkflow.testWorkflow(AbstractTestForWorkflow.java:136)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at net.sourceforge.groboutils.junit.v1.SubTestTestCase.run(SubTestTestCase.java:144)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)
org.astrogrid.workflow.beans.v1.execution.JobURN@12c9557
***WORKFLOW***<?xml version="1.0" encoding="UTF-8"?>
<workflow id="N10001" name="org.astrogrid.workflow.integration.intwfssiap.SiapImageFetchUsingScriptTest" xmlns="http://www.astrogrid.org/schema/AGWorkflow/v1">
<sequence id="N10005">
<Activity id="N10006" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="script">
<description>
load votable into scripting variable of same form as if it'd been created by a previus cea step. </description>
<body>
votableResource = astrogrid.protocolLibrary.getExternalValue('file:/tmp/siap-test.votable34636.tmp')
votable = astrogrid.ioHelper.getContents(votableResource);
siap = ['IMAGES':votable];
vars.set('siap',siap);
</body>
<ns1:step-execution-record finishTime="2007-01-02T12:06:55.541Z" startTime="2007-01-02T12:06:55.379Z" status="ERROR" xmlns:ns1="http://www.astrogrid.org/schema/ExecutionRecord/v1">
<ns2:message xmlns:ns2="http://www.astrogrid.org/schema/CEATypes/v1">
<ns2:content>
Failed to execute script
org.codehaus.groovy.GroovyException null
caused by
java.lang.reflect.InvocationTargetException null
caused by
groovy.lang.MissingPropertyException No such property: vars for class: Script29 </ns2:content>
<ns2:source>
JES </ns2:source>
<ns2:timestamp>
2007-01-02T12:06:55.534Z </ns2:timestamp>
<ns2:level>
error </ns2:level>
<ns2:phase>
RUNNING </ns2:phase>
</ns2:message>
<ns3:message xmlns:ns3="http://www.astrogrid.org/schema/CEATypes/v1">
<ns3:content>
Failed to executte script
Failed: org.codehaus.groovy.GroovyException
null
org.codehaus.groovy.GroovyException
at org.astrogrid.jes.jobscheduler.impl.groovy.JesShell.runWithTimeLimit(JesShell.java:258)
at org.astrogrid.jes.jobscheduler.impl.groovy.JesShell.executeScript(JesShell.java:191)
at org.astrogrid.jes.jobscheduler.impl.groovy.JesInterface.dispatchScript(JesInterface.java:192)
at gjdk.org.astrogrid.jes.jobscheduler.impl.groovy.JesInterface_GroovyReflector.invoke(JesInterface_GroovyReflector.java)
at groovy.lang.MetaMethod.invoke(MetaMethod.java:110)
at groovy.lang.MetaClass.doMethodInvoke(MetaClass.java:1357)
at groovy.lang.MetaClass.invokeMethod(MetaClass.java:320)
at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:142)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:104)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod(ScriptBytecodeAdapter.java:84)
at Script28.run(Script28.groovy:3)
at org.astrogrid.jes.jobscheduler.impl.groovy.JesShell.executeBody(JesShell.java:171)
at org.astrogrid.jes.jobscheduler.impl.groovy.Rule.fire(Rule.java:55)
at org.astrogrid.jes.jobscheduler.impl.groovy.GroovyInterpreter.run(GroovyInterpreter.java:83)
at org.astrogrid.jes.jobscheduler.impl.groovy.GroovySchedulerImpl.scheduleSteps(GroovySchedulerImpl.java:114)
at org.astrogrid.jes.jobscheduler.impl.AbstractJobSchedulerImpl.scheduleNewJob(AbstractJobSchedulerImpl.java:82)
at org.astrogrid.jes.jobscheduler.impl.SchedulerTaskQueueDecorator$2.run(SchedulerTaskQueueDecorator.java:132)
at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:88)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.reflect.InvocationTargetException
at EDU.oswego.cs.dl.util.concurrent.FutureResult.setException(FutureResult.java:152)
at EDU.oswego.cs.dl.util.concurrent.FutureResult$1.run(FutureResult.java:78)
... 1 more
Caused by: groovy.lang.MissingPropertyException: No such property: vars for class: Script29
at groovy.lang.MetaClass.getProperty(MetaClass.java:684)
at groovy.lang.GroovyObjectSupport.getProperty(GroovyObjectSupport.java:65)
at groovy.lang.Script.getProperty(Script.java:85)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.getGroovyObjectProperty(ScriptBytecodeAdapter.java:270)
at Script29.run(Script29.groovy:4)
at org.astrogrid.jes.jobscheduler.impl.groovy.JesShell$1.call(JesShell.java:245)
at EDU.oswego.cs.dl.util.concurrent.FutureResult$1.run(FutureResult.java:75)
... 1 more
</ns3:content>
<ns3:source>
JES </ns3:source>
<ns3:timestamp>
2007-01-02T12:06:55.540Z </ns3:timestamp>
<ns3:level>
info </ns3:level>
<ns3:phase>
RUNNING </ns3:phase>
</ns3:message>
<ns4:message xmlns:ns4="http://www.astrogrid.org/schema/CEATypes/v1">
<ns4:content/>
<ns4:source>
stderr </ns4:source>
<ns4:timestamp>
2007-01-02T12:06:55.541Z </ns4:timestamp>
<ns4:level>
info </ns4:level>
<ns4:phase>
RUNNING </ns4:phase>
</ns4:message>
<ns5:message xmlns:ns5="http://www.astrogrid.org/schema/CEATypes/v1">
<ns5:content/>
<ns5:source>
stdout </ns5:source>
<ns5:timestamp>
2007-01-02T12:06:55.541Z </ns5:timestamp>
<ns5:level>
info </ns5:level>
<ns5:phase>
RUNNING </ns5:phase>
</ns5:message>
</ns1:step-execution-record>
</Activity>
<Activity id="N1000D" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="script">
<description>
Extract URLS from votable, save to myspace </description>
<body>
table = astrogrid.starTableBuilder.makeStarTableFromString( siap.IMAGES, 'votable' )
col = ( 0 ... table.columnCount ).find{ table.getColumnInfo( it ).getUCD() == 'VOX:Image_AccessReference' }
urls = ( 0L ... table.rowCount ).collect{ table.getCell( it, col ) }
jes.info(urls)
vospace = astrogrid.createVoSpaceClient(user)
root = astrogrid.objectBuilder.newIvorn(homeIvorn,astrogrid.ioHelper.dateTimeStamp())
vospace.newFolder(root)
count = 0
urls.each{target = astrogrid.objectBuilder.newIvorn(root, (++count) + '.fits'); vospace.putUrl(it,target,false)}
</body>
</Activity>
</sequence>
<description>
a description </description>
<Credentials>
<ns6:Account xmlns:ns6="http://www.astrogrid.org/schema/Credentials/v1">
<ns6:Name>
frog </ns6:Name>
<ns6:Community>
org.astrogrid.localhost </ns6:Community>
</ns6:Account>
<ns7:Group xmlns:ns7="http://www.astrogrid.org/schema/Credentials/v1">
<ns7:Name>
devel </ns7:Name>
<ns7:Community>
org.astrogrid.localhost </ns7:Community>
</ns7:Group>
<ns8:SecurityToken xmlns:ns8="http://www.astrogrid.org/schema/Credentials/v1">
token </ns8:SecurityToken>
</Credentials>
<ns9:job-execution-record finishTime="2007-01-02T12:06:55.685Z" startTime="2007-01-02T12:06:54.667Z" status="ERROR" xmlns:ns9="http://www.astrogrid.org/schema/ExecutionRecord/v1">
<ns9:extension key="pickled.groovy.interpreter">
<interpreter>
<ruleStore>
<indexScript>def index() {if (
states.getStatus(&apos;N10005&apos;) == STARTED
&amp;&amp; states.getStatus(&apos;N1000D&apos;) == FINISHED
){
return &apos;sequence-end-N10005&apos;;
}
if (
states.getStatus(&apos;N10006&apos;) == START
){
return &apos;script-N10006&apos;;
}
if (
states.getStatus(&apos;N10001&apos;) == ERROR
){
return &apos;workflow-error-N10001&apos;;
}
if (
states.getStatus(&apos;N10001&apos;) == UNSTARTED
){
return &apos;workflow-start-N10001&apos;;
}
if (
states.getStatus(&apos;N10001&apos;) == STARTED &amp;&amp; states.getStatus(&apos;N10005&apos;) == FINISHED
){
return &apos;workflow-end-N10001&apos;;
}
if (
states.getStatus(&apos;N1000D&apos;) == START
){
return &apos;script-N1000D&apos;;
}
if (
states.getStatus(&apos;N10006&apos;) == ERROR
){
return &apos;error-handler-N10006&apos;;
}
if (
states.getStatus(&apos;N10005&apos;) == START
){
return &apos;sequence-start-N10005&apos;;
}
if (
states.getStatus(&apos;N10005&apos;) == ERROR
){
return &apos;error-handler-N10005&apos;;
}
if (
states.getStatus(&apos;N10006&apos;) == FINISHED &amp;&amp; states.getStatus(&apos;N1000D&apos;) == UNSTARTED
){
return &apos;sequence chain-N10006&apos;;
}
if (
states.getStatus(&apos;N1000D&apos;) == ERROR
){
return &apos;error-handler-N1000D&apos;;
}
return null;}
index()</indexScript>
<entry>
<string>sequence-end-N10005</string>
<rule>
<trigger>states.getStatus(&apos;N10005&apos;) == STARTED
&amp;&amp; states.getStatus(&apos;N1000D&apos;) == FINISHED
</trigger>
<name>sequence-end-N10005</name>
<body>
states.setStatus(&apos;N10005&apos;, FINISHED) ;
</body>
</rule>
</entry>
<entry>
<string>script-N10006</string>
<rule>
<trigger>states.getStatus(&apos;N10006&apos;) == START</trigger>
<name>script-N10006</name>
<body>
states.setStatus(&apos;N10006&apos;,STARTED);
if(jes.dispatchScript(&apos;N10006&apos;,shell,states,rules)) {
states.setStatus(&apos;N10006&apos;,FINISHED);
} else {
states.setStatus(&apos;N10006&apos;,ERROR);
}
</body>
</rule>
</entry>
<entry>
<string>workflow-error-N10001</string>
<rule>
<trigger>states.getStatus(&apos;N10001&apos;) == ERROR</trigger>
<name>workflow-error-N10001</name>
<body>
states.setStatus(&apos;N10001&apos;,ERRED);
jes.setWorkflowStatus(ERROR);
</body>
</rule>
</entry>
<entry>
<string>workflow-start-N10001</string>
<rule>
<trigger>states.getStatus(&apos;N10001&apos;) == UNSTARTED</trigger>
<name>workflow-start-N10001</name>
<body>
states.setStatus(&apos;N10001&apos;,STARTED);
jes.setWorkflowStatus(STARTED);
states.setStatus(&apos;N10005&apos;,START);
</body>
</rule>
</entry>
<entry>
<string>workflow-end-N10001</string>
<rule>
<trigger>states.getStatus(&apos;N10001&apos;) == STARTED &amp;&amp; states.getStatus(&apos;N10005&apos;) == FINISHED</trigger>
<name>workflow-end-N10001</name>
<body>
states.setStatus(&apos;N10001&apos;,FINISHED);
jes.setWorkflowStatus(FINISHED);
</body>
</rule>
</entry>
<entry>
<string>script-N1000D</string>
<rule>
<trigger>states.getStatus(&apos;N1000D&apos;) == START</trigger>
<name>script-N1000D</name>
<body>
states.setStatus(&apos;N1000D&apos;,STARTED);
if(jes.dispatchScript(&apos;N1000D&apos;,shell,states,rules)) {
states.setStatus(&apos;N1000D&apos;,FINISHED);
} else {
states.setStatus(&apos;N1000D&apos;,ERROR);
}
</body>
</rule>
</entry>
<entry>
<string>error-handler-N10006</string>
<rule>
<trigger>states.getStatus(&apos;N10006&apos;) == ERROR</trigger>
<name>error-handler-N10006</name>
<body>
states.setStatus(&apos;N10006&apos;,ERRED);
states.setStatus(&apos;N10005&apos;,ERROR);
</body>
</rule>
</entry>
<entry>
<string>sequence-start-N10005</string>
<rule>
<trigger>states.getStatus(&apos;N10005&apos;) == START</trigger>
<name>sequence-start-N10005</name>
<body>
states.setStatus(&apos;N10006&apos;,START);
states.setEnv(&apos;N10006&apos;,states.getEnv(&apos;N10005&apos;)) ;
states.setStatus(&apos;N10005&apos;,STARTED)
</body>
</rule>
</entry>
<entry>
<string>error-handler-N10005</string>
<rule>
<trigger>states.getStatus(&apos;N10005&apos;) == ERROR</trigger>
<name>error-handler-N10005</name>
<body>
states.setStatus(&apos;N10005&apos;,ERRED);
states.setStatus(&apos;N10001&apos;,ERROR);
</body>
</rule>
</entry>
<entry>
<string>sequence chain-N10006</string>
<rule>
<trigger>states.getStatus(&apos;N10006&apos;) == FINISHED &amp;&amp; states.getStatus(&apos;N1000D&apos;) == UNSTARTED</trigger>
<name>sequence chain-N10006</name>
<body>
states.setStatus(&apos;N1000D&apos;,START);
states.setEnv(&apos;N1000D&apos;,states.getEnv(&apos;N10006&apos;));
</body>
</rule>
</entry>
<entry>
<string>error-handler-N1000D</string>
<rule>
<trigger>states.getStatus(&apos;N1000D&apos;) == ERROR</trigger>
<name>error-handler-N1000D</name>
<body>
states.setStatus(&apos;N1000D&apos;,ERRED);
states.setStatus(&apos;N10005&apos;,ERROR);
</body>
</rule>
</entry>
</ruleStore>
<stateMap>
<states>
<entry>
<string>N10005</string>
<state>
<key>N10005</key>
<status>
<status>ERRED</status>
</status>
<env>
<l>
<map/>
</l>
</env>
</state>
</entry>
<entry>
<string>N1000D</string>
<state>
<key>N1000D</key>
<status>
<status>UNSTARTED</status>
</status>
<env>
<l>
<map/>
</l>
</env>
</state>
</entry>
<entry>
<string>N10001</string>
<state>
<key>N10001</key>
<status reference="../../../entry/state/status"/>
<env>
<l>
<map/>
</l>
</env>
</state>
</entry>
<entry>
<string>N10006</string>
<state>
<key>N10006</key>
<status reference="../../../entry/state/status"/>
<env reference="../../../entry/state/env"/>
</state>
</entry>
</states>
</stateMap>
</interpreter> </ns9:extension>
<ns10:message xmlns:ns10="http://www.astrogrid.org/schema/CEATypes/v1">
<ns10:content>
Failed to execute script
org.codehaus.groovy.GroovyException null
caused by
java.lang.reflect.InvocationTargetException null
caused by
groovy.lang.MissingPropertyException No such property: vars for class: Script29 </ns10:content>
<ns10:source>
JES </ns10:source>
<ns10:timestamp>
2007-01-02T12:06:55.534Z </ns10:timestamp>
<ns10:level>
error </ns10:level>
<ns10:phase>
RUNNING </ns10:phase>
</ns10:message>
<ns11:message xmlns:ns11="http://www.astrogrid.org/schema/CEATypes/v1">
<ns11:content>
Failed to executte script
Failed: org.codehaus.groovy.GroovyException
null
org.codehaus.groovy.GroovyException
at org.astrogrid.jes.jobscheduler.impl.groovy.JesShell.runWithTimeLimit(JesShell.java:258)
at org.astrogrid.jes.jobscheduler.impl.groovy.JesShell.executeScript(JesShell.java:191)
at org.astrogrid.jes.jobscheduler.impl.groovy.JesInterface.dispatchScript(JesInterface.java:192)
at gjdk.org.astrogrid.jes.jobscheduler.impl.groovy.JesInterface_GroovyReflector.invoke(JesInterface_GroovyReflector.java)
at groovy.lang.MetaMethod.invoke(MetaMethod.java:110)
at groovy.lang.MetaClass.doMethodInvoke(MetaClass.java:1357)
at groovy.lang.MetaClass.invokeMethod(MetaClass.java:320)
at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:142)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:104)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod(ScriptBytecodeAdapter.java:84)
at Script28.run(Script28.groovy:3)
at org.astrogrid.jes.jobscheduler.impl.groovy.JesShell.executeBody(JesShell.java:171)
at org.astrogrid.jes.jobscheduler.impl.groovy.Rule.fire(Rule.java:55)
at org.astrogrid.jes.jobscheduler.impl.groovy.GroovyInterpreter.run(GroovyInterpreter.java:83)
at org.astrogrid.jes.jobscheduler.impl.groovy.GroovySchedulerImpl.scheduleSteps(GroovySchedulerImpl.java:114)
at org.astrogrid.jes.jobscheduler.impl.AbstractJobSchedulerImpl.scheduleNewJob(AbstractJobSchedulerImpl.java:82)
at org.astrogrid.jes.jobscheduler.impl.SchedulerTaskQueueDecorator$2.run(SchedulerTaskQueueDecorator.java:132)
at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:88)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.reflect.InvocationTargetException
at EDU.oswego.cs.dl.util.concurrent.FutureResult.setException(FutureResult.java:152)
at EDU.oswego.cs.dl.util.concurrent.FutureResult$1.run(FutureResult.java:78)
... 1 more
Caused by: groovy.lang.MissingPropertyException: No such property: vars for class: Script29
at groovy.lang.MetaClass.getProperty(MetaClass.java:684)
at groovy.lang.GroovyObjectSupport.getProperty(GroovyObjectSupport.java:65)
at groovy.lang.Script.getProperty(Script.java:85)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.getGroovyObjectProperty(ScriptBytecodeAdapter.java:270)
at Script29.run(Script29.groovy:4)
at org.astrogrid.jes.jobscheduler.impl.groovy.JesShell$1.call(JesShell.java:245)
at EDU.oswego.cs.dl.util.concurrent.FutureResult$1.run(FutureResult.java:75)
... 1 more
</ns11:content>
<ns11:source>
JES </ns11:source>
<ns11:timestamp>
2007-01-02T12:06:55.540Z </ns11:timestamp>
<ns11:level>
info </ns11:level>
<ns11:phase>
RUNNING </ns11:phase>
</ns11:message>
<ns9:jobId>
jes:twmbarlwm/127.0.0.1/frog@org.astrogrid.localhost/115 </ns9:jobId>
</ns9:job-execution-record>
</workflow>
***WORKFLOW-END***
|