Kamil Gierszewski
7adc356889
conftest: move import to the top of file
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2025-01-10 14:23:52 +01:00
Kamil Gierszewski
bef461ccc2
conftest: add TestRun cache/core list
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2025-01-10 12:43:18 +01:00
Kamil Gierszewski
e1f8426527
conftest: fix typo
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2025-01-10 12:43:18 +01:00
Kamil Gierszewski
76336c3ef5
conftest: add cleanup after drbd test
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2025-01-10 12:42:20 +01:00
Kamil Gierszewski
f7539b46a1
conftest: add create/destroy temporary directory in conftest
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2025-01-02 03:08:50 +01:00
Katarzyna Treder
f7e7d3aa7f
Disk tools and fs tools refactor
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-12-11 18:58:26 +01:00
Katarzyna Treder
e0f6d58d80
Disk finder refactor
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-12-11 09:04:46 +01:00
Katarzyna Treder
8a5d531a32
OS tools refactor
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-12-11 07:58:50 +01:00
Katarzyna Treder
b724419a4f
Move git to tools
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-12-10 14:32:50 +01:00
Katarzyna Treder
5121831bd8
Move singleton to common utils
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-12-10 13:24:57 +01:00
Katarzyna Treder
3953e8b0f8
Add initramfs update to LVM tests and conftest
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-11-25 14:46:37 +01:00
Kamil Gierszewski
e54732ef81
test-conftest: move dict creation outside loop function
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-11-25 14:20:10 +01:00
Kamil Gierszewski
677a5019fb
test-conftest: Don't clean-up drives that won't be used
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-11-25 14:20:10 +01:00
Kamil Gierszewski
bf7711354d
test-conftest: More readable RAID teardown
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-11-25 14:20:10 +01:00
Kamil Gierszewski
b8ccf403f0
test-conftest: Kill IO faster in prepare/teardown
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-11-25 14:20:10 +01:00
Kamil Gierszewski
ed85411750
test-conftest: Use cached device_ids + fix posix path
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-11-25 14:20:09 +01:00
Kamil Gierszewski
4626d87471
test-conftest: Don't prepare disks if test doesn't use them
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-11-25 14:20:09 +01:00
Kamil Gierszewski
92a8424dd0
test-conftest: reformat conftest
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-11-25 14:20:09 +01:00
Daniel Madej
0999e601b8
Remove redundant unmount
...
remove_partitions() includes unmounting them
Signed-off-by: Daniel Madej <daniel.madej@huawei.com>
2024-10-04 08:58:35 +02:00
Daniel Madej
c2662072a4
Fix mdadm --zero-superblock problem in cleanup
...
Cleanup handled mounted partitions but not the whole device
Signed-off-by: Daniel Madej <daniel.madej@huawei.com>
2024-10-04 08:46:57 +02:00
Katarzyna Treder
a1ff17bbd3
Change path type to string in fs_utils remove command
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-13 11:35:36 +02:00
Kamil Gierszewski
df3c759de8
test-conftest: fix git
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-10 10:39:08 +02:00
Kamil Gierszewski
077820f1c0
test-conftest: remove autoinstall and update conftest
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-10 10:24:38 +02:00
jwirkus
2f4d2f70c5
Add fuzzy tests API
...
Signed-off-by: jwirkus <jakubx.wirkus@intel.com>
2022-11-30 13:42:26 +01:00
Karolina Rogowska
54428ddf26
lvm api (ocl)
...
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2022-10-13 16:47:34 +02:00
Rafal Stefanowski
58ba99aa4a
test/api: Check for particular CAS version before test
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2022-08-18 14:06:00 +02:00
Jan Musial
301e5208df
test api: Add clean-up for open-cas.service drop-in files
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2022-07-18 11:01:26 +02:00
Kamil Gierszewski
6ac153e1ac
tests: Fix DRBD cleanup
...
Signed-off-by: Kamil Gierszewski <kamilx.gierszewski@intel.com>
2022-06-29 17:14:32 +02:00
Michal Mielewczyk
11ba68ec6a
test api: ram disk cleanup&teardown
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-05-06 12:24:28 +02:00
Michal Mielewczyk
0ba7f0f81e
test api: drbd cleanup&teardown
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-05-06 12:24:28 +02:00
Robert Baldyga
9424df4e2b
Merge pull request #972 from Deixx/multidut
...
Multidut execution and example
2022-02-17 13:27:29 +01:00
Daniel Madej
b8bdbac21c
Multidut execution enablement
...
Allow providing multiple --dut-config entries for a test
Store configured duts in TestRun.duts
Run setup for all provided duts
Save dut specific data to a dut object
On pytest collect display a list of tests with required no of duts
Create separate folders for logs per dut
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2021-10-29 13:06:02 +02:00
Rafal Stefanowski
acec05060d
Fix license
...
Change license to BSD-3-Clause
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2021-10-28 12:46:42 +02:00
klapinsk
d4b3f26241
Remove inactive commands tests and API update
...
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2021-09-08 13:03:57 +02:00
Oleksandr Shchirskyi
daae3f7439
Move extra logs definition to dut_config
...
Signed-off-by: Oleksandr Shchirskyi <oleksand.shchirskyi@intel.com>
2021-08-23 12:38:32 +02:00
Oleksandr Shchirskyi
19f03bc4e6
Add CAS log dump to extra logs
...
Commit 51a8fca8872808c0809ef715c9b6a8d19b9310f3 in test-framework
adds possibility to specify extra logs to dump.
Move CAS log to this extra logs, as it's project specific logs not
related to generic test framework
Signed-off-by: Oleksandr Shchirskyi <oleksand.shchirskyi@intel.com>
2021-08-19 16:13:00 +02:00
Michal Mielewczyk
70c44c84ef
tests: verify if disk serial is valid
...
Check whether disk serial number matches the one given in dut config file
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-07-01 15:44:21 +02:00
Katarzyna Lapinska
87f68bb2f5
Fixes in tests and CAS API due to the change with by-id devices paths
...
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2021-01-26 13:19:47 +01:00
Rafal Stefanowski
43f43068ad
Update copyright statements (2021)
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2021-01-21 13:15:38 +01:00
Robert Baldyga
309b674fd8
Merge pull request #535 from Ostrokrzew/by-id
...
Disallow to use other than by-id path to core or cache device
2020-12-23 14:38:07 +01:00
Michal Rakowski
393fd532cf
tests: small fix in conftest
...
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2020-12-23 08:11:19 -05:00
Slawomir Jankowski
17f440de10
Update TF and functional tests API
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2020-12-22 16:29:33 +01:00
Robert Baldyga
090d84c597
Merge pull request #597 from karolinavelkaja/removing_partitions_after_mdadm_fix
...
fix for removing partitions after mdadm --zero-superblock command
2020-12-16 23:21:32 +01:00
Karolina Rogowska
14d5a31190
waiting for mdadm to complete event (--zero-superblock command) before removing partition
...
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2020-12-11 17:41:02 +01:00
Katarzyna Lapinska
ca02fef41f
Remove password from example DUT config
...
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2020-12-02 14:52:56 +01:00
Karolina Rogowska
05ed83c6ae
fix for RAIDs cleanup in prepare
...
Signed-off-by: Karolina Rogowska <karolina.rogowsky@gmail.com>
2020-11-25 16:29:02 +01:00
Daniel Madej
087cad684e
Cleanup RAIDs in prepare
...
Update test-framework
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2020-10-09 12:30:39 +02:00
Katarzyna Lapinska
b876da96b6
Fix for checking if connection with DUT is active in teardown
...
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2020-08-25 12:44:23 +02:00
Robert Baldyga
a769b9fe0b
Merge pull request #502 from katlapinka/reboot-prepare
...
Add reboot if executor can not connect to DUT in test prepare
2020-08-21 10:40:08 +02:00
Katarzyna Lapinska
c314aa294a
Execute teardown after skip in test
...
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2020-08-19 16:14:55 +02:00