disk/detect fails and disk-related tests are skipped on eMMC unit
Bug #1522768 reported by
Vanessa Chang
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Support Library |
Fix Released
|
Critical
|
Sylvain Pineau |
Bug Description
[Step]
1. Install OS on eMMC unit
2. run disk related tests
[Expected result]
test should be passed
[Actual result]
As OS installed on eMMC unit, the eMMC will be detected as SD card.
The script cannot detect it as a disk, thus the disk/detect fails and the rests of the disk tests cannot be run.
---
[Additional information from Certification team]
a lot of disk tests requires the following:
device.category == 'DISK'
unfortunately, on computers that don't have a hard disk drive but an eMMC, the category will be 'CARDREADER' and therefore most of the disk/* tests will be skipped.
Related branches
lp:~sylvain-pineau/checkbox/eMMC_as_DISK
Rejected
for merging
into
lp:checkbox
- Sylvain Pineau (community): Disapprove
- Paul Larson: Needs Information
- Pierre Equoy: Pending requested
-
Diff: 98 lines (+26/-6)3 files modifiedcheckbox-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)
lp:~sylvain-pineau/checkbox/fix-1522768
- Sylvain Pineau (community): Approve
- Pierre Equoy: Approve
-
Diff: 5922 lines (+5568/-21)11 files modifiedcheckbox-support/checkbox_support/parsers/submission.py (+18/-3)
checkbox-support/checkbox_support/parsers/tests/fixtures/submission_info_udevadm.xml (+9/-0)
checkbox-support/checkbox_support/parsers/tests/fixtures/submission_udev.xml (+11/-0)
checkbox-support/checkbox_support/parsers/tests/fixtures/submission_udev_armhf.xml (+7/-0)
checkbox-support/checkbox_support/parsers/tests/fixtures/submission_udev_without_lsblk.xml (+5364/-0)
checkbox-support/checkbox_support/parsers/tests/test_submission.py (+8/-2)
checkbox-support/checkbox_support/parsers/tests/test_udevadm.py (+61/-5)
checkbox-support/checkbox_support/parsers/udevadm.py (+69/-9)
providers/plainbox-provider-checkbox/jobs/info.txt.in (+13/-1)
providers/plainbox-provider-checkbox/jobs/miscellanea.txt.in (+1/-0)
providers/plainbox-provider-resource-generic/bin/udev_resource (+7/-1)
description: | updated |
Changed in plainbox-provider-checkbox: | |
assignee: | nobody → Sylvain Pineau (sylvain-pineau) |
status: | Confirmed → In Progress |
affects: | plainbox-provider-checkbox → checkbox-support |
Changed in checkbox-support: | |
milestone: | none → 0.24 |
Changed in checkbox-support: | |
status: | In Progress → Fix Committed |
Changed in checkbox-support: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
disk/detect
Result: No disk information discovered