Add 'boottest' excuse failure reason when it has failed even if the previous tests had already failed.

This commit is contained in:
Celso Providelo 2015-02-20 17:02:00 -02:00
parent ea6493ae71
commit 50e0bc137d

View File

@ -1976,10 +1976,11 @@ 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:
if status not in BootTest.VALID_STATUSES:
excuse.addreason("boottest")
if excuse.is_valid:
excuse.is_valid = False
excuse.addhtml("Not considered")
excuse.addreason("boottest")
upgrade_me.remove(excuse.name)
unconsidered.append(excuse.name)