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

Robert C Jennings 1889470 at bugs.launchpad.net
Wed Jul 29 20:00:25 UTC 2020


** Description changed:

+ [Impact]
+ 
+  * Focal ubuntu-cpc:minimized builds fail (see Original Description)
+ 
+ [Test Case]
+ 
+  * detailed instructions how to reproduce the bug
+ 
+  * these should allow someone who is not familiar with the affected
+    package to reproduce the bug and verify that the updated package fixes
+    the problem.
+ 
+ [Regression Potential]
+ 
+  * discussion of how regressions are most likely to manifest as a result
+ of this change.
+ 
+  * It is assumed that any SRU candidate patch is well-tested before
+    upload and has a low overall risk of regression, but it's important
+    to make the effort to think about what ''could'' happen in the
+    event of a regression.
+ 
+  * This both shows the SRU team that the risks have been considered,
+    and provides guidance to testers in regression-testing the SRU.
+ 
+ [Other Info]
+  
+  * Anything else you think is useful to include
+  * Anticipate questions from users, SRU, +1 maintenance, security teams and the Technical Board
+  * and address these questions in advance
+ 
+ [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

** Description changed:

  [Impact]
  
-  * Focal ubuntu-cpc:minimized builds fail (see Original Description)
+  * Focal ubuntu-cpc:minimized builds fail (see Original Description)
  
  [Test Case]
  
-  * detailed instructions how to reproduce the bug
- 
-  * these should allow someone who is not familiar with the affected
-    package to reproduce the bug and verify that the updated package fixes
-    the problem.
+  * build ubuntu-cpc:minimized
+    * autopkgtest will catch this now, but didn't previously because the seed had yet to change
  
  [Regression Potential]
  
-  * discussion of how regressions are most likely to manifest as a result
- of this change.
- 
-  * It is assumed that any SRU candidate patch is well-tested before
-    upload and has a low overall risk of regression, but it's important
-    to make the effort to think about what ''could'' happen in the
-    event of a regression.
- 
-  * This both shows the SRU team that the risks have been considered,
-    and provides guidance to testers in regression-testing the SRU.
+  * 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]
-  
-  * Anything else you think is useful to include
-  * Anticipate questions from users, SRU, +1 maintenance, security teams and the Technical Board
-  * and address these questions in advance
+ 
+  * 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

-- 
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:
  New

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