Race condition when manually downloading
Bug #1287919 reported by
Barry Warsaw
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu system image |
Fix Released
|
Critical
|
Barry Warsaw |
Bug Description
As a follow up to LP: #1277589, I think it's still possible to hit a race condition when manual downloads are enabled.
See Alan's video for a live example: https:/
Here's how to reproduce it:
* Flash your device to an older revision
* Enable manual downloads.
* Reboot (to ensure no update is running)
* Click on System Settings
* Wait for "Update Available" shows up on the System Settings page.
* Go to About this Phone
* Click on Check For Update
* When you see that there is an update available, start the download
* As soon as the download begins, swipe up from the bottom and go Back
* Click on Check For Update again
Related branches
lp://qastaging/~barry/ubuntu-system-image/citrain-2.2
Merged
into
lp://qastaging/~ubuntu-managed-branches/ubuntu-system-image/system-image
at
revision 231
- 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-image: | |
assignee: | nobody → Barry Warsaw (barry) |
Changed in ubuntu-system-image: | |
status: | Triaged → In Progress |
Changed in ubuntu-system-image: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-system-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.