[FFe] SRU 1.10 tracking bug

Bug #1896744 reported by Łukasz Zemczak
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Image
Fix Released
Critical
Łukasz Zemczak
ubuntu-image (Ubuntu)
Fix Released
High
Unassigned
Xenial
Fix Released
Medium
Unassigned
Bionic
Fix Released
High
Unassigned
Focal
Fix Released
Critical
Unassigned

Bug Description

New SRU tracking bug (with exception) for ubuntu-image 1.10 in Focal, Bionic and Xenial + FFe for groovy.

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

[Impact]

ubuntu-image 1.10 fixes some bugs and pays down some technical debt. This release features:
 * A new option to disable console-conf
 * New approach to building UC20 images, making sure image size is correctly taken into consideration (critical)
 * Disabling of some unsupported features when building UC20 models
 * UC20 image build related tweaks and changes

Many of those changes are essential to the proper generation of UC20 models.

[FFe rationale]

The changes in 1.10 are critical for the UC20 project. Even though those are already present in the snap version, so that UC20 developers can proceed with development, out build infrastructure uses the deb version and therefore requires us to get 1.10 released for all the series. From the groovy POV, this release should not pose any actual threat - classic image code-paths changed in a minimal way and besides that, ubuntu-image isn't really a critical-path tool. Many of the related packaging changes have already landed in groovy as distro-patched releases. As mentioned, the snap version was around for quite a while already and no critical issues have been reported.

I would like to request an FFe for ubuntu-image 1.10 in groovy. I will provide a groovy test-build log in the comments.
I will shepherd the package so that it makes its way properly into the release pocket ASAP.

[Test Case]

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

 * Create an ubuntu-cpc project classic image using a modified amd64 gadget tree [1] and make sure it boots.

 * Create an image using the official uc20 amd64 model assertion. Ensure that the resulting image boots (possible to ping the certification team for help).

[Regression Potential]

 * ubuntu-image may not produce a bootable image

[1] For example: https://github.com/sil2100/pc-amd64-gadget

Changed in ubuntu-image:
assignee: nobody → Łukasz Zemczak (sil2100)
Changed in ubuntu-image (Ubuntu Focal):
importance: Undecided → Critical
Changed in ubuntu-image (Ubuntu):
importance: Undecided → High
Changed in ubuntu-image (Ubuntu Xenial):
importance: Undecided → High
Changed in ubuntu-image (Ubuntu Bionic):
importance: Undecided → High
Changed in ubuntu-image (Ubuntu Xenial):
importance: High → Medium
Revision history for this message
Łukasz Zemczak (sil2100) wrote :
Revision history for this message
Iain Lane (laney) wrote :

OK, I understand that the impact is limited for groovy since we don't build most of the relevant images there. Feel free to go ahead then, but please do make sure that the ubuntu-cpc images continue to work.

Changed in ubuntu-image (Ubuntu):
status: New → Confirmed
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Thank you Laney! The package migrated so tomorrow during the regular daily builds well see if we regressed ubuntu-cpc (raspi server) or not ;)

