mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-10 05:57:28 +00:00
Add 'boottest' excuse failure reason when it has failed even if the previous tests had already failed.
This commit is contained in:
parent
ea6493ae71
commit
50e0bc137d
11
britney.py
11
britney.py
@ -1976,12 +1976,13 @@ class Britney(object):
|
||||
# Block promotion if the excuse is still valid (adt tests
|
||||
# passed) but the boottests attempt has failed or still in
|
||||
# progress.
|
||||
if excuse.is_valid and status not in BootTest.VALID_STATUSES:
|
||||
excuse.is_valid = False
|
||||
excuse.addhtml("Not considered")
|
||||
if status not in BootTest.VALID_STATUSES:
|
||||
excuse.addreason("boottest")
|
||||
upgrade_me.remove(excuse.name)
|
||||
unconsidered.append(excuse.name)
|
||||
if excuse.is_valid:
|
||||
excuse.is_valid = False
|
||||
excuse.addhtml("Not considered")
|
||||
upgrade_me.remove(excuse.name)
|
||||
unconsidered.append(excuse.name)
|
||||
|
||||
# invalidate impossible excuses
|
||||
for e in self.excuses:
|
||||
|
Loading…
x
Reference in New Issue
Block a user