summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* CNS: adding testcase CNS-450 - Restart heketi podApeksha D Khakharia2018-10-311-0/+63
| | | | | Change-Id: Ie68628cb0f083fd5cd1ec9cd88a4c490bfca2e88 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* Merge "CNS: adding testcases for storage class block"Krishnaram Karthick Ramdoss2018-10-291-38/+63
|\
| * CNS: adding testcases for storage class blockApeksha D Khakharia2018-10-271-38/+63
| | | | | | | | | | | | | | CNS-725, 727, 728 Change-Id: I6fb8858c018f02b06cd6d011cb01939505de6d19 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | CNS[716] add testcase for sc mandatory parameters blockApeksha D Khakharia2018-10-261-7/+17
| | | | | | | | | | Change-Id: Ia289806f9f26ba12eb3df079603d3ba660f7c4a4 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | Merge "CNS-764 test functionality of device enable using heketi-cli"Krishnaram Karthick Ramdoss2018-10-251-0/+245
|\ \
| * | CNS-764 test functionality of device enable using heketi-cliMadhu Rajanna2018-10-251-0/+245
| | | | | | | | | | | | | | | | | | | | | | | | | | | This test cases test the functionality of device enable from heketi-cli Signed-off-by: Madhu Rajanna <mrajanna@redhat.com> Change-Id: Id0b3779eb5130e7d2d14ee6722a8b1c54fc9d830 Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
* | | Merge "CNS: CNS-438 DynamicProvisioning_GlusterFile_heketiDown_PVC_Delete"Valerii Ponomarov2018-10-251-1/+41
|\ \ \
| * | | CNS: CNS-438 DynamicProvisioning_GlusterFile_heketiDown_PVC_DeleteApeksha D Khakharia2018-10-251-1/+41
| | | | | | | | | | | | | | | | | | | | Change-Id: I08da2de80d77c1c3f4ab66d2d983a6730d900bfb Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | | | Merge "[CNS-1040] Resize PVC exceeding available free space"Valerii Ponomarov2018-10-251-21/+93
|\ \ \ \ | |/ / / |/| | |
| * | | [CNS-1040] Resize PVC exceeding available free spaceValerii Ponomarov2018-10-241-21/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure that after failed attempt of PVC resize application POD continues to work and we are able to write data. Change-Id: I1dda1e4698ca4e569aa67740c2e9a5dca9a4e7bf
* | | | Merge "[CNS-989,997] Create arbiter vol setting 'required' tag"Valerii Ponomarov2018-10-241-7/+87
|\ \ \ \ | |/ / / |/| | |
| * | | [CNS-989,997] Create arbiter vol setting 'required' tagValerii Ponomarov2018-10-171-7/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create arbiter volumes after setting "arbiter:required" tag either to one node or its devices. All other nodes or their devices are set with "arbiter:disabled" tag. Change-Id: Ie5f26e194f97b2a0923132c485b445ead9672843
* | | | CNS-439: adding heketi_down_pvc_delete caseApeksha D Khakharia2018-10-241-1/+41
| | | | | | | | | | | | | | | | | | | | Change-Id: Id3b679cf3193b36bfd10fc498fb0ba930c5d2536 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | | | Merge "Fix all existing pep8 errors"Valerii Ponomarov2018-10-247-57/+52
|\ \ \ \
| * | | | Fix all existing pep8 errorsValerii Ponomarov2018-10-237-57/+52
| | | | | | | | | | | | | | | | | | | | Change-Id: I97c949614ca70ea3e732c8c2ca70022d062ad04c
* | | | | Merge "[CNS-1182-1190] Create arbiter volumes specifying avg file size"Valerii Ponomarov2018-10-241-2/+98
|\ \ \ \ \ | | |/ / / | |/| | / | |_|_|/ |/| | |
| * | | [CNS-1182-1190] Create arbiter volumes specifying avg file sizeValerii Ponomarov2018-10-171-2/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add data-driven test case where we create arbiter volume and verify that we are able to create expected amount of files on arbiter brick mounts. Change-Id: I9c719be01be24f4a92d1ed73ee9f1e71ee11bb88
* | | | Merge "[CNS-942] Add distributed arbiter vol creation"Valerii Ponomarov2018-10-231-21/+154
|\| | | | |/ / |/| |
| * | [CNS-942] Add distributed arbiter vol creationValerii Ponomarov2018-10-171-21/+154
| | | | | | | | | | | | Change-Id: I9935e067257dbf8f1e267e13efb72b1b0b3cf772
* | | Merge "CNS:CNS-753 CNS-754 enable and disable node"Valerii Ponomarov2018-10-221-0/+140
|\ \ \
| * | | CNS:CNS-753 CNS-754 enable and disable nodeMadhu Rajanna2018-10-221-0/+140
| | |/ | |/| | | | | | | | | | Change-Id: I00586ecd7ac2270721194542c07f51d2ca5ef807 Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
* | | Merge "[CNS-550] Try to create block volume exceeding free space"Valerii Ponomarov2018-10-221-0/+38
|\ \ \
| * | | [CNS-550] Try to create block volume exceeding free spaceValerii Ponomarov2018-10-181-0/+38
| | |/ | |/| | | | | | | | | | | | | | | | Validate behaviour of the system when we try to create block volume of size bigger than we have available free space. Change-Id: I754e09f7fc27ce9b7ac2b01dda163ce20573e963
* / | CNS: adding libraries and 2 testcases for pv resizeApeksha D Khakharia2018-10-181-0/+129
|/ / | | | | | | | | Change-Id: Idae22a28e4da867fd0567cbec49760d6f3a374f6 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | CNS: moving libraries from dynamic_provsioning.py to openshift_ops.pyApeksha D Khakharia2018-10-105-103/+11
| | | | | | | | | | Change-Id: I84b0399bad021fed29044c1946fdf27cccc2b6c8 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | Refactor 'test_dynamic_provisioning_block_p0_cases' moduleValerii Ponomarov2018-10-041-220/+148
| | | | | | | | | | | | | | | | | | | | | | Improvements: - Stop using 'create_mongodb_pod' function, it is replaced with lightweight analog, which works ok on OCP3.11 - Pick up Glusterfs POD for recreation intelligently in 'gluster POD failure' test case. - Create secrets and storage classes from CLI, not using files. Change-Id: I28d819574533573e5f397e2d2db6f0433a59eb99
* | Refactor 'test_dynamic_provisioning_p0_cases' moduleValerii Ponomarov2018-10-041-289/+193
| | | | | | | | | | | | | | | | | | | | | | Improvements: - Stop using 'create_mongodb_pod' function, it is replaced with lightweight analog, which works ok on OCP3.11 - Pick up Glusterfs POD for recreation intelligently in 'gluster POD failure' test case. - Create secrets and storage classes from CLI, not using files. Change-Id: I26ba5046014b84caacbf9ab94a2509b4324e112f
* | Skip 'test_add_device_heketi_cli' test as affected by bugValerii Ponomarov2018-09-261-0/+1
|/ | | | | | | | | | Blocked by BZ-1629889. When referenced bug is fixed completely we should refactor this test first, making it not dependent on the specific volume sizes as it is now. Change-Id: I1d4c4a0605fd800fa8450f92dab7b50e29856a5e
* [CNS-945] Add arbiter test caseValerii Ponomarov2018-09-241-0/+69
| | | | | | Where we create POD with mounted arbiter volume and write data to it. Change-Id: I3a757f7fd71a0fd3f9f7d3cea463bbba5e399ec4
* Merge "Refactor 'test_volume_creation' test module"Valerii Ponomarov2018-09-211-43/+68
|\
| * Refactor 'test_volume_creation' test moduleValerii Ponomarov2018-09-191-43/+68
| | | | | | | | | | | | | | | | Making its 'test_volume_creation_no_free_devices' test be aware of the actual available free space, which will make it work much more reliably. Change-Id: I2555ffeaad825b16ffee7ded067eab92d40519e4
* | Merge "Added library for scalling jenkins"Valerii Ponomarov2018-09-201-0/+14
|\ \ | |/ |/|
| * Added library for scalling jenkinsvamahaja2018-09-201-0/+14
| | | | | | | | | | Change-Id: I49932f43ac4e41f06c559d1d18d142b8a084278e Signed-off-by: vamahaja <vamahaja@redhat.com>
* | Merge "Skip 2 tests due to blocker-bug"Valerii Ponomarov2018-09-191-1/+3
|\ \
| * | Skip 2 tests due to blocker-bugValerii Ponomarov2018-09-181-1/+3
| |/ | | | | | | | | | | | | | | | | | | | | Skip 2 tests in 'test_heketi_volume_operations' test module due to existing unfixed bug: BZ-1629889 After fix of this bug, these 2 tests should be refactored the way, where we leave Heketi cluster as was, not changing set of disks, as it is now. Change-Id: I020e7b91c41c3bd93cf1984f733adcdcbd361f92
* / Refactor 'test_disabling_device' test moduleValerii Ponomarov2018-09-171-93/+103
|/ | | | | | | | The single test in this module passes only in small amount of Heketi cluster states. So, refactor it completely to be reliable making it fail only on proper errors. Change-Id: I29251d4265ec5916d41bd3d69e21492f89097337
* [CNS-944] Add test with arbiter volume creationValerii Ponomarov2018-09-102-0/+122
| | | | Change-Id: I257f3e6a7389c9f15a4388c241e787782c186d14
* CNS: adding testcases for storage classApeksha D Khakharia2018-09-061-0/+71
| | | | | | | CNS-708,709,713,714,715 Change-Id: I61965e6d8b17b4bb49b10ebe26140945da9c4576 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* CNS-442 storage-class mandatory parametersApeksha D Khakharia2018-08-271-0/+56
| | | | | Change-Id: Ie3169e77e542201167fa57bee710e600b25b5a74 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* Add new library for creation of DC with app PODsValerii Ponomarov2018-08-231-45/+53
| | | | | | | | | | Constant I\O will run on its PODs. PODs are based on lightweight image called "cirros", which weighs about 10Mb. I\O will run on the mounted PV from PVC we specified in function arguments. Reuse this new function in couple of tests to show that it works. Change-Id: I7ae6c252a35f566ec674c8f8c17847fc37b554b8
* CNS: new library - heketi-scale-pod, pod-state-readyApeksha D Khakharia2018-08-062-111/+34
| | | | | Change-Id: I97eb3ae1d0af48d405a0187fe585e2732658f809 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* Merge "Refactor 'heketi_node_list' function"Krishnaram Karthick Ramdoss2018-07-276-86/+22
|\
| * Refactor 'heketi_node_list' functionValerii Ponomarov2018-07-196-86/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do following improvements to this function: - Remove support of python Heketi client, because it is dead code. It is dead code, because all of the tests which use this function, explicitly depend on the CLI output, not being compatible with it. - Remove useless 'json' arg, as CLI client does not support it for 'node list' command. - Parse list of node IDs in it, not delegating this to the consumer. - Raise exception in case we failed to get list of nodes And, of course, update all the places where this function is used. Making those places use less code compared to previous variant. Change-Id: I3f1ffe6082541e63dc3d638c19c54086aa12580f
* | [CNS-533] Add test for glusterblock logs verificationValerii Ponomarov2018-07-261-166/+116
|/ | | | | | | | | | | Also, 3 new library functions for: - secret creation - storage class creation - pvc creation Which use "stdin" creation approach without files. Change-Id: Ifba768deba11048ede207d72af4d480898e8f5fc
* Fix concurrency issue in heketi pod failure test casesValerii Ponomarov2018-07-162-0/+12
| | | | | | | | | | In those tests, we scale down amount of heketi pods to 0 and then scale it up back to amount of 1. And right after it, we perform request for list of Heketi PODs, not waiting for Heketi POD appearing in list. So, fix it by adding waiting for 2 sec which is enough time for Heketi POD to appear in the POD list. Change-Id: I5361d5c6eb98ac46b5f49a70edd0a88d550ab0b8
* CNS: fixing user/admin key for concurrent_volume testcaseApeksha D Khakharia2018-07-031-2/+3
| | | | | Change-Id: I78cb7989876e2f17cf1d9653723a160074050413 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* Merge "Add test cases for device removal"Krishnaram Karthick Ramdoss2018-05-171-15/+268
|\
| * Add test cases for device removalmandaltapesh2018-05-161-15/+268
| | | | | | | | | | | | Change-Id: Iedd408844beadd1a449fdb953640289044c1bfa7 Signed-off-by: Saravanakumar Arumugam <sarumuga@redhat.com> Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | Merge "CNS: fixing heketi testcases that are failing"Krishnaram Karthick Ramdoss2018-05-172-15/+4
|\ \
| * | CNS: fixing heketi testcases that are failingApeksha D Khakharia2018-05-142-15/+4
| |/ | | | | | | | | | | | | | | | | Also removing the skip decorator, the testcase logic have no issues and it passes when executed individually Change-Id: Iede3f6b67ddd79d0efc673b2b3440fba392540d4 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>