autopkgtest: Check for new results on a per-architecture granularity

In collect(), check if there are new results for failed tests on a
per-architecture level. This updates results while tests for other
architectures are still in progress (i. e. in self.pending_tests).
bzr-import-20160707
Martin Pitt 9 years ago
parent 49260078e4
commit 50673de2d8

@ -555,8 +555,8 @@ class AutoPackageTest(object):
# also update results for excuses whose tests failed, in case a
# manual retry worked
for (trigpkg, trigver) in packages:
if trigpkg not in self.pending_tests:
for (pkg, arch) in self.failed_tests_for_trigger(trigpkg, trigver):
for (pkg, arch) in self.failed_tests_for_trigger(trigpkg, trigver):
if arch not in self.pending_tests.get(trigpkg, {}).get(trigver, {}):
self.log_verbose('Checking for new results for failed %s on %s for trigger %s/%s' %
(pkg, arch, trigpkg, trigver))
self.fetch_swift_results(self.britney.options.adt_swift_url, pkg, arch, (trigpkg, trigver))

Loading…
Cancel
Save