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

several threads looping in TreeMap.put()

    Details

    • Similar Issues:

      Description

      In the last few days we started to use this performance plugin in several jobs (4-5). Today we have several threads in the Jenkins master looping on this method call:

      (a) java.util.TreeMap.put(TreeMap.java:575)
      (b) java.util.TreeMap.put(TreeMap.java:568)
      

      Some of them are stuck in (a) some of them in (b). 

      This is the complete stacktrace:

      Handling GET /view/Dev/view/F_PB-40835_NewMarginCallWorkflow/job/Core%20Performance%20ZKB/job/feature%252FF_PB-40835_NewMarginCallWorkflow/performance/throughputGraph from 10.254.52.53 : RequestHandlerThread[#6]
      java.util.TreeMap.put(TreeMap.java:568)
      hudson.plugins.performance.reports.UriReport.calculateDiffPercentiles(UriReport.java:262)
      hudson.plugins.performance.reports.UriReport.addLastBuildUriReport(UriReport.java:381)
      hudson.plugins.performance.reports.PerformanceReport.setLastBuildReport(PerformanceReport.java:408)
      hudson.plugins.performance.PerformanceReportMap.addPreviousBuildReports(PerformanceReportMap.java:528)
      hudson.plugins.performance.PerformanceReportMap.<init>(PerformanceReportMap.java:84)
      hudson.plugins.performance.actions.PerformanceBuildAction.getPerformanceReportMap(PerformanceBuildAction.java:83)
      hudson.plugins.performance.PerformanceReportMap.addPreviousBuildReports(PerformanceReportMap.java:518)
      hudson.plugins.performance.PerformanceReportMap.<init>(PerformanceReportMap.java:84)
      hudson.plugins.performance.actions.PerformanceBuildAction.getPerformanceReportMap(PerformanceBuildAction.java:83)
      hudson.plugins.performance.PerformanceReportMap.addPreviousBuildReports(PerformanceReportMap.java:518)
      hudson.plugins.performance.PerformanceReportMap.<init>(PerformanceReportMap.java:84)
      hudson.plugins.performance.actions.PerformanceBuildAction.getPerformanceReportMap(PerformanceBuildAction.java:83)
      hudson.plugins.performance.PerformanceReportMap.addPreviousBuildReports(PerformanceReportMap.java:518)
      hudson.plugins.performance.PerformanceReportMap.<init>(PerformanceReportMap.java:84)
      hudson.plugins.performance.actions.PerformanceBuildAction.getPerformanceReportMap(PerformanceBuildAction.java:83)
      hudson.plugins.performance.actions.PerformanceProjectAction.doThroughputGraph(PerformanceProjectAction.java:515)

       

      Plugin version: 3.11

      Java version: 1.8.0_51

        Attachments

        1. cpu (1).png
          cpu (1).png
          27 kB
        2. performance.hpi
          6.13 MB
        3. stacktrace.txt
          155 kB

          Activity

          Hide
          dfa Davide Angelocola added a comment -

          Thanks, but unfortunately I'm not allowed to install plugins or change at this time, sorry. 

          However I can say that after restarting the Jenkins master last Thursday, the cpu load now looks like:

          Show
          dfa Davide Angelocola added a comment - Thanks, but unfortunately I'm not allowed to install plugins or change at this time, sorry.  However I can say that after restarting the Jenkins master last Thursday, the cpu load now looks like:
          Hide
          artem_fedorov Artem Fedorov added a comment -

          cpu load looks better. Do you have any looping threads in performance plugin method calls now?

          Show
          artem_fedorov Artem Fedorov added a comment - cpu load looks better. Do you have any looping threads in performance plugin method calls now?
          Hide
          dfa Davide Angelocola added a comment - - edited

          No, by now it looks fine: no thread is looping. 

          Show
          dfa Davide Angelocola added a comment - - edited No, by now it looks fine: no thread is looping. 
          Hide
          dfa Davide Angelocola added a comment -

          I've been monitoring in the last 40 days and I cannot reproduce it anymore. Perhaps we can close this ticket? 

          Show
          dfa Davide Angelocola added a comment - I've been monitoring in the last 40 days and I cannot reproduce it anymore. Perhaps we can close this ticket? 
          Hide
          artem_fedorov Artem Fedorov added a comment -

          Sure. Close it, please

          Show
          artem_fedorov Artem Fedorov added a comment - Sure. Close it, please

            People

            • Assignee:
              artem_fedorov Artem Fedorov
              Reporter:
              dfa Davide Angelocola
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: