summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [TestFix] Fix BHV count calculations for small size disk clustervamahaja2020-08-191-2/+6
| | | | | | | | | | | | Fix consists of - In case small size disk is present in cluster TC 'test_create_max_num_blockhostingvolumes' uses blockvolume size as 0 due to default BV count, which leads to failure of BV creation. To fix issue set BV size to 1 and BHV count to free size in case, mod operation returns 0. Change-Id: Ia5c656e215498acdc86383c9a771a0094de70716 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [TestFix] Increased timeout for wait for events libSri Vignesh2020-08-181-1/+2
| | | | | | | | | TC is failing with error during pvc create timeout and wait for event steps with race condition. increased timeout to fix this issue. Change-Id: I8f64dcf7ab6cbfa0087b329b05a23a212572190e Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [Config] Add ISSUE_TEMPLATE for githubkshithijiyer2020-08-101-0/+38
| | | | | Change-Id: I07747c9346b894bc38daeb4721903352f6fabfcb Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
* [Test] Add TC to utilize full space of PVC bount to ES podArun Kumar2020-08-071-0/+37
| | | | | Change-Id: I0cbcc8c9c125d2925c85e08fd6b8690cc8ee0342 Signed-off-by: Arun Kumar <arukumar@redhat.com>
* [Test] Add TC to validate basic sanity after the logging deploymentArun Kumar2020-08-072-0/+89
| | | | | Change-Id: I8c4065c9ec8d3639172b4a7098af908b3b4e062e Signed-off-by: Arun Kumar <arukumar@redhat.com>
* [Lib] Add logging parameters in config fileArun Kumar2020-08-071-0/+7
| | | | | Change-Id: I88d742afacb4008c2661d13b164797b1465294ba Signed-off-by: Arun Kumar <arukumar@redhat.com>
* [Test] Add TC to create block volume with custom vol name prefixSushil Gupta2020-08-071-2/+58
| | | | | Change-Id: If4293d3987b9de55845eea95ddd3f5e309ea810a Signed-off-by: Sushil Gupta <susgupta@redhat.com>
* [TestFix] Remove redundant skip statement from test caseArun Kumar2020-07-311-6/+0
| | | | | | | | | 'TestGlusterBlockStability.SetUp' already have a check for 'crs' or 'cns'. Removed redundant skip statement which perform same step in test case 'test_initiator_side_failures_initiator_and_target_on_same_node'. Change-Id: Ia587f9d17b9752a218ead030faa6941938b0d4c7 Signed-off-by: Arun Kumar <arukumar@redhat.com>
* [Test] Add TC to kill targetcli during block PVC deletionArun Kumar2020-07-291-31/+72
| | | | | Change-Id: I336fd244c74a1afca6ba1e1e5b6e6b30e14bfad2 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [TestFix] Remove the skip marker from TC and add the validationArun Kumar2020-07-291-34/+66
| | | | | Change-Id: I1734d0f9ed535176abb5f7741d00efc817aec222 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [LibFix] Add support for heal check of one particular volumeArun Kumar2020-07-291-5/+20
| | | | | Change-Id: Ib99aec711c2ae520a373bb2673ac58dd51c3c070 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [Test] Add TC to validate arbiter vol creation with differnet tags on devicesSushilG962020-07-291-0/+259
| | | | | Change-Id: I2bcd6d6cecf79786f4de187929e3d42de5595c70 Signed-off-by: susgupta <susgupta@redhat.com>
* [Test] Add TC to validate resize operation while io's are runningArun Kumar2020-07-161-0/+28
| | | | | Change-Id: If2b5869d01191d8a95b612294c4e74b92d998950 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [TestFix] Fix pytest warningsvamahaja2020-07-143-2/+3
| | | | | | | | | | | Fix consists of - 1. Remove depricated method 'assertEquals'. 2. Add 'junit_family=legacy' to pytest.ini to keep using the legacy version for JUnit XML file. 3. Prepend 'r' for regular expression. Change-Id: I9a804bba3590e33b50aa0c88ded9cf0007afe1e6 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [Test] Add TC app pod deletion with different intiator and targetArun Kumar2020-07-101-27/+45
| | | | | Change-Id: I1d5e8ce9a12b693b1a4a6fbc93718c3b6e71c801 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [Test] Add TC to validate block behaviour when target node is downArun Kumar2020-07-101-29/+58
| | | | | Change-Id: I4535d249d4d271f6b622f82002eddd33f3d4b01e Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [TestFix] Fix to add wait after the pod creationArun Kumar2020-07-081-3/+7
| | | | | | | | | | Fix consists of - Addition of wait for the pods to be ready after the creation of dc, inside the method '_create_dcs_and_check_brick_placement' which led to the failure of few heketi zone TC's. Change-Id: Ib932e1a338b52673418d39fcd35a9d27f508a48f Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [TestFix] Fix large heketi volume creation issueSri Vignesh2020-07-071-4/+3
| | | | | | | | | | | Fix consists of - While creating large heketi valumes, sometime timeout will occur for heketi command but after sometime volume will get created. Use baseclass function 'create_heketi_volume_with_name_and_wait' to check for volume in case timeout occurs. Change-Id: Ia2cdf8d50ecba01ebf593e72afbbff809877c944 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [TestFix] Fix cleaning up resources in TC 'test_delete_heketi_volume'Sri Vignesh2020-07-071-4/+9
| | | | | Change-Id: Idf618b0f887ff56d080f99487f2c4859ddd51a21 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [Test] Add TC to validate initiator node reboot when taget node is sameArun Kumar2020-07-061-15/+55
| | | | | Change-Id: Icd7b817b2ba680c47cd7c27fe95ad791d2e217b8 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [Test] Add TC to validate heketi device deletion lifecycleArun Kumar2020-07-061-87/+96
| | | | | Change-Id: Ifd4aeaeb05fcb18c38b21b26640c49a1e7035093 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [Test] Add TC fill arbiter brick, shutdown data brick node and run ioArun Kumar2020-07-064-25/+128
| | | | | Change-Id: I36d44123db24154fe0aefc905ad2f5a5e5061558 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [Lib] Add library to get the free inodes of bricksArun Kumar2020-07-061-0/+35
| | | | | Change-Id: I4ef9114a30dfd6fe18c4ba15b0cbbd32b8fc44f3 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [Test] Add TC to Compare the brick mount status from all nodesSushilG962020-07-061-0/+90
| | | | | Change-Id: I7e03acd0ddf2e14b00453af180a2b4a8c45f2832 Signed-off-by: susgupta <susgupta@redhat.com>
* [Test] Add TC to verify Snapshot deletionSushilG962020-07-061-0/+55
| | | | | Change-Id: I523a13629dc24ca9cef3d6ab06aac5d8c523a8e5 Signed-off-by: susgupta <susgupta@redhat.com>
* [LibFix] Add 'collect_logs' param in 'oc_delete' libvamahaja2020-07-024-6/+18
| | | | | Change-Id: I9d99f367b82c6570e1390c6b137e0b9bf401a19c Signed-off-by: vamahaja <vamahaja@redhat.com>
* [Test] Add TC creation of multiple heketi volumes with different sizesArun Kumar2020-06-261-0/+18
| | | | | Change-Id: I6d39e9c50dc46d4c9ba4c3cf68e8138ae1afc3c4 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [Test] Add tc to create arbiter vol with avg file size and expand itSushilG962020-06-261-0/+252
| | | | | Change-Id: If3f68a946a5120972dc70f24622b031312b7a3d8 Signed-off-by: susgupta <susgupta@redhat.com>
* [Test] Add tc to create a snapshot with one brick downSushilG962020-06-241-0/+79
| | | | | Change-Id: I28182b25db8ab029cd9d6e910d14c5ca8fbc419c Signed-off-by: susgupta <susgupta@redhat.com>
* [Test] Add TC creation of heketi volume with clusters argumentArun Kumar2020-06-241-0/+27
| | | | | Change-Id: I7b095ea60a571a70cbfab177d823e49525330e86 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [Test] Add TC create a distributed replicate volumeArun Kumar2020-06-241-2/+12
| | | | | Change-Id: Ie627998f6e363791e2249ca3472e66c13805666e Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [TestFix] Fix gluster function parameterSri Vignesh2020-06-241-2/+9
| | | | | | | | | | In TC 'test_heketi_volume_create_with_cluster_node_down' incorrect gluster node is passed to gluster op function, which is executing required command on unexpected gluster node. Fix gluster function call with correct gluster node. Change-Id: I545d10e5dbf828e6b99f57ca825a01c224db13e3 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [TestFix] Add steps to wait_for_events after rebootSri Vignesh2020-06-241-1/+27
| | | | | | | | | Fix consits of - 1. Add conv=fsync in dd to sync io after pod reboot 2. Add steps to wait for events after node reboot Change-Id: I53d1d9262fe05f9acd68ad18b8a0f48fd6716dea Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [TestFix] Code Fix in device cleanup sectionSri Vignesh2020-06-241-3/+0
| | | | | Change-Id: Icc788bceb62f612d0313c6d04cc8605bc2bfa1f7 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [TestFix] Add steps to handle bv pending operationSri Vignesh2020-06-241-3/+5
| | | | | | | | | | | | Fix consists of: 1. after 2 bv is created using async it returns 0 pending operation and takes some time to show the third pending operation. so added a additional check for bv equal to vol_count 2. changed correct value for assertion fail statement Change-Id: I2edf22c466114c108d997832f2b9a75e165330af Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [Test] Add TC's of PVC creation with zone check set in sc and dc bothArun Kumar2020-06-161-0/+41
| | | | | Change-Id: I4c75528e7fba934a2f9dd28d8ce79d4cf0d472dd Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [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>