usb/storage-preinserted test fails with usb stick that do not contain a partition
Bug #1010096 reported by
Jeff Marcom
This bug report is a duplicate of:
Bug #1369433: removable_storage_test could only detect partitioned usb drives.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Triaged
|
Low
|
Unassigned |
Bug Description
Problem:
There may be instances where a usb key does not contain a valid partition, yet still has a writable filesystem.
Symptoms:
The current usb_pre-inserted test fails with the following:
No removable drives were detected, aborting
Reproducable? yes:
Device can be seen as /dev/sdd in OS and automounts. However pre-inserted test fails because it expects a partition.
Workaround:
Current workaround is to "zero out" the drive, create a partition table and partition on the key. Re-insert key, and restart test.
Changed in checkbox: | |
importance: | Undecided → Low |
assignee: | nobody → Brendan Donegan (brendan-donegan) |
tags: | added: scripts |
affects: | checkbox → plainbox-provider-checkbox |
To post a comment you must log in.
This definitely happens and the removable_ storage_ test code needs to account for the possibility that the drive may not have any partition table and yet still be writable.