summaryrefslogtreecommitdiffstats
path: root/tests/functional/heketi
Commit message (Collapse)AuthorAgeFilesLines
* [Test] Add TC to validate volume failure when settage only on one deviceadityaramteke2021-02-051-0/+25
| | | | | Change-Id: I5b350f4a51233ff23b13c37f0b2ddfb75ef87d44 Signed-off-by: Aditya Ramteke <aramteke@redhat.com>
* [TestFix] Add Cleanup for multiple BHV's createdSri Vignesh2020-12-161-0/+7
| | | | | Change-Id: Ic2770fa6039985bafcc91bb05bf8c8ffe288544f Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [LibFix] Correct heketi version for new featuresNitin Goyal2020-12-112-2/+2
| | | | | Change-Id: I07a9aba662e6911cd10f68e9e2c52d4d26c311f3 Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
* [Test] Add TC test_heketi_brick_evictNitin Goyal2020-12-111-0/+90
| | | | | | | The test will test the basic functionality of brick evict Change-Id: I603c42a13ad6f66f11d48cc1618c2f3bba6130e8 Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
* [Test] Add test test_block_vol_online_expandNitin Goyal2020-12-081-0/+53
| | | | | | | | The test verifies block volume expand feature works and reflecting new size in client side. Change-Id: Id3dd1d75b99fd8607ed97db53ad1912a4441ab02 Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
* [Test] Add test test_block_vol_offline_expandNitin Goyal2020-12-081-0/+83
| | | | | | | | The test verifies block volume expand feature works and reflecting new size in client side. Change-Id: I0c5b5c7c4437888e077ff00b7cf37b3f857d04a0 Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
* [TestFix] Add config to read i/o imagesvamahaja2020-12-081-1/+2
| | | | | | Add support to pass I/O image from config file Change-Id: I2c943ba0efaeab3a44eef63030965f36f8086c1b
* [Test] Add TC to validate docker restart does not failadityaramteke2020-12-031-0/+69
| | | | | Change-Id: Ia22ff59c0fff2f19b4053b2342a5ae3a704e8546 Signed-off-by: Aditya Ramteke <aramteke@redhat.com>
* [Test] Add TC to validate manual cleanup in bhvSri Vignesh2020-12-011-0/+132
| | | | | Change-Id: I03573c7d4031945fd92d7a721a0a0219f6d77b82 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [Test] Add test for heketi authenticationBala Konda Reddy M2020-11-051-0/+33
| | | | | Change-Id: I2dc817dafffa6c313d24fdd11014dc3f3e203aa8 Signed-off-by: Bala Konda Reddy M <bala12352@gmail.com>
* [TestFix][Tier4] Add pytest marker for 'tier4' testsvamahaja2020-10-125-6/+6
| | | | | Change-Id: I3c331883aff037116d3680649c29a39a266b0684 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [TestFix][Tier3] Add pytest marker for 'tier3' testsvamahaja2020-10-125-14/+14
| | | | | Change-Id: Idd21f2d0cfb2a1171e4e8464646684ac9164ad0e Signed-off-by: vamahaja <vamahaja@redhat.com>
* [TestFix][Tier2] Update pytest marker for 'tier2' testsvamahaja2020-10-1210-36/+36
| | | | | Change-Id: I5db480da820c82b7b15f90ed70a4f60643079cb0 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [TestFix][Tier1] Move 'tier0' tests to 'tier1'vamahaja2020-10-1213-44/+44
| | | | | Change-Id: Ie1f01771518e82eec378564ddde34ae0fb7f0ac6 Signed-off-by: vamahaja <vamahaja@redhat.com>
* [Test] Add TC to validate stale/failed entries in dbSri Vignesh2020-10-071-4/+109
| | | | | Change-Id: I3e1bccec5d78de517e3b268d4e847943bd8cfcf4 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [Test] Add TC for heketi cleanup operation log after heketi pod restartSri Vignesh2020-10-051-0/+57
| | | | | Change-Id: Ia1c7f3d0c20a2b75b4c7fbb055c5674b3d9ce949 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [Test] Add TC to validate lvm script after assigning false valueadityaramteke2020-10-051-1/+98
| | | | | Change-Id: Ifb50cafc55d8b1288104fc5fe61e335262341278 Signed-off-by: Aditya Ramteke <aramteke@redhat.com>
* [TestFix] Fix volume size calculationSri Vignesh2020-09-281-1/+1
| | | | | | | | | Volume creation with available free size is failing as metadata takes some space. Fix calculation to leave 2% space for metadata. Change-Id: Idc041b61155ce530a0a2c5bbdda3a6986cd9a469 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [TestFix] Add assert to validate ls output for lvm scriptadityaramteke2020-09-231-1/+2
| | | | | Change-Id: Iaf6123626d3fc57ea6bbf1388764944dc7049e8e Signed-off-by: Aditya Ramteke <aramteke@redhat.com>
* [TestFix] Fix heketi server db operations TC issuesvamahaja2020-09-231-261/+227
| | | | | Change-Id: I3d07128f8881b18b89773e4290bee826ca99468c Signed-off-by: vamahaja <vamahaja@redhat.com>
* [Test] Add TC to validate lvm script is executable on hostadityaramteke2020-09-181-0/+47
| | | | | | Signed-off-by: Aditya Ramteke <aramteke@redhat.com> Change-Id: Ib9870cba6fc5ce1936a22c9fcbb326a6ab753378
* [Test] Add TC to validate heketi LVM wrapper functionalityadityaramteke2020-09-101-0/+63
| | | | | Change-Id: I92925dd419a78d2f3a3a2baf8e80727e33d6d5ae Signed-off-by: Aditya Ramteke <aramteke@redhat.com>
* [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>
* [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] Fix pytest warningsvamahaja2020-07-142-2/+2
| | | | | | | | | | | 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>
* [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 heketi device deletion lifecycleArun Kumar2020-07-061-87/+96
| | | | | Change-Id: Ifd4aeaeb05fcb18c38b21b26640c49a1e7035093 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-021-1/+2
| | | | | 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 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] 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>
* [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>
* [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>