From a3da16e7714f032f264a1cd8817f98d102815731 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Mon, 22 Feb 2021 08:36:30 -0800 Subject: [PATCH] disable BuildDependsPolicy This policy has some perverse outcomes, slows down migrations, and doesn't actually ensure build-depends closure in the release pocket --- britney.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/britney.py b/britney.py index 94d4bd7..3f21937 100755 --- a/britney.py +++ b/britney.py @@ -527,7 +527,14 @@ class Britney(object): if getattr(self.options, 'adt_enable') == 'yes': self._policy_engine.add_policy(AutopkgtestPolicy(self.options, self.suite_info)) self._policy_engine.add_policy(AgePolicy(self.options, self.suite_info, MINDAYS)) - self._policy_engine.add_policy(BuildDependsPolicy(self.options, self.suite_info)) + # XXX this policy results in asymmetric enforcement of + # build-dependencies in the release pocket (nothing blocks + # propagation of a new package which will regress build-dep + # satisfaction of another package already in the release pocket, this + # only shows up via the NBS report); and this is a subset of what we + # already get from the rebuild tests, which the reality is we don't + # have capacity to enforce for the whole archive. - vorlon + # self._policy_engine.add_policy(BuildDependsPolicy(self.options, self.suite_info)) self._policy_engine.add_policy(BlockPolicy(self.options, self.suite_info)) # XXX re-enable once https://bugs.launchpad.net/launchpad/+bug/1868558 is fixed # self._policy_engine.add_policy(BuiltUsingPolicy(self.options, self.suite_info))