Merge lp://staging/~ursinha/uci-engine/update-ticket-raises-error into lp://staging/uci-engine
Proposed by
Ursula Junque
Status: | Merged |
---|---|
Approved by: | Ursula Junque |
Approved revision: | 648 |
Merged at revision: | 646 |
Proposed branch: | lp://staging/~ursinha/uci-engine/update-ticket-raises-error |
Merge into: | lp://staging/uci-engine |
Diff against target: |
619 lines (+208/-74) 9 files modified
cli/ci_cli/tests/__init__.py (+2/-2) cli/ci_cli/tests/test_cli.py (+81/-19) cli/ci_cli/tests/test_get_ticket_status.py (+6/-6) cli/ci_cli/tests/test_image.py (+11/-11) cli/ci_cli/tests/test_ticket.py (+18/-18) cli/ci_cli/tests/test_utils.py (+61/-3) cli/ci_cli/ticket.py (+18/-7) cli/ci_cli/utils.py (+9/-7) cli/ubuntu-ci (+2/-1) |
To merge this branch: | bzr merge lp://staging/~ursinha/uci-engine/update-ticket-raises-error |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Francis Ginther | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+225593@code.staging.launchpad.net |
Commit message
Display better errors in case requests fail during ticket creation
Description of the change
This branch ensures all requests will raise exceptions if their return codes are errors. What happened in bug 1337294 should be a rare problem, and until we understand what happened it's hard to find a definitive solution. If that happens again, now it's explicit that the problem happens while update_ticket, and while we don't have a retry mechanism I'm directing the user to let an admin know what happened, to be able to manually set it to "Queued".
To post a comment you must log in.
PASSED: Continuous integration, rev:647 s-jenkins. ubuntu- ci:8080/ job/uci- engine- ci/1013/
http://
Executed test runs:
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/uci- engine- ci/1013/ rebuild
http://