Merge ~pitti/autopkgtest-cloud/+git/fixes:master into autopkgtest-cloud:master
Status: | Merged |
---|---|
Merged at revision: | 0e11dba8da790617ce033c3131d0972561164f02 |
Proposed branch: | ~pitti/autopkgtest-cloud/+git/fixes:master |
Merge into: | autopkgtest-cloud:master |
Diff against target: |
29 lines (+9/-2) 1 file modified
tools/retry-github-test (+9/-2) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Iain Lane | Approve | ||
Review via email:
|
Description of the change
Fix error messages for retry-github-test. This will turn a relatively useless and verbose
$ retry-gh-
Traceback (most recent call last):
File "/home/
with urllib.
File "/usr/lib64/
return opener.open(url, data, timeout)
File "/usr/lib64/
response = meth(req, response)
File "/usr/lib64/
'http', request, response, code, msg, hdrs)
File "/usr/lib64/
return self._call_
File "/usr/lib64/
result = func(*args)
File "/usr/lib64/
raise HTTPError(
urllib.
into a more useful
$ retry-gh-
Request failed with code 400: BAD REQUEST
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Autopkgtest Test Request</title>
</head>
<body>
<p>You submitted an invalid request: Unknown release fakerelease</p>
</body>
</html>
Thanks Martin! I've merged it and deployed - feel free to give it a try.