From 53aaf8f8e949823fe26fda51c0e358cb27beb432 Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle Date: Fri, 11 Feb 2022 09:21:28 +1300 Subject: [PATCH] allow retrying on "Reference test in progress, but real test failed already" --- britney2/policies/autopkgtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/britney2/policies/autopkgtest.py b/britney2/policies/autopkgtest.py index 1bf4d03..74429c7 100644 --- a/britney2/policies/autopkgtest.py +++ b/britney2/policies/autopkgtest.py @@ -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: