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

downstreamPipelineTriggerRunListener: Severe performance regression in 3.9.x

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • pipeline-maven-plugin
    • None
    • Jenkins 2.263
      pipelien-maven-plugin 3.9.3
      PostgreSQL 9.5.23
      Ubuntu 16.04.07 LTS
    • pipeline-maven-3.11.0

    Description

      We're facing a severe performance regression after upgrading the pipeline-maven-plugin from 3.8.3 to 3.9.3.
      In 3.8.3 the downstreamPipelineTriggerRunListener needed ~52.031 ms to complete.
      In 3.9.3 the downstreamPipelineTriggerRunListener needs ~24.694.245 ms (~7 hours)

      The task manager shows 100% CPU usage for a postgre processes while the listener runs.
      The only changes related to SQL-Statements between 3.8.3 and 3.9.3 have been introduced by this PR: https://github.com/jenkinsci/pipeline-maven-plugin/pull/226 (JENKINS-59500)

      The second observation i made is that the message "Skip triggering ... because it has a dependency on a pipeline that will be triggered by this build" is now printed 46 times for the same job in 3.9.3 instead of 15 times in 3.8.3.

      Attachments

        1. logs.zip
          902 kB
        2. logs-and-dumps_18-02-2018.zip
          191 kB
        3. pipeline-maven.hpi
          469 kB

        Issue Links

          Activity

            huber Kevin Huber created issue -
            huber Kevin Huber made changes -
            Field Original Value New Value
            Description We're facing a severe performance refgression after upgrading the pipeline-maven-plugin from 3.8.3 to 3.9.0.
            In 3.8.3 the downstreamPipelineTriggerRunListener needed ~52.031 ms to complete.
            In 3.9.3 the downstreamPipelineTriggerRunListener needs ~24.694.245 ms (~7 hours)

            The task manager shows 100% CPU usage for a postgre processes while the listener runs.
            The only changes related to SQL-Statements between 3.8.3 and 3.9.3 i've found are related to this PR: https://github.com/jenkinsci/pipeline-maven-plugin/pull/226 (JENKINS-59500)

            The second observation i made is that the message "Skip triggering ... because it has a dependency on a pipeline that will be triggered by this build" is now printed 46 times for the same job in 3.9.3 instead of 15 times in 3.8.3.
            We're facing a severe performance regression after upgrading the pipeline-maven-plugin from 3.8.3 to 3.9.3.
            In 3.8.3 the downstreamPipelineTriggerRunListener needed ~52.031 ms to complete.
            In 3.9.3 the downstreamPipelineTriggerRunListener needs ~24.694.245 ms (~7 hours)

            The task manager shows 100% CPU usage for a postgre processes while the listener runs.
            The only changes related to SQL-Statements between 3.8.3 and 3.9.3 have been introduced by this PR: https://github.com/jenkinsci/pipeline-maven-plugin/pull/226 (JENKINS-59500)

            The second observation i made is that the message "Skip triggering ... because it has a dependency on a pipeline that will be triggered by this build" is now printed 46 times for the same job in 3.9.3 instead of 15 times in 3.8.3.
            huber Kevin Huber made changes -
            Environment Jenkins 2.263
            pipelien-maven-plugin 3.9.x
            PostgreSQL 9.5.23
            Ubuntu 16.04.07 LTS
            Jenkins 2.263
            pipelien-maven-plugin 3.9.3
            PostgreSQL 9.5.23
            Ubuntu 16.04.07 LTS
            falcon benoit guerin made changes -
            Attachment pipeline-maven.hpi [ 53926 ]
            falcon benoit guerin made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            falcon benoit guerin made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            falcon benoit guerin made changes -
            Remote Link This issue links to "Pull Request #323 (Web Link)" [ 26490 ]
            huber Kevin Huber made changes -
            Attachment logs.zip [ 53933 ]
            falcon benoit guerin made changes -
            Attachment pipeline-maven.hpi [ 53926 ]
            falcon benoit guerin made changes -
            Attachment pipeline-maven.hpi [ 53965 ]
            huber Kevin Huber made changes -
            Attachment logs-and-dumps_18-02-2018.zip [ 54023 ]
            bguerin Benoit made changes -
            Assignee Benoit [ JIRAUSER133917 ]
            bguerin Benoit made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Fixed but Unreleased [ 10203 ]
            bguerin Benoit made changes -
            Released As pipeline-maven-3.11.0
            bguerin Benoit made changes -
            Status Fixed but Unreleased [ 10203 ] Closed [ 6 ]

            People

              bguerin Benoit
              huber Kevin Huber
              Votes:
              4 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: