lp:~ubuntu-release/britney/+git/britney2-ubuntu

Get this repository:
git clone https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
Members of Ubuntu Release Team can upload to this repository. Log in for directions.

Branches

Name Last Modified Last Commit
master 2024-04-12 20:48:34 UTC
fix syntax error

Author: Steve Langasek
Author Date: 2024-04-12 20:48:34 UTC

fix syntax error

sil2100/security-britney 2024-03-05 12:52:51 UTC
p/autopkgtest: fix v3 swift auth configuration check

Author: Skia
Author Date: 2024-03-05 12:52:49 UTC

p/autopkgtest: fix v3 swift auth configuration check

In swift v3, the tenant is replaced by the project, so better update the
check accordingly.
This fixes a stacktrace in production happening because the
`ADT_SWIFT_TENANT` config had been dropped for some reasons.

Stacktrace:
```
Traceback (most recent call last):
  File "/var/lib/security-britney/britney2-ubuntu/britney.py", line 1623, in <module>
    Britney().main()
  File "/var/lib/security-britney/britney2-ubuntu/britney.py", line 400, in __init__
    self._policy_engine.initialise(self, self.hints)
  File "/var/lib/security-britney/britney2-ubuntu/britney2/policies/policy.py", line 35, in initialise
    policy.initialise(britney)
  File "/var/lib/security-britney/britney2-ubuntu/britney2/policies/autopkgtest.py", line 256, in initialise
    not self.options.adt_swift_tenant or
AttributeError: 'Values' object has no attribute 'adt_swift_tenant'
```

sil2100/source-and-binaries 2023-03-03 15:35:15 UTC
Britney operates on source packages, but cloud-test-framework on binary packa...

Author: Łukasz Zemczak
Author Date: 2023-03-03 15:35:15 UTC

Britney operates on source packages, but cloud-test-framework on binary packages. Support listing which binaries we want to test per-source.

sil2100/cloud-only-run-once 2023-02-14 13:49:46 UTC
Set the verdict correctly too.

Author: Łukasz Zemczak
Author Date: 2023-02-14 13:49:46 UTC

Set the verdict correctly too.

sil2100/private-runs 2023-02-13 10:03:59 UTC
Support PPAs which have fingerprint enabled in them.

Author: Łukasz Zemczak
Author Date: 2023-02-13 10:03:59 UTC

Support PPAs which have fingerprint enabled in them.

ubuntu/dry-run 2021-02-25 11:47:44 UTC
suiteloader: Handle arch-all packages properly when merging binaries

Author: Iain Lane
Author Date: 2021-02-23 11:53:50 UTC

suiteloader: Handle arch-all packages properly when merging binaries

In 'partial source' mode, which we use in Ubuntu, we merge the target
(release pocket) with the source (proposed), so that proposed-migration
has a view of the complete state of the archive when it is migrating.

This merging must not be done when a package has been built in the
source suite. If it is done incorrectly, proposed-migration will see the
previous binary packages as existing when they should not.

We have code to handle this already, but it's wrong in the case of
arch:all binaries. This comes up in two ways

  - If a source package builds *only* arch:all binaries, it is not
    expected that builds will be created on arches other than the one
    which builds arch:all packages (amd64 currently). If that is built
    then the package is complete, we shouldn't merge any old binaries
    such as dropped arch:all ones from the target.
  - Relatedly, if other non-arch-all packages exist, an arch:all package
    isn't an indication that a build has taken place on other arches
    than the all buildd arch.

Fixing both of these stops old binaries being merged into a new source
when it's been built and arch:all packages are involved.

wip/linux-policy 2020-07-26 12:50:56 UTC
britney: Disable Built-Using policy

Author: Iain Lane
Author Date: 2020-07-21 11:46:07 UTC

britney: Disable Built-Using policy

Launchpad currently doesn't enforce this, so it doesn't make too much
sense to do so in proposed-migration.

Once https://bugs.launchpad.net/launchpad/+bug/1868558 is fixed, we
should think about probably re-enabling this.

ubuntu/rebased 2020-07-09 15:45:34 UTC
Add Ubuntu configuration

Author: Iain Lane
Author Date: 2020-07-06 15:35:47 UTC

Add Ubuntu configuration

pre-rebase-2020-07-10 2020-04-25 10:55:15 UTC
Drop riscv64 from BREAK/NEW arches

Author: Iain Lane
Author Date: 2020-04-25 10:55:15 UTC

Drop riscv64 from BREAK/NEW arches

doko requested this, so that any initial transitions are complete here.

fix-tests 2020-01-16 10:13:41 UTC
test_autopkgtest: Strip submit-time

