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
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
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
Katarzyna Lapinska
3ebf3fb913
Add incremental load tests
2019-12-19 14:24:19 +01:00
Michal Rakowski
b755bb9121
Merge pull request #246 from katlapinka/prepare-fix
...
Small prepare fixes: remove dm devices and move setting default init config
2019-12-19 12:50:49 +01:00
Katarzyna Lapinska
24d9bc9448
Small prepare fixes: remove dm devices and move setting default init config
2019-12-19 11:55:03 +01:00
Michal Rakowski
2f26307ee7
Add functional tests for sequential cut-off
...
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-12-19 11:49:05 +01:00
Jan Musial
3ab388e9fe
Add test for errors on cache inserts
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2019-12-18 16:35:54 +01:00
Jan Musial
d9074c1950
Add cleanup of DM in conftest
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2019-12-18 16:35:54 +01:00
Jan Musial
62d7c96957
Fixes for CLI tests
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2019-12-18 16:35:54 +01:00
Katarzyna Lapinska
70955c1274
Adapt CAS API to handle disk plugging and fix for setting cleaning/cutoff params
2019-12-13 09:14:09 +01:00
Adam Rutkowski
da7005c1f9
Merge pull request #220 from rafalste/fix_tests_for_new_stats_api
...
Fix tests to use new statistics API
2019-12-11 16:32:34 +01:00
Marcin Dziegielewski
3d06a8191a
Add two new tests - data integrity 12h.
...
Submodule update.
Signed-off-by: Marcin Dziegielewski <marcin.dziegielewski@intel.com>
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-12-10 18:38:50 +01:00
Jan Musiał
9c7b485cef
Merge pull request #207 from rafalste/tests_fault_injection
...
Add fault injection tests (same ID, remove IO)
2019-12-10 15:36:33 +01:00
Rafal Stefanowski
017ec7196a
Fix tests to use new statistics API
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2019-12-10 15:06:54 +01:00
Katarzyna Łapińska
c5af20daee
Merge pull request #185 from Deixx/test-fixes
...
Test fixes
2019-11-29 15:10:12 +01:00
Robert Baldyga
a53846953c
Use TestRun.makereport()
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-11-29 13:04:25 +01:00
Robert Baldyga
263f3137da
Raise exception instead of using TestRun.exception()
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-11-29 13:04:25 +01:00
Rafal Stefanowski
f68d34b3ad
Add fault injection tests (same ID, remove IO)
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2019-11-29 10:44:07 +01:00
Rafal Stefanowski
923015ed1e
Improve handling of process killing
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2019-11-28 11:50:44 +01:00
Daniel Madej
695d9a688f
Changes after review
...
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2019-11-27 15:27:48 +01:00
Daniel Madej
830bcfd1b0
Test for exporting current IO class configuration to a file
...
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2019-11-27 15:27:48 +01:00
Robert Baldyga
913be2c7b8
tests: Don't use log before it's created
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-11-27 13:10:01 +01:00
Robert Baldyga
6e1770804b
tests: Add missing import pytests in conftest.py
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-11-27 12:46:38 +01:00
Michał Mielewczyk
e70a807839
Merge pull request #200 from robertbaldyga/fix-exceptions
...
tests: Handle pytest test state properly
2019-11-27 11:11:31 +01:00
Robert Baldyga
116d13364b
tests: Handle pytest test state properly
...
- Log information about test fail in case of exception.
- Skip teardown in case of test skip (setup is skipped by default).
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-11-27 10:42:25 +01:00
Michal Mielewczyk
9c31e15d48
Override DUT's disks in conftest.
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-11-20 22:07:19 -05:00
Michal Rakowski
2203a46319
tests: add basic sequential cut off tests
2019-11-21 12:24:37 +01:00
Katarzyna Lapinska
783daba8d4
Improve error handling and exception messages
2019-11-14 10:47:57 +01:00