Damian Raczkowski
ca2b7b86cf
test fix: add parametrize parameter to funcion
...
Signed-off-by: Damian Raczkowski <damian.raczkowski@intel.com>
2022-10-19 09:05:50 +02:00
Robert Baldyga
0ff4698f29
Merge pull request #1349 from DocentSzachista/test-multilevel-cache
...
tests: add multilevel cache test
2022-10-13 14:10:23 +02:00
Karolina Rogowska
4f30283e0a
Merge pull request #1337 from DocentSzachista/OC1-348
...
tests: refactor fault_injection tests
2022-10-12 13:13:52 +02:00
Robert Baldyga
97c8df0995
Merge pull request #1373 from DocentSzachista/merge_flush_and_cache
...
Merge flush and cache commands
2022-10-12 12:38:14 +02:00
Damian Raczkowski
f67543e7b3
update CAS API to adapt changes in casadm
...
Signed-off-by: Damian Raczkowski <damian.raczkowski@intel.com>
2022-10-06 09:08:57 +02:00
Damian Raczkowski
f57b01ee31
tests: refactor fault_injection tests
...
Signed-off-by: Damian Raczkowski <damian.raczkowski@intel.com>
2022-10-05 12:29:39 +02:00
Robert Baldyga
f953c14c2e
Merge pull request #1315 from AdamSeyda/adding_test_cli_help_spelling
...
Add test test_cli_help_spelling
2022-10-04 14:37:06 +02:00
Robert Baldyga
5ac02a8377
Merge pull request #1361 from DocentSzachista/dss-pin-02
...
tests: add stress test for IO class pinning eviction
2022-10-04 14:10:46 +02:00
Adam Seyda
f4e17bc1ec
Add test test_ci_read_write
...
Signed-off-by: Adam Seyda <adam.seyda@intel.com>
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-10-03 19:44:26 +02:00
Adam Seyda
3f7cf3c670
Add test test_cli_help_spelling
...
Signed-off-by: Adam Seyda <adam.seyda@intel.com>
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-10-03 19:43:27 +02:00
Kamil Gierszewski
9417301453
test_fix:fix_test_cli_help_and_version
...
Signed-off-by: Kamil Gierszewski <kamilx.gierszewski@intel.com>
2022-10-03 16:54:43 +02:00
Robert Baldyga
6af0c5dbfe
Merge pull request #1353 from arutk/apf
...
Fix ALRU wake up time test and documentation
2022-09-30 11:04:39 +02:00
Adam Rutkowski
39fbe873df
Fix test_cleaning_policy_config ALRU assumptions
...
ALRU does not have a configurable sleep time between active awakenings
of the cleaning thread. Once it starts cleaning, it does not back off
unless staleness time and/or activity threshold constraints force it
to do so.
Changing test_cleaning_policy_config assumptions so that it only checks
whether minimum expected amount of data is cleaned rather than assume
exact amount of data to be cleaned.
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2022-09-30 18:18:10 +02:00
Karolina Rogowska
a7df579991
Merge pull request #1365 from arutk/trte
...
tests: remove test_trim_eviction
2022-09-28 15:29:22 +02:00
Rutkowski, Adam J
73716e89ca
tests: remove test_trim_eviction
...
There are multiple issues with this test, but regardless
of them it seems that it duplicates existing trim tests.
The intention of the test is to verify that there is no
eviction when inserting to cache after a trim. This
is equivalent to checking that a trim reduced cache
occupancy, and this is done in other trim test
(test_trim_device_discard_support).
Signed-off-by: Rutkowski, Adam J <adam.j.rutkowski@intel.com>
2022-09-28 14:22:12 +02:00
Damian Raczkowski
77f296db11
tests: add stress test for IO class pinning eviction
...
Signed-off-by: Damian Raczkowski <damian.raczkowski@intel.com>
2022-09-28 11:11:21 +02:00
Robert Baldyga
3aaef69905
Merge pull request #1357 from karolinavelkaja/power_hit_init_test_byid_fix
...
tests: fix cache device path
2022-09-27 12:52:55 +02:00
Robert Baldyga
7b126005eb
Merge pull request #1356 from Kgierszx/fix_test_recover_cache_verify
...
test: fix_recovery_cache_verify_core
2022-09-27 10:12:19 +02:00
Robert Baldyga
abb48a9cc4
Merge pull request #1362 from arutk/fcet
...
tests: do not run test_core_device_error in lazy write cache modes
2022-09-27 10:10:44 +02:00
Klaudia Jablonska
1cf2af7ed4
Refactor IO class tests
...
Signed-off-by: Klaudia Jablonska <klaudia.jablonska@intel.com>
2022-09-26 12:38:46 +02:00
Rutkowski, Adam J
349ec69f65
Do not run test_core_device_error in lazy write cache modes
...
This test has multiple assumptions that do not hold for WB/WO:
1. it assumes primary storage errors would propagate to user I/O
2. cache is stopped with metadata flush, which would fail
3. after stopping CAS core content is verified with fio
4. cache is so small that it overfills, resulting in PT I/O further
complicating error accounting.
Signed-off-by: Rutkowski, Adam J <adam.j.rutkowski@intel.com>
2022-09-26 11:10:06 +02:00
Rutkowski, Adam J
d6eebc2cc3
test framework: method to get cache modes without given trait
...
Signed-off-by: Rutkowski, Adam J <adam.j.rutkowski@intel.com>
2022-09-26 11:09:42 +02:00
Robert Baldyga
2da9753a10
Merge pull request #1359 from karolinavelkaja/core_device_error_test_logging_fix
...
tests: fix for proper logging of error values
2022-09-22 17:32:14 +02:00
Rafal Stefanowski
e07b7ae630
Fix file extensions in permission test
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2022-09-22 14:24:14 +02:00
Karolina Rogowska
42bff04465
fix for proper logging of error values
...
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2022-09-22 12:39:55 +02:00
Robert Baldyga
5e38c25f49
Merge pull request #1358 from arutk/fif
...
Fix dd flags in test_lazy_writes_clean tests
2022-09-22 11:46:49 +02:00
Rutkowski, Adam J
52c978f931
Fix dd flags in test_lazy_writes_clean tests
...
Change dd flag specification so that "direct" is specified for
the tested device (CAS exp object or core), regardless of I/O
direction (read vs write).
Signed-off-by: Rutkowski, Adam J <adam.j.rutkowski@intel.com>
2022-09-21 17:11:24 +02:00
Karolina Rogowska
1b04be0140
fix cache device path
...
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2022-09-21 15:43:37 +02:00
Kamil Gierszewski
dbe8fec99b
test: fix_recovery_cache_verify_core
...
Signed-off-by: Kamil Gierszewski <kamilx.gierszewski@intel.com>
2022-09-21 14:29:36 +02:00
Robert Baldyga
c46a3beb3f
Fix license headers in tests
...
Some tests added after license cleanup still have bad license header.
Change it to the proper one.
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-09-21 11:59:34 +02:00
Robert Baldyga
70cc908b39
Merge pull request #1345 from robertbaldyga/consolidate-cas-modules
...
Consolidate Open CAS modules
2022-09-19 14:55:30 +02:00
Robert Baldyga
8d55e3987f
Update tests after cas_disk removal
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-09-16 15:16:28 +02:00
Robert Baldyga
3c3369bcc7
Merge pull request #1332 from karolinavelkaja/partitions_test_fix_ocl
...
tests: fix test_partition_create_cas
2022-09-16 06:55:12 +02:00
Robert Baldyga
ccb6c0a3e3
Merge pull request #1346 from pdebski21/test_one_core_fail_dirty
...
Add test one core fail dirty
2022-09-14 14:28:51 +02:00
Piotr Debski
d6bdc06cfc
Add test one core fail dirty
...
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-09-14 14:12:29 +02:00
Damian Raczkowski
29e20ad10d
tests: add multilevel cache test
...
Signed-off-by: Damian Raczkowski <damian.raczkowski@intel.com>
2022-09-14 11:12:50 +02:00
Damian Raczkowski
3450f88eb1
refactor compare_md5 and move functions to common.py
...
Signed-off-by: Damian Raczkowski <damian.raczkowski@intel.com>
2022-09-14 11:11:31 +02:00
Robert Baldyga
a9260524e0
Merge pull request #1277 from pdebski21/test_fixes3
...
Tests fixes
2022-09-13 09:41:45 +02:00
Adam Rutkowski
236418a373
Merge pull request #1336 from karolinavelkaja/refactor_tests_under_initialize_load
...
tests: refactor test_initialize_load file
2022-09-12 15:26:11 +02:00
Piotr Debski
5aba9efda1
fix for test test_one_core_fail
...
Occupancy does not change when cache data is dirty and dd is executed for cache in write-only mode. Fix required to prefill cache with clean data.
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-09-12 09:28:00 +02:00
Adam Rutkowski
bc417e03c4
enable skipped failover tests
...
Excessive reboot times have not been observed for some time now.
I wasn't able to reproduce them by hand either.
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2022-09-08 16:20:54 +02:00
Rafal Stefanowski
91f5d497ef
copyright/license: Add missing file extensions
...
Proper file extensions help 'copyright header checker' find files
that should contain copyright info. Extensions also clearly indicate
file type, and help to fit in with the file naming convention.
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2022-09-07 15:23:11 +02:00
Adam Rutkowski
b5d4ee3c14
Merge pull request #940 from Deixx/test-cleaning
...
Add test for configuring cleaning policies
2022-09-06 16:32:46 +02:00
Robert Baldyga
987f53b1ff
Merge pull request #1281 from arutk/foati
...
failover advanced tests implementation
2022-09-06 13:16:18 +02:00
Robert Baldyga
787baf322e
Merge pull request #1330 from rafalste/update_dependencies
...
Remove python3-packaging from dependencies
2022-09-02 15:49:55 +02:00
Karolina Rogowska
ac6e30322a
refactor test_initialize_load -rename test and remove 2 tests no longer valid
...
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2022-08-31 16:13:20 +02:00
Rutkowski, Adam J
8764338582
fix test_incremental_load_hidden_core
...
Cache state after load with missig cores should be "incomplete"
rather than "running.
Signed-off-by: Rutkowski, Adam J <adam.j.rutkowski@intel.com>
2022-08-31 13:33:32 +02:00
Robert Baldyga
88dff6ead3
Merge pull request #1329 from robertbaldyga/seq-cutoff-threshold-issue
...
Fix seq cutoff min threshold calculation
2022-08-31 10:58:10 +02:00
Krzysztof Majzerowicz-Jaszcz
9c45851147
Fix for test_cas_startup_negative_missing_core
...
Bad parameter fix for this test
Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
2022-08-30 16:40:34 +02:00
Karolina Rogowska
06a72d16be
fix test_partition_create_cas
...
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2022-08-30 16:33:38 +02:00