c733cd682f
SPDK test script can fail during any point of the execution. To keep using the same devices between test runs in CI, those devices have to be cleaned between runs. To select device for tests or to clean before tests, the partition table and lack of mount points is used. SPDK GPT partitions were always considered not in use. Meanwhile Linux GPT were not, even if lacking a mount point. Some of the SPDK tests create Linux GPT partitions, which might remain after a test run. Linux GPT partitions created during tests now contain "SPDK_TEST" as part of their partition name. This allows marking such block devices as 'not in use', to be cleaned and used in further SPDK test. fixes #2345 Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I0098776239da9b0c5dcc748625485284e4863525 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11220 Reviewed-by: Michal Berger <michallinuxstuff@gmail.com> Reviewed-by: Dong Yi <dongx.yi@intel.com> Reviewed-by: Pawel Piatek <pawelx.piatek@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
aer | ||
boot_partition | ||
cmb | ||
compliance | ||
connect_stress | ||
cuse | ||
deallocated_value | ||
e2edp | ||
err_injection | ||
overhead | ||
perf | ||
reserve | ||
reset | ||
sgl | ||
simple_copy | ||
startup | ||
zns | ||
hotplug.sh | ||
hw_hotplug.sh | ||
Makefile | ||
nvme_bp.sh | ||
nvme_opal.sh | ||
nvme_pmr.sh | ||
nvme_rpc_timeouts.sh | ||
nvme_rpc.sh | ||
nvme_scc.sh | ||
nvme.sh |