Media card storage test seems to fail on systems with SSD- failed with "Parent and Child copy hashes mismatch" warning message.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Support Library |
Fix Released
|
High
|
Daniel Manrique |
Bug Description
All of the MMC, SD, SDHC card storage tests are failed with same warning.
Parent and Child md5sum result are same when manually copy file.
CID: 201407-15278
SKU: HOU2-E3-C2
mmc: https:/
sd: https:/
sdhc: https:/
===Test failed log===
WARNING:
WARNING:root: Parent hash: b34cc2862111c38
WARNING:root: Child hash: 0541048c2631a88
WARNING:
WARNING:root: Parent hash: b34cc2862111c38
WARNING:root: Child hash: 57eab5577a950c0
WARNING:
Found the following mounted sdio, usb, scsi partitions:
/dev/sda3 : /tmp/tmpxr3fus1b : None bits/s
/dev/sda4 : / : None bits/s
/dev/sda2 : /tmp/tmpauu0qgfa : None bits/s
/dev/mmcblk0p1 : /media/u/MMC : None bits/s
/dev/sda1 : /boot/efi : None bits/s
-------
/dev/sda3 (Total Data Size / iteration: 64.0124 MB):
[Iteration 0] Average Speed: 301.9281
Summary:
Total Data Attempted: 64.0124 MB
Total Time to write: 0.2120 secs
Average Write Time: 0.2120 secs
Average Write Speed: 301.9281 MB/s
/dev/sda4 (Total Data Size / iteration: 64.0124 MB):
[Iteration 0] Average Speed: 326.1109
Summary:
Total Data Attempted: 64.0124 MB
Total Time to write: 0.1963 secs
Average Write Time: 0.1963 secs
Average Write Speed: 326.1109 MB/s
/dev/sda2 (Total Data Size / iteration: 64.0124 MB):
[Iteration 0] Average Speed: 587.5243
Summary:
Total Data Attempted: 64.0124 MB
Total Time to write: 0.1090 secs
Average Write Time: 0.1090 secs
Average Write Speed: 587.5243 MB/s
/dev/mmcblk0p1 (Total Data Size / iteration: 64.0124 MB):
[Iteration 0] Average Speed: 1.0947
Summary:
Total Data Attempted: 64.0124 MB
Total Time to write: 58.4728 secs
Average Write Time: 58.4728 secs
Average Write Speed: 1.0947 MB/s
/dev/sda1 (Total Data Size / iteration: 64.0124 MB):
[Iteration 0] Average Speed: 81.4191
Summary:
Total Data Attempted: 64.0124 MB
Total Time to write: 0.7862 secs
Average Write Time: 0.7862 secs
Average Write Speed: 81.4191 MB/s
Related branches
- Zygmunt Krynicki (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedcheckbox-support/checkbox_support/parsers/udevadm.py (+1/-1)
Changed in checkbox-support: | |
status: | In Progress → Fix Committed |
milestone: | none → 0.5 |
Changed in checkbox-support: | |
status: | Fix Committed → Fix Released |
The command used to run these tests is:
removable_ storage_ test -s 268400000 --memorycard sdio usb scsi
The only difference for mmc is that the size is 67120000 instead.
Interestingly, the reported failures seem to be on drives that are NOT the required memory card, notice how the memory card test is failing on /boot/uefi and on /tmp/something- something. My theory is that it's mistakenly identifying the main disk as memory card and trying to test all the partitions on them, this most likely fails because /boot/uefi and /tmp may have smaller sizes.
I was able to reproduce this same behavior on my laptop; the common factor is that they are both Dell machines and they both have a "LITEONIT" mSATA SSD drive. Your system has LITEONIT LMT-256M6M-41 mSATA 256GB SED, mine has LITEONIT LMT-256M6M mSATA 256GB, DM8110F.
I'm definitely marking this as confirmed and critical because it would make all memory card tests fail on systems with SSD units, I'll also perform a control on another non-SSD system to validate this theory.