[Bug 1889470] Re: snap seed with channel breaks ubuntu-cpc:minimized builds on focal

David Krauser 1889470 at bugs.launchpad.net
Tue Aug 18 17:05:39 UTC 2020


Autopkgtests for v2.664.5 have passed (which build ubuntu-
cpc:minimized).

** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-done

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

Title:
  snap seed with channel breaks ubuntu-cpc:minimized builds on focal

Status in livecd-rootfs package in Ubuntu:
  Fix Released
Status in livecd-rootfs source package in Focal:
  Fix Committed

Bug description:
  [Impact]

   * Focal ubuntu-cpc:minimized builds fail (see Original Description)

  [Test Case]

   * build ubuntu-cpc:minimized
     * autopkgtest will catch this now, but didn't previously because the seed had yet to change

  [Regression Potential]

   * This is a very low risk change that is only in the code path
  ubuntu-cpc:minimized and the regression would require us to add a
  seeded snap that had a lxd=something that wasn't lxd, however the snap
  store doesn't allow '=' in name, so I think we're good.

  [Other Info]

   * None

  [Original Description]

  The seed now specifies the lxd snap in focal as
  'lxd=4.0/stable/ubuntu-20.04' which doesn't match the expectations of
  the code with looks for lxd as the only snap in the seed for minimized
  images.  This patch updates the pattern to accept 'lxd' or 'lxd=*'.

  The failure we see in the build is:

  W: No seed matching task cloud-image
  snap: considering required
  snap: considering minimal
  snap: considering standard
  snap: considering server
  snap: found lxd=4.0/stable/ubuntu-20.04
  Unexpected seeded snap for ubuntu-cpc:minimized build: lxd=4.0/stable/ubuntu-20.04
  Build failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1889470/+subscriptions



More information about the foundations-bugs mailing list