[Swift-devel] Swift trunk broken?

Mihael Hategan hategan at mcs.anl.gov
Sun Feb 13 21:31:08 CST 2011


Fixed in cog r3051.

It would however be useful to see the swift script that caused this.

On Mon, 2011-02-07 at 20:00 -0600, Michael Wilde wrote:
> Tim, I saw the same problem. The similar problem I reported occurred
> when I tried a simpler script to test basic sanity. I thought they
> were related but apparently not.
> 
> 
> - Mike
> 
> 
> 
> ______________________________________________________________________
>         P.S.  I am doing a clean build from the the latest svn
>         versions of swift and cog
>         
>         On Mon, Feb 7, 2011 at 4:33 PM, Tim Armstrong
>         <tim.g.armstrong at gmail.com> wrote:
>                 I've run into a different problem...
>                 
>                 Swift fails with the following exception:
>                 
>                 Execution failed:
>                         java.lang.NullPointerException
>                         at
>                 org.globus.cog.karajan.Optimizer.optimize0(Optimizer.java:36)
>                         at
>                 org.globus.cog.karajan.Optimizer.optimize(Optimizer.java:28)
>                         at
>                 org.globus.cog.karajan.util.serialization.XMLConverter.read(XMLConverter.java:207)
>                         at
>                 org.globus.cog.karajan.util.serialization.XMLConverter.read(XMLConverter.java:192)
>                         at
>                 org.globus.cog.karajan.workflow.nodes.ExecuteFile.post(ExecuteFile.java:128)
>                 
>                         at
>                 org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments.completed(AbstractSequentialWithArguments.java:196)
>                 
>                         at
>                 org.globus.cog.karajan.workflow.nodes.ExecuteFile.completed(ExecuteFile.java:155)
>                 
>                         at
>                 org.globus.cog.karajan.workflow.nodes.FlowNode.complete(FlowNode.java:214)
>                         at
>                 org.globus.cog.karajan.workflow.nodes.FlowContainer.post(FlowContainer.java:58)
>                         at
>                 org.globus.cog.karajan.workflow.nodes.functions.AbstractFunction.post(AbstractFunction.java:28)
>                         at
>                 org.globus.cog.karajan.workflow.nodes.Sequential.startNext(Sequential.java:29)
>                         at
>                 org.globus.cog.karajan.workflow.nodes.Sequential.executeChildren(Sequential.java:20)
>                         at
>                 org.globus.cog.karajan.workflow.nodes.FlowContainer.execute(FlowContainer.java:63)
>                         at
>                 org.globus.cog.karajan.workflow.nodes.FlowNode.restart(FlowNode.java:139)
>                         at
>                 org.globus.cog.karajan.workflow.nodes.FlowNode.start(FlowNode.java:197)
>                         at
>                 org.globus.cog.karajan.workflow.FlowElementWrapper.start(FlowElementWrapper.java:227)
>                         at
>                 org.globus.cog.karajan.workflow.events.EventBus.start(EventBus.java:104)
>                         at
>                 org.globus.cog.karajan.workflow.events.EventTargetPair.run(EventTargetPair.java:40)
>                         at java.util.concurrent.Executors
>                 $RunnableAdapter.call(Executors.java:441)
>                         at java.util.concurrent.FutureTask
>                 $Sync.innerRun(FutureTask.java:303)
>                         at
>                 java.util.concurrent.FutureTask.run(FutureTask.java:138)
>                         at java.util.concurrent.ThreadPoolExecutor
>                 $Worker.runTask(ThreadPoolExecutor.java:886)
>                         at java.util.concurrent.ThreadPoolExecutor
>                 $Worker.run(ThreadPoolExecutor.java:908)
>                         at java.lang.Thread.run(Thread.java:619)
>                 
>                 
>                 Time: 0.535, rate: 30624 j/s
>                 
>                 Nothing really appears in the logs:
>                 2011-02-07 16:32:22,668-0600 DEBUG Loader Loader
>                 started
>                 
>                 
>                 - Tim
>                 
>                 
>                 
>                 
>                 On Mon, Feb 7, 2011 at 12:54 PM, Mihael Hategan
>                 <hategan at mcs.anl.gov> wrote:
>                         Should be fixed now.
>                         
>                         
>                         On Mon, 2011-02-07 at 10:03 -0800, Mihael
>                         Hategan wrote:
>                         > Ooops. I didn't get any emails over the
>                         weekend (well, it seems I did,
>                         > but my otherwise reliable email notification
>                         didn't work). So I'm a bit
>                         > behind.
>                         >
>                         > Mihael
>                         >
>                         > On Fri, 2011-02-04 at 14:44 -0600, Michael
>                         Wilde wrote:
>                         > > Im getting strange errors from trunk at
>                         the moment from previously working scripts.
>                         Seemed to be unable to parse sites.xml.
>                         > >
>                         > > In the process of debugging this, I find
>                         that I cant get the simplest of swift scripts
>                         (a single trace statement) to run.
>                         > >
>                         > > Is anyone else encountering similar
>                         problems?
>                         > >
>                         > > Here's what I get:
>                         > >
>                         > > com$ cat hi.swift
>                         > > trace("hi");
>                         > > com$ java -version
>                         > > java version "1.6.0_20"
>                         > > Java(TM) SE Runtime Environment (build
>                         1.6.0_20-b02)
>                         > > Java HotSpot(TM) 64-Bit Server VM (build
>                         16.3-b01, mixed mode)
>                         > > com$ swift -version
>                         > > Swift svn swift-r4061 cog-r3046
>                         > >
>                         > > com$ swift hi.swift
>                         > > Swift svn swift-r4061 cog-r3046
>                         > >
>                         > > RunID: 20110204-1439-j430gp9g
>                         > > Progress:  time:0
>                         > > Execution failed:
>                         > >         1 names specified; 0 arguments
>                         found
>                         > > Time: 1.179, rate: 13896 j/s
>                         > > com$ cat hi.xml
>                         > > <program
>                         xmlns="http://ci.uchicago.edu/swift/2009/02/swiftscript"
>                         > >
>                          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>                         > >
>                          xmlns:xs="http://www.w3.org/2001/XMLSchema">
>                         > >   <call proc="trace" src="line 1">
>                         > >
>                         <input><stringConstant>hi</stringConstant></input>
>                         > >   </call>
>                         > > </program>
>                         > > com$
>                         > >
>                         > > com$ cat *9g.log
>                         > > 2011-02-04 14:39:29,205-0600 DEBUG Loader
>                         Max heap: 238616576
>                         > > 2011-02-04 14:39:29,206-0600 DEBUG Loader
>                         kmlversion is
>                         >a1ce0de8-81e9-4226-987a-0bbcb40af008<
>                         > > 2011-02-04 14:39:29,207-0600 DEBUG Loader
>                         build version is
>                         >a1ce0de8-81e9-4226-987a-0bbcb40af008<
>                         > > 2011-02-04 14:39:29,207-0600 DEBUG Loader
>                         Recompilation suppressed.
>                         > > 2011-02-04 14:39:29,343-0600 INFO
>                          VDL2ExecutionContext Stack dump:
>                         > > Level 1
>                         > > [iA = 0, iB = 0, bA = false, bB = false]
>                         > >         vdl:instanceconfig = Swift
>                         configuration []
>                         > >         vdl:operation = run
>                         > >         swift.home
>                         = /home/wilde/swift/rev/trunk/bin/..
>                         > >         PATH_SEPARATOR = /
>                         > >
>                         > >
>                         > > 2011-02-04 14:39:29,900-0600 INFO  unknown
>                         Using sites
>                         file: /home/wilde/swift/rev/trunk/bin/../etc/sites.xml
>                         > > 2011-02-04 14:39:29,928-0600 INFO  unknown
>                         Using
>                         tc.data: /home/wilde/swift/rev/trunk/bin/../etc/tc.data
>                         > > 2011-02-04 14:39:30,023-0600 INFO
>                          AbstractScheduler Setting resources to:
>                         {localhost=localhost}
>                         > > 2011-02-04 14:39:30,468-0600 INFO  unknown
>                         Swift svn swift-r4061 cog-r3046
>                         > >
>                         > > 2011-02-04 14:39:30,469-0600 INFO  unknown
>                         RUNID id=run:20110204-1439-j430gp9g
>                         > > 2011-02-04 14:39:30,511-0600 DEBUG
>                         VDL2ExecutionContext 1 names specified; 0
>                         arguments found
>                         > > 1 names specified; 0 arguments found
>                         > >
>                         > >         at
>                         org.globus.cog.karajan.workflow.nodes.SetVar.post(SetVar.java:43)
>                         > >         at
>                         org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments.completed(AbstractSequentialWithArguments.java:196)
>                         > >         at
>                         org.globus.cog.karajan.workflow.nodes.FlowNode.complete(FlowNode.java:214)
>                         > >         at
>                         org.globus.cog.karajan.workflow.nodes.FlowContainer.post(FlowContainer.java:58)
>                         > >         at
>                         org.globus.cog.karajan.workflow.nodes.functions.AbstractFunction.post(AbstractFunction.java:28)
>                         > >         at
>                         org.globus.cog.karajan.workflow.nodes.Sequential.startNext(Sequential.java:29)
>                         > >         at
>                         org.globus.cog.karajan.workflow.nodes.Sequential.executeChildren(Sequential.java:20)
>                         > >         at
>                         org.globus.cog.karajan.workflow.nodes.FlowContainer.execute(FlowContainer.java:63)
>                         > >         at
>                         org.globus.cog.karajan.workflow.nodes.FlowNode.restart(FlowNode.java:139)
>                         > >         at
>                         org.globus.cog.karajan.workflow.nodes.FlowNode.start(FlowNode.java:197)
>                         > >         at
>                         org.globus.cog.karajan.workflow.FlowElementWrapper.start(FlowElementWrapper.java:227)
>                         > >         at
>                         org.globus.cog.karajan.workflow.events.EventBus.start(EventBus.java:104)
>                         > >         at
>                         org.globus.cog.karajan.workflow.events.EventTargetPair.run(EventTargetPair.java:40)
>                         > >         at java.util.concurrent.Executors
>                         $RunnableAdapter.call(Executors.java:441)
>                         > >         at java.util.concurrent.FutureTask
>                         $Sync.innerRun(FutureTask.java:303)
>                         > >         at
>                         java.util.concurrent.FutureTask.run(FutureTask.java:138)
>                         > >         at
>                         java.util.concurrent.ThreadPoolExecutor
>                         $Worker.runTask(ThreadPoolExecutor.java:886)
>                         > >         at
>                         java.util.concurrent.ThreadPoolExecutor
>                         $Worker.run(ThreadPoolExecutor.java:908)
>                         > >         at
>                         java.lang.Thread.run(Thread.java:619)
>                         > > 2011-02-04 14:39:30,522-0600 INFO
>                          ExecutionContext Detailed exception:
>                         > > 1 names specified; 0 arguments found
>                         > >
>                         > >         at
>                         org.globus.cog.karajan.workflow.nodes.SetVar.post(SetVar.java:43)
>                         > >         at
>                         org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments.completed(AbstractSequentialWithArguments.java:196)
>                         > >         at
>                         org.globus.cog.karajan.workflow.nodes.FlowNode.complete(FlowNode.java:214)
>                         > >         at
>                         org.globus.cog.karajan.workflow.nodes.FlowContainer.post(FlowContainer.java:58)
>                         > >         at
>                         org.globus.cog.karajan.workflow.nodes.functions.AbstractFunction.post(AbstractFunction.java:28)
>                         > >         at
>                         org.globus.cog.karajan.workflow.nodes.Sequential.startNext(Sequential.java:29)
>                         > >         at
>                         org.globus.cog.karajan.workflow.nodes.Sequential.executeChildren(Sequential.java:20)
>                         > >         at
>                         org.globus.cog.karajan.workflow.nodes.FlowContainer.execute(FlowContainer.java:63)
>                         > >         at
>                         org.globus.cog.karajan.workflow.nodes.FlowNode.restart(FlowNode.java:139)
>                         > >         at
>                         org.globus.cog.karajan.workflow.nodes.FlowNode.start(FlowNode.java:197)
>                         > >         at
>                         org.globus.cog.karajan.workflow.FlowElementWrapper.start(FlowElementWrapper.java:227)
>                         > >         at
>                         org.globus.cog.karajan.workflow.events.EventBus.start(EventBus.java:104)
>                         > >         at
>                         org.globus.cog.karajan.workflow.events.EventTargetPair.run(EventTargetPair.java:40)
>                         > >         at java.util.concurrent.Executors
>                         $RunnableAdapter.call(Executors.java:441)
>                         > >         at java.util.concurrent.FutureTask
>                         $Sync.innerRun(FutureTask.java:303)
>                         > >         at
>                         java.util.concurrent.FutureTask.run(FutureTask.java:138)
>                         > >         at
>                         java.util.concurrent.ThreadPoolExecutor
>                         $Worker.runTask(ThreadPoolExecutor.java:886)
>                         > >         at
>                         java.util.concurrent.ThreadPoolExecutor
>                         $Worker.run(ThreadPoolExecutor.java:908)
>                         > >         at
>                         java.lang.Thread.run(Thread.java:619)
>                         > > 2011-02-04 14:39:30,522-0600 INFO  Loader
>                         Swift finished with errors
>                         > > com$
>                         > >
>                         > >
>                         > >
>                         >
>                         >
>                         >
>                         _______________________________________________
>                         > Swift-devel mailing list
>                         > Swift-devel at ci.uchicago.edu
>                         >
>                         http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel
>                         
>                         
>                         _______________________________________________
>                         Swift-devel mailing list
>                         Swift-devel at ci.uchicago.edu
>                         http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel
>                         
>                 
>                 
>         
> 
> 
> 
> -- 
> Michael Wilde
> Computation Institute, University of Chicago
> Mathematics and Computer Science Division
> Argonne National Laboratory
> 
> 





More information about the Swift-devel mailing list