run_bonnie of storage_test fails to check the status if there are two hard disks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox |
Fix Released
|
Low
|
Unassigned |
Bug Description
Hardware: CID 201210-11859 HP ENVY 6 Sleekbook (there are two hard disk and one of them is SSD)
Image: 12.04.3
checkbox version:
http://
Description:
If there are two hard disk, run_bonnie of storage_test will fail to test the secondary hard disk which is SSD
This is because run_bonnie() function tried to parse information by df command.
http://
The secondary hard disk did be mounted before the "df" command was applied, so "df -h" did not give the free_space value.
This will raise the following statement to be syntax error
https:/
Step to reproduce the bug:
1. get the latest checkbox by
* apt-add-repository -y ppa:checkbox-dev
* apt-get update
* checkbox-
2. launch checkbox by "run-checkbox.sh"
3. check the test component:
"Disk tests --> Verify that storage devices, such as Fibre Channel and... --> disk/storage_
4. Start testing
Expected Result:
Checkbox will report the test result status.
Actual Result:
This test component failed because of syntax error:
/usr/
https:/
Fail Rate:
100%
Other Information:
1. No matter sdb with/without partitions, this bug could be reproduced.
2. If you give sdb a partition to be sdb1 and mount sdb1. This test component could be done.
https:/
Related branches
- Checkbox Developers: Pending requested
-
Diff: 34 lines (+13/-0)2 files modifiedcheckbox-old/debian/changelog (+4/-0)
checkbox-old/scripts/storage_test (+9/-0)
Changed in checkbox: | |
status: | New → Fix Committed |
Changed in checkbox: | |
status: | Fix Committed → Fix Released |
Changed in checkbox: | |
importance: | Undecided → Low |
This bug could be reproduced on CID 201208-11455 (Dell Inspiron 5423) which has two hard disks.