TypeError when two upgrade paths have the same score
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu system image |
Fix Released
|
High
|
Barry Warsaw |
Bug Description
Hi,
Trying to OS update today failed with a python traceback today after we ran a bunch of image builds on the same day; this might be due to dotted version numbers? This is the traceback when running system-image-dbus -v -v manually:
Jul 31 10:29:56 2013 (1879) SystemImage dbus main loop started
Jul 31 10:29:56 2013 (1879) -> [ 1] _get_blacklist_1
Jul 31 10:29:56 2013 (1879) Looking for blacklist: https:/
Jul 31 10:29:56 2013 (1879) downloading https:/
Jul 31 10:29:56 2013 (1879) downloading https:/
Jul 31 10:29:57 2013 (1879) Local blacklist file: /tmp/system-
Jul 31 10:29:57 2013 (1879) -> [ 2] _get_channel
Jul 31 10:29:57 2013 (1879) Looking for: https:/
Jul 31 10:29:57 2013 (1879) downloading https:/
Jul 31 10:29:57 2013 (1879) downloading https:/
Jul 31 10:30:05 2013 (1879) Local channels file: /tmp/system-
Jul 31 10:30:05 2013 (1879) found channel/device entry: daily/grouper
Jul 31 10:30:05 2013 (1879) -> [ 3] _get_index
Jul 31 10:30:05 2013 (1879) downloading https:/
Jul 31 10:30:05 2013 (1879) downloading https:/
Jul 31 10:30:12 2013 (1879) -> [ 4] _calculate_winner
Traceback (most recent call last):
File "/usr/lib/
return (lambda data: callback(*data), user_data)
File "/usr/lib/
update = self._api.
File "/usr/lib/
self.
File "/usr/lib/
step()
File "/usr/lib/
self.winner = config.
File "/usr/lib/
return sorted(
TypeError: unorderable types: Image() < Image()
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
os.O_WRONLY | os.O_CREAT | os.O_EXCL, 0o640), 'wb') as f:
OSError: [Errno 30] Read-only file system: '/var/crash/
Original exception was:
Traceback (most recent call last):
File "/usr/lib/
return (lambda data: callback(*data), user_data)
File "/usr/lib/
update = self._api.
File "/usr/lib/
self.
File "/usr/lib/
step()
File "/usr/lib/
self.winner = config.
File "/usr/lib/
return sorted(
TypeError: unorderable types: Image() < Image()
Cheers,
summary: |
- Dies with dotted version numbers? - TypeError: unorderable types: - Image() < Image() + TypeError when two upgrade paths have the same score |
Changed in ubuntu-system-image: | |
status: | In Progress → Fix Committed |
milestone: | 0.9.3 → 1.0 |
Changed in ubuntu-system-image: | |
status: | Fix Committed → Fix Released |
On Jul 31, 2013, at 10:35 AM, Loïc Minier wrote:
>Trying to OS update today failed with a python traceback today after we ran a
>bunch of image builds on the same day; this might be due to dotted version
>numbers? This is the traceback when running system-image-dbus -v -v
>manually:
I see that system- image.ubuntu. com/daily/ ubuntu does have some dotted version
numbers. AFAIK, this is out-of-spec. CC'ing Stephane since this I'm not sure
if this is a bug in the server generation scripts or unspecified but intended
behavior.
The side question is what the client should do in cases where the server is
feeding it incorrect data.