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

Concurrent builds using Performance plugin wait for post build task to be finished by the build started earlier which hasn’t finished yet

    Details

    • Similar Issues:

      Description

      Post build tasks should be concurrent rather than sequential and any build should not wait for any other build of the same job.

      Acceptance Criteria:
      1)Post build tasks for job using performance plugin should be concurrent.
      2)Performance summariser should run successfully and generate the report.

      Adding More Details:
      1)We ran two builds and the one started earlier runs much longer than the one started later.The build started later finishes but the post build tasks doesn’t get executed and it keep on waiting for checkpoint.However, if the build which runs for shorter time was started first and while it was running the other build got started too ,we don’t face issue with the build started earlier when it finishes as it doesn’t wait for the post build tasks.

      Adding snapshot from console output for build 22.
      “Publish Performance test result report is waiting for a checkpoint on Core_ConnectWeb_Company_AddCompany #21

      2)After minor modification in performance plugin,the issue is performance summariser doesn't work if we change BuildStepMonitor.BUILD to Build.NONE.We want the report to get published after the test is over.Though we see *.jtl files,the report doesn't get published.

      Similar issue was resolved for Jacoco plugin, junit and few other plugins earlier(some are open till now)
      https://github.com/jglick/email-ext-plugin/commit/6fb41818d63ca0067171f8c01fcdbed196335b44
      https://issues.jenkins-ci.org/browse/JENKINS-9913
      https://issues.jenkins-ci.org/browse/JENKINS-16376

        Attachments

          Activity

          Hide
          forsandeep Sandeep Dhingra added a comment -

          Just wanted to add the above console output was after the BUILD SUCCESS
          "15:26:36 [INFO] BUILD SUCCESS
          15:26:36 [INFO] ------------------------------------------------------------------------
          15:26:36 [INFO] Total time: 17:57.166s
          15:26:36 [INFO] Finished at: Tue Jan 20 15:26:36 PST 2015
          15:26:36 [INFO] Final Memory: 14M/360M
          15:26:36 [INFO] ------------------------------------------------------------------------
          15:26:36 Publish Performance test result report is waiting for a checkpoint on Core_ConnectWeb_Company_AddCompany "

          Show
          forsandeep Sandeep Dhingra added a comment - Just wanted to add the above console output was after the BUILD SUCCESS "15:26:36 [INFO] BUILD SUCCESS 15:26:36 [INFO] ------------------------------------------------------------------------ 15:26:36 [INFO] Total time: 17:57.166s 15:26:36 [INFO] Finished at: Tue Jan 20 15:26:36 PST 2015 15:26:36 [INFO] Final Memory: 14M/360M 15:26:36 [INFO] ------------------------------------------------------------------------ 15:26:36 Publish Performance test result report is waiting for a checkpoint on Core_ConnectWeb_Company_AddCompany "
          Show
          barnacs Barna Csorogi added a comment - PR submitted: https://github.com/jenkinsci/performance-plugin/pull/43
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Barna Csorogi
          Path:
          src/main/java/hudson/plugins/performance/PerformancePublisher.java
          src/main/java/hudson/plugins/performance/PerformanceReportMap.java
          http://jenkins-ci.org/commit/performance-plugin/e02e148ff9210c88eaa4e79c8c61dab80a1f8411
          Log:
          Generate performance report even if previous builds are still running

          Fixes JENKINS-26515

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Barna Csorogi Path: src/main/java/hudson/plugins/performance/PerformancePublisher.java src/main/java/hudson/plugins/performance/PerformanceReportMap.java http://jenkins-ci.org/commit/performance-plugin/e02e148ff9210c88eaa4e79c8c61dab80a1f8411 Log: Generate performance report even if previous builds are still running Fixes JENKINS-26515

            People

            • Assignee:
              manolo Manuel Carrasco
              Reporter:
              forsandeep Sandeep Dhingra
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: