[JIRA] (JENKINS-45506) Failed to serialize LockableResource with JobConfigHistory
Title: Message Title ASHOK MOHANTY commented on JENKINS-45506 Re: Failed to serialize LockableResource with JobConfigHistory For me its just started and thrown this error. And I am not able to terminate it also (tried with BUILD_URL/kill). Using: Jenkins 2.164.3 workflow-cps - 2.65 .. workflow-job - 2.32 java.nio.channels.ClosedByInterruptException at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:202) at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:216) at hudson.util.FileChannelWriter.write(FileChannelWriter.java:72) at java.io.Writer.write(Writer.java:192) at hudson.util.AtomicFileWriter.write(AtomicFileWriter.java:162) at java.io.Writer.write(Writer.java:157) at hudson.XmlFile.write(XmlFile.java:189) at org.jenkinsci.plugins.workflow.support.PipelineIOUtils.writeByXStream(PipelineIOUtils.java:30) at org.jenkinsci.plugins.workflow.support.storage.SimpleXStreamFlowNodeStorage.writeNode(SimpleXStreamFlowNodeStorage.java:182) at org.jenkinsci.plugins.workflow.support.storage.SimpleXStreamFlowNodeStorage.flushNode(SimpleXStreamFlowNodeStorage.java:151) at org.jenkinsci.plugins.workflow.support.storage.SimpleXStreamFlowNodeStorage.storeNode(SimpleXStreamFlowNodeStorage.java:125) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution$TimingFlowNodeStorage.storeNode(CpsFlowExecution.java:1815) at org.jenkinsci.plugins.workflow.cps.FlowHead.newStartNode(FlowHead.java:119) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:529) at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:320) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) Finished: FAILURE Please suggest.. Add Comment This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
[JIRA] (JENKINS-45506) Failed to serialize LockableResource with JobConfigHistory
Title: Message Title Andrew Bayer updated an issue Jenkins / JENKINS-45506 Failed to serialize LockableResource with JobConfigHistory Change By: Andrew Bayer Component/s: lockable-resources-plugin Component/s: pipeline-milestone-step-plugin Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-45506) Failed to serialize LockableResource with JobConfigHistory
Title: Message Title Michal Niwinski commented on JENKINS-45506 Re: Failed to serialize LockableResource with JobConfigHistory Unfortunately, fix provided by Daniel Geißler is not working for us. I added LockableResourcesManager, so now my "System configuration exclude file pattern" looks like: queue|nodeMonitors|UpdateCenter|global-build-stats|MilestoneStep|LockableResourcesManager and from time to time we still have this error: 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.core.util.QuickWriter.write(QuickWriter.java:37) at com.thoughtworks.xstream.io.xml.PrettyPrintWriter.startNode(PrettyPrintWriter.java:197) at com.thoughtworks.xstream.io.xml.PrettyPrintWriter.startNode(PrettyPrintWriter.java:206) at com.thoughtworks.xstream.io.WriterWrapper.startNode(WriterWrapper.java:33) at com.thoughtworks.xstream.io.path.PathTrackingWriter.startNode(PathTrackingWriter.java:44) at com.thoughtworks.xstream.io.ExtendedHierarchicalStreamWriterHelper.startNode(ExtendedHierarchicalStreamWriterHelper.java:17) at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:235) Caused: java.lang.RuntimeException: Failed to serialize org.jenkins.plugins.lockableresources.LockableResource#queuingStarted for class org.jenkins.plugins.lockableresources.LockableResource at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:256) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:224) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:209) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:150) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) at com.thoughtworks.xstream.core.Abstr