output all failures in totest manager
This commit is contained in:
parent
ca0f6648c8
commit
8dfc26f8db
@ -103,11 +103,12 @@ def tt_overall_result(self, snapshot):
|
||||
'opensuse-FTT-GNOME-Live-x86_64-Build-gnome-live@USBboot_64', # broken in 20140828
|
||||
]
|
||||
|
||||
if len(jobs) < 80: # not yet scheduled
|
||||
if len(jobs) < 90: # not yet scheduled
|
||||
print "we have only", len(jobs), "jobs"
|
||||
return QAResult.InProgress
|
||||
|
||||
number_of_fails = 0
|
||||
in_progress = False
|
||||
for job in jobs:
|
||||
#print json.dumps(job, sort_keys=True, indent=4)
|
||||
if job['result'] == 'failed' or job['result'] == 'incomplete' :
|
||||
@ -125,13 +126,16 @@ def tt_overall_result(self, snapshot):
|
||||
elif job['result'] == 'passed':
|
||||
continue
|
||||
elif job['result'] == 'none':
|
||||
return QAResult.InProgress
|
||||
in_progress = True
|
||||
else:
|
||||
raise Exception(job['result'])
|
||||
|
||||
if number_of_fails > 0:
|
||||
return QAResult.Failed
|
||||
|
||||
if in_progress:
|
||||
return QAResult.InProgress
|
||||
|
||||
if known_failures:
|
||||
print "Some are now passing", known_failures
|
||||
return QAResult.Passed
|
||||
|
@ -81,7 +81,7 @@ class CleanupRings(object):
|
||||
self.find_inner_ring_links(prj)
|
||||
self.fill_pkgdeps(prj, 'standard', 'x86_64')
|
||||
|
||||
if prj == 'openSUSE:{}:Rings:1-MinimalX':
|
||||
if prj == 'openSUSE:{}:Rings:1-MinimalX'.format(self.api.opensuse):
|
||||
url = makeurl(self.api.apiurl, ['build', prj, 'images', 'x86_64', 'Test-DVD-x86_64', '_buildinfo'])
|
||||
root = ET.parse(http_GET(url)).getroot()
|
||||
for bdep in root.findall('bdep'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user