Part of lp.buildmaster.manager View In Hierarchy
Method | __init__ | Undocumented |
Method | startCycle | Scan the builder and dispatch to it or deal with failures. |
Method | stopCycle | Terminate the LoopingCall. |
Method | singleCycle | Undocumented |
Method | checkCancellation | See if there is a pending cancellation request. |
Method | getExpectedCookie | Return the build cookie expected to be held by the slave. |
Method | updateVersion | Update the DB's record of the slave version if necessary. |
Method | scan | Probe the builder and update/dispatch/collect as appropriate. |
Method | _updateDateScanned | Undocumented |
Method | _scanFailed | Deal with failures encountered during the scan cycle. |
Deal with failures encountered during the scan cycle.
If the current build is in status CANCELLING then terminate it immediately.
Returns | A deferred which fires when this cancellation cycle is done. |
Calculating this requires hitting the DB, so it's cached based on the current BuildQueue.