SMART test crashes on unexpected output from smartctl

Bug #1429232 reported by Rod Smith
6
This bug affects 1 person
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/smart_sda">
      <answer type="multiple_choice">fail</answer>
      <answer_choices>
        <value type="str">none</value>
        <value type="str">pass</value>
        <value type="str">fail</value>
        <value type="str">skip</value>
      </answer_choices>
      <comment>INFO Starting SMART self-test on /dev/sda
Traceback (most recent call last):
  File "/tmp/nest-arzbp__8.bd85c40ab6e98dade1a6cd3406bf13a1e1d38c18deeb7ebaa3f2895ca4fd8f71/disk_smart", line 321, in &lt;module&gt;
    sys.exit(main())
  File "/tmp/nest-arzbp__8.bd85c40ab6e98dade1a6cd3406bf13a1e1d38c18deeb7ebaa3f2895ca4fd8f71/disk_smart", line 305, in main
    status, returncode = poll_for_status(args, disk, previous_entries)
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

Rod Smith (rodsmith)
Changed in checkbox:
assignee: nobody → Roderick Smith (rodsmith)
Revision history for this message
Daniel Manrique (roadmr) wrote :

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).

Changed in checkbox:
status: New → Fix Released
assignee: Roderick Smith (rodsmith) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.