summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [Test] Add tc to compare file/block volume from all nodesSushilG962020-06-161-23/+28
| | | | | Change-Id: I440f8e8a5b763735479896c336ebc233fe04f179 Signed-off-by: susgupta <susgupta@redhat.com>
* [Test] Add TC's PVC expansion after setting zone check to stict inside dcArun Kumar2020-06-151-0/+42
| | | | | Change-Id: I0c9064c089872c218b5fc437c03b8de99820c12a Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [TestFix] Fix the SC creation part of code for heketi zone TC'sArun Kumar2020-06-111-4/+6
| | | | | Change-Id: I87d5af3151d01319bdd7d36dbf9bf99527648f56 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [TestFix] Remove duplicate TC w.r.t heketi db pending entiresvamahaja2020-06-101-63/+0
| | | | | | | | TC 'test_verify_pending_entries_in_db' is automated as part of ddt TC 'test_verify_create_heketi_volumes_pending_entries_in_db' Change-Id: Ibb6562e406fcf2f48ca4eec13b3073f751b67148 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [TestFix] Remove TC w.r.t scaling with 100 podsSri Vignesh2020-06-101-45/+0
| | | | | | | | | TC 'test_initiator_side_failures_create_100_app_pods_with_block_pv' creates 100 pods which is part of scaling and fails due to setup issues. Change-Id: I923feaf37c6c0442632bf14ee88e0e27f414d8b0 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [Test] Add TC's create arbiter PVC based on the heketi zoneArun Kumar2020-06-101-0/+36
| | | | | Change-Id: I03ae8d89b9019b67ff685064372a779e6ade1d08 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [Test] Add TC to validate volume creation when heketidb volume is downadityaramteke2020-06-101-1/+34
| | | | | Change-Id: I626bb446e408f9f4bb461309831569e61215d3db Signed-off-by: Aditya Ramteke <adityaramteke05icr@gmail.com>
* [Test] Add TC's create PVC with zone check set to strict in dcArun Kumar2020-06-101-6/+40
| | | | | Change-Id: I56807661c6a6b728a4b902ad14c1b8b0b0e268bf Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [LibFix] Fix 'heketi_ops' libraries return statement docstringsArun Kumar2020-06-041-13/+13
| | | | | Change-Id: I123fbf1b6ff8794454d61a57493e0bdfbcd217fe Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [TestFix] Break TC's for PVC creation w.r.t. zoneArun Kumar2020-06-021-61/+155
| | | | | | | | | | | TC's are separated as below for the better optimization: 1. Replicate volume with zone check option in sc 2. Replicate volume with expansion and zone check option in sc 3. Arbiter volume with zone check option in sc 4. Arbiter volume with expansion and zone check option in sc Change-Id: Iff5846737fff1895f3d3b74b32c1742f249d32b8 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [Test] Add tc to verify pending operations during volume creationSushilG962020-06-011-0/+161
| | | | | Change-Id: I34c163c059e36825ab47fe612389c44da8cfb102 Signed-off-by: susgupta <susgupta@redhat.com>
* [TestFix] Add waiter to complete heketi db pending operationsSushilG962020-06-011-9/+17
| | | | | Change-Id: I4554daf04c97e28bd965e2509c53e13b7808bae6 Signed-off-by: susgupta <susgupta@redhat.com>
* [TestFix] Fix for loop variableSri Vignesh2020-06-011-1/+1
| | | | | | | | | Tc 'test_create_volumes_enabling_and_disabling_heketi_devices' uses incorrect variable name inside for loop while disabling node. Use correct variable inside for loop to disable expected nodes. Change-Id: I0be101e753c387eee25e0fc0b778d884ae6bb609 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [LibFix] Add parameter 'overwrite' in 'oc_label' librarySri Vignesh2020-06-012-3/+8
| | | | | Change-Id: I7f765605ae032f9054937ca9ed5a5db06bc73464 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [Test] Add TC's validate PVC creation with 1 and 2 heketi zonesArun Kumar2020-06-011-19/+31
| | | | | Change-Id: I38546a5e91e56294c03981a182d37b19e2e151a2 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [TestFix] Fix tc to cleanup existing BHV and assertionSri Vignesh2020-05-271-5/+14
| | | | | | | | | | Fix consits of - 1. Add steps to check existing BHV and delete in case BV(s) are not exists. 2. Fix assertion to validate 'brickCount' and 'distCont' Change-Id: I25bb9d0767f102ec0344b0486fbf4007daca70a0 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [Test] Add TC to validate vg and uuid of all devices in heketi topologyArun Kumar2020-05-271-0/+22
| | | | | Change-Id: I415e380b2b9e4d6aaa1d4333b6481640e2d3419f Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [TestFix] Add support for setting env var in heketi dcArun Kumar2020-05-271-61/+70
| | | | | Change-Id: I124578f9e314446b92b615a6c022ac5a7f990e95 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [Lib] Add library to valiadte heketi device uuid and vgArun Kumar2020-05-271-0/+34
| | | | | Change-Id: If583d912d6c24862f8b26424abf62f8e0942dc45 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [LibFix] Add command output validation in lib 'validate_multipath_pod'Sri Vignesh2020-05-271-2/+8
| | | | | | | | | Library 'validate_multipath_pod' execute command to get host name by providing pod name, in case it returns blank next steps will fail due to blank hostname. Change-Id: Iac329204bd9ea17b019fb40edca43db72e8c3bb8 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [TestFix] Fix test case to skip in case db cleanup failsSri Vignesh2020-05-271-2/+2
| | | | | | | | | | Tc 'test_heketi_server_operations_cleanup_on_idle_setup' raise Assertion exception in case stale entries are present in heketi db. Fix this statement to skip test case instead of raising exception Change-Id: Ia02960e1139aa9051bc7c83e230feb8bdde66d01 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [ConfigFix] Fix pytest version for 'functional3' environmentvamahaja2020-05-191-0/+1
| | | | | | | | | | Pytest version '5.4.1' has regression issue where functions registered with 'TestCase.addCleanup' were not being called on test failures. Add fix in 'tox.ini' to upgrade pytest to >= 5.4.2 version for 'functional3' environment. Change-Id: I27c3356c995a50a8d5cc32d7aad958116bd2cd88 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [Test] Add TC to validate heketidb cleanup on idle setupArun Kumar2020-05-151-0/+25
| | | | | Change-Id: I718fd893ddb16bd1ce86a63a732e02db3c72a160 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [Test] Add TC to create and delete block PVC twiceArun Kumar2020-05-151-0/+33
| | | | | Change-Id: Iba3a4947ef3654fb92bcc05f750f3aae11ffb7a2 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [Test] Add TC's for PVC placement based on heketi zonesArun Kumar2020-05-121-1/+13
| | | | | | | | | TC consists of - 1. Replica volume with minimum 4 nodes 2. Arbiter volume with minimum 4 nodes Change-Id: I325d8a7ebe8c0ff2f248712d517b43b484d70328 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [Test] Add TC to validate gluster examine output after node poweroffArun Kumar2020-05-121-0/+24
| | | | | Change-Id: I32fcb7be8246e9d7b0900e10bdfb5af0f61f1f44 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [TestFix] Fix method "_check_heketi_pod_to_come_up_after_changing_env"Arun Kumar2020-05-121-24/+7
| | | | | | | | | | | | Fix consists of : - Currenlty this function check if pod is up and if not then wait for to up which is incorrect approach as it takes time to restart pod. Fix this by waiting for heketi pod to be restarted. - Remove skip for bugs Change-Id: Ib3016764741d5fb7188a24e0e267bb0984e2e4a5 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [LibFix] Fix library 'get_openshift_storage_version'vamahaja2020-05-081-10/+20
| | | | | | | | | Fix consists of - Add regular expression to get Openshift Storage Version based on environment variable 'ocsVersion' set in Dockerfile Change-Id: Iefed53a7af5b2867b68a4a8b72861047edcf1e4d Signed-off-by: vamahaja <vamahaja@redhat.com>
* [TestFix] Remove TC 'test_compare_node_count_with_db_check_info'vamahaja2020-05-041-16/+0
| | | | | | | | Test case 'test_compare_node_count_with_db_check_info' is automated as part of tc 'test_verify_db_check'. Hence remove older test case. Change-Id: If385c21c9ac5554b2faf96c59424d8695d87c7c8 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [TestFix] Fix bricks count and bhv total countSushilG962020-04-301-11/+48
| | | | | Change-Id: I19c6146b4d9fbc366663bb53e97c567cc8b24f68 Signed-off-by: susgupta <susgupta@redhat.com>
* [TestFix] Remove extra statement which is not required for the TCArun Kumar2020-04-291-3/+0
| | | | | Change-Id: I5863bcad3003725b60012dc8288f7ac1a3675d3c Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [TestFix] Fix 'RuntimeError' while updating dict in loopvamahaja2020-04-291-1/+1
| | | | | | | | | | Python3 returns iterator of list for function 'dict.items()', which cuases 'RuntimeError' while trying to update dict inside loop. Convert this iterator into list while looping over the dict items. Change-Id: Ia339bb89c4a8dbacae1c66ff41110975db73e9d7 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [Test] Add TCs to validate device/node disable based on heketi zonesArun Kumar2020-04-281-4/+322
| | | | | Change-Id: I9786d8d68854529624a17cc2c2c12656b4eb6631 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [Test] Add test case to verify tcmu log levelscrombus2020-04-271-0/+80
| | | | | | Change-Id: I41d4817fe39ad9c4b26eee659eaaeda563f72496 Signed-off-by: vamahaja <vamahaja@redhat.com> Co-authored-by: crombus <pkundra@redhat.com>
* [TestFix] Fix test case to create volume after rebootig nodevamahaja2020-04-241-21/+13
| | | | | | | | | | | | | Fix consists of - Currently 'test_heketi_volume_provision_after_node_reboot' tc uses 'node_reboot_by_command' function which reboots node by using 'shutdown -r' command and comes up fast, which causes to create volume successfully in case more than 2 nodes are rebooted. Use power off and power on node libraries to reboot gluster nodes instead. Change-Id: Ie35a5f5be0bca6899d06d80de368491d2e1f3611 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [Test] Add TC to validate pvc resize when device disabledSri Vignesh2020-04-241-0/+92
| | | | | Change-Id: Ia2aa235973f282601023535f405f283a2427c337 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [TestFix] Add CRS check for tier0 test casesvamahaja2020-04-241-0/+5
| | | | | Change-Id: I995759d6f77edd5b096a8c1666eee6ab0dbc6cc8 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [TestFix] Fix gluster-block log file pathvamahaja2020-04-241-4/+1
| | | | | Change-Id: I2241088612178afc1be188149e97b9951e07efc1 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [TestFix] Add CRS check for test casesvamahaja2020-04-232-0/+10
| | | | | Change-Id: I4213c2f6f9d1a0c2c3382bfada6632bd21db1350 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [Lib] Add Scaleup Base Class and libsNitin Goyal2020-04-221-0/+211
| | | | | Change-Id: I8ab1ec2dd28169722c07a5bbfabeffc5240ce8f9 Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
* [Config] Add pytest markersNitin Goyal2020-04-211-0/+2
| | | | | Change-Id: I27c64b78b52099696a99c50a07d8006ba385dd9e Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
* [Test] Add TC to validate BV creation after stopping gluster servicescrombus2020-04-201-1/+139
| | | | | | Change-Id: Ib4cd81191be5c53d104e3460274e18c94f070dd2 Signed-off-by: vamahaja <vamahaja@redhat.com> Co-authored-by: crombus <pkundra@redhat.com>
* [Test] Add tc to validate arbiter volume create with differnet tagsSushilG962020-04-201-0/+204
| | | | | Change-Id: Iad8abab3b1faf74ea9f7895da7758da5daa967d2 Signed-off-by: susgupta <susgupta@redhat.com>
* [Testfix] Resolved pep8 issuesSri Vignesh2020-04-201-1/+1
| | | | | Change-Id: I3f765ee83c04a08eae48727a6870057a2ac69abe Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [Test] Add TC to validate arbiter vol with device greater than vol sizeSri Vignesh2020-04-161-0/+34
| | | | | Change-Id: If1a15f6bfd8b1a106ab19d949aae03bf8d6d4e62 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [TestFix] Separate common logic from test case to use in future tcArun Kumar2020-04-151-39/+51
| | | | | | | | | | Test case 'test_check_pvc_placement_based_on_the_heketi_zones' has code to check for availabe heketi zone and validate brick placement which can be used in other test cases. Separate this code onto two different internal functions. Change-Id: I76233a1a8bed1e6ab11f91a7820c90a26fa71381 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [Test] Add TC to validate blockvolume count heketi examine glusterArun Kumar2020-04-151-0/+31
| | | | | Change-Id: Iac66f50dffe8688f8c9bd53b1298a68484a39afd Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [Test] Add TC for provisioning volume after node rebootcrombus2020-04-131-0/+56
| | | | | | Change-Id: I8864284957bfcfa505238c9dfcac16650f8260b3 Signed-off-by: vamahaja <vamahaja@redhat.com> Co-authored-by: crombus <pkundra@redhat.com>
* [LibFix] Fix 'node_reboot_by_command' libraryvamahaja2020-04-131-41/+27
| | | | | | | | | | | | Fix consists of - 1. Currently waiter in 'node_reboot_by_command' function uses 'g.rpyc_get_connection' method to check for conection, which causing issue. Use 'wait_for_ssh_connection' method in same library which uses 'g.run' method. 2. Add parameter 'wait_for_connection' Change-Id: I81aecb126b1e4914a2dfb6dc8901da0a3a4329d0 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [TestFix] Add tc marker tier0 & tier1vamahaja2020-04-072-0/+2
| | | | | Change-Id: I079c8ddd0e72b55754e075de06ca168b220f80c8 Signed-off-by: vamahaja <vamahaja@redhat.com>