Public bug reported:

The SMART test can crash on disks that don't support SMART, with output
like the following:

Traceback (most recent call last):
  File 
"/tmp/nest-yqaayt2d.8b76b98c54ecc796fe034dc492233d83c30e6c1aa9f5536597a452889fee630d/disk_smart",
 line 321, in <module>
    sys.exit(main())
  File 
"/tmp/nest-yqaayt2d.8b76b98c54ecc796fe034dc492233d83c30e6c1aa9f5536597a452889fee630d/disk_smart",
 line 293, in main
    previous_entries, returncode = get_smart_entries(disk)
  File 
"/tmp/nest-yqaayt2d.8b76b98c54ecc796fe034dc492233d83c30e6c1aa9f5536597a452889fee630d/disk_smart",
 line 168, in get_smart_entries
    line = next(stdout_lines)
StopIteration

This was observed on a test of an HP BL460c Gen8; specifically,
https://certification.canonical.com/hardware/201309-14182/submission/105511/.

** Affects: plainbox-provider-checkbox (Ubuntu)
     Importance: Undecided
     Assignee: Roderick Smith (rodsmith)
         Status: New

** Changed in: plainbox-provider-checkbox (Ubuntu)
     Assignee: (unassigned) => Roderick Smith (rodsmith)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1484981

Title:
  SMART test crashes on some systems that don't support SMART

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plainbox-provider-checkbox/+bug/1484981/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to