SRU 0.12 tracking bug

Bug #1646608 reported by Barry Warsaw on 2016-12-01
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-image (Ubuntu)
Undecided
Unassigned
Xenial
Undecided
Unassigned
Yakkety
Undecided
Unassigned

Bug Description

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

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

[Impact]

ubuntu-image 0.12 fixes quite a few usability and functionality bugs, and also updates the gadget.yaml parsing to the latest spec. It also fixes issues related to the autopkgtests.

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

Barry Warsaw (barry) on 2016-12-07
Changed in ubuntu-image (Ubuntu):
status: New → Fix Released
Barry Warsaw (barry) on 2016-12-07
description: updated
Steve Langasek (vorlon) on 2016-12-07
Changed in ubuntu-image (Ubuntu Xenial):
status: New → Fix Committed
Barry Warsaw (barry) on 2016-12-07
description: updated

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.12+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!

description: updated
Changed in ubuntu-image (Ubuntu Yakkety):
status: New → Fix Committed
tags: added: verification-needed
Barry Warsaw (barry) on 2016-12-07
description: updated
tags: added: verification-done-xenial
Barry Warsaw (barry) on 2016-12-07
tags: added: verification-done-yakkety
Steve Langasek (vorlon) on 2016-12-08
tags: removed: verification-needed
Launchpad Janitor (janitor) wrote :

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

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

  * SRU tracking bug LP: #1646608
  * Revert previous change which sorted structure volumes by their
    offset. Instead, we preserve gadget.yaml order for purposes of
    partition numbering, but we still provide implicit offsets when they
    are missing, and we still sanity check for partition overlap.
    (LP:1642999)
  * Provide human-readable error messages on gadget.yaml parser failures,
    not Python tracebacks (unless --debug is given). (LP:1617421)
  * Change the way we invoke the autopkgtests.
    - Use a standard d/t/control file instead of d/t/control.autodep8. We
      were only using the Python 3 import test anyway.
    - Add an import.sh stanza to reproduce the Python 3 import bits we
      lost by removing autodep8.
    - Turn the `tox -e coverage` Test-Command into a separate test
      script so that we can manipulate the $UBUNTU_IMAGE_CODENAME
      environment variable. This is used by tox.ini to select an
      appropriate *-coverage.ini file since Xenial does not and cannot
      cover certain code paths. Everything after Xenial gets named 'devel'.
    - Narrow the dependencies so that they aren't just importing all
      binary packages. The effects may be similar, but EIBTI.
  * d/control: Drop Testsuite header; we're not doing autodep8 anymore.
  * Rename the environment variable $UBUNTUIMAGE_MOCK_SNAP to
    $UBUNTU_IMAGE_MOCK_SNAP for consistency.
  * Skip some tests which touch the actual store when running without
    network access (e.g. during package build time).
  * Move the __version__ calculation to the package's __init__.py
  * Parse all YAML integer-like values as strings, and then turn them into
    integers if necessary during post-processing. (LP:1640523)
  * gadget.yaml files can include an optional `format` key which names the
    version number supported by the gadget.yaml. Currently only format 0
    is supported, which is a legacy version (omitting the format is
    equivalent). (LP:1638926)
  * d/control: Add run-time dependencies which are missing from snapd but
    are required for `snap prepare-image`. (LP:1642427)
  * Structures with type='mbr' are deprecated. Use structure role
    instead. (LP:1638660)
  * mbr structures must start at offset 0. (LP:1630769)
  * Fixed sanity checking of --image-size argument for out-of-offset-order
    structure definitions. (LP:1643598)
  * Prevent wrapping blobs in disk partitions by using the `type: bare`
    structure key. (LP:1645750)

 -- Barry Warsaw <email address hidden> Tue, 08 Nov 2016 17:31:21 -0500

Changed in ubuntu-image (Ubuntu Xenial):
status: Fix Committed → Fix 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.

Launchpad Janitor (janitor) wrote :

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

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

  * SRU tracking bug LP: #1646608
  * Revert previous change which sorted structure volumes by their
    offset. Instead, we preserve gadget.yaml order for purposes of
    partition numbering, but we still provide implicit offsets when they
    are missing, and we still sanity check for partition overlap.
    (LP:1642999)
  * Provide human-readable error messages on gadget.yaml parser failures,
    not Python tracebacks (unless --debug is given). (LP:1617421)
  * Change the way we invoke the autopkgtests.
    - Use a standard d/t/control file instead of d/t/control.autodep8. We
      were only using the Python 3 import test anyway.
    - Add an import.sh stanza to reproduce the Python 3 import bits we
      lost by removing autodep8.
    - Turn the `tox -e coverage` Test-Command into a separate test
      script so that we can manipulate the $UBUNTU_IMAGE_CODENAME
      environment variable. This is used by tox.ini to select an
      appropriate *-coverage.ini file since Xenial does not and cannot
      cover certain code paths. Everything after Xenial gets named 'devel'.
    - Narrow the dependencies so that they aren't just importing all
      binary packages. The effects may be similar, but EIBTI.
  * d/control: Drop Testsuite header; we're not doing autodep8 anymore.
  * Rename the environment variable $UBUNTUIMAGE_MOCK_SNAP to
    $UBUNTU_IMAGE_MOCK_SNAP for consistency.
  * Skip some tests which touch the actual store when running without
    network access (e.g. during package build time).
  * Move the __version__ calculation to the package's __init__.py
  * Parse all YAML integer-like values as strings, and then turn them into
    integers if necessary during post-processing. (LP:1640523)
  * gadget.yaml files can include an optional `format` key which names the
    version number supported by the gadget.yaml. Currently only format 0
    is supported, which is a legacy version (omitting the format is
    equivalent). (LP:1638926)
  * d/control: Add run-time dependencies which are missing from snapd but
    are required for `snap prepare-image`. (LP:1642427)
  * Structures with type='mbr' are deprecated. Use structure role
    instead. (LP:1638660)
  * mbr structures must start at offset 0. (LP:1630769)
  * Fixed sanity checking of --image-size argument for out-of-offset-order
    structure definitions. (LP:1643598)
  * Prevent wrapping blobs in disk partitions by using the `type: bare`
    structure key. (LP:1645750)

 -- Barry Warsaw <email address hidden> Tue, 08 Nov 2016 17:31:21 -0500

Changed in ubuntu-image (Ubuntu Yakkety):
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