-
Bug
-
Resolution: Fixed
-
Major
-
None
The hudson.model.Computer.isIdle() method will indicate that a computer is idle even if there is a fly weight task running on it. I have a cloud plugin for a local cloud system that removes nodes after being idle for a period of time. This causes computers to get removed which are hosting fly weight tasks. Also the method hudson.model.Computer.getIdleStartMilliseconds() may need to take fly weight tasks into account.
[JENKINS-5049] hudson.model.Computer.isIdle() fails to account for fly weight tasks.
Attachment | New: 000-isIdle.patch [ 19047 ] |
Attachment | New: 001-getIdleStartMilliseconds.patch [ 19061 ] | |
Attachment | New: 002-countExecutors.patch [ 19062 ] |
We'll put a fix in 1.338, but in the mean time, please set the system property -Dhudson.model.Hudson.flyweightSupport=false to disable the flyweight support.