Storage passthrough: add safe NVMe FIO tests - #4686
Conversation
There was a problem hiding this comment.
Copilot encountered an error: Your billing is not configured or you have Copilot licenses from multiple standalone organizations or enterprises. To use premium requests, select a billing entity via the GitHub site, under Settings > Copilot > Features.
There was a problem hiding this comment.
Copilot encountered an error: Your billing is not configured or you have Copilot licenses from multiple standalone organizations or enterprises. To use premium requests, select a billing entity via the GitHub site, under Settings > Copilot > Features.
There was a problem hiding this comment.
Copilot encountered an error: Your billing is not configured or you have Copilot licenses from multiple standalone organizations or enterprises. To use premium requests, select a billing entity via the GitHub site, under Settings > Copilot > Features.
There was a problem hiding this comment.
Copilot encountered an error: Your billing is not configured or you have Copilot licenses from multiple standalone organizations or enterprises. To use premium requests, select a billing entity via the GitHub site, under Settings > Copilot > Features.
There was a problem hiding this comment.
Copilot encountered an error: Your billing is not configured or you have Copilot licenses from multiple standalone organizations or enterprises. To use premium requests, select a billing entity via the GitHub site, under Settings > Copilot > Features.
There was a problem hiding this comment.
Copilot encountered an error: Your billing is not configured or you have Copilot licenses from multiple standalone organizations or enterprises. To use premium requests, select a billing entity via the GitHub site, under Settings > Copilot > Features.
There was a problem hiding this comment.
Copilot encountered an error: Your billing is not configured or you have Copilot licenses from multiple standalone organizations or enterprises. To use premium requests, select a billing entity via the GitHub site, under Settings > Copilot > Features.
There was a problem hiding this comment.
Copilot encountered an error: Your billing is not configured or you have Copilot licenses from multiple standalone organizations or enterprises. To use premium requests, select a billing entity via the GitHub site, under Settings > Copilot > Features.
|
Vivek Yadav (@vyadavmsft) Purna Pavan Chandra (@pupacha) LiliDeng please review this PR |
Description
Summary
This change adds three focused tests for NVMe disk passthrough on Cloud Hypervisor:
verify_storage_passthrough_nvme_visibleperf_storage_passthrough_fio_randreadperf_storage_passthrough_fio_randwriteThe tests ensure that FIO runs only on the NVMe disk assigned to the guest and never on the boot disk or another unrelated disk.
What the tests do
Verify NVMe visibility
verify_storage_passthrough_nvme_visibleRandom-read FIO
perf_storage_passthrough_fio_randreadRandom-write FIO
perf_storage_passthrough_fio_randwriteDefault FIO settings
libaio4 KB512 MB60 seconds1,2, and4Safety checks
The tests do not select the first
/dev/nvme*disk.Before running FIO, they:
Other changes
The shared FIO helper now accepts an optional list of workload modes. Existing callers continue to run the same modes as before when no mode list is provided.
Validation
git diff --checkpassed.Related Issue
Type of Change
Checklist
Test Validation
Key Test Cases:
verify_storage_passthrough_nvme_visible|perf_storage_passthrough_fio_randread|perf_storage_passthrough_fio_randwrite
Impacted LISA Features:
Nvme
Tested Azure Marketplace Images:
Test Results