-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins 2.60.3 on Linux
-
-
workflow-job 2.40, workflow-cps 2.83
I have a Multibranch Pipeline job that failed on August 30th 2017 due to a restart on the master or the slave (they're in separate servers).
I've tried to abort it multiple times (and the log shows "Aborted by <user-at-company>" every time I try to abort), but it doesn't work.
I've tried restarting both master and slave, but when I do that, I get a message like this on the log:
"Resuming build at Tue Sep 12 17:49:04 BRT 2017 after Jenkins restart"
Here are some more log lines:
> git checkout -f a4ab3c46a97093925f401a391b238821f1099417
First time build. Skipping changelog.
java.nio.channels.ClosedByInterruptException
at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:202)
at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:216)
at java.nio.channels.Channels.writeFullyImpl(Channels.java:78)
at java.nio.channels.Channels.writeFully(Channels.java:101)
at java.nio.channels.Channels.access$000(Channels.java:61)
at java.nio.channels.Channels$1.write(Channels.java:174)
at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291)
at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:295)
at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
at java.io.BufferedWriter.flush(BufferedWriter.java:254)
at hudson.util.AtomicFileWriter.flush(AtomicFileWriter.java:97)
at com.thoughtworks.xstream.core.util.QuickWriter.flush(QuickWriter.java:75)
Caused: com.thoughtworks.xstream.io.StreamException: : null
at com.thoughtworks.xstream.core.util.QuickWriter.flush(QuickWriter.java:77)
at com.thoughtworks.xstream.io.xml.PrettyPrintWriter.endNode(PrettyPrintWriter.java:322)
at com.thoughtworks.xstream.io.WriterWrapper.endNode(WriterWrapper.java:37)
at com.thoughtworks.xstream.io.path.PathTrackingWriter.endNode(PathTrackingWriter.java:48)
at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:83)
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37)
at com.thoughtworks.xstream.XStream.marshal(XStream.java:1026)
at com.thoughtworks.xstream.XStream.marshal(XStream.java:1015)
at com.thoughtworks.xstream.XStream.toXML(XStream.java:988)
at hudson.XmlFile.write(XmlFile.java:171)
Caused: java.io.IOException
at hudson.XmlFile.write(XmlFile.java:174)
at org.jenkinsci.plugins.workflow.support.storage.SimpleXStreamFlowNodeStorage.storeNode(SimpleXStreamFlowNodeStorage.java:93)
at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution$TimingFlowNodeStorage.storeNode(CpsFlowExecution.java:1481)
at org.jenkinsci.plugins.workflow.cps.FlowHead.newStartNode(FlowHead.java:109)
at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:487)
at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:269)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:405)
Finished: FAILURE
Resuming build at Wed Aug 30 18:32:00 BRT 2017 after Jenkins restart
Aborted by user-at-company
Aborted by user-at-company
Aborted by user-at-company
Aborted by user-at-company
Aborted by user-at-company
Aborted by user-at-company
Aborted by user-at-company
Aborted by user-at-company
Aborted by user-at-company
Aborted by user-at-company
Aborted by user-at-company
Aborted by user-at-company
Aborted by user-at-company
Aborted by user-at-company
Aborted by user-at-company
Aborted by user-at-company
Aborted by user-at-company
Aborted by user-at-company
Aborted by user-at-company
Aborted by user-at-company
Resuming build at Tue Sep 12 17:49:04 BRT 2017 after Jenkins restart
Resuming build at Wed Sep 13 18:05:24 BRT 2017 after Jenkins restart
Resuming build at Mon Sep 18 11:07:36 BRT 2017 after Jenkins restart
- is related to
-
JENKINS-43587 Pipeline fails to resume after master restart/plugin upgrade
- Resolved
- relates to
-
JENKINS-72830 InterruptedException during initial checkout leads to FAILURE instead of ABORT
- Open
- links to