Comment 8 for bug 1926660

Revision history for this message
Iain Lane (laney) wrote :

> IMO Ubuntu CI not upgrading all packages (-U) by default is a bug because it tests a partially upgraded system

What do you mean please? I can see in the linked log "--apt-upgrade" in the commandline right at the top. Can you please check this assertion?

The mentioned ubuntu-advantage-tools is currently only in impish-proposed. What's happening here is the `apt-file search` which update-motd does as part of its test finds update-motd snippets in any enabled pocket, and that includes proposed even for packages we aren't taking from there.

The new snippets in ubuntu-advantage-tools in proposed are found, not tested (because they are not in the test-depends [would need a >= version to get the right one, as the package is not in release atm, and maybe a manual trigger on ubuntu-advantage-tools, not sure if proposed-migration would be smart enough to figure that out]), and this is making the error happen.

So, a buggy test in update-motd. I think the idea of this `update-motd` test is a bit questionable - it's not really update-motd's job to test everything which integrates with it works all of the time. It should probably look more like an `autodep8` test in which the integrations test themselves .