Details
-
Bug
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
Description
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.
Attachments
Issue Links
- links to
Activity
Field | Original Value | New Value |
---|---|---|
Assignee | Oleg Nenashev [ oleg_nenashev ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Remote Link | This issue links to "jenkins/pull/1709 (Web Link)" [ 12914 ] |
Description |
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. |
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 | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Labels | cloud loadstatistics | cloud loadstatistics lts-candidate |
Labels | cloud loadstatistics lts-candidate | 1.609 cloud loadstatistics |
Labels | 1.609 cloud loadstatistics | 1.609.2-fixed cloud loadstatistics |
Workflow | JNJira [ 163286 ] | JNJira + In-Review [ 197161 ] |