Discussion:
[Bug 1762427] [NEW] No feedback when snap installation fails
(too old to reply)
Evan
2018-04-09 13:59:34 UTC
Permalink
Public bug reported:

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.

** Affects: gnome-software (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1762427

Title:
No feedback when snap installation fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1762427/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailma
Evan
2018-04-09 14:12:37 UTC
Permalink
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&h=c26c77d52fc51a486bd96f38433104f9c5222b03)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1762427

Title:
No feedback when snap installation fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1762427/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-b
Evan
2018-04-09 14:15:24 UTC
Permalink
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1762427

Title:
No feedback when snap installation fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1762427/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://
Robert Ancell
2018-04-12 01:34:31 UTC
Permalink
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1762427

Title:
No feedback when snap installation fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1762427/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-b
Robert Ancell
2018-04-12 01:48:36 UTC
Permalink
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1762427

Title:
No feedback when snap installation fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1762427/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
Robert Ancell
2018-04-12 02:02:42 UTC
Permalink
** 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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1762427

Title:
Snap install / remove failures aren't stopped in GNOME Software

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1762427/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listi
Launchpad Bug Tracker
2018-04-12 02:19:27 UTC
Permalink
** Branch linked: lp:~ubuntu-desktop/gnome-software/ubuntu-xenial
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1762427

Title:
Snap install / remove failures aren't stopped in GNOME Software

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1762427/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailm
Evan
2018-04-12 16:34:12 UTC
Permalink
Thanks for digging into this, Robert.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1762427

Title:
Snap install / remove failures aren't stopped in GNOME Software

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1762427/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
h
Brian Murray
2018-05-17 20:38:48 UTC
Permalink
Hello Evan, or anyone else affected,

Accepted gnome-software into xenial-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/gnome-
software/3.20.5-0ubuntu0.16.04.11 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-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!

** Tags added: verification-needed verification-needed-xenial
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1762427

Title:
Snap install / remove failures aren't stopped in GNOME Software

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1762427/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.u
Loading...