[JIRA] (JENKINS-59782) Builds are getting disappeared after Jenkins restart when used "Performance-plugin" in post build section of Jenkins job
Title: Message Title Sujeet Velapure edited a comment on JENKINS-59782 Re: Builds are getting disappeared after Jenkins restart when used "Performance-plugin" in post build section of Jenkins job After further digging I got to know this issue is linked with JEP-200, able to proceed with workaround. *Workaround:* Start Jenkins with additional input argument as per below {code:java} -Dhudson.remoting.ClassFilter=java.text.SimpleDateFormat,java.text.DecimalFormat,java.text.DecimalFormatSymbols,java.text.DateFormatSymbols {code} This will whitelist above classes while executing performance-plugin and after job completion you can see build.xml also getting generated . Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202511.1571120959000.7613.1571130302431%40Atlassian.JIRA.
[JIRA] (JENKINS-59782) Builds are getting disappeared after Jenkins restart when used "Performance-plugin" in post build section of Jenkins job
Title: Message Title Sujeet Velapure commented on JENKINS-59782 Re: Builds are getting disappeared after Jenkins restart when used "Performance-plugin" in post build section of Jenkins job After further digging I got to know this issue is linked with JEP-200, able to proceed with workaround. Workaround: Start Jenkins with additional input argument as per below -Dhudson.remoting.ClassFilter=java.text.SimpleDateFormat,java.text.DecimalFormat,java.text.DecimalFormatSymbols,java.text.DateFormatSymbols This will whitelist above classes while executing performance-plugin and after job completion you can see build.xml also getting generated . Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202511.1571120959000.7609.1571130240134%40Atlassian.JIRA.
[JIRA] (JENKINS-59782) Builds are getting disappeared after Jenkins restart when used "Performance-plugin" in post build section of Jenkins job
Title: Message Title Sujeet Velapure updated an issue Jenkins / JENKINS-59782 Builds are getting disappeared after Jenkins restart when used "Performance-plugin" in post build section of Jenkins job Change By: Sujeet Velapure Priority: Critical Major Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202511.1571120959000.7506.1571121540224%40Atlassian.JIRA.
[JIRA] (JENKINS-59782) Builds are getting disappeared after Jenkins restart when used "Performance-plugin" in post build section of Jenkins job
Title: Message Title Sujeet Velapure updated an issue Jenkins / JENKINS-59782 Builds are getting disappeared after Jenkins restart when used "Performance-plugin" in post build section of Jenkins job Change By: Sujeet Velapure Environment: Jenkins installed on Windows Server 2012 R2 StandardI am able to reproduce this with on Jenkins 2.200, 2.190.1, 2.176.2Performance Plugin 3.17 Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202511.1571120959000.7504.1571121300645%40Atlassian.JIRA.
[JIRA] (JENKINS-59782) Builds are getting disappeared after Jenkins restart when used "Performance-plugin" in post build section of Jenkins job
Title: Message Title Sujeet Velapure updated an issue Jenkins / JENKINS-59782 Builds are getting disappeared after Jenkins restart when used "Performance-plugin" in post build section of Jenkins job Change By: Sujeet Velapure *Freestyle Jenkins Job:*I have a freestyle Jenkins job which I use to run for Jmeter executions and then process .csv files using Performance plugin. Everything works fine as expected *unless you don't restart Jenkins*. The observation is once you restart Jenkins the *successful builds no longer shows up on Jenkins Job.* After further investigation found that the build directory is present for respective builds however I dont see build.xml is getting generated.In the Jenkins.err logs I could see below exceptions: {code:java}Oct 14, 2019 6:05:50 PM jenkins.security.ClassFilterImpl notifyRejectedWARNING: java.text.SimpleDateFormat in JRE might be dangerous, so rejecting; see https://jenkins.io/redirect/class-filter/Oct 14, 2019 6:05:50 PM hudson.model.Run executeSEVERE: Failed to save build recordjava.io.IOException: java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.model.FreeStyleBuildCaused by: java.lang.RuntimeException: Failed to serialize hudson.plugins.performance.actions.PerformanceBuildAction#parsers for class hudson.plugins.performance.actions.PerformanceBuildActionCaused by: java.lang.RuntimeException: Failed to serialize hudson.plugins.performance.parsers.AbstractParser#format for class hudson.plugins.performance.parsers.JMeterCsvParserCaused by: java.lang.UnsupportedOperationException: Refusing to marshal java.text.SimpleDateFormat for security reasons; see https://jenkins.io/redirect/class-filter/{code} *Jenkins Pipeline (Scripted)*When tried with Scripted pipeline the build is not disappearing however getting marked as Failed after restarting Jenkins. Build console logs shows that Jenkins unable to resume operation due to program.dat file is missing. I am little confused here as why the already finished job is trying to resume operation. {code:java} Finished: SUCCESSResuming build at Mon Oct 14 18:23:39 GMT-12:00 2019 after Jenkins restart[Pipeline] End of Pipelinejava.io.FileNotFoundException: C:\Program Files (x86)\Jenkins\jobs\trial_pipeline\builds\4\program.dat (The system cannot find the file specified) {code}
[JIRA] (JENKINS-59782) Builds are getting disappeared after Jenkins restart when used "Performance-plugin" in post build section of Jenkins job
Title: Message Title Sujeet Velapure created an issue Jenkins / JENKINS-59782 Builds are getting disappeared after Jenkins restart when used "Performance-plugin" in post build section of Jenkins job Issue Type: Bug Assignee: Andrey Pokhilko Components: performance-plugin Created: 2019-10-15 06:29 Environment: Jenkins installed on Windows Server 2012 R2 Standard I am able to reproduce this with Jenkins 2.200, 2.190.1, 2.176.2 Performance Plugin 3.17 Priority: Critical Reporter: Sujeet Velapure Freestyle Jenkins Job: I have a freestyle Jenkins job which I use to run for Jmeter executions and then process .csv files using Performance plugin. Everything works fine as expected unless you don't restart Jenkins. The observation is once you restart Jenkins the successful builds no longer shows up on Jenkins Job. After further investigation found that the build directory is present for respective builds however I dont see build.xml is getting generated. In the Jenkins.err logs I could see below exceptions: Oct 14, 2019 6:05:50 PM jenkins.security.ClassFilterImpl notifyRejected WARNING: java.text.SimpleDateFormat in JRE might be dangerous, so rejecting; see https://jenkins.io/redirect/class-filter/ Oct 14, 2019 6:05:50 PM hudson.model.Run execute SEVERE: Failed to save build record java.io.IOException: java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.model.FreeStyleBuild Caused by: java.lang.RuntimeException: Failed to serialize hudson.plugins.performance.actions.PerformanceBuildAction#parsers for class