[Bug 1926660] Re: autopkgtests fail due to new update-motd snippet

Iain Lane 1926660 at bugs.launchpad.net
Thu May 6 16:08:46 UTC 2021


> 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 .

** Changed in: auto-package-testing
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-motd in Ubuntu.
https://bugs.launchpad.net/bugs/1926660

Title:
  autopkgtests fail due to new update-motd snippet

Status in update-motd package in Ubuntu:
  Triaged

Bug description:
  ERROR: Untested update-motd snippet: ubuntu-advantage-tools: /etc/update-motd.d/88-esm-announce: /etc/update-motd.d/88-esm-announce
  ERROR: Untested update-motd snippet: ubuntu-advantage-tools: /etc/update-motd.d/91-contract-ua-esm-status: /etc/update-motd.d/91-contract-ua-esm-status
  autopkgtest [09:35:08]: test update-motd: -----------------------]
  autopkgtest [09:35:08]: test update-motd:  - - - - - - - - - - results - - - - - - - - - -
  update-motd          FAIL stderr: ERROR: Untested update-motd snippet: ubuntu-advantage-tools: /etc/update-motd.d/88-esm-announce: /etc/update-motd.d/88-esm-announce
  autopkgtest [09:35:08]: test update-motd:  - - - - - - - - - - stderr - - - - - - - - - -
  ERROR: Untested update-motd snippet: ubuntu-advantage-tools: /etc/update-motd.d/88-esm-announce: /etc/update-motd.d/88-esm-announce
  ERROR: Untested update-motd snippet: ubuntu-advantage-tools: /etc/update-motd.d/91-contract-ua-esm-status: /etc/update-motd.d/91-contract-ua-esm-status

  This output is produced by debian/tests/update-motd.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-motd/+bug/1926660/+subscriptions



More information about the foundations-bugs mailing list