Changed in ubuntu-image (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Łukasz, or anyone else affected,

Accepted ubuntu-image into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-image/1.10+20.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, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. 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 ubuntu-image (Ubuntu Focal):
status: New → Fix Committed
tags: added: verification-needed verification-needed-focal
Changed in ubuntu-image (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed-bionic
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Łukasz, or anyone else affected,

Accepted ubuntu-image into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-image/1.10+18.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, what testing has been performed on the package and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. 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 ubuntu-image (Ubuntu Xenial):
status: New → Fix Committed
tags: added: verification-needed-xenial
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Łukasz, 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/1.10+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, 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.

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

I was able to successfully build and boot both UC18 and classic images using ubuntu-image 1.10+20.04ubuntu1 on a focal machine. Both images booted fine.
Since focal is used for building UC20 images, I have also successfully built one for the amd64 model and sent it over to certification for testing. They were able to boot and ssh into those, so it seems everything works as expected.

tags: added: verification-done-focal
removed: verification-needed-focal
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

I set up a bionic multipass instance and was able to build a successful UC18, UC20 and classic image using ubuntu-image from bionic-proposed (1.10+18.04ubuntu1). I did a quick boot test of the UC18 one and everything worked as expected (the rest follow the same code paths, direct backports).

tags: added: verification-done-bionic
removed: verification-needed-bionic
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

On a xenial multipass instance I was able to build successful UC16, UC18 and classic images using ubuntu-image from xenial-proposed (1.10+16.04ubuntu1). Looks good here!

tags: added: verification-done verification-done-xenial
removed: verification-needed verification-needed-xenial
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-image - 1.10+20.04ubuntu1

---------------
ubuntu-image (1.10+20.04ubuntu1) focal; urgency=medium

  [ Łukasz 'sil2100' Zemczak ]
  * SRU tracking number LP: #1896744
  * Add a quick option to disable console-conf. (LP:1866002)
  * Disable some of the unsupported features for UC20 models. (LP:1875431)
    - --disable-console-conf
    - --cloud-init
    - Running the post-populate-rootfs hook.
  * Do not create an empty /boot on the system-seed partition.
  * Switch the approach of building UC20 images to ensure that all partitions
    defined in the gadget are considered in image size calculations.
    (LP:1859973)

  [ Michael Hudson-Doyle ]
  * Add dependency on fdisk now that it is no longer Essential. (LP:1877485)

  [ Maciej Borzecki ]
  * Do not overwrite the files that snap prepare-image has created.
    (LP:1884247)

  [ Dimitri John Ledkov ]
  * Pacify flake8 in groovy.

 -- Łukasz 'sil2100' Zemczak <email address hidden> Thu, 03 Sep 2020 10:20:28 +0200

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

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

This bug was fixed in the package ubuntu-image - 1.10+18.04ubuntu1

---------------
ubuntu-image (1.10+18.04ubuntu1) bionic; urgency=medium

  [ Łukasz 'sil2100' Zemczak ]
  * SRU tracking number LP: #1896744
  * Add a quick option to disable console-conf. (LP:1866002)
  * Disable some of the unsupported features for UC20 models. (LP:1875431)
    - --disable-console-conf
    - --cloud-init
    - Running the post-populate-rootfs hook.
  * Do not create an empty /boot on the system-seed partition.
  * Switch the approach of building UC20 images to ensure that all partitions
    defined in the gadget are considered in image size calculations.
    (LP:1859973)

  [ Michael Hudson-Doyle ]
  * Add dependency on fdisk now that it is no longer Essential. (LP:1877485)

  [ Maciej Borzecki ]
  * Do not overwrite the files that snap prepare-image has created.
    (LP:1884247)

  [ Dimitri John Ledkov ]
  * Pacify flake8 in groovy.

 -- Łukasz 'sil2100' Zemczak <email address hidden> Thu, 03 Sep 2020 10:20:28 +0200

Changed in ubuntu-image (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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

  [ Łukasz 'sil2100' Zemczak ]
  * SRU tracking number LP: #1896744
  * Add a quick option to disable console-conf. (LP:1866002)
  * Disable some of the unsupported features for UC20 models. (LP:1875431)
    - --disable-console-conf
    - --cloud-init
    - Running the post-populate-rootfs hook.
  * Do not create an empty /boot on the system-seed partition.
  * Switch the approach of building UC20 images to ensure that all partitions
    defined in the gadget are considered in image size calculations.
    (LP:1859973)

  [ Michael Hudson-Doyle ]
  * Add dependency on fdisk now that it is no longer Essential. (LP:1877485)

  [ Maciej Borzecki ]
  * Do not overwrite the files that snap prepare-image has created.
    (LP:1884247)

  [ Dimitri John Ledkov ]
  * Pacify flake8 in groovy.

 -- Łukasz 'sil2100' Zemczak <email address hidden> Thu, 03 Sep 2020 10:20:28 +0200

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