-
Bug
-
Resolution: Fixed
-
Major
The Jenkins#unlabeledLoad LoadStatistics incorrectly counts labeled jobs from computeQueueLength().
Steps to reproduce:
- Create a job with a label 'foo'
- Run the job and ensure it is the only job in the queue
- Evaluating Jenkins.getInstance().unlabeledLoad.computeQueueLength() will return 1
This causes the Jenkins.unlabeledLoadProvisioner to provision slaves with null labels even though they will not be able to run the labeled jobs.
- links to
[JENKINS-28446] UnlabeledLoad.computeQueueLength() includes labeled jobs
Assignee | New: Oleg Nenashev [ oleg_nenashev ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Remote Link | New: This issue links to "jenkins/pull/1709 (Web Link)" [ 12914 ] |
Description |
Original:
The {{Jenkins#unlabeledLoad}} LoadStatistics incorrectly counts labeled jobs from computeQueueLength(). Steps to reproduce: # Create a job with a label 'foo' # Evaluating {{Jenkins.getInstance().unlabeledLoad.computeQueueLength()}} will return 1 This causes the {{Jenkins.unlabeledLoadProvisioner}} to provision slaves with null labels even though they will not be able to run the labeled jobs. |
New:
The {{Jenkins#unlabeledLoad}} LoadStatistics incorrectly counts labeled jobs from computeQueueLength(). Steps to reproduce: # Create a job with a label 'foo' # Run the job and ensure it is the only job in the queue # Evaluating {{Jenkins.getInstance().unlabeledLoad.computeQueueLength()}} will return 1 This causes the {{Jenkins.unlabeledLoadProvisioner}} to provision slaves with null labels even though they will not be able to run the labeled jobs. |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Labels | Original: cloud loadstatistics | New: cloud loadstatistics lts-candidate |
Labels | Original: cloud loadstatistics lts-candidate | New: 1.609 cloud loadstatistics |
Labels | Original: 1.609 cloud loadstatistics | New: 1.609.2-fixed cloud loadstatistics |
Workflow | Original: JNJira [ 163286 ] | New: JNJira + In-Review [ 197161 ] |