mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-10 22:17:36 +00:00
Only log force-reset-test hints for matching packages
Logging all force-reset-test hints for every package causes about 850 MB of logs in the last run of 880 MB of logs in total, let's only log ones matching the package instead, as we do for force-badtest.
This commit is contained in:
parent
ef29d8e2c2
commit
11a023d133
@ -1415,10 +1415,10 @@ class AutopkgtestPolicy(BasePolicy):
|
||||
self.reset_hints = self.hints.search('force-reset-test')
|
||||
|
||||
for hint in self.reset_hints:
|
||||
self.logger.info('Checking hints for %s/%s/%s: %s' % (src, ver, arch, str(hint)))
|
||||
for mi in hint.packages:
|
||||
if mi.package != src:
|
||||
continue
|
||||
self.logger.info('Checking hints for %s/%s/%s: %s' % (src, ver, arch, str(hint)))
|
||||
if (mi.architecture in ['source', arch] and
|
||||
mi.version != 'all' and
|
||||
apt_pkg.version_compare(mi.version, ver) >= 0):
|
||||
|
Loading…
x
Reference in New Issue
Block a user