Commit Graph

1949 Commits

Author SHA1 Message Date
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
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
Pawel Skwarlo
d7f80d25af Black module code formatting fix.
Signed-off-by: Pawel Skwarlo <pawel.skwarlo@intel.com>
2022-08-04 15:28:20 +00:00
Pawel Skwarlo
2df39d052d Test cleaning policy.
Signed-off-by: Pawel Skwarlo <pawel.skwarlo@intel.com>
2022-08-04 15:21:57 +00:00
Karolina Rogowska
ed93873bd8 fix test_cli_help
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2022-08-04 12:19:41 +02:00
Karolina Rogowska
6d57168de4 fix step "Try to zero metadata with 'sudo'." in test_user_cli
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2022-08-04 12:17:13 +02:00
Karolina Rogowska
b987fb32a2
Merge pull request #1290 from karolinavelkaja/fix_test_check_number_of_processes
tests: fix test_check_number_of_processes
2022-08-03 16:47:36 +02:00
Rafal Stefanowski
70c8df40f3 test: Add weak modules test
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2022-08-01 15:19:25 +02:00
Robert Baldyga
5259b4861f
Merge pull request #1292 from robertbaldyga/readme-v22.6
Update OpenCAS version recommended in README
2022-08-01 14:16:33 +02:00
Piotr Debski
11b7f081f1 Fix for test test_interrupt_core_remove
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-08-01 13:54:21 +02:00
Karolina Rogowska
e437523622
Merge pull request #1284 from pdebski21/include_standby_tests_ci_scope
Include standby tests for CI scope
2022-07-27 12:38:35 +02:00
Robert Baldyga
f194f9b869 Update OpenCAS version recommended in README
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-07-27 10:03:44 +02:00
Piotr Debski
36581db666 test_stop_cache_with_mounted_partition fix
not matching error message check

Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-07-26 17:02:25 +02:00
Karolina Rogowska
170f62a2ba fix test_check_number_of_processes
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2022-07-26 16:57:13 +02:00
Robert Baldyga
8062417d10
Merge pull request #1188 from mmichal10/test-standby-fi-improvement
tests: improve standby fault injection tests
2022-07-25 15:57:25 +02:00
Michal Mielewczyk
c13dd5bc88 tests: improve standby fault injection tests
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-07-25 13:00:35 +02:00
Piotr Debski
d678612c35 Include standby tests for CI scope
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-07-25 10:31:06 +02:00
Robert Baldyga
9081ce3bb6
Merge pull request #1286 from robertbaldyga/license-headers-__init__.py
Add missing license headers
2022-07-22 14:48:00 +02:00