[SRU for Cosmic] snap backend install transaction progress stalls at 100%

Bug #1801863 reported by Rik Mills on 2018-11-06
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
plasma-discover (Ubuntu)
Undecided
Unassigned
Cosmic
High
Unassigned
Disco
Undecided
Unassigned

Bug Description

Version: 5.13.5-1ubuntu6
Cosmic and Disco

On installing a snap, the transaction in the UI appears to complete and reach 100% in the progress of the 'tasks', but at that point simply stays with that status. The UI then does not return to show installed or allow to be closed. Force closing the UI and starting again show that the snap installed ok.

This seems to have been addressed in the 5.14 upstream branch (5.13 is now not getting updates)

https://cgit.kde.org/discover.git/commit/?h=Plasma/5.14&id=727a8590044048532c4f1a5ed1961536bd61845d

[Impact]

* While affected snaps do install, the end user is left with the impression that the process may not have completed and has to force close discover as it refuses to do so normally saying that tasks still need to be completed.

[Test Case]

 * Reproduce by installing Opera or Spotify snaps via the UI (others may also be affected). The UI will reach reporting 100% progress, but will not return to normal status.

 * Test by rolling back VM snapshot or purge installed snaps. Repeat installs with updated discover packages. The installs should complete and the pending task progress indicator goes away.

[Regression Potential]

 * Small as only the snap backend code is affected, but tests should confirm that installation of no snap packages and updates install ok as before.

Rik Mills (rikmills) on 2018-11-06
description: updated
description: updated
Rik Mills (rikmills) wrote :

Quick testing with Opera and spotify snaps, and this appears to resolve the issue.

Rik Mills (rikmills) on 2018-11-06
description: updated
Rik Mills (rikmills) on 2018-11-08
description: updated
summary: - snap backend install transaction progress stalls at 100%
+ [SRU for Cosmic] snap backend install transaction progress stalls at
+ 100%
Rik Mills (rikmills) wrote :

Plasma discover developer conforms this fix is sensible.

description: updated
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package plasma-discover - 5.13.5-1ubuntu7

---------------
plasma-discover (5.13.5-1ubuntu7) disco; urgency=medium

  * Backport upstream patch ensuring that snap installation transactions
    correctly register as finished in the UI. (LP: #1801863)

 -- Rik Mills <email address hidden> Thu, 08 Nov 2018 11:02:49 +0000

Changed in plasma-discover (Ubuntu Disco):
status: New → Fix Released

Hello Rik, or anyone else affected,

Accepted plasma-discover into cosmic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/plasma-discover/5.13.5-1ubuntu6.1 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-cosmic to verification-done-cosmic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-cosmic. 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 plasma-discover (Ubuntu Cosmic):
status: New → Fix Committed
tags: added: verification-needed verification-needed-cosmic
Rik Mills (rikmills) wrote :

Verified fix works as per the previous testing package.

tags: added: verification-done verification-done-cosmic
removed: verification-needed verification-needed-cosmic
Changed in plasma-discover (Ubuntu Cosmic):
importance: Undecided → High
Brian Murray (brian-murray) wrote :

@Rik - could you provide some more specific details about your testing? Maybe something like apt-cache policy plasma-discover so we can feel confident you were using the package from -proposed.

Changed in plasma-discover (Ubuntu Cosmic):
status: Fix Committed → Incomplete
Rik Mills (rikmills) wrote :

@Brian - verified on a real machine and a VM. In the VM I could do extra confirmation by snapshoting the system so I could roll back to repeat the same snap installs several times before and after update, to confirm the fix and change in behaviour.

From a tested install after update:

~$ apt-cache policy plasma-discover*
plasma-discover-snap-backend:
  Installed: 5.13.5-1ubuntu6.1
  Candidate: 5.13.5-1ubuntu6.1
  Version table:
 *** 5.13.5-1ubuntu6.1 500
        500 http://gb.archive.ubuntu.com/ubuntu cosmic-proposed/universe amd64 Packages
        100 /var/lib/dpkg/status
     5.13.5-1ubuntu6 500
        500 http://gb.archive.ubuntu.com/ubuntu cosmic/universe amd64 Packages
plasma-discover-common:
  Installed: 5.13.5-1ubuntu6.1
  Candidate: 5.13.5-1ubuntu6.1
  Version table:
 *** 5.13.5-1ubuntu6.1 500
        500 http://gb.archive.ubuntu.com/ubuntu cosmic-proposed/universe amd64 Packages
        500 http://gb.archive.ubuntu.com/ubuntu cosmic-proposed/universe i386 Packages
        100 /var/lib/dpkg/status
     5.13.5-1ubuntu6 500
        500 http://gb.archive.ubuntu.com/ubuntu cosmic/universe amd64 Packages
        500 http://gb.archive.ubuntu.com/ubuntu cosmic/universe i386 Packages
plasma-discover:
  Installed: 5.13.5-1ubuntu6.1
  Candidate: 5.13.5-1ubuntu6.1
  Version table:
 *** 5.13.5-1ubuntu6.1 500
        500 http://gb.archive.ubuntu.com/ubuntu cosmic-proposed/universe amd64 Packages
        100 /var/lib/dpkg/status
     5.13.5-1ubuntu6 500
        500 http://gb.archive.ubuntu.com/ubuntu cosmic/universe amd64 Packages
plasma-discover-flatpak-backend:
  Installed: (none)
  Candidate: 5.13.5-1ubuntu6.1
  Version table:
     5.13.5-1ubuntu6.1 500
        500 http://gb.archive.ubuntu.com/ubuntu cosmic-proposed/universe amd64 Packages
     5.13.5-1ubuntu6 500
        500 http://gb.archive.ubuntu.com/ubuntu cosmic/universe amd64 Packages

Changed in plasma-discover (Ubuntu Cosmic):
status: Incomplete → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package plasma-discover - 5.13.5-1ubuntu6.1

---------------
plasma-discover (5.13.5-1ubuntu6.1) cosmic; urgency=medium

  * Backport upstream patch ensuring that snap installation transactions
    correctly register as finished in the UI. (LP: #1801863)

 -- Rik Mills <email address hidden> Thu, 08 Nov 2018 11:05:06 +0000

Changed in plasma-discover (Ubuntu Cosmic):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for plasma-discover 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  Edit
Everyone can see this information.

Other bug subscribers