Author: Iain Lane
Author Date: 2020-01-16 10:13:41 UTC

test_autopkgtest: Strip submit-time

Testsuite regression from 4c27eadffa01bc1c084e947a7fa1e8a7509d1653.

submit-time is the time the request was submitted to amqp. For tests
it's the time the testcase was run. Many of our testcases test the exact
parameters that were passed to amqp, so they now fail because
submit-time is in there but it's not being checked for. It would be
possible to either verify the submit-time too, or switch to fuzzy
matching - but it's actually not very valuable to test submit-time,
since it is only for human readers of autopkgtest-cloud log files or
autopkgtest.ubuntu.com/running.

Instead strip the field from the amqp parameters before any tests see
them.

sru-messages-fixes 2019-07-19 13:43:54 UTC
Switch logic of detecting failures to looking for failed tests in policy_info...

Author: Łukasz Zemczak
Author Date: 2019-07-19 13:43:54 UTC

Switch logic of detecting failures to looking for failed tests in policy_info. Explicitly list all failing tests in the bug comment. Change wording.

sru-regression-messages 2019-05-22 16:47:29 UTC
SRU ADT: Be clear when printing log messages in dry-run mode

Author: Iain Lane
Author Date: 2019-05-22 15:26:35 UTC

SRU ADT: Be clear when printing log messages in dry-run mode

broken-hint-logging 2017-06-28 06:07:44 UTC
Fix wrong log message

Author: Steve Langasek
Author Date: 2017-06-28 06:07:44 UTC

Fix wrong log message

Britney2's Hint object has no 'days' attribute, so we ought not try to
print it.

Seen in the wild for several hours during the Artful Alpha 1 milestone
freeze, when a duplicate block hint caused britney to fail to run due to
the resulting exception.

email-direct-upload-sponsor 2017-03-09 13:03:27 UTC
email: For direct sponsored uploads, email both the sponsor and sponsoree

Author: Iain Lane
Author Date: 2017-03-09 13:03:27 UTC

email: For direct sponsored uploads, email both the sponsor and sponsoree

pre-rebase-2016-12-12 2016-12-09 15:05:40 UTC
autopkgtest: Add "huge" AMQP queues

Author: Martin Pitt
Author Date: 2016-12-09 15:05:40 UTC

autopkgtest: Add "huge" AMQP queues

Add new "huge" AMQP queues

Whenever a package like glibc or perl gets uploaded, these trigger thousands of
tests that fill the queues for several days. This can't (solely) be addressed
by adding more capacity due to the sheer size. The main annoyance of this is
that this blocks propagation of every other package in -proposed during that
time.

AMQP has no concept of priorities within a queue (they are strictly FIFO), so
for packages that trigger a huge number of tests, send these to the new
debci-$release-huge-$arch queues instead.

LP: #1647948

pre-rebase-2016-10-25 2016-10-12 14:33:47 UTC
Re-fix merging of source packages

Author: Martin Pitt
Author Date: 2016-10-12 14:33:47 UTC

Re-fix merging of source packages

We need complete copies of the SourcePackage objects, as we might later find
some binaries which are only in unstable.

Traceback (most recent call last):
  File "/home/ubuntu-archive/proposed-migration/code/b2/britney.py", line 3290, in <module>
    Britney().main()
  File "/home/ubuntu-archive/proposed-migration/code/b2/britney.py", line 3261, in main
    self.write_excuses()
  File "/home/ubuntu-archive/proposed-migration/code/b2/britney.py", line 1963, in write_excuses
    if should_upgrade_srcarch(pkg, arch, 'unstable'):
  File "/home/ubuntu-archive/proposed-migration/code/b2/britney.py", line 1534, in should_upgrade_srcarch
    False)
  File "/home/ubuntu-archive/proposed-migration/code/b2/britney.py", line 2294, in _compute_groups
    if binaries_t[parch][0][binary].source != source_name:
KeyError: 'kicad'

debian 2016-07-11 17:55:46 UTC
Really ignore nuninst issues for break arches

Author: Niels Thykier
Author Date: 2016-07-11 17:55:46 UTC

Really ignore nuninst issues for break arches

Signed-off-by: Niels Thykier <niels@thykier.net>

bzr-import-20160707 2016-05-26 16:35:28 UTC
Merge lp:~brian-murray/britney/britney2-ubuntu

Author: Steve Langasek
Author Date: 2016-05-26 16:35:28 UTC

Merge lp:~brian-murray/britney/britney2-ubuntu

118 of 18 results
This repository contains Public information 
Everyone can see this information.