From a4d0c4a85404cd5da4e5195130f417121a6368b0 Mon Sep 17 00:00:00 2001 From: Paul Gevers Date: Wed, 25 Apr 2018 21:50:46 +0200 Subject: [PATCH] Don't start the tests before arch:all has been build (if applicable) --- britney2/policies/autopkgtest.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/britney2/policies/autopkgtest.py b/britney2/policies/autopkgtest.py index 3676262..6a5c92a 100644 --- a/britney2/policies/autopkgtest.py +++ b/britney2/policies/autopkgtest.py @@ -202,6 +202,10 @@ class AutopkgtestPolicy(BasePolicy): self.logger.info('%s hasn''t been built anywhere, skipping autopkgtest policy', excuse.name) verdict = PolicyVerdict.REJECTED_TEMPORARILY + if 'all' in excuse.missing_builds: + self.logger.info('%s hasn''t been built for arch:all, skipping autopkgtest policy', source_name) + verdict = PolicyVerdict.REJECTED_TEMPORARILY + if verdict == PolicyVerdict.PASS: self.logger.info('Checking autopkgtests for %s', source_name) trigger = source_name + '/' + source_data_srcdist.version