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

GitPlugin | Concurrent builds are serialized when publishing

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      We're using a parameterized job, so that several branches of the same repo can be built concurrently. The job is configured to add a tag to the repo as a post-build action.
      When we have several jobs running, they sometimes get stuck: even though a job is finished, it "waits" for the previou jobs to finish. The message is:

      Git Publisher is waiting for a checkpoint on <job_name> #<prev_build_number>
      

      This causes a chain reaction, whereby several jobs are just hanging.

      I saw a similar issue in JENKINS-9913, but that seems to have been resolved, and it pertained to JUnit.

        Attachments

          Issue Links

            Activity

            moshe_zvi Moshe Zvi created issue -
            markewaite Mark Waite made changes -
            Field Original Value New Value
            Assignee Mark Waite [ markewaite ]
            Hide
            ck1125 ck1125 added a comment -

            Could this be down to the fact that the GitPublisher sets BuildStepMonitor.BUILD instead of BuildStepMonitor.NONE?

            Show
            ck1125 ck1125 added a comment - Could this be down to the fact that the GitPublisher sets BuildStepMonitor.BUILD instead of BuildStepMonitor.NONE?
            Hide
            jcarrothers_sap Jim Carrothers added a comment -

            Seems very likely, the only question is whether or not something in the code actually requires that restriction.

            Show
            jcarrothers_sap Jim Carrothers added a comment - Seems very likely, the only question is whether or not something in the code actually requires that restriction.
            Hide
            singletoned Ed Singleton added a comment -

            This is causing problems for me as well. We have significant variation in the speed of our slaves, and one slow build can now cause all others to delay. Is there any temporary workaround for this issue?

            Show
            singletoned Ed Singleton added a comment - This is causing problems for me as well. We have significant variation in the speed of our slaves, and one slow build can now cause all others to delay. Is there any temporary workaround for this issue?
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 169124 ] JNJira + In-Review [ 183369 ]
            Hide
            sud29 Sudhir Singh added a comment -

            We are also facing similar problem. Is there any workaround for this?

            Show
            sud29 Sudhir Singh added a comment - We are also facing similar problem. Is there any workaround for this?
            Hide
            rejeeshchandran Rejeesh Chandran added a comment -

            We are getting the same issue but with Memory Map Publisher plugin.

            Memory Map Publisher is waiting for a checkpoint on <Job Name> #<prev_build_number>
            

            If the previous job is taking too much time or stuck then then next job will also be taking time or stuck at this point.

            Show
            rejeeshchandran Rejeesh Chandran added a comment - We are getting the same issue but with Memory Map Publisher plugin. Memory Map Publisher is waiting for a checkpoint on <Job Name> #<prev_build_number> If the previous job is taking too much time or stuck then then next job will also be taking time or stuck at this point.
            Hide
            pjaiswal Pragya Jaiswal added a comment -

            Did anyone find a resolution or workaround to this problem?

            Show
            pjaiswal Pragya Jaiswal added a comment - Did anyone find a resolution or workaround to this problem?
            jbochenski Jakub Bochenski made changes -
            Link This issue relates to JENKINS-43658 [ JENKINS-43658 ]
            Hide
            moshe_zvi Moshe Zvi added a comment -

            It's always a bad sign when you search for a bug and realize you had already reported it two years ago :/

            One more thing: in the gitlab plugin, they resolved a similar issue:

            https://github.com/jenkinsci/gitlab-plugin/pull/397

            Maybe this can help?

            Show
            moshe_zvi Moshe Zvi added a comment - It's always a bad sign when you search for a bug and realize you had already reported it two years ago :/ One more thing: in the gitlab plugin, they resolved a similar issue: https://github.com/jenkinsci/gitlab-plugin/pull/397 Maybe this can help?
            markewaite Mark Waite made changes -
            Assignee Mark Waite [ markewaite ]
            markewaite Mark Waite made changes -
            Remote Link This issue links to "PR-645 (Web Link)" [ 22088 ]
            markewaite Mark Waite made changes -
            Link This issue is related to JENKINS-9913 [ JENKINS-9913 ]
            markewaite Mark Waite made changes -
            Link This issue relates to JENKINS-43658 [ JENKINS-43658 ]
            Hide
            markewaite Mark Waite added a comment -

            Fixed in the master branch, will be included in git plugin 4.0.0

            Show
            markewaite Mark Waite added a comment - Fixed in the master branch, will be included in git plugin 4.0.0
            markewaite Mark Waite made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Fixed but Unreleased [ 10203 ]
            Hide
            markewaite Mark Waite added a comment -

            Included in git plugin 4.0.0 released Nov 2, 2019

            Show
            markewaite Mark Waite added a comment - Included in git plugin 4.0.0 released Nov 2, 2019
            markewaite Mark Waite made changes -
            Status Fixed but Unreleased [ 10203 ] Closed [ 6 ]

              People

              Assignee:
              markewaite Mark Waite
              Reporter:
              moshe_zvi Moshe Zvi
              Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: