Test case 'disk/smart_sda' is always 'Fail' on Lenovo X1.

Bug #1373754 reported by Gabriel Zhi Chen
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OEM QA Checkbox additions
Invalid
Undecided
Yu Ning

Bug Description

Image: sutton-lonestar-gordon-trusty-amd64-iso-20140912-2.iso
BIOS Version: N14ET18E (0.18)
Platform: X1c 3rd (Mystique-2-1)
CPU: Intel(R) Core(TM) i5-5###U CPU @ 2.00GHz
GPU: Intel Corporation Broadwell-U Integrated Graphics [8086:1616] (rev 08) (prog-if 00 [VGA controller])
HardDisk: INTEL SSDSCKJF36 360GB

STEPS:
1. Log in system.
2. Run Checkbox test case – 'disk/smart_sda' to test the SMART capabilities for INTEL SSDSCKJF360A5L
3. Verify the result.

Expect result:
Test case is passed.

Actual result:
INFO Starting SMART self-test on /dev/sda
Traceback (most recent call last):
File "/tmp/nest-ebjil7xl.1c68f82a73e9858895acf618b3cd767b84258d55f6599fd5b1e0617db5e754c8/disk_smart", line 247, in <module>
sys.exit(main())
File "/tmp/nest-ebjil7xl.1c68f82a73e9858895acf618b3cd767b84258d55f6599fd5b1e0617db5e754c8/disk_smart", line 218, in main
logging.debug('%s %s %s %s' % (current_entries[0]['number'],
IndexError: list index out of range

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote :
Revision history for this message
Daniel Manrique (roadmr) wrote :

Could be a duplicate of https://bugs.launchpad.net/plainbox-provider-checkbox/+bug/1367960.

Gabriel, on this system, could you please run this command:

/usr/share/2013.com.canonical.certification:checkbox/bin/disk_smart -d -b /dev/sda -s 130 -t 270

then paste the output of that command here?

Also, could you run this too:

smartctl -t short /dev/sda

and attach the output here?

Changed in checkbox:
status: New → Incomplete
affects: checkbox → plainbox-provider-checkbox
Ara Pulido (ara)
tags: added: ce-qa-concern
Roxanne Fan (matrixf)
Changed in plainbox-provider-checkbox:
assignee: nobody → Roxanne Fan (matrixf)
Roxanne Fan (matrixf)
Changed in plainbox-provider-checkbox:
assignee: Roxanne Fan (matrixf) → nobody
Ara Pulido (ara)
Changed in plainbox-provider-checkbox:
assignee: nobody → Yu Ning (yuning)
assignee: Yu Ning (yuning) → Yu Ning (yuningdodo)
Revision history for this message
Rod Smith (rodsmith) wrote :

What's the version of the disk_smart script being used? (There's a mini-changelog at the top of the script.) I made a lot of changes recently, and the latest version (1.4) has a comment on line 218, where your output indicates the failure occurred, so I suspect you're using an older version. The latest version is in checkbox trunk. If the latest version doesn't fix the problem, output of the smartctl command that Daniel suggested may be required to fix it.

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote :

Retest on plainbox - 0.21.2, the issue could not be reproduced.

Changed in plainbox-provider-checkbox:
status: Incomplete → Invalid
Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote :

INFO Starting SMART self-test on /dev/sda
INFO PASS: SMART Self-Test completed without error

affects: plainbox-provider-checkbox → oem-qa-checkbox
information type: Private → Public
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.