Hi,

I have similar problem as well, I noticed the exception today after 
upgrading Jenkins to 2.26, but problem with executing parallel tasks 
appeared earlier (probably after pipeline plugins upgrade).
I have too complex parallel delivery to paste here, but I tried to create 
other one, as simple as possible and it fails as well, making jenkins 
unusable.

Following code:

parallel one: {
    node('normal'){
        echo 'one'
    }
}, two: {
    node('heavy'){
        echo 'two'
    }
}


results in:

[Pipeline] parallel[Pipeline] [one] { (Branch: one)[Pipeline] [two] { (Branch: 
two)[Pipeline] [one] node[one] Running on N-escloc19_2-5e15cc49-8 in 
/ephemeral/jenkins_test/workspace/vartest[Pipeline] [two] node[Pipeline] [two] 
// node[Pipeline] [two] }[two] Failed in branch two[Pipeline] [one] {[Pipeline] 
[one] echo[one] one[Pipeline] [one] }[Pipeline] [one] // node[Pipeline] [one] 
}[Pipeline] // parallel[Pipeline] End of 
Pipelinejava.lang.IllegalStateException: cannot start writing logs to a 
finished node org.jenkinsci.plugins.workflow.cps.nodes.StepStartNode[id=8]
        at 
org.jenkinsci.plugins.workflow.support.actions.LogActionImpl.<init>(LogActionImpl.java:110)
        at 
org.jenkinsci.plugins.workflow.support.actions.LogActionImpl.stream(LogActionImpl.java:81)
        at 
org.jenkinsci.plugins.workflow.support.DefaultStepContext.get(DefaultStepContext.java:73)
        at 
org.jenkinsci.plugins.workflow.steps.StepDescriptor.checkContextAvailability(StepDescriptor.java:252)
        at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:179)
        at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:126)
        at 
org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:108)
        at 
groovy.lang.MetaClassImpl.invokeMethodOnGroovyObject(MetaClassImpl.java:1280)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1174)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)
        at 
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:42)
        at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
        at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
        at 
com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:16)
        at WorkflowScript.run(WorkflowScript:6)
        at ___cps.transform___(Native Method)
        at 
com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:48)
        at 
com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:109)
        at 
com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:82)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at 
com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
        at com.cloudbees.groovy.cps.impl.ClosureBlock.eval(ClosureBlock.java:46)
        at com.cloudbees.groovy.cps.Next.step(Next.java:58)
        at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:154)
        at 
org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:163)
        at 
org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:324)
        at 
org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$100(CpsThreadGroup.java:78)
        at 
org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:236)
        at 
org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:224)
        at 
org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:63)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112)
        at 
jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Finished: FAILURE




-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/57b749a4-c697-44ef-909d-e490e800e7bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to