SRU 0.15 tracking bug

Bug #1665014 reported by Barry Warsaw
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-image (Ubuntu)
Fix Released
High
Barry Warsaw
Xenial
Fix Released
High
Unassigned
Yakkety
Fix Released
High
Unassigned

Bug Description

New SRU tracking bug (with exception) for ubuntu-image 0.15 in Yakkety and Xenial.

See https://wiki.ubuntu.com/UbuntuImageUpdates

[Impact]

ubuntu-image 0.15 fixes some bugs and brings feature parity with the original design by adding support for multi-volume gadget.yaml specifications. This release deprecates -o/--output in favor of -O/--output-dir. It also handles structure parts with size or offset < 1MiB. Bugs fixed include problems with /tmp in the snap version and ignoring any values in the defaults section of the gadget.yaml

[Test Case]

Create an image using the official amd64 model assertion. Ensure that the resulting image boots to 'press enter to configure' phase.

[Regression Potential]

* ubuntu-image may not produce a bootable image.
* More warnings may be emitted in the log file (due to misaligned size or offsets)
* There could be bugs in multi-volume gadget support that breaks single-volume specifications

Barry Warsaw (barry)
Changed in ubuntu-image (Ubuntu):
assignee: nobody → Barry Warsaw (barry)
importance: Undecided → High
status: New → In Progress
Changed in ubuntu-image (Ubuntu Xenial):
importance: Undecided → High
Changed in ubuntu-image (Ubuntu Yakkety):
importance: Undecided → High
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Barry, or anyone else affected,

Accepted ubuntu-image into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-image/0.15+16.04ubuntu1 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, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

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

Changed in ubuntu-image (Ubuntu):
status: In Progress → Fix Released
Changed in ubuntu-image (Ubuntu Xenial):
status: New → Fix Committed
tags: added: verification-needed
Changed in ubuntu-image (Ubuntu Yakkety):
status: New → Fix Committed
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Barry, or anyone else affected,

Accepted ubuntu-image into yakkety-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-image/0.15+16.10ubuntu1 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, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

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

Barry Warsaw (barry)
tags: added: verification-done-yakkety
Barry Warsaw (barry)
tags: added: verification-done-xenial
removed: verification-needed
Revision history for this message
Brian Murray (brian-murray) wrote :

Could you add some details regarding the steps you took to verify the SRUs?

Revision history for this message
Barry Warsaw (barry) wrote :

@brian-murray: yes, thanks for requesting the details.

Following the directions in https://wiki.ubuntu.com/UbuntuImageUpdates for each of Yakkety and Xenial, I created the appropriate chroot, and installed ubuntu-image from -proposed. Then I used the command to build a bootable image, then outside the chroot I used qemu to boot the image. As per the exception plan, getting to the configuration screen is good enough for success (it proves the image boots).

Both validations were done for X and Y.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-image - 0.15+16.10ubuntu1

---------------
ubuntu-image (0.15+16.10ubuntu1) yakkety; urgency=medium

  * SRU tracking number LP: #1665014
  * ubuntu-image now supports gadget.yaml files with multiple volume
    specifications. Each volume describes a different disk image. For
    the multi-volume case, no implicit root file system structure is added
    at all; the root file system partition must be defined in the
    gadget.yaml. -o/--output is ignored in the multi-volume case.
    (LP:1641727)
  * Add -O/--output-dir command line options. Disk image files are
    written here using the volume name and a .img suffix. Deprecate
    -o/--output. -O and -o are mutually exclusive.
  * Handle structure parts with size or offset < 1MiB. (LP:1630709)
  * Warn when the size or offset is not a multiple of the sector size.
    (LP:1663172 and LP:1621151)
  * Allow and ignore any string values in the ``defaults`` section.
    (LP:1661515)
  * Handle a couple more cases where ubuntu-image as a snap cannot read
    from /tmp (model assertions and extra snaps). (LP:1663424)
  * Add a release script. (LP:1655669)
  * Version numbers for the snap now say "+snap" instead of "+real".
    (LP:1664296)

 -- Barry Warsaw <email address hidden> Mon, 06 Feb 2017 18:36:02 -0500

Changed in ubuntu-image (Ubuntu Yakkety):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for ubuntu-image has completed successfully and the package has now been 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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-image - 0.15+16.04ubuntu1

---------------
ubuntu-image (0.15+16.04ubuntu1) xenial; urgency=medium

  * SRU tracking number LP: #1665014
  * ubuntu-image now supports gadget.yaml files with multiple volume
    specifications. Each volume describes a different disk image. For
    the multi-volume case, no implicit root file system structure is added
    at all; the root file system partition must be defined in the
    gadget.yaml. -o/--output is ignored in the multi-volume case.
    (LP:1641727)
  * Add -O/--output-dir command line options. Disk image files are
    written here using the volume name and a .img suffix. Deprecate
    -o/--output. -O and -o are mutually exclusive.
  * Handle structure parts with size or offset < 1MiB. (LP:1630709)
  * Warn when the size or offset is not a multiple of the sector size.
    (LP:1663172 and LP:1621151)
  * Allow and ignore any string values in the ``defaults`` section.
    (LP:1661515)
  * Handle a couple more cases where ubuntu-image as a snap cannot read
    from /tmp (model assertions and extra snaps). (LP:1663424)
  * Add a release script. (LP:1655669)
  * Version numbers for the snap now say "+snap" instead of "+real".
    (LP:1664296)

 -- Barry Warsaw <email address hidden> Mon, 06 Feb 2017 18:36:02 -0500

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.