Merge lp://qastaging/~fginther/jenkins-launchpad-plugin/wait-for-node into lp://qastaging/~private-ps-quality-team/jenkins-launchpad-plugin/trunk
Status: | Needs review |
---|---|
Proposed branch: | lp://qastaging/~fginther/jenkins-launchpad-plugin/wait-for-node |
Merge into: | lp://qastaging/~private-ps-quality-team/jenkins-launchpad-plugin/trunk |
Diff against target: |
419 lines (+333/-23) 6 files modified
jenkinsutils.py (+73/-1) jsonjenkins.py (+0/-19) launchpad.py (+3/-3) tests/test_jenkinsutils.py (+134/-0) tests/test_waitForNodeIdle.py (+60/-0) waitForNodeIdle.py (+63/-0) |
To merge this branch: | bzr merge lp://qastaging/~fginther/jenkins-launchpad-plugin/wait-for-node |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Mrazik (community) | Needs Fixing | ||
PS Jenkins bot | continuous-integration | Needs Fixing | |
Review via email: mp+148956@code.qastaging.launchpad.net |
Commit message
Adds a script, waitForNodeIdle.py to wait for a jenkins slave node to become idle. This can be used to automate slave node maintenance tasks which require the node to be offline and idle.
Description of the change
Adds a script to wait for a jenkins slave node to become idle. This can be used to automate slave node maintenance tasks which require the node to be offline and idle. See ps-qa-pbuilder-
Testing:
- Includes unit tests for wait_for_
- Tested with jenkins job ps-qa-pbuilder-
Unmerged revisions
- 85. By Francis Ginther
-
Added logging messages.
- 84. By Francis Ginther
-
Merge to trunk
- 83. By Francis Ginther
-
Updated waitForNodeIdle test cases.
- 82. By Francis Ginther
-
Refactored and renamed JSONJenkins to JenkinsUrl and fixed authorization to allow setting nodes offline. Moved code to manipulate nodes into jenkinsutils.
- 81. By Francis Ginther
-
Add options to mark the node offline and online.
- 80. By Francis Ginther
-
Added test_waitForNod
eIdle.py for unit tests. - 79. By Francis Ginther
-
Fixed timeout issue found in testing
- 78. By Francis Ginther
-
Add wait_for_
node_idle. py to determine when a jenkins node is idle and ready for clean-up actions.
PASSED: Continuous integration, rev:80 s-jenkins: 8080/job/ jenkins- launchpad- plugin- ci/220/ s-jenkins: 8080/job/ jenkins- launchpad- plugin- ci/./distributi on=quantal, flavor= amd64/220/ console
http://
Executed test runs:
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins: 8080/job/ jenkins- launchpad- plugin- ci/220/ /rebuild/?
http://