Commit Graph

793 Commits

Author SHA1 Message Date
Robert Baldyga
c933f79d9b
Merge pull request #430 from imjfckm/dont-check-tf-in-configure
Don't check TF presence in configure
2020-06-10 16:10:33 +02:00
Robert Baldyga
54eb642015
Merge pull request #388 from Ostrokrzew/help
Rebuild test for *help* command
2020-06-10 16:10:14 +02:00
Robert Baldyga
281c57fae5
Merge pull request #425 from katlapinka/recovery-tests
Add new recovery tests for cache modes with lazy writes
2020-06-09 14:55:32 +02:00
Katarzyna Lapinska
a98fe4886a Add recovery tests
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2020-06-08 12:09:26 +02:00
Robert Baldyga
f0594dce3a
Merge pull request #433 from Ostrokrzew/prom_test
Update promotion test due to a ban on using 'load' and 'force' option simultaneously
2020-06-08 12:03:03 +02:00
Slawomir Jankowski
f03a199d12 Update promotion test due to a ban on using 'load' and 'force' option simultaneously
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-06-08 11:38:42 +02:00
Slawomir Jankowski
5ece6efa40 Add test for 'version' command
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-06-08 11:15:02 +02:00
Robert Baldyga
0ad78a118f
Merge pull request #421 from rafalste/rpm_debug_symbols
Create debug symbols for RPM
2020-06-08 09:28:22 +02:00
Rafal Stefanowski
c6cfaa55f5 Create debug symbols for RPM
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2020-06-03 10:34:37 +02:00
Jan Musial
d244b2a340 Don't check TF presence in configure
Since test-framework isn't needed to compile CAS I suggest we remove the
check for it in configure.

