Exceptions from monitor-ec2-build-slaves script
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro AWS Tools |
Fix Released
|
High
|
Paul Sokolovsky |
Bug Description
We've been having quite a few of exception from build instance monitoring script lately, e.g.:
Traceback (most recent call last):
File "linaro-
process_
File "linaro-
slave_info = check_build_
File "linaro-
slave_info = get_slave_
File "linaro-
f = urllib2.urlopen("https:/
File "/usr/lib/
return _opener.open(url, data, timeout)
File "/usr/lib/
response = meth(req, response)
File "/usr/lib/
'http', request, response, code, msg, hdrs)
File "/usr/lib/
return self._call_
File "/usr/lib/
result = func(*args)
File "/usr/lib/
raise HTTPError(
urllib2.HTTPError: HTTP Error 404: Not Found
Related branches
- Stevan Radaković: Approve (code)
- Deepti B. Kalakeri (community): Approve
- Linaro Infrastructure: Pending requested
-
Diff: 172 lines (+110/-9)5 files modifiedREADME.tests (+12/-0)
monitor_ec2_build_slaves.py (+31/-9)
tests/data/jenkins-slave.json (+1/-0)
tests/test_positive.py (+17/-0)
tests/test_unknown_instance.py (+49/-0)
Changed in linaro-aws-tools: | |
assignee: | nobody → Paul Sokolovsky (pfalcon) |
status: | New → In Progress |
Changed in linaro-aws-tools: | |
status: | Fix Committed → Fix Released |
One obvious reason for these are slaves started by sandboxes. But generally, exceptions should be handled more gracefully.