Migrate gating tests from STI to tmt

This commit is contained in:
Filip Suba 2025-03-13 10:15:50 +01:00 committed by Benjamin Marzinski
parent ddfd11c918
commit ac7cd6c268
12 changed files with 83 additions and 0 deletions

13
plans/gating.fmf Normal file
View File

@ -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

View File

@ -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

7
tests/bindings/main.fmf Normal file
View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,7 @@
summary: Test multipath conf syntax
description: |
Test multipath conf syntax
component:
- device-mapper-multipath
test: ./main.sh
duration: 15m

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,7 @@
summary: Test user friendly names
description: |
Test user friendly names
component:
- device-mapper-multipath
test: ./main.sh
duration: 15m