Signed-off-by: Jan Musial <jan.musial@intel.com>
2020-06-03 09:47:10 +02:00
Robert Baldyga
a03a27f1d5
Merge pull request #377 from rafalste/tests_statistics_integrity
Test for proper statistics values
2020-06-02 13:22:09 +02:00
Robert Baldyga
028186b112
Merge pull request #429 from robertbaldyga/wo-read-clean-sec-cache
Update OCF - WO data inconsistency mitigation
2020-06-02 11:04:24 +02:00
Rafal Stefanowski
04b2fc6bd5 Test for proper statistics values
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2020-06-02 10:25:57 +02:00
Robert Baldyga
bfe107d894 Update OCF - WO data inconsistency mitigation
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2020-06-01 16:46:54 +02:00
Robert Baldyga
7bd09878f9
Merge pull request #428 from robertbaldyga/tf-plugins-provided-by
Update test-framework and update example config
2020-06-01 16:37:39 +02:00
Robert Baldyga
d4bca2756f
Merge pull request #414 from Ostrokrzew/load
Disable the possibility to use the 'load' and 'force' flags at once
2020-06-01 15:28:38 +02:00
Slawomir Jankowski
0903541160 Add new error message to 'cli_mesages'
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-06-01 13:30:07 +02:00
Slawomir Jankowski
394313002b Add test for wrong flag combination in start command
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-06-01 13:30:07 +02:00
Slawomir Jankowski
1b7c425fae Disable the possibility to use the 'load'
and 'force' flags at once

Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-06-01 13:21:53 +02:00
Slawomir Jankowski
4b26b05b9f Rebuild test for *help* command
Test all *help* call cases, even wrong.

Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-06-01 12:32:54 +02:00
Slawomir Jankowski
24a8619f9a Add file with *help* messages
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-06-01 12:32:54 +02:00
Robert Baldyga
16ac54af17 Update test-framework and update example config
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2020-06-01 12:32:36 +02:00
Robert Baldyga
69da7f5677
Merge pull request #420 from mmichal10/core-id-rule
Core id ioclass rule
2020-05-29 15:13:39 +02:00
Robert Baldyga
d11f434a76
Merge pull request #424 from mmichal10/improve-installer
Improve installer
2020-05-27 16:26:27 +02:00
Robert Baldyga
2ee69dc919
Merge pull request #422 from mmichal10/fix-purge-wrapper
test api: fix purge command wrapper name
2020-05-27 16:26:13 +02:00
Michal Mielewczyk
e34477690c test api: allow to get commit hash from DUT
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-05-27 09:18:01 -04:00
Michal Mielewczyk
c99631bc73 test api: don't copy sources in set_up_opencas()
This way set_up_opencas() can be reused in tests

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-05-27 09:18:01 -04:00
Michal Mielewczyk
8e50f1c219 test api: allow to install particular CAS version
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-05-27 09:18:01 -04:00
Michal Mielewczyk
ce84b811b7 test api: split installer into smaller steps
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-05-27 09:18:01 -04:00
Michal Mielewczyk
3f8f033c4c test api: clean CAS repo before build
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-05-27 09:18:01 -04:00
Michal Mielewczyk
bd8b88b55d test api: wrapper for git checkout command
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-05-27 09:18:01 -04:00
Michal Mielewczyk
a9835183d8 test api: wrapper class for CAS version
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-05-27 05:37:38 -04:00
Michal Mielewczyk
8def35c986 test api: wrapper for retrieving CAS release tags
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-05-26 09:54:36 -04:00
Robert Baldyga
80327aea1b
Merge pull request #418 from rafalste/pckgen_deps
Fix pckgen dependencies
2020-05-25 15:04:25 +02:00
Robert Baldyga
a3b57818d1
Merge pull request #403 from Ostrokrzew/zero
Introduce zero-metadata command
2020-05-25 11:58:40 +02:00
Michal Mielewczyk
b51d75ff5e Test for core id based io classification
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-05-25 05:16:35 -04:00
Michal Mielewczyk
25b1fb086e test api: fix purge command wrapper name
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-05-25 05:11:29 -04:00
Slawomir Jankowski
fe704f83cf Introduce zero-metadata command
Add function *zero_md* in *cas_lib* to handle
new command for zeroing metadata.

Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-05-25 10:54:53 +02:00
Slawomir Jankowski
9750883d99 Introduce zero-metadata command
Add 'zero-metadata' option to *casadm*.
Handle new option.
Add struct for new option.

Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-05-25 10:54:04 +02:00
Michal Mielewczyk
b0f8a67071 Core id based io classification
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-05-21 08:44:20 -04:00
Robert Baldyga
0f0ef6a9c4
Merge pull request #408 from mmichal10/test-acp-discard
Test for triggered WBT
2020-05-21 12:25:43 +02:00
Michal Mielewczyk
c232dd36d9 Test for triggered WBT 2020-05-21 04:30:57 -04:00
Robert Baldyga
673ff88fff
Merge pull request #383 from rafalste/tests_stat_max
Tests for max cache/core stats
2020-05-20 23:00:56 +02:00
Robert Baldyga
1e25420f86
Merge pull request #404 from rafalste/copyright_update
Update copyright statements
2020-05-19 11:25:11 +02:00
Robert Baldyga
c7f3e52411
Merge pull request #309 from Deixx/ioclass-stats
IO class stats - refactor and test for statistics sections
2020-05-18 17:55:24 +02:00
Rafal Stefanowski
72387d61fd Fix pckgen dependencies
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2020-05-15 15:18:28 +02:00
Robert Baldyga
2a77fd3d4d
Merge pull request #411 from mmichal10/purge
Purge
2020-05-14 11:54:08 +02:00
Michal Mielewczyk
84f2dc3c07 CLI test for purge commands
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-05-12 11:32:01 -04:00
Michal Mielewczyk
c28babde8b tests: Wrappers for purge commands
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-05-12 11:32:01 -04:00
Michal Mielewczyk
3b62e40a2e Purge core command
Purge invalidates all cache lines which belongs to given core. It is very
usefull feature for tests.

Calling purge is possbile with casadm `--script` swtich.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-05-12 11:32:01 -04:00