mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-23 16:31:32 +00:00
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).
This commit is contained in:
parent
49260078e4
commit
50673de2d8
@ -555,8 +555,8 @@ class AutoPackageTest(object):
|
|||||||
# also update results for excuses whose tests failed, in case a
|
# also update results for excuses whose tests failed, in case a
|
||||||
# manual retry worked
|
# manual retry worked
|
||||||
for (trigpkg, trigver) in packages:
|
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' %
|
self.log_verbose('Checking for new results for failed %s on %s for trigger %s/%s' %
|
||||||
(pkg, arch, trigpkg, trigver))
|
(pkg, arch, trigpkg, trigver))
|
||||||
self.fetch_swift_results(self.britney.options.adt_swift_url, pkg, arch, (trigpkg, trigver))
|
self.fetch_swift_results(self.britney.options.adt_swift_url, pkg, arch, (trigpkg, trigver))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user