Xenial builds with core18-based snaps pre-seed core snap instead

Bug #1874834 reported by Robert C Jennings on 2020-04-24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
livecd-rootfs (Ubuntu)
Robert C Jennings

Bug Description


 * A xenial image that preseeds a snap based on core18 will
   end up with core instead and preseeding on boot will fail.

[Test Case]

 * Add a binary hook that pre-seeds lxd (which recently moved to a
   core18 base). Ensure the snapd and core18 are pulled in by the
   build and core is not present. Boot the image and ensure
   pre-seeding is successful.

[Regression Potential]

 * Images with pre-seeded snaps regress in some fashion. We will need
   to check these builds but there are no pre-seeded snaps in the
   livecd-rootfs tree for Xenial so this is a low risk change.

Related branches

Robert C Jennings (rcj) on 2020-04-24
description: updated
tags: added: id-5ea1fbea27934b1badeb6f2b
Robert C Jennings (rcj) on 2020-04-28
Changed in livecd-rootfs (Ubuntu Xenial):
assignee: nobody → Robert C Jennings (rcj)

Hello Robert, or anyone else affected,

Accepted livecd-rootfs into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/livecd-rootfs/2.408.59 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in livecd-rootfs (Ubuntu Xenial):
status: New → Fix Committed
tags: added: verification-needed verification-needed-xenial

All autopkgtests for the newly accepted livecd-rootfs (2.408.59) for xenial have finished running.
The following regressions have been reported in tests triggered by the package:

ubuntu-image/1.9+16.04ubuntu1 (ppc64el)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].


[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

Robert C Jennings (rcj) wrote :

I've looked at the ubuntu-image autopkgtest failure on ppc64el. The failure was a network timeout on a 'pip' command. Re-running the test has passed and this seems acceptable. I will continue testing the SRU per the testcase in the template and update this bug.

Robert C Jennings (rcj) wrote :

Built ubuntu-cpc images and tested that images with core or core18 based snaps build as expected. The core snap was pulled in for snaps without an explicit base while core18 & snapd were pulled in for snaps with an explicit core18 base, and were there were both we have core and core18 without snapd.

tags: added: verification-done verification-done-xenial
removed: verification-needed verification-needed-xenial
Mathew Hodson (mhodson) on 2020-04-28
Changed in livecd-rootfs (Ubuntu):
status: New → Fix Released

The verification of the Stable Release Update for livecd-rootfs has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package livecd-rootfs - 2.408.59

livecd-rootfs (2.408.59) xenial; urgency=medium

  * Backport snap preseed base support (LP: #1874834)

 -- Robert C Jennings <email address hidden> Fri, 24 Apr 2020 10:54:54 -0500

Changed in livecd-rootfs (Ubuntu Xenial):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers