• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • core
    • None
    • Platform: All, OS: All

      Starting from version 1.452, a job in queue waiting for the quiet period to pass is blocking all other jobs that have been queued after it.

      Example:

      1. Job A has quiet period set to 10 seconds
      2. Job B has quiet period set to 300 seconds
      3. Job C has quiet period set to 100 seconds
      4. Jobs get queued in A-B-C order.
      5. Job A starts executing after 10 seconds
      6. After 100 seconds, status of job C changes to "pending - Waiting for next available executor" even if free executors are available
      7. After 300 seconds both jobs B and C start executing

      This problem is hardly visible when short quiet periods are used but becomes problematic with longer quiet periods or plugins like Naginator that will increase the quiet period to hours if the builds fail enough.

      Version 1.451 is the last release where this problem isn't visible. From public releases, at least 1.452 and 1.454 are affected.

          [JENKINS-12994] Quiet period is blocking other jobs in queue

          Bumping priority from Major to Critical, as this problem is adversely affecting a lot of people.

          Matthew Webber added a comment - Bumping priority from Major to Critical, as this problem is adversely affecting a lot of people.

          Code changed in jenkins
          User: Andrew Bayer
          Path:
          changelog.html
          core/src/main/java/hudson/model/Queue.java
          http://jenkins-ci.org/commit/jenkins/e4abef20fbdb71971085e7507d7fff4b92676368
          Log:
          Merge pull request #419 from Vlatombe/jenkins-12994

          [FIX JENKINS-12994] Quiet period is blocking other jobs in queue

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrew Bayer Path: changelog.html core/src/main/java/hudson/model/Queue.java http://jenkins-ci.org/commit/jenkins/e4abef20fbdb71971085e7507d7fff4b92676368 Log: Merge pull request #419 from Vlatombe/jenkins-12994 [FIX JENKINS-12994] Quiet period is blocking other jobs in queue

          dogfood added a comment -

          Integrated in jenkins_main_trunk #1623
          [FIX JENKINS-12994] Quiet period is blocking other jobs in queue (Revision 394e9d6c0488fae6834d97a158a018abb31f3179)
          Update changelog for JENKINS-12994 (Revision 07b3f2cccb077df85617f2748f9b329528bc263b)

          Result = SUCCESS
          Vincent Latombe : 394e9d6c0488fae6834d97a158a018abb31f3179
          Files :

          • core/src/main/java/hudson/model/Queue.java

          Vincent Latombe : 07b3f2cccb077df85617f2748f9b329528bc263b
          Files :

          • changelog.html

          dogfood added a comment - Integrated in jenkins_main_trunk #1623 [FIX JENKINS-12994] Quiet period is blocking other jobs in queue (Revision 394e9d6c0488fae6834d97a158a018abb31f3179) Update changelog for JENKINS-12994 (Revision 07b3f2cccb077df85617f2748f9b329528bc263b) Result = SUCCESS Vincent Latombe : 394e9d6c0488fae6834d97a158a018abb31f3179 Files : core/src/main/java/hudson/model/Queue.java Vincent Latombe : 07b3f2cccb077df85617f2748f9b329528bc263b Files : changelog.html

          Code changed in jenkins
          User: Vincent Latombe
          Path:
          core/src/main/java/hudson/model/Queue.java
          http://jenkins-ci.org/commit/jenkins/394e9d6c0488fae6834d97a158a018abb31f3179
          Log:
          [FIX JENKINS-12994] Quiet period is blocking other jobs in queue
          Queue#maintain() was returning too soon

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vincent Latombe Path: core/src/main/java/hudson/model/Queue.java http://jenkins-ci.org/commit/jenkins/394e9d6c0488fae6834d97a158a018abb31f3179 Log: [FIX JENKINS-12994] Quiet period is blocking other jobs in queue Queue#maintain() was returning too soon

          Code changed in jenkins
          User: Vincent Latombe
          Path:
          changelog.html
          http://jenkins-ci.org/commit/jenkins/07b3f2cccb077df85617f2748f9b329528bc263b
          Log:
          Update changelog for JENKINS-12994

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vincent Latombe Path: changelog.html http://jenkins-ci.org/commit/jenkins/07b3f2cccb077df85617f2748f9b329528bc263b Log: Update changelog for JENKINS-12994

          dogfood added a comment -

          Integrated in jenkins_ui-changes_branch #21
          [FIX JENKINS-12994] Quiet period is blocking other jobs in queue (Revision 394e9d6c0488fae6834d97a158a018abb31f3179)
          Update changelog for JENKINS-12994 (Revision 07b3f2cccb077df85617f2748f9b329528bc263b)

          Result = SUCCESS
          Vincent Latombe : 394e9d6c0488fae6834d97a158a018abb31f3179
          Files :

          • core/src/main/java/hudson/model/Queue.java

          Vincent Latombe : 07b3f2cccb077df85617f2748f9b329528bc263b
          Files :

          • changelog.html

          dogfood added a comment - Integrated in jenkins_ui-changes_branch #21 [FIX JENKINS-12994] Quiet period is blocking other jobs in queue (Revision 394e9d6c0488fae6834d97a158a018abb31f3179) Update changelog for JENKINS-12994 (Revision 07b3f2cccb077df85617f2748f9b329528bc263b) Result = SUCCESS Vincent Latombe : 394e9d6c0488fae6834d97a158a018abb31f3179 Files : core/src/main/java/hudson/model/Queue.java Vincent Latombe : 07b3f2cccb077df85617f2748f9b329528bc263b Files : changelog.html

          Code changed in jenkins
          User: Vincent Latombe
          Path:
          core/src/main/java/hudson/model/Queue.java
          http://jenkins-ci.org/commit/jenkins/210e50fc8547c99d66b033787371dae115f03b7e
          Log:
          [FIX JENKINS-12994] Quiet period is blocking other jobs in queue
          Queue#maintain() was returning too soon(cherry picked from commit 394e9d6c0488fae6834d97a158a018abb31f3179)

          Conflicts:

          core/src/main/java/hudson/model/Queue.java

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vincent Latombe Path: core/src/main/java/hudson/model/Queue.java http://jenkins-ci.org/commit/jenkins/210e50fc8547c99d66b033787371dae115f03b7e Log: [FIX JENKINS-12994] Quiet period is blocking other jobs in queue Queue#maintain() was returning too soon(cherry picked from commit 394e9d6c0488fae6834d97a158a018abb31f3179) Conflicts: core/src/main/java/hudson/model/Queue.java

          Code changed in jenkins
          User: Vincent Latombe
          Path:
          changelog.html
          http://jenkins-ci.org/commit/jenkins/a86887043605c6070c81894bf38e4c6084e1f229
          Log:
          Update changelog for JENKINS-12994(cherry picked from commit 07b3f2cccb077df85617f2748f9b329528bc263b)

          Conflicts:

          changelog.html

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vincent Latombe Path: changelog.html http://jenkins-ci.org/commit/jenkins/a86887043605c6070c81894bf38e4c6084e1f229 Log: Update changelog for JENKINS-12994 (cherry picked from commit 07b3f2cccb077df85617f2748f9b329528bc263b) Conflicts: changelog.html

          Antonio Rojas added a comment -

          Was it fixed and how to apply the fix if that is the case ? thanks for your help

          Antonio Rojas added a comment - Was it fixed and how to apply the fix if that is the case ? thanks for your help

          Daniel Beck added a comment -

          bqe_antonio_rojas: This was fixed years ago. It's really time to update your Jenkins if you're still affected.

          However if you think this happens in a recent Jenkins version, it's almost guaranteed an entirely different issue (e.g. JENKINS-27871) and has nothing to do with this one.

          Daniel Beck added a comment - bqe_antonio_rojas : This was fixed years ago. It's really time to update your Jenkins if you're still affected. However if you think this happens in a recent Jenkins version, it's almost guaranteed an entirely different issue (e.g. JENKINS-27871 ) and has nothing to do with this one.

            Unassigned Unassigned
            teetoivo Teemu Toivola
            Votes:
            32 Vote for this issue
            Watchers:
            25 Start watching this issue

              Created:
              Updated:
              Resolved: