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

Builds are getting disappeared after Jenkins restart when used "Performance-plugin" in post build section of Jenkins job



    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: performance-plugin
    • Labels:
    • Environment:
      Jenkins installed on Windows Server 2012 R2 Standard
      I am able to reproduce this on Jenkins 2.200, 2.190.1, 2.176.2
      Performance Plugin 3.17
    • Similar Issues:


      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 hudson.plugins.performance.actions.PerformanceBuildAction
      Caused by: java.lang.RuntimeException: Failed to serialize hudson.plugins.performance.parsers.AbstractParser#format for class hudson.plugins.performance.parsers.JMeterCsvParser
      Caused by: java.lang.UnsupportedOperationException: Refusing to marshal java.text.SimpleDateFormat for security reasons; see https://jenkins.io/redirect/class-filter/


      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.

      Finished: SUCCESS
       Resuming 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)






            undera Andrey Pokhilko
            sujeet_ssv Sujeet Velapure
            0 Vote for this issue
            1 Start watching this issue