Commit Graph

2315 Commits

Author SHA1 Message Date
Karolina Rogowska
c12168f001
Merge pull request #1316 from karolinavelkaja/test_fixes_ioclass_conf
fix tests: proper config file path
2022-08-22 10:59:01 +02:00
Karolina Rogowska
a1484b2412 fix tests: proper config file path
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2022-08-19 16:49:41 +02:00
Karolina Rogowska
4fc0c4f8bb
Merge pull request #1310 from pdebski21/fix_standby_detach_error_msg
Fix error message when CAS already is in standby detach state
2022-08-19 15:01:24 +02:00
Karolina Rogowska
8a4a2d9272
Merge pull request #1297 from pdebski21/tests_incremental_load
Tests incremental load - CI
2022-08-19 13:10:50 +02:00
Piotr Debski
9273b39d5d Fix error message for cache already in standby detach state
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-08-19 12:36:22 +02:00
Karolina Rogowska
47a08c4718
Merge pull request #1302 from pdebski21/test_simulation_startup_from_config
Simulate startup test
2022-08-19 11:57:02 +02:00
Karolina Rogowska
39e3a0f6a7
Merge pull request #1309 from DocentSzachista/OC1-277
tests: add test for adding invalid cores devices to caches
2022-08-19 11:55:57 +02:00
Piotr Debski
293de4a9eb Tests incremental load for ci
Tests rewritten form open-cas-linux/test/smoke_test/incremental_load

Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-08-19 10:13:13 +02:00
Michał Mielewczyk
711dc59a81
Merge pull request #1311 from rafalste/dut_cas_version
Install particular CAS version on DUT before test
2022-08-18 15:34:33 +02:00
Michał Mielewczyk
e40ca18d61
Merge pull request #1314 from kmajzero/4.15_build_fix
Fix for a build failure for Ubuntu 18.04 kernel 4.15
2022-08-18 15:32:47 +02:00
Karolina Rogowska
8b2a897275
Merge pull request #1293 from karolinavelkaja/fix_test_cli_help
tests: fix test_cli_help
2022-08-18 15:23:38 +02:00
Karolina Rogowska
af098d8f77
Merge pull request #1294 from rafalste/test_weak_modules
test: Add weak modules test
2022-08-18 15:23:29 +02:00
Karolina Rogowska
a48732bd4b
Merge pull request #1299 from pskwarlo/tmcf
Test manual casadm flush - CI.
2022-08-18 15:09:33 +02:00
Karolina Rogowska
b6cb200307
Merge pull request #1313 from karolinavelkaja/fix_tests_io_class_occupancy
fix tests: proper io class config path
2022-08-18 14:23:00 +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
Karolina Rogowska
4db29b2665
Merge pull request #1296 from pdebski21/tests_ci_recovery
Recovery tests - CI
2022-08-18 14:03:24 +02:00
Krzysztof Majzerowicz-Jaszcz
da885a8ade Fix for a build failure for Ubuntu 18.04 kernel 4.15
This patch fixes the problem of fs_bio_set being defined as a pointer in
kernels before 4.18, which results in build failure.

Fixes #1312

Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
2022-08-18 13:43:00 +02:00
Karolina Rogowska
9acaccf13f fix tests - proper io class config path
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2022-08-18 13:27:06 +02:00
Karolina Rogowska
0262065aab
Merge pull request #1289 from karolinavelkaja/fix_test_user_cli
tests: fix step "Try to zero metadata with 'sudo'." in test_user_cli
2022-08-18 11:02:38 +02:00
jwirkus
8ff10a48ba add fuzzy statistics and fuzzy io class tests
Signed-off-by: jwirkus <jakubx.wirkus@intel.com>
2022-08-16 18:20:16 +02:00
Karolina Rogowska
75ed4130f0
Merge pull request #1303 from DocentSzachista/OCI-264
add components version verification
2022-08-16 16:21:49 +02:00
Rafal Stefanowski
824e086ffb test/api: Add functionality to install particular CAS version
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2022-08-16 16:02:20 +02:00
Rafal Stefanowski
9f66143b70 test/api: Refactor checkout_cas_version()
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2022-08-16 16:01:18 +02:00
Adam Rutkowski
07e913a05f
Merge pull request #1308 from kmajzero/fix_rhel8.5
Rework for RHEL8.5
2022-08-16 14:43:34 +02:00
Krzysztof Majzerowicz-Jaszcz
e997f768b0 Rework for RHEL8.5
Rework for RHEL8.5 compatibility to avoid potential bug of exiting queue
after IO completion on a different CPU.

