britney crashes while doing Xenial migrations

Bug #1898907 reported by Paride Legovini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
britney
Fix Released
Undecided
Unassigned

Bug Description

The Xenial migrations are not happening (or at least not fully happening) since 2020-08-07. The logs at [1] show that britney crashes with the following traceback:

I: [2020-10-07T14:54:28+0000] - trying: -linux-tools-4.13.0-1005-azure-edge/amd64
Traceback (most recent call last):
  File "/home/ubuntu-archive/proposed-migration/code/b2/britney.py", line 1613, in <module>
    Britney().main()
  File "/home/ubuntu-archive/proposed-migration/code/b2/britney.py", line 1600, in main
    self.upgrade_testing()
  File "/home/ubuntu-archive/proposed-migration/code/b2/britney.py", line 1242, in upgrade_testing
    self.do_all()
  File "/home/ubuntu-archive/proposed-migration/code/b2/britney.py", line 1103, in do_all
    nuninst=nuninst_end)
  File "/home/ubuntu-archive/proposed-migration/code/b2/britney.py", line 929, in iter_packages
    nuninst_last_accepted
  File "/home/ubuntu-archive/proposed-migration/code/b2/britney2/migration.py", line 425, in migrate_items_to_target_suite
    self._apply_multiple_items_to_target_suite(items)
  File "/home/ubuntu-archive/proposed-migration/code/b2/britney2/migration.py", line 386, in _apply_multiple_items_to_target_suite
    affected_all, smooth_updates = self._apply_item_to_target_suite(item)
  File "/home/ubuntu-archive/proposed-migration/code/b2/britney2/migration.py", line 270, in _apply_item_to_target_suite
    sources_t[source_name] = copy.copy(source_suite.sources[source_name])
KeyError: 'linux-azure-edge'

[1] https://people.canonical.com/~ubuntu-archive/proposed-migration/log/xenial/

Paride Legovini (paride)
description: updated
summary: - britney isn't doing Xenial migrations
+ britney crashes while doing Xenial migrations
Revision history for this message
Iain Lane (laney) wrote :

It was a bit of a wild ride, but I fixed this finally:

https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu/commit/?id=351fb6b8f4859579eafc125def1bef5dc5128824

laney@snakefruit:/home/ubuntu-archive/proposed-migration/log/xenial$ for f in 2020-11-0{1,2}/*.gz; do zcat ${f} | tail -n 1; done
Finished at: Sun, 01 Nov 2020 00:29:11 +0000
Finished at: Sun, 01 Nov 2020 02:42:52 +0000
Finished at: Sun, 01 Nov 2020 07:55:05 +0000
Finished at: Sun, 01 Nov 2020 09:35:19 +0000
Finished at: Sun, 01 Nov 2020 11:30:02 +0000
Finished at: Sun, 01 Nov 2020 16:01:03 +0000
Finished at: Sun, 01 Nov 2020 17:22:57 +0000
Finished at: Sun, 01 Nov 2020 20:20:15 +0000
Finished at: Mon, 02 Nov 2020 01:49:10 +0000
Finished at: Mon, 02 Nov 2020 02:15:25 +0000
Finished at: Mon, 02 Nov 2020 06:46:42 +0000
Finished at: Mon, 02 Nov 2020 11:15:53 +0000
Finished at: Mon, 02 Nov 2020 12:23:38 +0000
Finished at: Mon, 02 Nov 2020 16:04:41 +0000
Finished at: Mon, 02 Nov 2020 17:24:46 +0000
Finished at: Mon, 02 Nov 2020 19:42:09 +0000

Changed in britney:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.