Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-57398

Jenkins Build disappears in jenkins UI but is present in master machine?

      Jenkins builds suddenly disappears from the jenkins UI for certain Jobs. The Job triggers and it can been seen in the ui but suddenly vanishes. The build is present in the master machine.

      Has anyone faced this before. If so your insights will be really helpful!!!

       

      Previously we also saw some of our build history(old builds) being missing when checked in the master all the builds were still present but there was a problem with symlinks being broken in the builds folder for a job

      lastFailedbuild, Lastsatblebuild were reset to -1 even though there were some failed builds present. But this got resolved once a few plugins(disk usage and metrics-diskusage) that were disabled were re-enabled and a reload configuration were done.

          [JENKINS-57398] Jenkins Build disappears in jenkins UI but is present in master machine?

          I think this is a duplicate of 'https://issues.jenkins-ci.org/browse/JENKINS-55220' .  Please read it & if so, please mention details in there and click 'vote for this issue'.

          Morgan Robertson added a comment - I think this is a duplicate of 'https://issues.jenkins-ci.org/browse/JENKINS-55220' .  Please read it & if so, please mention details in there and click 'vote for this issue'.

          I am facing the same issue with Latest Jenkins version

          If I restart or reload it from disk they will appear .. Looks like this issue has not been resolved and the Jira number mentioned above is not related!. 

          If manually enter the build number from browser url by replacing the visible build number . they will appear.

           

          Jenkins Version: Jenkins 2.235.5

           

           

          Narendra Karapakula added a comment - I am facing the same issue with Latest Jenkins version If I restart or reload it from disk they will appear .. Looks like this issue has not been resolved and the Jira number mentioned above is not related!.  If manually enter the build number from browser url by replacing the visible build number . they will appear.   Jenkins Version:  Jenkins 2.235.5    

          Any help for this Jira would really appreciated. we are still seeing this issue even in the latest versions!

           

          We have reload the config or restart jenkins to get the latest builds appear in the UI! please help with fix!

           

          Jenkins 2.263.1

          Narendra Karapakula added a comment - Any help for this Jira would really appreciated. we are still seeing this issue even in the latest versions!   We have reload the config or restart jenkins to get the latest builds appear in the UI! please help with fix!   Jenkins 2.263.1

          I am facing the same issue in multiple Jenkins instances we are running. These have version 2.303.1. I am using the Publish HTML report and Publish performance test results report plugins. 

          I am seeing the following error in the system logs: 

          Failed to save build recordFailed to save build recordjava.lang.UnsupportedOperationException: Refusing to marshal java.text.SimpleDateFormat for security reasons; see https://www.jenkins.io/redirect/class-filter/ at hudson.util.XStream2$BlacklistedTypesConverter.marshal(XStream2.java:546) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:83) at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:278) at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:265)

           

           

          Nalin Goonawardana added a comment - I am facing the same issue in multiple Jenkins instances we are running. These have version 2.303.1. I am using the Publish HTML report and Publish performance test results report plugins.  I am seeing the following error in the system logs:  Failed to save build recordFailed to save build recordjava.lang.UnsupportedOperationException: Refusing to marshal java.text.SimpleDateFormat for security reasons; see https://www.jenkins.io/redirect/class-filter/ at hudson.util.XStream2$BlacklistedTypesConverter.marshal(XStream2.java:546) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:83) at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:278) at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:265)    

          Full stack trace:

          Failed to save build recordFailed to save build recordjava.lang.UnsupportedOperationException: Refusing to marshal java.text.SimpleDateFormat for security reasons; see https://www.jenkins.io/redirect/class-filter/ at hudson.util.XStream2$BlacklistedTypesConverter.marshal(XStream2.java:546) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:83) at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:278) at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:265)Caused: java.lang.RuntimeException: Failed to serialize hudson.plugins.performance.parsers.AbstractParser#format for class hudson.plugins.performance.parsers.JMeterCsvParser at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:269) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:236) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:150) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:221) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:160) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68) 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:87) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeBareItem(AbstractCollectionConverter.java:94) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:66) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeCompleteItem(AbstractCollectionConverter.java:81) at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:83) at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:278) at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:265)Caused: java.lang.RuntimeException: Failed to serialize hudson.plugins.performance.actions.PerformanceBuildAction#parsers for class hudson.plugins.performance.actions.PerformanceBuildAction at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:269) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:236) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:150) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:221) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:160) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68) 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:87) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeBareItem(AbstractCollectionConverter.java:94) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:66) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeCompleteItem(AbstractCollectionConverter.java:81) at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:83) at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:278) at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:265)Caused: java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.model.FreeStyleBuild at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:269) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:236) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:150) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:221) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:160) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68) 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:1278) at com.thoughtworks.xstream.XStream.marshal(XStream.java:1267) at com.thoughtworks.xstream.XStream.toXML(XStream.java:1240) 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:2060) at hudson.model.Run.execute(Run.java:1946) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:100) at hudson.model.Executor.run(Executor.java:433)

          Nalin Goonawardana added a comment - Full stack trace: Failed to save build recordFailed to save build recordjava.lang.UnsupportedOperationException: Refusing to marshal java.text.SimpleDateFormat for security reasons; see https://www.jenkins.io/redirect/class-filter/ at hudson.util.XStream2$BlacklistedTypesConverter.marshal(XStream2.java:546) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:83) at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:278) at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:265)Caused: java.lang.RuntimeException: Failed to serialize hudson.plugins.performance.parsers.AbstractParser#format for class hudson.plugins.performance.parsers.JMeterCsvParser at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:269) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:236) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:150) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:221) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:160) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68) 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:87) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeBareItem(AbstractCollectionConverter.java:94) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:66) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeCompleteItem(AbstractCollectionConverter.java:81) at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:83) at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:278) at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:265)Caused: java.lang.RuntimeException: Failed to serialize hudson.plugins.performance.actions.PerformanceBuildAction#parsers for class hudson.plugins.performance.actions.PerformanceBuildAction at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:269) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:236) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:150) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:221) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:160) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68) 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:87) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeBareItem(AbstractCollectionConverter.java:94) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:66) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeCompleteItem(AbstractCollectionConverter.java:81) at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:83) at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:278) at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:265)Caused: java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.model.FreeStyleBuild at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:269) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:236) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:150) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:221) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:160) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68) 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:1278) at com.thoughtworks.xstream.XStream.marshal(XStream.java:1267) at com.thoughtworks.xstream.XStream.toXML(XStream.java:1240) 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:2060) at hudson.model.Run.execute(Run.java:1946) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:100) at hudson.model.Executor.run(Executor.java:433)

            danieldanan Daniel Danan
            adharsh Adharsh M
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: