Merge lp:~pfalcon/linaro-aws-tools/elaborate-slave-check into lp:linaro-aws-tools
Status: | Rejected |
---|---|
Rejected by: | Paul Sokolovsky |
Proposed branch: | lp:~pfalcon/linaro-aws-tools/elaborate-slave-check |
Merge into: | lp:linaro-aws-tools |
Diff against target: |
64 lines (+31/-3) 1 file modified
monitor-ec2-build-slaves (+31/-3) |
To merge this branch: | bzr merge lp:~pfalcon/linaro-aws-tools/elaborate-slave-check |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paul Sokolovsky | Approve | ||
James Tunnicliffe (community) | Needs Information | ||
Review via email: mp+104894@code.launchpad.net |
Description of the change
Further elaboration of monitor-
Unmerged revisions
- 83. By Paul Sokolovsky
-
Set lower build thershold for testing time.
- 82. By Paul Sokolovsky
-
Get rid of test value for HOUR.
- 81. By Paul Sokolovsky
-
Add logic to actually analyze *build* times to decide if instance is runaway.
So, instance running for long is generally ok, if its current build(s) run
for sensible time. Still, report instance running very long (>10hrs), these
amost certainly hang soon if not yet per our experience. Problematic case
are idle instances - from once side, instance idling for short are ok - they're
waiting for new builds or heading to expiration (in 30 mins). But long-idling
instances are bad. As we don't have idling time on our hands, accept possibility
of false positive reports (with 20min monitoring period, the problem is getting
3+ consecutive reports of idle instance). - 80. By Paul Sokolovsky
-
Add comment about HTML scraping
- 79. By Paul Sokolovsky
-
Handle idle slaves when querying running builds properly.
- 78. By Paul Sokolovsky
-
monitor-
ec2-build- slaves: Query and show whar actual builds are running. - 77. By Paul Sokolovsky
-
Typo fix in comment.
Ah, and Jenkins API doesn't provide any useful info about a slave in this case, so I do HTML scraping.