-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skip disk/storage_device_.*
if disk is not partitioned
#1512
Comments
Thank you for reporting us your feedback! The internal ticket has been created: https://warthogs.atlassian.net/browse/CHECKBOX-1594.
|
From a server certification perspective, I don't think that skipping the test if the disk is unpartitioned is the right approach. For server certification, disks are supposed to be partitioned, and a skipped test if a disk is unpartitioned would be bad; the test really should fail in that case, from our perspective. Would it be possible to add a parameter to the test so that it can be called differently for devices, if a skip behavior is preferable there, leaving the existing behavior for server? |
A fairly easy option, I think, would be to add something like a --skip-unpartitioned-disks arg to the disk test and then call that in an SRU test definition or wherever else is appropriate, leaving the default to fail on those disks for cert purposes. with server cert we do require the OEMs to partition and test any storage device installed in an SUT. |
This issue has been detected in: https://certification.canonical.com/hardware/202202-29946/submission/401419/ The disk/read_performance_.* test, which uses hdparm passes:
But after that, the storage tests fail with a similar log:
To Reproduce
Environment |
Enhancement Proposal
This desktop PC device has been failing disk/storage_device_sda for quite a while now with output:
lsblk
attachment job showswhich indicates that this drive is not mounted, and does not have any partition.
Because of the way provisioning is done in the lab, devices with multiples disks usually only partition one of the disks to install the system, and leave the other disks unpartitioned and unmounted.
This test case should be skipped if the disk is not partitioned.
More information: discussion on Mattermost.
The text was updated successfully, but these errors were encountered: