Merge lp:~doanac/ubuntu-ci-services-itself/lander-sigterm into lp:ubuntu-ci-services-itself
Proposed by
Andy Doan
Status: | Merged |
---|---|
Approved by: | Andy Doan |
Approved revision: | 342 |
Merged at revision: | 354 |
Proposed branch: | lp:~doanac/ubuntu-ci-services-itself/lander-sigterm |
Merge into: | lp:ubuntu-ci-services-itself |
Diff against target: |
42 lines (+13/-1) 2 files modified
lander/bin/lander_service_wrapper.py (+9/-1) lander/bin/ticket_api.py (+4/-0) |
To merge this branch: | bzr merge lp:~doanac/ubuntu-ci-services-itself/lander-sigterm |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andy Doan (community) | Approve | ||
Vincent Ladeuil (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+210073@code.launchpad.net |
Commit message
lander: ensure ticket is marked failed when cancelled
We have an issue where a user might cancel a jenkins job, but the
lander fails to mark the ticket as failed. This can cause the same
ticket to get run again by the lander.
This checks SIGTERM (what jenkins sends when a job is cancelled)
and ensures the ticket is marked failed
Description of the change
Try and help ensure the lander marks a ticket as failed if a job gets canceled.
To post a comment you must log in.
PASSED: Continuous integration, rev:342 s-jenkins. ubuntu- ci:8080/ job/uci- engine- ci/346/
http://
Executed test runs:
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/uci- engine- ci/346/ rebuild
http://