summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Geo-replication library and gluster installation.HEADmasterVijaykumar2012-03-1411-407/+776
| | | | | | | | | | | | | * Geo-replication library function in glusterutils * A new section in configuration file for geo-rep * In gluster installation , changing libexecdir to /usr/local/libexec in configuration. * Removed some unwanted code. * handling to have a geo-rep session locally also. Change-Id: Ifcf00b73ed933077640113ce0528b39bdad55999 Signed-off-by: Vijaykumar <vkoppad@redhat.com> Signed-off-by: root <root@vostro.(none)>
* Adding libraries to suffix timestamps to the summarylog and detaillog filesshwetha2012-03-066-57/+51
| | | | | Change-Id: I853981b0de99372509649360a67e8c4cca24b415 Signed-off-by: shwetha <shwetha.h.panduranga@redhat.com>
* Modifying the testcases to reflect the changes made to the return value from ↵Shwetha-H-Panduranga2012-03-053-124/+199
| | | | | | | the libraries Change-Id: I07fa848828ae191c9728c856494a161cbb413559 Signed-off-by: Shwetha-H-Panduranga <shwetha@gluster.com>
* Actual exit status value is output['exitstatus']. exit_status variable is ↵Shwetha-H-Panduranga2012-03-051-1/+1
| | | | | | | not defined Change-Id: I76754c885411f597420a403bd7955be4d1876944 Signed-off-by: Shwetha-H-Panduranga <shwetha@gluster.com>
* Modifying the testcases to reflect the changes made to the return value from ↵Shwetha-H-Panduranga2012-03-054-130/+244
| | | | | | | the libraries.Adding new module for replace brick libraries Change-Id: I3a886cd799d11b948eb87dd929546bdde3561dd7 Signed-off-by: Shwetha-H-Panduranga <shwetha@gluster.com>
* Automating afr self-heal testcasesShwetha-H-Panduranga2012-02-085-150/+2536
| | | | | Change-Id: I32af843e2c375a869f811844656dd90fac283f4d Signed-off-by: Shwetha-H-Panduranga <shwetha@gluster.com>
* Changing the return value of all the libraries. The libraries will return a ↵Shwetha-H-Panduranga2012-02-066-823/+630
| | | | | | | dictionary with 'exitstatus', 'stdoutdata', 'stderrdata' as keys. The value of 'exitstatus' is the exit status of the command execution. The 'stdoutdata' contains data written to the stdout during command execution. The 'stderrdata' contains data written to stderr during command execution. Change-Id: Ib04062ab34ddf6cf1d8bde07716c4a3be1800ec5 Signed-off-by: Shwetha-H-Panduranga <shwetha@gluster.com>
* Modifying the testcases to reflect the changes made to the return value from ↵Shwetha-H-Panduranga2012-02-032-108/+157
| | | | | | | the libraries Change-Id: Ib2999fc304b307f1e3c84920b2604d88dddab51e Signed-off-by: Shwetha-H-Panduranga <shwetha@gluster.com>
* Adding new library to stop a volume's brickShwetha-H-Panduranga2012-01-301-0/+66
| | | | | | | | | | Change-Id: I6045f4f5510a2ea087592a7af57767db0be4064c Signed-off-by: Shwetha-H-Panduranga <shwetha@gluster.com> Adding an argument signal for specifying the signal type for the kill command Change-Id: Ief94944fa7ed9ae6f2b764a542d61769a601b044 Signed-off-by: Shwetha-H-Panduranga <shwetha@gluster.com>
* Merge "Adding afr basic testcases(fileops, dirops tests)"Amar Tumballi2012-01-244-0/+1129
|\
| * Adding afr basic testcases(fileops, dirops tests)Shwetha-H-Panduranga2012-01-204-0/+1129
| | | | | | | | | | Change-Id: I2705e70dccf0c96206d8f73e84eaaca760ffe753 Signed-off-by: Shwetha-H-Panduranga <shwetha@gluster.com>
* | Merge "Gluster installation through tar,git,rpm."Amar Tumballi2012-01-242-16/+365
|\ \
| * | Gluster installation through tar,git,rpm.Vijaykumar2012-01-202-30/+379
| |/ | | | | | | | | | | | | Signed-off-by: Vijaykumar <vkoppad@redhat.com> Change-Id: I10cf998ff87dabfbc3cd4abd5762dba255e53042 Signed-off-by: Vijaykumar <vkoppad@redhat.com>
* | Adding libraries for validating the testcases.Shwetha-H-Panduranga2012-01-204-154/+372
|/ | | | | | | | | 1)calculating md5sum of mountpoints and bricks using arequal-checksum. 2)validate whether the md5sum of mountpoints and bricks are same. 3)validate gfids of the files on the bricks are same. Change-Id: Id5392721887a348f9c06fedf572098d711956497 Signed-off-by: Shwetha-H-Panduranga <shwetha@gluster.com>
* Merge "Automating bugs bug2909, bug3033"Shwetha-H-Panduranga2012-01-194-0/+384
|\
| * Automating bugs bug2909, bug3033Shwetha-H-Panduranga2012-01-044-0/+384
| | | | | | | | | | Change-Id: Ic56569c9128a9a1c3f355e80c48baa5788b7d2ed Signed-off-by: Shwetha-H-Panduranga <shwetha@gluster.com>
* | library functions: remove-brick, quota, profileVijaykumar2012-01-192-126/+366
| | | | | | | | | | | | | | | | top, log rotate, replace-brick and testenv function (removeBricksFromVolume). Change-Id: I6593f831e5002bd077eee0ce8bf6a8c5aca18ba5 Signed-off-by: Vijaykumar <vkoppad@redhat.com>
* | Adding new function get_active_volume to get the information about the ↵Shwetha-H-Panduranga2012-01-191-2/+11
| | | | | | | | | | | | | | active volume i.e the volume under test Change-Id: I90135f932ae56680e8dd66af1b80214c3e4b8106 Signed-off-by: Shwetha-H-Panduranga <shwetha@gluster.com>
* | validate stderr stream also. This is useful for performing negative testingShwetha-H-Panduranga2012-01-041-11/+18
|/ | | | | Change-Id: I13c77926a4046b3aa729a006840453d69dc81c14 Signed-off-by: Shwetha-H-Panduranga <shwetha@gluster.com>
* return 'output' dictionary from serverutils.execute_on_brick and ↵Shwetha-H-Panduranga2011-12-273-10/+15
| | | | | | | clientutils.execute_on_mount. This is to help the scripts for matching output expressions after the execution of command. Reflecting the same changes in cli/volume/top/testcases Change-Id: I5ce9d0141f6171dad2d3a17512f0264b9af5beb3 Signed-off-by: Shwetha-H-Panduranga <shwetha@gluster.com>
* Added COPYING and CONTRIBUTING filesAmar Tumballi2011-12-223-1/+700
| | | | | Change-Id: I757b7dcab5707e87bfc5d1b2a12e04b6276e6d3f Signed-off-by: Amar Tumballi <amar@gluster.com>
* Adding rfc.shVijay Bellur2011-12-221-0/+107
| | | | Signed-off-by: Vijay Bellur <vijay@gluster.com>
* Modifying the comment for testcaseslist for cli/volume/topShwetha-H-Panduranga2011-12-211-1/+1
|
* removing the statement 'import clitestsutils'. There is no module by name ↵Shwetha-H-Panduranga2011-12-211-1/+0
| | | | clitestsutils. The functions necessary for cli tests has been implemented in the existing utils
* Changing the function assert_success and assert_failure in atfutils to take ↵Shwetha-H-Panduranga2011-12-215-37/+43
| | | | exit_status as argument. Hence refelecting the changes in all files which used the functions
* Adding new function validate_output to check whether expected_exit_status ↵Shwetha-H-Panduranga2011-12-211-0/+29
| | | | and the expected_output matches with the output we got rfom the execution of command
* Adding new argument 'operation' for the function volume_replacebrick to ↵Shwetha-H-Panduranga2011-12-211-5/+5
| | | | specify what operation to be performed
* Adding testenv.cfg file to cli/volume/top testunitShwetha-H-Panduranga2011-12-201-0/+86
|
* Automating Bug2645, Bug2771, Bug2725Shwetha-H-Panduranga2011-12-203-0/+346
|
* The hostutils.execute_command now returns output(type dict). Hence ↵Shwetha-H-Panduranga2011-12-202-4/+4
| | | | reflecting changes in clientutils, serverutils
* Changes made to '_substitute_value_for_variables' function. The function now ↵Shwetha-H-Panduranga2011-12-201-37/+56
| | | | handles substitution of variable values. (Ex:- <volume1.volumename> replaces volumename of volume1. The variable value is the value defined in testenv.cfg for that testunit). The function returns commands wiith values substituted for variables. The function 'execute_command' now returns 'output'(dictionary output from ssh.executecommand)
* We are using 'img' python module in atfexecute for loading the testunit ↵Shwetha-H-Panduranga2011-12-201-0/+1
| | | | module for every 'TestUnit'(Ex:- testunit.py in xlators/cluster/afr/self_heal/), we have to reload the testcases module in every testunit module for reloading the testcases module for that unit. Else it will be referring to first import of testcases module
* log variable doesn't exists. The variable we should be referring is ↵Shwetha-H-Panduranga2011-12-201-1/+1
| | | | 'self._handlers' not 'log'.
* Error in referring to the variable. The variable should be ↵Shwetha-H-Panduranga2011-12-201-3/+2
| | | | testcase['version'] not testcaseid['version']
* Adding function 'expect' to atfutils. This function searches for ↵Shwetha-H-Panduranga2011-12-201-0/+16
| | | | 'actual_string' in 'expected_string'. If search successful, returns True. Else, returns False.
* Changes made to volume info. This is to support multiple 'volumetypes' and ↵Shwetha-H-Panduranga2011-12-134-20/+41
| | | | counts
* Changes to logger class, Using the logger class in the framework, adding new ↵Shwetha-H-Panduranga2011-12-1219-433/+466
| | | | global values, Changes made to argument parser, testruninfo
* Changes to logger class, Using the logger class in the framework, adding new ↵Shwetha-H-Panduranga2011-12-121-145/+61
| | | | global values, Changes made to argument parser, testruninfo
* Adding Readme, testunit fileShwetha-H-Panduranga2011-12-123-69/+217
|
* Renaming DirectoriesShwetha-H-Panduranga2011-12-074-0/+0
|
* Renaming DirectoriesShwetha-H-Panduranga2011-12-0713-0/+0
|
* Adding New/Updated Automation FilesShwetha-H-Panduranga2011-12-0623-0/+3222
|
* Removing all automation files from the repoShwetha-H-Panduranga2011-12-0641-5916/+0
|
* Adding New/Updated Automation FilesShwetha-H-Panduranga2011-12-0623-282/+3185
|
* Adding ATF(Automated Tests Framework) files. This is the code developed for POC.Shwetha-H-Panduranga2011-09-1218-0/+3012
|
* Added READMEVijay Bellur2011-08-291-0/+1