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

Concurrent build limits not honored on Jenkins 1.607

      After upgrading to 1.607 we noticed the throttle plugin doesn't always prevent jobs from running in parallel as expected.

      Steps to reproduce:
      1. Create a throttle category with global limit 1, per-node limit 1.
      2. Create 3 jobs using the category, restricted to a node with two executors, sleep 60 as a build step.
      3. Request builds of all 3 jobs.

      What should happen:
      4. Jobs run in sequence; 1 then 2 then 3.

      What actually happens:
      5. Job 1 starts building, jobs 2 and 3 wait in queue (OK).
      6. After job 1 finishes, both job 2 and 3 start running (not OK).

      Plugin version is 1.8.4. Issue does not appear in Jenkins 1.606 with the same version of the plugin. Issue is reproducible on a fresh install.

      We were forced to downgrade back to 1.606 as a workaround (which is unfortunately not trivial due to JENKINS-27700).

          [JENKINS-27708] Concurrent build limits not honored on Jenkins 1.607

          Tomasz Śniatowski created issue -
          Oleg Nenashev made changes -
          Link New: This issue is related to JENKINS-27565 [ JENKINS-27565 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-27650 [ JENKINS-27650 ]
          Stephen Connolly made changes -
          Link New: This issue is related to JENKINS-27871 [ JENKINS-27871 ]
          Oleg Nenashev made changes -
          Assignee Original: Oleg Nenashev [ oleg_nenashev ] New: Stephen Connolly [ stephenconnolly ]
          Oleg Nenashev made changes -
          Component/s New: core [ 15593 ]
          Oleg Nenashev made changes -
          Link New: This issue is duplicated by JENKINS-20211 [ JENKINS-20211 ]
          Oleg Nenashev made changes -
          Environment Original: Jenkins 1.607
          Throttle concurrent builds plugin 1.8.4
          New: Jenkins 1.607-1.609
          Throttle concurrent builds plugin 1.8.4
          Oleg Nenashev made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Oleg Nenashev made changes -
          Link New: This issue is duplicated by JENKINS-28084 [ JENKINS-28084 ]
          Stephen Connolly made changes -
          Labels New: lts-candidate

            oleg_nenashev Oleg Nenashev
            tsniatowski Tomasz Śniatowski
            Votes:
            2 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved: