[JIRA] (JENKINS-61503) JEP-200: Latest Build History is getting disappeared after couple of hours

13 views
Skip to first unread message

jagjeet.chadha@nagarro.com (JIRA)

unread,
Mar 18, 2020, 5:15:03 AM3/18/20
to jenkinsc...@googlegroups.com
Jagjeet Chadha created an issue
 
Jenkins / Bug JENKINS-61503
JEP-200: Latest Build History is getting disappeared after couple of hours
Issue Type: Bug Bug
Assignee: Craig Rodrigues
Components: build-flow-plugin
Created: 2020-03-18 09:14
Priority: Critical Critical
Reporter: Jagjeet Chadha

My automation jobs run Daily and I could see the latest jobs in Build history to be retained for few days. When I have upgraded my Jenkins to Jenkins ver. 2.213, somehow my latest build history started getting disgarded or hidden after 1 day.  It is making me tough to analyse automation failure.

I am not sure what is causing the Latest Build history to be disappeared (refer attached screenshot#2). Any help around this would be appreciable. 

 

On the Jenkins System Logs:  I am seeing below error. This might be the reason because my job is using 

Failed to save build record
java.lang.UnsupportedOperationException: Refusing to marshal java.util.concurrent.locks.ReentrantLock for security reasons; see https://jenkins.io/redirect/class-filter/
at hudson.util.XStream2$BlacklistedTypesConverter.marshal(XStream2.java:541)
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.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:262)
at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:249)
Caused: java.lang.RuntimeException: Failed to serialize com.cloudbees.plugins.flow.JobInvocation#lock for class com.cloudbees.plugins.flow.JobInvocation
at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:253)
at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:221)
at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:207)
at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:148)
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.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:262)
at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:249)
Caused: java.lang.RuntimeException: Failed to serialize com.cloudbees.plugins.flow.FlowCause#associatedJob for class com.cloudbees.plugins.flow.FlowCause
at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:253)
at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:221)
at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:207)
at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:148)
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.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
at com.thoughtworks.xstream.converters.collections.MapConverter.marshal(MapConverter.java:78)
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.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:262)
at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:249)
Caused: java.lang.RuntimeException: Failed to serialize hudson.model.CauseAction#causeBag for class hudson.model.CauseAction
at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:253)
at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:221)
at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:207)
at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:148)
at hudson.util.XStream2$PassthruConverter.marshal(XStream2.java:490)
at hudson.util.XStream2$AssociatedConverterImpl.marshal(XStream2.java:460)
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.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74)
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.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:262)
at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:249)
Caused: java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.model.FreeStyleBuild
at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:253)
at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:221)
at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:207)
at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:148)
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.TreeMarshaller.start(TreeMarshaller.java:82)
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:195)
Caused: java.io.IOException
at hudson.XmlFile.write(XmlFile.java:202)
at hudson.model.Run.save(Run.java:2023)
at hudson.model.Run.execute(Run.java:1910)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:428)

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

jagjeet.chadha@nagarro.com (JIRA)

unread,
Mar 18, 2020, 5:16:02 AM3/18/20
to jenkinsc...@googlegroups.com

jagjeet.chadha@nagarro.com (JIRA)

unread,
Mar 18, 2020, 5:16:02 AM3/18/20
to jenkinsc...@googlegroups.com

jagjeet.chadha@nagarro.com (JIRA)

unread,
Mar 18, 2020, 5:16:03 AM3/18/20
to jenkinsc...@googlegroups.com

jagjeet.chadha@nagarro.com (JIRA)

unread,
Mar 18, 2020, 5:17:03 AM3/18/20
to jenkinsc...@googlegroups.com
Jagjeet Chadha updated an issue
My automation jobs run Daily and I could see the latest jobs in Build history to be retained for few days. When I have upgraded my Jenkins to [Jenkins ver. 2.213, |https://jenkins.io/]somehow my latest build history started getting disgarded or hidden after 1 day.  It is making me tough to analyse automation failure.

!image-2020-01-28-19-39-14-383.png|width=862,height=224!

I am not sure what is causing the Latest Build history to be disappeared (refer attached *screenshot#2*). Any help around this would be appreciable. 

jagjeet.chadha@nagarro.com (JIRA)

unread,
Mar 23, 2020, 4:42:02 AM3/23/20
to jenkinsc...@googlegroups.com

jagjeet.chadha@nagarro.com (JIRA)

unread,
Mar 23, 2020, 4:43:02 AM3/23/20
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages