Commit Graph

97 Commits

Author SHA1 Message Date
Katarzyna Łapińska
5c77bbd00b
Merge pull request #303 from rafalste/tests_set_get_params
Add tests for casadm --set-param and --get-param options check
2020-01-31 10:28:19 +01:00
Michał Mielewczyk
3fdfffffc3
Merge pull request #251 from Ostrokrzew/stress
Add stress test for small caches
2020-01-31 09:11:10 +01:00
Katarzyna Lapinska
80c1306ec4 Fix for io class file classification tests 2020-01-30 14:32:42 +01:00
Ostrokrzew
460cbe7ccc Add stress test for small caches
Add IO stress tests for small CAS devices with 1 or 4 cores for every cache mode
and cache line size and with every cleaning policy for WB and WO modes.

Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-01-30 14:01:06 +01:00
Rafal Stefanowski
15c8973f45 Add tests for casadm --set-param and --get-param options check
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2020-01-27 12:07:12 +01:00
Katarzyna Lapinska
8204fa8a56 Update Init config usage and remove WI cache mode 2020-01-27 10:34:05 +01:00
Daniel Madej
c5019cb772
Merge pull request #284 from Ostrokrzew/sec
Security test fix
2020-01-24 15:19:18 +01:00
Daniel Madej
9ad85e3338 Update statistics usage to use stats classes
Rename set_statistics_deprecated to set_statistics_flat, as flat
statistics are sometimes more useful and actually not deprecated.

Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2020-01-23 13:39:51 +01:00
Slawomir Jankowski
a3a809bd81 Security test fix
Fix for creating partition on partition:
now partition would be created on parent device.
Code fixes.

Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-01-21 12:19:02 +01:00
Jan Musiał
159df1fb3e
Merge pull request #262 from mdziegie/5d
tests/data_integrity: Add two new 5 days long data integrity tests
2020-01-21 12:13:31 +01:00
Robert Baldyga
dbcbf17f88
Merge pull request #276 from Ostrokrzew/test_update
Test update
2020-01-21 11:36:04 +01:00
Marcin Dziegielewski
a1368b63f7 tests/data_integirty: Add two new 5 days long data integrity tests
This patch adds two new 5 days long data integirty tests:
- on raw devices with different cache modes
- on different filesystems with loaded io calss config

Signed-off-by: Marcin Dziegielewski <marcin.dziegielewski@intel.com>
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2020-01-21 11:27:55 +01:00
Jan Musiał
53e9435a1f
Merge pull request #270 from katlapinka/incremental-load-udev-tests
Add incremental load udev tests
2020-01-20 10:47:31 +01:00
Slawomir Jankowski
ca36614448 Test update
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-01-20 09:00:39 +01:00
Robert Baldyga
74aac27006
Merge pull request #255 from rafalste/tests_cleaning_policy
Add tests for cleaning policies operation
2020-01-17 17:22:08 +01:00
Robert Baldyga
4e502eb3a6
Merge pull request #250 from imjfckm/test-errors-on-cores
Test errors on cores
2020-01-17 17:20:27 +01:00
Katarzyna Lapinska
35f3409a47 Add incremental load udev tests 2020-01-17 09:37:10 +01:00
Jan Musial
21f18b70db Tests for errors on core device
Signed-off-by: Jan Musial <jan.musial@intel.com>
2020-01-17 09:14:45 +01:00
Rafal Stefanowski
1e0ed86ce7 Add tests for cleaning policy operation
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2020-01-16 17:12:25 +01:00
Katarzyna Łapińska
acd6171848
Merge pull request #265 from micrakow/kedr
Add basic kedr test
2020-01-16 12:51:21 +01:00
Sławomir Jankowski
0fb4d76e35
Merge pull request #279 from katlapinka/groups_cleanup
Cleanup test groups directories (fault injection and cache ops)
2020-01-16 10:36:58 +01:00
Katarzyna Lapinska
3cf0cf2642 Cleanup test groups (fault injection and cache ops) 2020-01-16 09:52:30 +01:00
Michal Rakowski
34e7a81635 Add tests using kedr - load/unload modules, start/stop cache
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2020-01-15 16:29:00 +01:00
Michal Rakowski
5edbf2a5a9 conftest: execute casadm-related cleanup only if CAS is installed during teardown
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2020-01-15 15:02:48 +01:00
Daniel Madej
97c8d07b77
Merge pull request #271 from robertbaldyga/test-example-power-control
tests: Add example test using power_control plugin
2020-01-15 14:40:16 +01:00
Jan Musial
79e54b81a6 Kill all IO on teardown
Signed-off-by: Jan Musial <jan.musial@intel.com>
2020-01-15 13:34:44 +01:00
Katarzyna Łapińska
45e862fdbd
Merge pull request #264 from rafalste/tests_software_hot_plug
Add tests for cache/core software hotplug
2020-01-15 09:08:35 +01:00
Robert Baldyga
e7d3fada4d
Merge pull request #248 from katlapinka/init-config-class
Create init config class representation
2020-01-14 13:31:17 +01:00
Rafal Stefanowski
f13602cbf6 Add tests for cache/core software hotplug
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2020-01-14 11:36:48 +01:00
Robert Baldyga
9dc7f9aea7 tests: Add example test using power_control plugin
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2020-01-14 10:27:45 +01:00
Katarzyna Lapinska
53664937ba Create init config class representation 2020-01-14 09:35:30 +01:00
Michał Mielewczyk
dd908053fb
Merge pull request #272 from robertbaldyga/tests-enable-serial-log-plugin
tests: Enable serial_log plugin
2020-01-13 16:37:47 +01:00
Robert Baldyga
5756edac1b tests: Enable serial_log plugin
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2020-01-13 16:09:25 +01:00
Robert Baldyga
ee88cafc26 tests: Add test for CAS startup on reboot
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2020-01-07 09:43:55 +01:00
Michal Rakowski
8180736c67
Merge pull request #263 from robertbaldyga/tests-update-tf-plugins
tests: Update TF - plugins
2020-01-07 09:09:17 +01:00
Robert Baldyga
a38f76d28a tests: Update TF - plugins
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2020-01-07 08:59:00 +01:00
Ostrokrzew
154fb6567f Add security test
Check if non-root user can change OpenCAS service status by casctl.
Check if non-root user can use casadm.

Signed-off-by: Ostrokrzew <slawomir.jankowski@intel.com>
2020-01-03 08:45:12 +01:00
Daniel Madej
0d663a37f1
Merge pull request #230 from Ostrokrzew/init2
Cache configuration load - every mode - 1 cache 1 or 4 cores
2020-01-02 13:03:46 +01:00
Ostrokrzew
e2ad1a47f3 Add initialize tests
Verify that cache loading works properly with extra params - every mode - 1 cache and 1 or 4 cores.
Verify that cache loading works properly with no extra params - every mode - 1 cache and 1 or 4 cores.
Verify that cache loading works properly with different extra params - every mode - 1 cache and 1 or 4 cores.

Signed-off-by: Ostrokrzew <ostrokrzew@protonmail.com>
2020-01-02 08:58:06 +01:00
Robert Baldyga
8676dd2384
Merge pull request #197 from Ostrokrzew/last
Add fault injection tests and update stress tests file
2019-12-30 18:58:23 +01:00
Daniel Madej
b1bd3578db
Merge pull request #223 from mariuszbarczak/introducing-new-io-class-caching-rule-file-name-prefix
Introducing a new IO class caching rule - file name prefix
2019-12-30 10:57:47 +01:00
Robert Baldyga
7f86961447 tests: Add test for classification by file name prefix
Signed-off-by: Mariusz Barczak <mariusz.barczak@intel.com>
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-12-27 14:09:15 +01:00
Robert Baldyga
9286c0eae7
Merge pull request #168 from Deixx/effective-ioclass
Test for determining effective io class
2019-12-27 12:24:35 +01:00
Daniel Madej
02e19e466c Test for determining effective io class
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2019-12-23 13:51:09 +01:00
Slawomir_Jankowski
40c91426ba Add fault injection tests
Try load cache with core device already mounted.
OpenCAS prevents stop when partition is mounted.
Check if used in one CAS instance core device can be added to second CAS instance.

Signed-off-by: Slawomir_Jankowski <slawomir.jankowski@intel.com>
2019-12-23 12:00:38 +01:00
Slawomir_Jankowski
4c77a7a4ff Test update
Update test after separating functions from this test to other files.
Add 'dut_config' to .gitignore.

Signed-off-by: Slawomir_Jankowski <slawomir.jankowski@intel.com>
2019-12-23 12:00:38 +01:00
Sławomir Jankowski
8356174d80
Merge pull request #236 from rafalste/tests_cache_mode_switching
Add tests for dynamic cache mode switching
2019-12-23 11:59:49 +01:00
Rafal Stefanowski
d0f19af99a Add tests for dynamic cache mode switching
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2019-12-20 16:38:10 +01:00
Jan Musiał
662129aa40
Merge pull request #226 from katlapinka/incremental-load-tests
Add incremental load tests
2019-12-20 13:30:55 +01:00
Katarzyna Lapinska
844411864f Add incremental load tests with core pool 2019-12-20 10:13:25 +01:00