Commit Graph

449 Commits

Author SHA1 Message Date
Michal Rakowski
a62458808d
Merge pull request #247 from robertbaldyga/ocf-fix-null-ptr-def-in-cleaner
Update OCF: Fix NULL pointer dereference in cleaner
2019-12-19 18:08:12 +01:00
Robert Baldyga
6a1d31cc04 Update OCF: Fix NULL pointer dereference in cleaner
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-12-19 17:05:31 +01:00
Sławomir Jankowski
719b2766fd
Merge pull request #245 from robertbaldyga/ocf-fix-cleaner-race-condition
Update OCF: Fix cleaner race condition
2019-12-19 12:53:13 +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
Daniel Madej
c51866989f
Merge pull request #224 from katlapinka/cli-msg-validate
Add API to validate CAS CLI messages
2019-12-19 12:32:09 +01:00
Daniel Madej
13dc5b402d
Merge pull request #215 from micrakow/seq_cutoff_tests
Add functional tests for sequential cut-off
2019-12-19 12:30:22 +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
Robert Baldyga
6846de28a2 Update OCF: Fix cleaner race condition
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-12-19 11:53:49 +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
rafalste
a9a6134583
Merge pull request #217 from imjfckm/insert_errors_test
Insert errors test
2019-12-19 11:13:58 +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
Jan Musial
3908ab261b Minor fixes in CAS API
Signed-off-by: Jan Musial <jan.musial@intel.com>
2019-12-18 15:02:52 +01:00
Daniel Madej
9cabf06ed4
Merge pull request #242 from rafalste/fix_api_minor_issues
Fix minor issues in API
2019-12-18 14:15:09 +01:00
Rafal Stefanowski
b6d9892499 Add string representation for cleaning policy
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2019-12-18 10:17:27 +01:00
Rafal Stefanowski
a9f74d43a2 Fix Time class output
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2019-12-18 10:17:06 +01:00
Rafal Stefanowski
b1c90bf574 Fix typo in casadm_parser.py
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2019-12-18 10:16:27 +01:00
Jan Musiał
743de9a438
Merge pull request #225 from katlapinka/cas-api-plug-and-cache-params
Adapt CAS API to handle disk plugging and fix for setting clean…
2019-12-18 09:01:45 +01:00
Katarzyna Lapinska
bc9fb51482 Add API to validate CAS CLI messages 2019-12-18 09:00:37 +01:00
Michal Rakowski
40eaa3bd78
Merge pull request #240 from mmichal10/fix-staring-cache
Fix starting cache on devices bigger than 5GB
2019-12-17 16:47:01 +01:00
Michal Mielewczyk
447f754a63 Fix starting cache on devices bigger than 5GB
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-12-17 10:36:23 -05:00
Adam Rutkowski
a2019e5468
Merge pull request #238 from Ostrokrzew/submod
Submodule update
2019-12-17 11:00:44 +01:00
Ostrokrzew
93fc56297e Submodule update
closes #237 issue.

Signed-off-by: Ostrokrzew <slawomir.jankowski@intel.com>
2019-12-17 10:12:14 +01:00
rafalste
8af406274d
Merge pull request #232 from rafalste/cache_mode_string
Add string representation for cache mode
2019-12-16 15:08:47 +01:00
Rafal Stefanowski
b1e653a61c Add string representation for cache mode
When relating to CacheMode enum, returned value was for example "CacheMode.WT"
which doesn't look very pretty in logs or output.

Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2019-12-16 11:13:35 +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
Robert Baldyga
1d2ecfad0e
Merge pull request #229 from imjfckm/fix-pp-init
Fix configuring cache with PP in init script
2019-12-12 10:49:32 +01:00
Jan Musial
f385cc79ea Fix configuring cache with PP in init script
Signed-off-by: Jan Musial <jan.musial@intel.com>
2019-12-12 10:23:52 +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
Robert Baldyga
7fb9d1008e
Merge pull request #218 from rafalste/stats_api
Add new statistics API
2019-12-11 16:24:29 +01:00
Robert Baldyga
691cd81f18
Merge pull request #228 from imjfckm/fix-removing-inactive-core
Fix removing clean inactive core
2019-12-11 16:15:36 +01:00
Rafal Stefanowski
1899b1e853 Add new statistics API
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2019-12-11 16:00:03 +01:00
Jan Musial
4c9465b3bf Fix removing clean inactive core
When removing core that's inactive, allow it without "--force" option if
that core is clean.

Signed-off-by: Jan Musial <jan.musial@intel.com>
2019-12-11 13:50:22 +01:00
Jan Musiał
093501d4b6
Merge pull request #204 from mdziegie/12h
Add two new tests - data integrity 12h.
2019-12-11 07:55:57 +00: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
60200e9fb8
Merge pull request #203 from robertbaldyga/dont-copy-results
tests: Don't copy previous results to DUT during CAS installation
2019-12-03 09:00:35 +01:00
Katarzyna Łapińska
be81832e84
Merge pull request #214 from rafalste/fix_attribute_ref
Fix StatsFilter attribute reference
2019-12-03 08:52:15 +01:00
Rafal Stefanowski
c168244fa6 Fix attribute reference
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2019-12-02 14:35:08 +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
718763374b
Merge pull request #210 from robertbaldyga/remove-testrun-exception
Update test-framework submodule
2019-11-29 13:36:19 +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
Robert Baldyga
d797bc7211
Merge pull request #209 from liuhongtong/master-lht-casctl
utils: casctl needs python 3.5+
2019-11-29 11:41:57 +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
liuhongtong
087dd29560 utils: casctl needs python 3.5+
opencas.py invokes subprocess.run().
Only python 3.5 and later versions support subprocess.run().

Signed-off-by: liuhongtong <hongtongliu@126.com>
2019-11-29 11:12:58 +08:00
Robert Baldyga
18c77daec9
Merge pull request #198 from rafalste/improve_process_killing
Improve handling of process killing ('open-cas-linux' + 'test-framework' changes)
2019-11-28 16:57:41 +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