Uploading test cases to TestRail fails if some jobs were aborted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Artem Panchenko |
Bug Description
Uploading of test cases to TestRail may fail if some CI jobs were aborted or not started, for example:
{ "abort":false,
"buildNumber":0,
"duration":"not built",
"icon"
"jobName"
"parentBuildN
"parentJobNam
"phaseName":"Run system tests",
"result":null,
"retry":false,
"url":"" }
2015-09-28 22:42:46,465 - DEBUG - Request build data from https:/
Traceback (most recent call last):
File "fuelweb_
main()
File "fuelweb_
distros) if options.job_name else []
File "fuelweb_
z = Build(b['jobName'], b['buildNumber'])
File "/home/
self.build_data = self.get_
File "/home/
return json.load(
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
We need to check that job build result is not null before trying to get its properties. We perform such check in reporter script:
https:/
Changed in fuel: | |
status: | Fix Committed → Fix Released |
tags: | added: area-qa |
Fix proposed to branch: master /review. openstack. org/228614
Review: https:/