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

Concurrent build limits not honored on Jenkins 1.607

    XMLWordPrintable

Details

    Description

      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).

      Attachments

        Issue Links

          Activity

            I added my vote to it. Thanks.

            costescuandrei Andrei Costescu added a comment - I added my vote to it. Thanks.

            This is fundamentally an issue in t-c-b-p making incorrect assumptions

            stephenconnolly Stephen Connolly added a comment - This is fundamentally an issue in t-c-b-p making incorrect assumptions
            oleg_nenashev Oleg Nenashev added a comment -

            costescuandrei , stephenconnolly, dvh_yxlon
            Is it a subject for a new issue?

            oleg_nenashev Oleg Nenashev added a comment - costescuandrei , stephenconnolly , dvh_yxlon Is it a subject for a new issue?

            Dirk already created JENKINS-28376 for the new problem.
            Don't know how related it is in code to the current one.

            costescuandrei Andrei Costescu added a comment - Dirk already created JENKINS-28376 for the new problem. Don't know how related it is in code to the current one.
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #4292
            [FIXED JENKINS-27708][FIXED JENKINS-27871] Ensure that identification of blocked tasks is using the live state. (Revision 11b89d9c0b46f0afad0ca86a11264b503b799c2e)

            Result = UNSTABLE
            ogondza : 11b89d9c0b46f0afad0ca86a11264b503b799c2e
            Files :

            • core/src/main/java/hudson/model/Queue.java
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #4292 [FIXED JENKINS-27708] [FIXED JENKINS-27871] Ensure that identification of blocked tasks is using the live state. (Revision 11b89d9c0b46f0afad0ca86a11264b503b799c2e) Result = UNSTABLE ogondza : 11b89d9c0b46f0afad0ca86a11264b503b799c2e Files : core/src/main/java/hudson/model/Queue.java

            People

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

              Dates

                Created:
                Updated:
                Resolved: