allow retrying on "Reference test in progress, but real test failed already"

This commit is contained in:
Michael Hudson-Doyle 2022-02-11 09:21:28 +13:00
parent 86618a1b1d
commit 53aaf8f8e9

View File

@ -475,7 +475,7 @@ class AutopkgtestPolicy(BasePolicy):
history_url = cloud_url % {
'h': srchash(testsrc), 's': testsrc,
'r': self.options.series, 'a': arch}
if status == 'REGRESSION':
if status in ['REGRESSION', 'RUNNING-REFERENCE']:
if self.options.adt_retry_url_mech == 'run_id':
retry_url = self.options.adt_ci_url + 'api/v1/retry/' + run_id
else: