diff --git a/tests/.fmf/version b/.fmf/version similarity index 100% rename from tests/.fmf/version rename to .fmf/version diff --git a/plans/gating.fmf b/plans/gating.fmf new file mode 100644 index 0000000..92054d2 --- /dev/null +++ b/plans/gating.fmf @@ -0,0 +1,13 @@ +summary: device-mapper-multipath gating tests +discover: + how: fmf +execute: + how: tmt +provision: + hardware: + memory: ">= 2 GB" +prepare: + how: install + package: + - device-mapper-multipath + - perl diff --git a/tests/alias_clash/main.fmf b/tests/alias_clash/main.fmf new file mode 100644 index 0000000..1b3d505 --- /dev/null +++ b/tests/alias_clash/main.fmf @@ -0,0 +1,7 @@ +summary: Verify that multipath doesn't try to assign new devices in-use user_friendly aliases. +description: | + Verify that multipath doesn't try to assign new devices in-use user_friendly aliases. +component: + - device-mapper-multipath +test: ./main.sh +duration: 15m diff --git a/tests/bindings/main.fmf b/tests/bindings/main.fmf new file mode 100644 index 0000000..767f369 --- /dev/null +++ b/tests/bindings/main.fmf @@ -0,0 +1,7 @@ +summary: Make sure modify /etc/multipath/bindings changes alias +description: | + make sure modify /etc/multipath/bindings changes alias +component: + - device-mapper-multipath +test: ./main.sh +duration: 15m diff --git a/tests/find_multipaths/main.fmf b/tests/find_multipaths/main.fmf new file mode 100644 index 0000000..22028d3 --- /dev/null +++ b/tests/find_multipaths/main.fmf @@ -0,0 +1,7 @@ +summary: Enable/disable find_multipaths and do multipath reload +description: | + Enable/disable find_multipaths and do multipath reload +component: + - device-mapper-multipath +test: ./main.sh +duration: 15m diff --git a/tests/kpartx_4k_aligned/main.fmf b/tests/kpartx_4k_aligned/main.fmf new file mode 100644 index 0000000..e7f083f --- /dev/null +++ b/tests/kpartx_4k_aligned/main.fmf @@ -0,0 +1,7 @@ +summary: Make sure the begin sectors and end sectors are identity in both report +description: | + Make sure the begin sectors and end sectors are identity in both report +component: + - device-mapper-multipath +test: ./main.sh +duration: 15m diff --git a/tests/medium_error_scsi_debug/main.fmf b/tests/medium_error_scsi_debug/main.fmf new file mode 100644 index 0000000..340e53e --- /dev/null +++ b/tests/medium_error_scsi_debug/main.fmf @@ -0,0 +1,7 @@ +summary: Test that some fatal errors which should not be retried +description: | + Test that some fatal errors which should not be retried. +component: + - device-mapper-multipath +test: ./main.sh +duration: 15m diff --git a/tests/multipath_conf_syntax/main.fmf b/tests/multipath_conf_syntax/main.fmf new file mode 100644 index 0000000..7ba0db9 --- /dev/null +++ b/tests/multipath_conf_syntax/main.fmf @@ -0,0 +1,7 @@ +summary: Test multipath conf syntax +description: | + Test multipath conf syntax +component: + - device-mapper-multipath +test: ./main.sh +duration: 15m diff --git a/tests/multipathd_oom/main.fmf b/tests/multipathd_oom/main.fmf new file mode 100644 index 0000000..9b71b8e --- /dev/null +++ b/tests/multipathd_oom/main.fmf @@ -0,0 +1,7 @@ +summary: Test that multipathd will be selected to be killed by oom according to the kernel doc +description: | + Test that multipathd will be selected to be killed by oom according to the kernel doc +component: + - device-mapper-multipath +test: ./main.sh +duration: 15m diff --git a/tests/restate_module/main.fmf b/tests/restate_module/main.fmf new file mode 100644 index 0000000..3ca6d18 --- /dev/null +++ b/tests/restate_module/main.fmf @@ -0,0 +1,7 @@ +summary: Segfault in multipathd when 'multipath -r' is run during faulty paths +description: | + Segfault in multipathd when 'multipath -r' is run during faulty paths +component: + - device-mapper-multipath +test: ./main.sh +duration: 15m diff --git a/tests/squelch_scsi_id/main.fmf b/tests/squelch_scsi_id/main.fmf new file mode 100644 index 0000000..8a77aa3 --- /dev/null +++ b/tests/squelch_scsi_id/main.fmf @@ -0,0 +1,7 @@ +summary: multipath -ll executes scsi_id on failed paths, resulting in needlessly verbose error messages +description: | + multipath -ll executes scsi_id on failed paths, resulting in needlessly verbose error messages +component: + - device-mapper-multipath +test: ./main.sh +duration: 15m diff --git a/tests/user_friendly_names/main.fmf b/tests/user_friendly_names/main.fmf new file mode 100644 index 0000000..4bdb642 --- /dev/null +++ b/tests/user_friendly_names/main.fmf @@ -0,0 +1,7 @@ +summary: Test user friendly names +description: | + Test user friendly names +component: + - device-mapper-multipath +test: ./main.sh +duration: 15m