Merge ~vorlon/britney/+git/britney2-ubuntu:no-implicit-dependency-policy into ~ubuntu-release/britney/+git/britney2-ubuntu:master

Proposed by Steve Langasek
Status: Merged
Merged at revision: a3da577f8f35c52d0815ac31521e007c1b708ab4
Proposed branch: ~vorlon/britney/+git/britney2-ubuntu:no-implicit-dependency-policy
Merge into: ~ubuntu-release/britney/+git/britney2-ubuntu:master
Diff against target: 32 lines (+9/-1)
2 files modified
britney.conf (+2/-0)
britney.py (+7/-1)
Reviewer Review Type Date Requested Status
Ubuntu Release Team Pending
Review via email: mp+460522@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Simon Quigley (tsimonq2) wrote (last edit ):

I am not a member of the Release Team, but I did take the time to review this. It does seem rational; conceptually, this will allow us to move transitions forward faster. Pragmatically, this makes Britney run a little quicker. Either way, it seems beneficial to me.

Thank you for this!

Revision history for this message
Steve Langasek (vorlon) wrote :

> Pragmatically, this makes Britney run a little quicker.

This is not at all guaranteed to be true. When transitions are in flight, short-circuiting at the update_excuses phase is likely to be faster than getting to the bottom of them in update_output.

Revision history for this message
Steve Langasek (vorlon) wrote :

This is merged now, this broken policy is actively impeding the time_t transition.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/britney.conf b/britney.conf
index 80003ed..145c189 100644
--- a/britney.conf
+++ b/britney.conf
@@ -89,6 +89,8 @@ REMOVE_OBSOLETE = no
8989
90CHECK_BUILDD = no90CHECK_BUILDD = no
9191
92IMPLICIT_DEPS = no
93
92ADT_ENABLE = yes94ADT_ENABLE = yes
93ADT_ARCHES = amd64 i386 armhf ppc64el arm6495ADT_ARCHES = amd64 i386 armhf ppc64el arm64
94ADT_AMQP = amqp://test_request:password@autopkgtest-amqp.internal96ADT_AMQP = amqp://test_request:password@autopkgtest-amqp.internal
diff --git a/britney.py b/britney.py
index 3063dd2..8d8f427 100755
--- a/britney.py
+++ b/britney.py
@@ -538,7 +538,13 @@ class Britney(object):
538 self._policy_engine.add_policy(BlockPolicy(self.options, self.suite_info))538 self._policy_engine.add_policy(BlockPolicy(self.options, self.suite_info))
539 # XXX re-enable once https://bugs.launchpad.net/launchpad/+bug/1868558 is fixed539 # XXX re-enable once https://bugs.launchpad.net/launchpad/+bug/1868558 is fixed
540 # self._policy_engine.add_policy(BuiltUsingPolicy(self.options, self.suite_info))540 # self._policy_engine.add_policy(BuiltUsingPolicy(self.options, self.suite_info))
541 self._policy_engine.add_policy(ImplicitDependencyPolicy(self.options, self.suite_info))541 # This policy is objectively terrible, it reduces britney runtime
542 # at the cost of giving only partial information about blocking
543 # packages during large transitions instead of giving full detail in
544 # update_output that the team can work through in parallel, thus
545 # dragging out complicated transitions. vorlon 20240214
546 if getattr(self.options, 'implicit_deps', 'yes') == 'yes':
547 self._policy_engine.add_policy(ImplicitDependencyPolicy(self.options, self.suite_info))
542 if getattr(self.options, 'check_buildd', 'no') == 'yes':548 if getattr(self.options, 'check_buildd', 'no') == 'yes':
543 self._policy_engine.add_policy(BuiltOnBuilddPolicy(self.options, self.suite_info))549 self._policy_engine.add_policy(BuiltOnBuilddPolicy(self.options, self.suite_info))
544 self._policy_engine.add_policy(LPBlockBugPolicy(self.options, self.suite_info))550 self._policy_engine.add_policy(LPBlockBugPolicy(self.options, self.suite_info))

Subscribers

People subscribed via source and target branches