[SRU] 2.12

Bug #1612362 reported by Michael Vogt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd (Ubuntu)
Fix Released
Undecided
Unassigned
Xenial
Fix Released
Undecided
Unassigned

Bug Description

This is a new version of snapd.

The changelog for 2.12 is available here https://github.com/snapcore/snapd/blob/2.12/debian/changelog, the raw git changelog is available here: https://github.com/snapcore/snapd/commits/2.12 (note that the debian changelog is auto-generated from the merges of the git commits so there is usually no need to look at the raw git commits).

The snappy team released a new 2.12 micro release that we want SRU into xenial. The new process described in https://wiki.ubuntu.com/SnapdUpdates was used and we have done integration-tests on the snappy images, autopkgtests on classic and unit tests.

The following automatic tests are run:
- travis unit tests https://travis-ci.org/snapcore/snapd/branches (check for 2.12 here)
- travis/spread based integration/system tests: https://travis-ci.org/snapcore/snapd/branches (check for 2.12 here under "spread")
- jenkins autopkgtests http://162.213.35.179:8080/job/snappy-by-tag-autopkgtest/16/
- jenkins integration tests: http://162.213.35.179:8080/job/snappy-by-tag-integration-test/17/

The following additional tests were performed:
"""
- adt-buildvm-ubuntu-cloud
- customize the resulting image: "sudo apt install snapd && sudo snap install hello-world && hello-world.env && sudo snap remove hello-world" (ensures the base image has the old debs and the daemon has some state)
- adt-run --source snapd_2.12.dsc --- adt-virt-qemu adt-xenial-amd64-cloud.img: PASS
"""
This included the upgrade from 2.0.11 as part of the autopkgtest run. There are also various snaps installed/removed (including installing and running ubuntu-calculator-app in xvfb) and run as part of the auto pkg test, including reboots to ensure that the system keeps working over reboots.

After installing the new snapd it was ensured that apt is unaffected by doing:
"""
- sudo apt install -y hello && sudo apt remove -y hello
"""

After installing the new snapd gnome-software was used:
"""
- install "http" (snap) and remove it again
"""
All worked as expected.

Michael Vogt (mvo)
Changed in snapd (Ubuntu):
status: New → Fix Released
Revision history for this message
Andy Whitcroft (apw) wrote :

@mvo -- this upload reinstates the postrm purge support that was a problem in 2.11. I was expecting it to either stay unchanged, or move to the new more intelligent purge.

Revision history for this message
Adam Conrad (adconrad) wrote : Please test proposed package

Hello Michael, or anyone else affected,

Accepted snapd into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/snapd/2.12+0.16.04 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 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 snapd (Ubuntu Xenial):
status: New → Fix Committed
tags: added: verification-needed
description: updated
Revision history for this message
Federico Gimenez (fgimenez) wrote :

Verification done following [1], all steps performed, specifically:

+ Executed manual tests described in [2] and [3]
+ Done exploratory testing (install/uninstall snaps, connect/disconnect interfaces, search, list)
+ Verified new features:
  + snap prepare-image does not require sudo
  + process-control interface
  + do not sort results of find
  + new interface security rules
  + chown auth file
  + system-trace interface
+ Verified actual upgrade from 2.11 to 2.12
+ Checked interaction with classic apt install and update of debs
+ Installed/uninstalled snaps and debs from gnome-software center

[1] https://wiki.ubuntu.com/SnapdUpdates
[2] https://github.com/snapcore/snapd/blob/master/integration-tests/manual-tests.md
[3] https://docs.google.com/spreadsheets/d/1EfjoPHmorG8A5jobzwmCIhAqI4N2zUTwDtA1JjgTn_c/edit#gid=0

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (4.3 KiB)

This bug was fixed in the package snapd - 2.12+0.16.04

---------------
snapd (2.12+0.16.04) xenial; urgency=medium

  * debian/snapd.postrm:
    - remove purge for now to unblock the SRU (LP: #1605303)
  * spread.yaml:
    - reset previous "purge" for now

snapd (2.12) xenial; urgency=medium

  * New upstream release: LP: #1612362
    - many: do not require root for `snap prepare-image`
    - tests: prevent restore error on test failure
    - osutil: change escaping for create-user's sudoers
    - docs: private flag doesn't exist on /v2/find (it's select)
    - snap: do not sort the result of `snap find`
    - interfaces/builtin: add gpio interface
    - partition: fix cleaning of the boot variables on the second good
      boot
    - tests: add udev rules spread test
    - docs: fix references to refresh action
    - interfaces/udev,osutil: avoid doubled rules and put all in a per
      snap file
    - store: minor store improvements from previous reviews
    - many: support interactive payments in snapd, filter from command
      line
    - docs/interfaces.md: improve interfaces documentation
    - overlord,store: set store device authorization header
    - store: add device nonce API support
    - many: various fixes around the `create-user` command
    - client, osutil: chown the auth file
    - interfaces/builtin: add transitional browser-support interface
    - snap: don't load unsupported implicit hooks.
    - cmd/snap,cmd/snap-exec: support hooks again.
    - interfaces/builtin: improve pulseaudio interface
    - asserts: make account-key's `until` optional to represent a never-
      expiring key
    - store: refactor newRequest/doRequest to take requestOptions
    - tests: allow-downgrades on upgrade test to prevent version errors
    - daemon: stop using group membership as succedaneous of running
      things with sudo
    - interfaces: add bluetooth-control interfaces
    - many: remove integration-test coverage metrics
    - daemon,docs: drop license docs and error kind
    - tests: add network-control interface spread test
    - tests: add hardware-observe spread test
    - interfaces: add system-trace interface LP: #1600085
    - boot: use `cp -aLv` instead of `cp -a` (no symlinks on vfat)
    - store: soft-refresh discharge macaroon from store when required
    - partition: clear snap_try_{kernel,core} on success
    - tests: add snapd-control interface spread test
    - tests: add locale-control write spread test
    - store: fix buy method after some refactoring broke it
    - interfaces/builtin: read perms for network devices in network-
      observe
    - interfaces: also allow rfkill in network_control
    - snapstate: remove artifacts from a snap try dir that vanished
    - client, cmd/snap: better errors for empty snap list result
    - wrappers: set BAMF_DESKTOP_FILE_HINT for unity
    - many: cleanup/update rest.md; improve auth errors
    - interfaces: miscelleneous policy updates for default, log-observe,
      mount-observe, opengl, pulseaudio, system-observe and unity7
    - interfaces: add process-control interface (LP: #1598225)
    - osutil: support both "nobody" and "nogroup" for grpnam tests
    - cmd: sup...

Read more...

Changed in snapd (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Chris J Arges (arges) wrote : Update Released

The verification of the Stable Release Update for snapd 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.

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.