[updates] Displays a spinner indefinitely when an update download was started externally
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu system image |
Fix Released
|
Critical
|
Barry Warsaw | ||
system-image (Ubuntu) |
Fix Released
|
Critical
|
Barry Warsaw | ||
ubuntu-system-settings (Ubuntu) |
Invalid
|
Critical
|
Iain Lane |
Bug Description
These packages are currently in the CI train PPA <https:/
1. Make sure you're on auto download of updates (wi-fi) and that there's a system image update available to you
2. Open system-settings
3. Wait for "Updates available" to show, and click it
4. "Checking for updates" and an activity indicator appear
5. Wait. Don't let the screen blank (bug #1259326 - not sure this is actually still a problem but better safe than sorry). The update is downloading in the background at this point.
6. When the update has finished downloading, you'll see the standard popover inviting you to install or cancel.
What should have happened is: instead of or shortly after step 4, we should have seen the status of the in-progress download, just as if we'd started it from the update panel.
Related branches
- Stéphane Graber: Pending requested
-
Diff: 2123 lines (+901/-146)65 files modifiedMANIFEST.in (+1/-0)
NEWS.rst (+48/-1)
PKG-INFO (+1/-1)
cli-manpage.rst (+1/-1)
dbus-manpage.rst (+1/-1)
debian/changelog (+32/-0)
debian/control (+5/-4)
debian/patches/01_send_ack_on_applyupdate.diff (+0/-16)
debian/patches/lp1284217.patch (+106/-0)
debian/patches/series (+1/-1)
debian/rules (+1/-0)
ini-manpage.rst (+1/-1)
setup.cfg (+2/-2)
setup.py (+1/-1)
system_image.egg-info/PKG-INFO (+1/-1)
system_image.egg-info/SOURCES.txt (+1/-1)
systemimage/api.py (+5/-1)
systemimage/bag.py (+1/-1)
systemimage/bindings.py (+1/-1)
systemimage/candidates.py (+1/-1)
systemimage/channel.py (+1/-1)
systemimage/config.py (+1/-1)
systemimage/dbus.py (+51/-16)
systemimage/device.py (+1/-1)
systemimage/docs/conf.py (+1/-1)
systemimage/download.py (+36/-2)
systemimage/gpg.py (+95/-1)
systemimage/helpers.py (+1/-1)
systemimage/image.py (+1/-1)
systemimage/index.py (+1/-1)
systemimage/keyring.py (+3/-4)
systemimage/logging.py (+29/-8)
systemimage/main.py (+1/-1)
systemimage/reactor.py (+1/-1)
systemimage/reboot.py (+1/-1)
systemimage/scores.py (+1/-1)
systemimage/service.py (+14/-6)
systemimage/settings.py (+1/-1)
systemimage/state.py (+8/-10)
systemimage/testing/controller.py (+17/-8)
systemimage/testing/dbus.py (+8/-2)
systemimage/testing/demo.py (+1/-1)
systemimage/testing/helpers.py (+25/-7)
systemimage/testing/nose.py (+21/-2)
systemimage/tests/data/config_03.ini (+1/-1)
systemimage/tests/data/index_24.json (+36/-0)
systemimage/tests/test_api.py (+1/-1)
systemimage/tests/test_bag.py (+1/-1)
systemimage/tests/test_candidates.py (+1/-1)
systemimage/tests/test_channel.py (+1/-1)
systemimage/tests/test_config.py (+1/-1)
systemimage/tests/test_dbus.py (+98/-8)
systemimage/tests/test_download.py (+1/-1)
systemimage/tests/test_gpg.py (+175/-2)
systemimage/tests/test_helpers.py (+1/-1)
systemimage/tests/test_image.py (+1/-1)
systemimage/tests/test_index.py (+1/-1)
systemimage/tests/test_keyring.py (+20/-5)
systemimage/tests/test_main.py (+25/-1)
systemimage/tests/test_scores.py (+1/-1)
systemimage/tests/test_settings.py (+1/-1)
systemimage/tests/test_state.py (+1/-1)
systemimage/tests/test_winner.py (+1/-1)
systemimage/version.txt (+1/-1)
tox.ini (+1/-1)
- Manuel de la Peña (community): Approve
- Ubuntu CI managed package branches: Pending requested
-
Diff: 1484 lines (+646/-221)33 files modifiedNEWS.rst (+22/-0)
PKG-INFO (+1/-1)
debian/changelog (+26/-0)
debian/patches/lp1284217.patch (+0/-106)
debian/patches/series (+0/-1)
debian/rules (+3/-0)
ini-manpage.rst (+6/-2)
setup.cfg (+1/-1)
system_image.egg-info/PKG-INFO (+1/-1)
system_image.egg-info/SOURCES.txt (+4/-0)
system_image.egg-info/entry_points.txt (+1/-1)
systemimage/api.py (+16/-3)
systemimage/bag.py (+9/-1)
systemimage/config.py (+54/-14)
systemimage/dbus.py (+29/-13)
systemimage/download.py (+13/-39)
systemimage/main.py (+6/-2)
systemimage/scores.py (+1/-1)
systemimage/state.py (+2/-10)
systemimage/testing/controller.py (+2/-1)
systemimage/testing/dbus.py (+0/-2)
systemimage/testing/helpers.py (+11/-0)
systemimage/tests/data/channel_02.ini (+3/-0)
systemimage/tests/data/config_05.ini (+36/-0)
systemimage/tests/data/config_06.ini (+36/-0)
systemimage/tests/data/config_07.ini (+36/-0)
systemimage/tests/data/config_08.ini (+36/-0)
systemimage/tests/test_api.py (+16/-2)
systemimage/tests/test_bag.py (+61/-0)
systemimage/tests/test_config.py (+56/-4)
systemimage/tests/test_dbus.py (+128/-14)
systemimage/tests/test_main.py (+29/-1)
systemimage/version.txt (+1/-1)
Changed in ubuntu-system-settings (Ubuntu): | |
assignee: | nobody → Diego Sarmentero (diegosarmentero) |
status: | New → Triaged |
importance: | Undecided → Critical |
tags: | added: client |
Changed in system-image (Ubuntu): | |
importance: | Undecided → Critical |
status: | New → Triaged |
Changed in ubuntu-system-image: | |
status: | New → In Progress |
Changed in system-image (Ubuntu): | |
assignee: | nobody → Barry Warsaw (barry) |
Changed in ubuntu-system-image: | |
assignee: | nobody → Barry Warsaw (barry) |
importance: | Undecided → Critical |
Changed in ubuntu-system-image: | |
milestone: | none → 2.2 |
Changed in ubuntu-system-image: | |
status: | In Progress → Fix Committed |
Changed in system-image (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in ubuntu-system-image: | |
status: | Fix Committed → Fix Released |
I just did some debugging, and I now believe this is a problem in system-image-dbus.
The u-s-s main screen component and panel both call CheckForUpdate on s-i's D-Bus interface. This is supposed (per https:/ /wiki.ubuntu. com/ImageBasedU pgrades/ Client# Methods --- "In all cases, an UpdateAvailable Status signal will be issued once an update candidate is determined to be available") to result in an UpdateAvailable Status being issued. It's this signal that the UI relies on to update itself in order to indicate that an update in progress.
For the second call (once you enter the updates screen), this signal is never actually emitted. On the console the following is printed
[systemimage] Feb 25 10:17:40 2014 (8412) test and acquire checking lock
[systemimage] Feb 25 10:17:40 2014 (8412) checking lock not acquired
In testing mode (--testing= update- auto-success) , this does work properly.
Now, it's possible that system-settings could pass the same updateManager model from the entry (main screen) component into the page so that we don't need to repeat the check and therefore can avoid the problem, but this seems to me to also be a s-i bug too.