Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 19/Feb/15 4:10 PM
Description:

BuildableItems (Subtasks) are miscounted in the queue

Expected:
When a labeled job is in the queue its nodeprovisioner should report excess load and provision a new node. The "free roaming" nodeprovisioner should report no load and not provision a new node.

Actual:
In addition to JENKINS-25207 (The free roaming nodeprovisioner spawns nodes even though the job is labeled), it is possible for the appropriate nodeprovisioner to not report load because of use of == on the label.

Technical:
Labels are compared in a number of places with == instead of equals

Additionally af55e5345628d31f49390e11a473079bed750fd9, modified the behaviour of the "free roaming" label in the queue. This results in spawning nodes for "free roaming" jobs, even when none exist.

I have included a pull request that resolves these issues.

Project: Jenkins
Labels: queue label loadstatistics starvation nodeprovisioner
Priority: Minor Minor
Reporter: Thomas Suckow
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to