Karolina Rogowska
ade2384290
test fix: test_ioclass_pid
...
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2021-03-30 16:48:20 +02:00
Robert Baldyga
d220aad77b
test: Extend seq cutoff test to validate promotion count
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-03-23 07:55:46 +01:00
Robert Baldyga
ff4dca4622
Add sequential cutoff promotion count to test API
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-03-23 07:55:46 +01:00
Karolina Rogowska
a9f33691ab
fix warning in example_test.py
...
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2021-03-16 15:23:49 +01:00
Robert Baldyga
4f3c5c8f47
Merge pull request #580 from karolinavelkaja/fault_injection_raid_as_cache_test
...
adding test 'test_raid_as_cache'
2021-03-06 20:00:05 +01:00
Robert Baldyga
48c08527c8
Merge pull request #659 from katlapinka/test-dirty-load
...
Test for loading cache after dirty shutdown
2021-03-06 19:58:44 +01:00
Slawomir Jankowski
7a9405a58e
Update zero metadata API and tests
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2021-02-25 14:41:39 +01:00
Katarzyna Łapińska
b72880ce86
Merge pull request #634 from katlapinka/ioclass-fixes
...
IO classification tests fixes
2021-02-16 12:33:25 +01:00
Katarzyna Lapinska
73e9906a54
Test for loading cache after dirty shutdown
...
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2021-02-16 12:05:55 +01: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
Katarzyna Łapińska
3685a926b4
Merge pull request #577 from karolinavelkaja/fault_power_hit_test
...
Adding test 'test_fault_power_hit' and cli messages accordingly
2021-01-25 13:50:28 +01:00
Katarzyna Łapińska
5ef08b06ac
Merge pull request #598 from karolinavelkaja/check_number_of_processes_test
...
add test 'test_check_number_of_processes'
2021-01-25 13:49:19 +01:00
Karolina Rogowska
813c602ab3
adding test 'test_raid_as_cache'
...
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
moving test to volumes group
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2021-01-21 13:25:21 +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
Katarzyna Lapinska
b0c7bea427
IO classification tests fixes
...
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2021-01-15 12:02:41 +01:00
Katarzyna Lapinska
72be34c58e
Device not supporting discards instead of random HDD in test checking discards support
...
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2021-01-15 12:02:08 +01:00
Karolina Rogowska
aa08a82669
Adding test 'test_fault_power_hit' and cli messages accordingly
...
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2021-01-14 13:10:50 +01:00
Michal Mielewczyk
b4a34fe9c9
tests: update ioclass stats tests
...
`Free` is no longer a part of the ioclass usage stats
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-01-12 05:11:16 -05:00
Robert Baldyga
22b4288f3d
tests: Update tests after test-framework API changes
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-01-05 20:35:58 +01:00
Karolina Rogowska
90280d1c21
add test 'test_check_number_of_processes'
...
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2021-01-05 17:25:48 +01:00
Robert Baldyga
ea581953e1
Shorten cleaner thread name
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2020-12-30 18:12:21 +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 Mielewczyk
fb1a1ab57f
tests: new ioclass config in existing tests
...
Update existing tests to work with new ioclass config format
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-12-23 08:11:20 -05:00
Michal Mielewczyk
0bcd665818
tests: test ioclass config after metadata load
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-12-23 08:11:20 -05:00
Michal Mielewczyk
80d113bb59
tests: repart with occupancy threshold enabled
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-12-23 08:11:19 -05:00
Michal Mielewczyk
89b4f31806
tests: resize existing ioclass
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-12-23 08:11:19 -05:00
Michal Mielewczyk
f803dff669
tests: verify if parts are evicted in good order
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-12-23 08:11:19 -05:00
Michal Mielewczyk
1ba61535fa
tests: basic test for occupancy threshold - read
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-12-23 08:11:19 -05:00
Michal Mielewczyk
48530b2123
tests: verify custom partitions usage stats sum
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-12-23 08:11:19 -05:00
Michal Rakowski
fe226f6fed
tests: basic test for occupancy threshold - write
...
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-12-23 08:11:19 -05:00
Michal Mielewczyk
4270593e7b
tests: common helpers for ioclass tests
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-12-23 08:11:19 -05:00
Michal Mielewczyk
741db6b7e1
tests: improve ioclass tests helper
...
Use predefined consts instead of raw values to create default ioclass
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-12-23 08:11:19 -05:00
Michal Mielewczyk
7ef1e1c197
tests: allocation as value in range 0.00 to 1.00
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-12-23 08:11:19 -05: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
Michal Mielewczyk
4f9f69d475
tests: parametrize common prepare for ioclasses
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-12-23 08:11:19 -05:00
Michal Mielewczyk
0d0c40ec57
tests: Add missing log in ioclass test prepare
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@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
Katarzyna Łapińska
cd9b0deda3
Merge pull request #578 from karolinavelkaja/fault_power_hit_init_test
...
adding new test 'test_fault_power_hit_init'
2020-12-21 13:57:17 +01:00
Katarzyna Łapińska
510eb46265
Merge pull request #582 from katlapinka/multi-seq-cutoff
...
Add tests for multistream sequential cutoff
2020-12-21 12:11:28 +01:00
Robert Baldyga
a61012a7a1
Merge pull request #573 from karolinavelkaja/security_io_engines_test
...
Adding test 'test_io_engines'
2020-12-21 10:00:31 +01:00
Katarzyna Lapinska
a3860c6be1
Add tests for multistream sequential cutoff
...
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2020-12-18 14:22:21 +01:00
Robert Baldyga
1ba4583cb8
Merge pull request #594 from katlapinka/trim-nand
...
Change required cache device type for test checking discards at cache start
2020-12-16 23:22:28 +01:00
Robert Baldyga
a61837eb7a
Merge pull request #595 from katlapinka/time-import
...
Add missing import to udev tests
2020-12-16 23:22:11 +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
96a6fa6ba1
adding new test 'test_fault_power_hit_init'
...
Signed-off-by: Karolina Rogowska <karolina.rogowsky@gmail.com>
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2020-12-16 15:25:39 +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
37b5c3c47a
Add missing import to udev tests
...
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2020-12-11 15:15:53 +01:00
Katarzyna Lapinska
6f326fe2e6
Change required cache device type for test checking discards at cache start
...
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2020-12-11 15:08:11 +01:00
Karolina Rogowska
343c5b8ef4
Adding test 'test_security_io_engines'
...
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2020-12-09 17:40:56 +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
Katarzyna Łapińska
3e659f075b
Merge pull request #581 from karolinavelkaja/raid_cleanup_in_prepare_fix
...
fix for RAIDs cleanup in prepare
2020-12-01 11:54:33 +01:00
Robert Baldyga
225d0ee675
Merge pull request #467 from Deixx/checksec
...
Security test for compilation flags
2020-11-30 10:11:10 +01:00
Robert Baldyga
1746e24472
Merge pull request #532 from Ostrokrzew/update_tests
...
Update CLI tests
2020-11-27 09:14:03 +01:00
Robert Baldyga
25a3abc595
Merge pull request #526 from Ostrokrzew/start_service
...
Test for loading cache from conf in different mode
2020-11-26 13:23:13 +01:00
Robert Baldyga
a9d33eb6ac
Merge pull request #513 from Ostrokrzew/fixes
...
Minor refactorings and updates
2020-11-26 13:23:01 +01:00
Robert Baldyga
04a3ea1142
Merge pull request #471 from Ostrokrzew/huge
...
Tests for flushing huge cache
2020-11-26 13:22:48 +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
Slawomir Jankowski
7d1f8cfcee
Fix clean reboot test
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-11-05 14:06:55 +01:00
Slawomir Jankowski
a36c1be8a0
In DI12h test, verify each job separately, right after job is done.
...
Verifying the whole workload at once generates failures in some DUT configurations.
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-11-05 14:06:55 +01:00
Slawomir Jankowski
e5c8324398
Fix recovery tests
...
Methods receiving device as an argument, uses its system_path field, not full_path
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-11-05 14:06:55 +01:00
Slawomir Jankowski
cae2dd2ef5
Fix incremental load tests
...
Inactive statistics for particular modes:
WT only dirty should be zero
WA, PT all should be zero
WB, WO only clean should be zero
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-11-05 14:06:55 +01:00
Slawomir Jankowski
f6ec36e49e
Increase readability
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-11-05 14:06:55 +01:00
Slawomir Jankowski
a99da7fa85
Add 1-second pause after plugging device
...
sometimes test cannot find plugged device, because plug operation is too slow
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-11-05 14:06:55 +01:00
Slawomir Jankowski
607ad5d16c
Use Time
wrapper instead of timedelta
...
because `set_params_alru` uses method `total_milliseconds()`
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-11-05 14:06:55 +01:00
Robert Baldyga
dfd63abcb9
Merge pull request #365 from Ostrokrzew/consistency
...
Add test for checking outputs' consistency
2020-11-05 14:04:00 +01:00
Robert Baldyga
ab4665ba3e
Merge pull request #492 from Deixx/raid-ocl
...
Cleanup RAIDs, example test and RAID + udev test
2020-11-05 14:03:39 +01:00
Slawomir Jankowski
3424ef0199
Test for loading cache from conf in different mode
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-11-05 09:18:35 +01:00
Daniel Madej
cd8892f775
Security test for compilation flags
...
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2020-11-05 08:50:35 +01:00
Slawomir Jankowski
8c0faba498
Update CLI tests
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-11-03 11:27:31 +01:00
Slawomir Jankowski
dda319eb2f
Test for flushing huge cache on raw device
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-11-02 12:18:23 +01:00
Slawomir Jankowski
6ceb194a46
Test for flushing huge cache with fs
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-11-02 12:17:43 +01:00
Katarzyna Lapinska
85df47cddd
Add trim tests using devices supporting and not supporting discards
...
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2020-10-21 09:33:23 +02:00
Robert Baldyga
96ce3131f6
Merge pull request #473 from Ostrokrzew/mem
...
Negative test for loading CAS module with lack of memory
2020-10-20 16:42:44 +02:00
Robert Baldyga
c844aa7b85
Merge pull request #476 from Ostrokrzew/discard
...
Test for handling discard request on huge CAS device
2020-10-20 16:35:11 +02:00
Daniel Madej
59596a77ab
Test CAS udev rules with RAID devices
...
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2020-10-09 12:30:51 +02:00
Daniel Madej
a61a1341ff
Example test using RAID API
...
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2020-10-09 12:30:51 +02: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
Slawomir Jankowski
9237d26ee2
Test for handling discard request on huge CAS device
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-09-10 14:00:32 +02:00
Slawomir Jankowski
89ed080cfe
Add test for checking cache and core statistics outputs' consistency
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-08-31 14:01:00 +02:00
Katarzyna Lapinska
6ac104c3b8
Rewrite IO class tests to use latest Test Framework API
...
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2020-08-28 12:43:07 +02:00
Katarzyna Lapinska
f30fcb1a02
Add clean shutdown data consistency test
...
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2020-08-26 11:43:48 +02:00
Robert Baldyga
960cf6e085
Merge pull request #479 from Ostrokrzew/core_rem
...
Add tests for a core removal when the other one is mounted
2020-08-26 11:02:25 +02:00
Robert Baldyga
89992e6ef8
Merge pull request #482 from Ostrokrzew/os_dependent
...
Add 'os_dependent' marker to tests with TF update
2020-08-26 11:02:02 +02:00
Robert Baldyga
ecebb52b46
Merge pull request #505 from Ostrokrzew/fix
...
Few fixes after recent changes
2020-08-26 10:59:53 +02:00
Robert Baldyga
8dc06a3904
Merge pull request #507 from katlapinka/test-attach-detach
...
Add stress test for attaching and detaching multiple core devices.
2020-08-26 10:56:19 +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
Katarzyna Lapinska
77499cc693
Add stress test for attaching and detaching multiple core devices.
...
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2020-08-24 13:15:49 +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
Robert Baldyga
f12274eb24
Merge pull request #488 from katlapinka/trim-stress
...
Add trim stress test
2020-08-19 17:45:10 +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
Slawomir Jankowski
7218f814aa
Test for loading CAS kernel module with insufficient memory
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-08-19 16:13:09 +02:00
Slawomir Jankowski
77db7de4bc
Fix test for casadm version
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-08-19 15:56:12 +02:00
Slawomir Jankowski
873be2bf3a
Fix test for casadm help
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-08-19 15:56:12 +02:00
Robert Baldyga
ed0052f502
Merge pull request #486 from katlapinka/trim-eviction
...
Add test verifying if trim request does not cause eviction on CAS device
2020-08-19 15:48:03 +02:00
Katarzyna Lapinska
0b455ada64
Add test verifying if trim request do not cause eviction on CAS device
...
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2020-08-17 14:30:08 +02:00
Katarzyna Lapinska
4a2ead3934
Add trim stress test
...
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2020-08-17 14:27:48 +02:00
Katarzyna Lapinska
1714a9855c
Add reboot if executor can not connect to DUT in test prepare
...
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2020-08-17 09:19:31 +02:00
Slawomir Jankowski
13c8525448
Test for removing core when the other one is mounted
...
and core numeration is custom - each core ID starts with the same digit.
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-08-13 13:55:46 +02:00
Slawomir Jankowski
b8e840ceab
Test for removing core when the other one is mounted
...
and core numeration is automatic - each core ID starts with different digit.
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-08-13 13:55:07 +02:00
Slawomir Jankowski
77ade8fda2
Change duplicated name of test to avoid conflicts
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-08-13 13:43:38 +02:00