Merge lp:~sylvain-pineau/checkbox/eMMC_as_DISK into lp:checkbox
Proposed by
Sylvain Pineau
Status: | Rejected |
---|---|
Rejected by: | Sylvain Pineau |
Proposed branch: | lp:~sylvain-pineau/checkbox/eMMC_as_DISK |
Merge into: | lp:checkbox |
Diff against target: |
98 lines (+26/-6) 3 files modified
checkbox-support/checkbox_support/parsers/tests/test_submission.py (+1/-1) checkbox-support/checkbox_support/parsers/tests/test_udevadm.py (+3/-3) checkbox-support/checkbox_support/parsers/udevadm.py (+22/-2) |
To merge this branch: | bzr merge lp:~sylvain-pineau/checkbox/eMMC_as_DISK |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sylvain Pineau (community) | Disapprove | ||
Paul Larson | Needs Information | ||
Pierre Equoy | Pending | ||
Review via email: mp+282004@code.launchpad.net |
Description of the change
This MR proposes a way to detect eMMC drives and report them as DISKS using the udev parser of checkbox-support. Thus avoiding the linked (critical) bug.
Please test it on real hw before merging please
To post a comment you must log in.
Unmerged revisions
- 4152. By Sylvain Pineau
-
checkbox-
support: parsers: udevadm: Allow eMMC drives to be treated as disks First from a udev point of view it's impossible to distinguish an eMMC drive
from a simple MMC card. both are using the same driver.The proposed workaround is to detect drives using GPT and treat them as disks.
SD cards using VFAT/MBR won't interfere with disk tests then.Fixes: https:/
/bugs.launchpad .net/plainbox- provider- checkbox/ +bug/1522768
It's probably worth updating the copyright in the other files you changed, since they changed and you're updating others.
I'm curious of the test results on real hardware too, and does it (or should it) make a difference whether you are running from a booted usb stick or from an installation to the emmc? Are there some disk tests that we don't want to run for good reason? In the past, I think a lot of testing on things like panda have intentionally avoided disk tests on emmc because they are so slow. Something that took only a few minutes on x86 would suddenly take hours and just wind up hitting the timeout.