SMART test triggering false failures on some drives.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Fix Released
|
High
|
Jeff Lane |
Bug Description
Smart test was fail once (either there is error or uncompleted in SMART Self-test log). Rerun SMART test several times and results are passed. But checkbox (disk_smart) still returns failed.
It seems checkbox look into historical logs and returns failed if there is error or uncompleted in the logs, even though the last tests are passed.
u@u-Inspiron-
INFO Starting SMART self-test on /dev/sda
ERROR FAIL: SMART Self-Test appears to have failed for some reason. Run 'sudo smartctl -l selftest /dev/sda' to see the SMART log
u@u-Inspiron-
[sudo] password for u:
smartctl 6.5 2016-01-24 r4214 [x86_64-
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontoo
=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed without error 00% 3 -
# 2 Short offline Completed without error 00% 3 -
# 3 Short offline Completed without error 00% 3 -
# 4 Short offline Completed without error 00% 3 -
# 5 Short offline Completed without error 00% 3 -
# 6 Short offline Completed without error 00% 3 -
# 7 Short offline Completed without error 00% 3 -
# 8 Short offline Completed without error 00% 3 -
# 9 Short offline Completed without error 00% 3 -
#10 Short offline Completed without error 00% 2 -
#11 Short offline Completed without error 00% 2 -
#12 Extended offline Completed without error 00% 0 -
#13 Extended offline Self-test routine in progress 90% 0 -
#14 Short offline Completed without error 00% 0 -
#15 Short offline Self-test routine in progress 90% 0 -
In above log, the last 12 tests are passed without error. #13 and #15 are not completed.
Related branches
- Sylvain Pineau (community): Approve
-
Diff: 107 lines (+34/-11)1 file modifiedproviders/plainbox-provider-checkbox/bin/disk_smart (+34/-11)
Changed in plainbox-provider-checkbox: | |
status: | New → Confirmed |
importance: | Undecided → High |
tags: | added: ce-qa-concern |
summary: |
- SMART test look into historical logs + SMART test triggering false failures on some drives. |
Changed in plainbox-provider-checkbox: | |
status: | Confirmed → Incomplete |
Changed in plainbox-provider-checkbox: | |
importance: | High → Medium |
importance: | Medium → High |
tags: | added: server-cert |
tags: |
added: hwcert-server removed: server-cert |
Changed in plainbox-provider-checkbox: | |
status: | In Progress → Fix Committed |
Changed in plainbox-provider-checkbox: | |
milestone: | none → 0.34.0 |
Changed in plainbox-provider-checkbox: | |
status: | Fix Committed → Fix Released |
run disk smart test with --debug
http:// paste.ubuntu. com/23049074/