[Desktop-packages] [Bug 1762427] Re: No feedback when snap installation fails
** Description changed: - What happened: + [Impact] + Install / remove operations that fail don't show correctly in GNOME Software. Solution was to fix incorrect logic in snapd API code in GNOME software. - I tried to install Ora from gnome-software 3.20.5-0ubuntu0.16.04.8. The - install button showed the initialised progress state, but never updated. - Dropping to the terminal I could see with snap changes that the task had - errored (because of a 503 talking to the store). + [Test Case] + 1. Open GNOME Software + 2. Start installing a snap + 3. Cancel the operation from the command line (need to wait until install starts, but before it completes): + $ snap abort --last=install - What should happen: + Expected result: + Install stops and GNOME software show correct state - The UI should provide some indication that the install was not - successful. + Observed result: + Install button still shows, but no progress occurs. + + [Regression Potential] + Could create new bugs in async results. ** Summary changed: - No feedback when snap installation fails + Snap install / remove failures aren't stopped in GNOME Software ** Changed in: gnome-software (Ubuntu) Status: New => Fix Committed ** Changed in: gnome-software (Ubuntu) Importance: Undecided => High ** Also affects: gnome-software (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: gnome-software (Ubuntu Bionic) Importance: High Status: Fix Committed ** Also affects: gnome-software (Ubuntu Artful) Importance: Undecided Status: New ** Changed in: gnome-software (Ubuntu Xenial) Status: New => Fix Committed ** Changed in: gnome-software (Ubuntu Artful) Status: New => Fix Released ** Changed in: gnome-software (Ubuntu Bionic) Status: Fix Committed => Fix Released ** Changed in: gnome-software (Ubuntu Bionic) Importance: High => Undecided ** Changed in: gnome-software (Ubuntu Xenial) Importance: Undecided => High -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/1762427 Title: Snap install / remove failures aren't stopped in GNOME Software Status in gnome-software package in Ubuntu: Fix Released Status in gnome-software source package in Xenial: Fix Committed Status in gnome-software source package in Artful: Fix Released Status in gnome-software source package in Bionic: Fix Released Bug description: [Impact] Install / remove operations that fail don't show correctly in GNOME Software. Solution was to fix incorrect logic in snapd API code in GNOME software. [Test Case] 1. Open GNOME Software 2. Start installing a snap 3. Cancel the operation from the command line (need to wait until install starts, but before it completes): $ snap abort --last=install Expected result: Install stops and GNOME software show correct state Observed result: Install button still shows, but no progress occurs. [Regression Potential] Could create new bugs in async results. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1762427/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1762427] Re: No feedback when snap installation fails
On code inspection, I think the snap support in gnome-software 3.20 doesn't handle async operation failures correctly. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/1762427 Title: No feedback when snap installation fails Status in gnome-software package in Ubuntu: New Bug description: What happened: I tried to install Ora from gnome-software 3.20.5-0ubuntu0.16.04.8. The install button showed the initialised progress state, but never updated. Dropping to the terminal I could see with snap changes that the task had errored (because of a 503 talking to the store). What should happen: The UI should provide some indication that the install was not successful. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1762427/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1762427] Re: No feedback when snap installation fails
I'm guessing the trigger for this was the store / CDN failing? It downloads for me, so I'm not able to reproduce. Any download failure like this should report an error in GNOME Software, trying to think of another method to trigger this... -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/1762427 Title: No feedback when snap installation fails Status in gnome-software package in Ubuntu: New Bug description: What happened: I tried to install Ora from gnome-software 3.20.5-0ubuntu0.16.04.8. The install button showed the initialised progress state, but never updated. Dropping to the terminal I could see with snap changes that the task had errored (because of a 503 talking to the store). What should happen: The UI should provide some indication that the install was not successful. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1762427/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1762427] Re: No feedback when snap installation fails
The only relevant line in syslog: 2018/04/09 14:54:06.762039 api.go:1004: Installing snap "ora" revision unset -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/1762427 Title: No feedback when snap installation fails Status in gnome-software package in Ubuntu: New Bug description: What happened: I tried to install Ora from gnome-software 3.20.5-0ubuntu0.16.04.8. The install button showed the initialised progress state, but never updated. Dropping to the terminal I could see with snap changes that the task had errored (because of a 503 talking to the store). What should happen: The UI should provide some indication that the install was not successful. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1762427/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1762427] Re: No feedback when snap installation fails
The error: $ snap watch 28 error: cannot perform the following tasks: - Download snap "ora" (20) from channel "stable" (received an unexpected http response code (503) when trying to download https://068ed04f23.site.internapcdn.net/download-snap/UOherCuaihZSvX4eKrx7FqKHKah4TEqb_20.snap?t=2018-04-09T17:00:00Z=c26c77d52fc51a486bd96f38433104f9c5222b03) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/1762427 Title: No feedback when snap installation fails Status in gnome-software package in Ubuntu: New Bug description: What happened: I tried to install Ora from gnome-software 3.20.5-0ubuntu0.16.04.8. The install button showed the initialised progress state, but never updated. Dropping to the terminal I could see with snap changes that the task had errored (because of a 503 talking to the store). What should happen: The UI should provide some indication that the install was not successful. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1762427/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp