SMART test crashes on unexpected output from smartctl
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I got the following output in a recent test:
</comment>
</question>
<question name="disk/
<answer type="multiple_
<
<value type="str"
<value type="str"
<value type="str"
<value type="str"
<
<comment>INFO Starting SMART self-test on /dev/sda
Traceback (most recent call last):
File "/tmp/nest-
sys.
File "/tmp/nest-
status, returncode = poll_for_
TypeError: 'int' object is not iterable
</comment>
I think I see the cause and will try to fix it while I've got the disks that are throwing this error.
Related branches
- Daniel Manrique (community): Disapprove
-
Diff: 40 lines (+9/-3)2 files modifiedproviders/plainbox-provider-checkbox/bin/disk_smart (+8/-2)
providers/plainbox-provider-checkbox/jobs/disk.txt.in (+1/-1)
Changed in checkbox: | |
assignee: | nobody → Roderick Smith (rodsmith) |
A fix was merged here:
https:/ /code.launchpad .net/~rodsmith/ checkbox/ smart-increase- timeout/ +merge/ 252634
Since apparently that timeout increase makes the problem go away, I'll set this to Fix Released. If it appears again, please re-file. (BTW we have to triage these appropriately, partly my fault: this belonged in plainbox- provider- checkbox) .