Targeted RHEL kernel version corrected.

Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
2022-08-16 13:50:59 +02:00
Piotr Debski
d736388d63 Recovery tests - CI
Bash tests rewritten to test-framework form open-cas-linux/test/smoke_test/recovery

Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-08-16 12:30:31 +02:00
Rafal Stefanowski
63f1c162b6 packaging: Fix debug package build
For debug symbols packages to build properly, we need to
instruct the compiler to produce debugging information
during the compilation process by adding a proper flag.
Additionally there is no point to create packages with
debug info in normal build, because it may crash the
package creation process if no debug info is found.

Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2022-08-16 01:29:22 +02:00
Rafal Stefanowski
8938310b61 packaging: modules paths and names fixup
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2022-08-16 01:29:22 +02:00
Damian Raczkowski
d7482cea0a tests: add test for adding invalid cores devices to caches
Signed-off-by: Damian Raczkowski <damian.raczkowski@intel.com>
2022-08-12 23:04:29 +02:00
Pawel Skwarlo
4c1101027f Test manual casadm flush - CI.
Signed-off-by: Pawel Skwarlo <pawel.skwarlo@intel.com>
2022-08-12 08:26:43 +00:00
Jan Musiał
13984c976a
Merge pull request #1306 from kmajzero/RHEL8.5_4.18_support
RHEL8.5 kernel 4.18 support fix
2022-08-12 09:35:02 +02:00
Krzysztof Majzerowicz-Jaszcz
b983eeb751 RHEL8.5 kernel 4.18 support fix
This patch adds support for RHEL8.5 with kernel 4.18.0.348.2.1.el8 and
later.

Additional request queue operations added for these kernels.
Configure scripts added/updated.

Fixes #1278

Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
2022-08-12 08:52:36 +02:00
Michał Mielewczyk
f82719231d
Merge pull request #1305 from arutk/drbdcmf
Update DRBD API usage (create-md requires force param)
2022-08-12 08:39:32 +02:00
Michał Mielewczyk
24c0335234
Merge pull request #1304 from mmichal10/missing-semicolons
Add missing semicolons in configure scripts
2022-08-11 14:57:47 +02:00
Michal Mielewczyk
e4bc62bd18 Add missing semicolons in configure scripts
Since commit 51dc893fc1 every script must take care about adding a semicolon at
the end of compilable line of code

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-08-11 13:33:31 +02:00
Rutkowski, Adam J
0a742831f4 Update DRBD API usage (create-md requires force param)
Signed-off-by: Rutkowski, Adam J <adam.j.rutkowski@intel.com>
2022-08-11 13:21:53 +02:00
Piotr Debski
98e2cb02c5 Tests fixes for test_write_fetch_partial_misses and test_write_fetch_full_misses
correct base device path - fixes for test_write_fetch_partial_misses and test_write_fetch_full_misses

Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-08-11 12:30:35 +02:00
Piotr Debski
fc07d06c7b Simulate startup test
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-08-10 15:05:34 +02:00
Robert Baldyga
645f221548
Merge pull request #1298 from robertbaldyga/configure-add-get-define
configure: Add get_define() helper function
2022-08-10 14:32:17 +02:00
Robert Baldyga
4603c0d6bb
Merge pull request #1301 from kmajzero/double_completion_fix
Potential double IO completion fix
2022-08-10 12:34:22 +02:00
Robert Baldyga
a4610f96cc configure: Add get_define() helper function
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-08-10 12:13:15 +02:00
Krzysztof Majzerowicz-Jaszcz
bd9548cff4 Potential double IO completion fix
In specific circumstances, IO could be completed twice.
This patch fixes this problem.

Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
2022-08-10 11:28:43 +02:00
DocentSzachista
15d5809507 tests: add components version verification test
Signed-off-by: Damian Raczkowski <damian.raczkowski@intel.com>
2022-08-10 00:13:10 +02:00
Robert Baldyga
51dc893fc1 configure: Don't append semicolon by default
This allows to pass not only C code, but also preprocessor directives.

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-08-09 19:49:38 +02:00
Robert Baldyga
d460d39374 configure: Fix coding style
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-08-09 19:49:38 +02:00
Robert Baldyga
3350c801ae
Merge pull request #1264 from pskwarlo/tsadcp
Add test_standby_activate_different_cache_path test
2022-08-08 17:34:30 +02:00
Pawel Skwarlo
32a87f1e0e Test for activating different cache path
Signed-off-by: Pawel Skwarlo <pawel.skwarlo@intel.com>
2022-08-08 14:54:47 +00:00
Robert Baldyga
b01b1c7c4f
Merge pull request #1282 from pdebski21/mark_standby_injection_tests
Add CI marks to standby fault injection tests
2022-08-06 13:45:43 +02:00
Robert Baldyga
f0991a4d0a
Merge pull request #1291 from pdebski21/test_fixes4
Test fixes
2022-08-06 13:36:28 +02:00
Robert Baldyga
17fe6976bc
Merge pull request #1295 from pskwarlo/tcp
Test cleaning policy.
2022-08-06 09:48:32 +02:00