memory_compare script is broken in 20.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Fix Released
|
High
|
Maciej Kisielewski |
Bug Description
Beginning with 20.04 pre-release versions, the memory_compare script (called by the memory/info job definition) is broken; it returns a failure and the following Python call traceback:
Traceback (most recent call last):
File "./plainbox-
sys.
File "./plainbox-
installed_
File "./plainbox-
lshw.
File "/usr/lib/
self.
File "/usr/lib/
if 'children' in lshw.keys():
AttributeError: 'list' object has no attribute 'keys'
This may be a regression of bug #1843063.
Related branches
- Rod Smith: Approve
-
Diff: 15 lines (+4/-0)1 file modifiedcheckbox_support/parsers/lshwjson.py (+4/-0)
Changed in plainbox-provider-checkbox: | |
status: | In Progress → Fix Committed |
Changed in plainbox-provider-checkbox: | |
status: | Fix Committed → Fix Released |
An array is still a valid JSON output, so I'm fixing checkbox-support to make it work.
MR proposed here: /code.launchpad .net/~kissiel/ checkbox- support/ +git/checkbox- support/ +merge/ 379856
https:/