numam-spdk/test/nvme
Tomasz Zawadzki c733cd682f scripts/common: set special name to test partitions
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>
2022-01-26 19:07:43 +00:00
..
aer spelling: test 2021-12-03 08:13:22 +00:00
boot_partition test/nvme: Add test application to verify Boot Partition Read / Write support 2021-09-07 07:34:09 +00:00
cmb test/nvme: Add basic test covering cmb_copy functionality 2021-07-20 07:59:43 +00:00
compliance nvmf/vfio-user: assign IO SQs which use shared CQ into same poll group 2022-01-20 00:13:42 +00:00
connect_stress test: add connect_stress test 2021-07-19 13:50:29 +00:00
cuse nvme: Add metadata support to io commands 2022-01-14 11:10:13 +00:00
deallocated_value nvme/deallocated_value: add vfio-user transport support 2021-12-14 09:09:18 +00:00
e2edp nvme: Add spdk_nvme_detach_poll() to simplify a common use case 2021-06-30 22:54:19 +00:00
err_injection nvme: Add spdk_nvme_detach_poll() to simplify a common use case 2021-06-30 22:54:19 +00:00
overhead nvme/overhead: add vfio_user transport support 2022-01-04 07:53:00 +00:00
perf test/nvme: add timeout to bdevperf perform_tests 2022-01-05 09:22:50 +00:00
reserve nvme: Add spdk_nvme_detach_poll() to simplify a common use case 2021-06-30 22:54:19 +00:00
reset spelling: test 2021-12-03 08:13:22 +00:00
sgl nvme: Add spdk_nvme_detach_poll() to simplify a common use case 2021-06-30 22:54:19 +00:00
simple_copy nvme: Add spdk_nvme_detach_poll() to simplify a common use case 2021-06-30 22:54:19 +00:00
startup nvme: Add spdk_nvme_detach_poll() to simplify a common use case 2021-06-30 22:54:19 +00:00
zns test/nvme/zns: Fix jq filter 2021-12-08 08:06:36 +00:00
hotplug.sh logs: create a log level flag in abort and hotplug applications 2021-12-14 09:12:01 +00:00
hw_hotplug.sh test/common: move all LIB paths to autotest_common.sh 2022-01-26 08:19:06 +00:00
Makefile test/nvme: add nvme_compliance test app 2021-09-28 07:30:28 +00:00
nvme_bp.sh test/nvme: Add test application to verify Boot Partition Read / Write support 2021-09-07 07:34:09 +00:00
nvme_opal.sh test/opal: add a trap for opal_revert_and_init() 2020-08-19 07:30:04 +00:00
nvme_pmr.sh examples/pmr_persistence: Add PMR example application 2021-04-22 20:10:21 +00:00
nvme_rpc_timeouts.sh test/nvme: A simple test confirming we can change nvme timeout settings via rpc 2021-07-14 09:15:20 +00:00
nvme_rpc.sh build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
nvme_scc.sh test/nvme: Add test application to verify Simple Copy Command support 2021-05-18 12:43:24 +00:00
nvme.sh scripts/common: set special name to test partitions 2022-01-26 19:07:43 +00:00