summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* [ToolFix] Loop over outer index for server countLeela Venkaiah G2021-01-201-1/+2
| | | | | | | | | | Issue: In a nested loop, anchor is picking inner loop index 1 always Solution: Store outer loop index and use it while lopping over server list and create correct anchor Change-Id: Ib3aaed2f0153b567ea9dd5cd8f4ef20ecf604dd8 Signed-off-by: Leela Venkaiah G <lgangava@redhat.com>
* [Tool] Tool to generate config file for executing glusto testsArthy Loganathan2020-12-185-0/+199
| | | | | Change-Id: Ie8fc6949b79b6e91c1be210c90a4ef25cfb81754 Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
* [Tool] Add tool to split log to tc wise logskshithijiyer2020-07-153-0/+170
| | | | | | | | | | | | | | | | | | | Adding tool to split glusto-tests logs into tc wise logs. usage: log_splitter [-h] -f LOG_FILE [-d DESTINATION_DIR] Tool to split glusto logs to individual testcase logs. optional arguments: -h, --help show this help message and exit -f LOG_FILE, --log_file LOG_FILE Glusto test log file -d DESTINATION_DIR, --dist-dir DESTINATION_DIR Path were individual test logs are to be stored. Change-Id: I776a1455f9f70c13ae6ad9d11f23a4b5366c5f6f Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
* [Tool] Add tool to fetch sosreportskshithijiyer2020-06-013-0/+268
| | | | | | | | | | | | | | Adding tool to fetch sosreports from all servers and clients using glusto-tests config file. This tool is essentially just a tweeked version of getsos[1] tool which can take glusto-tests config file and is relicensed under GPLv3+. Reference: [1] https://github.com/kshithijiyer/getsos Change-Id: Ic1685163154ed4358064397d74d3965097448621 Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
* [Tool] Add tool to verify multiple runs for a given set of testcase(s)Pranav2020-05-292-0/+195
| | | | | | | | | | | This tool verifies the stability of a given set of testcase(s) by executing it consecutively for a pre-defined number of times. This ensures that the written code is stable and also helps the user to identify unexpected failures or errors that may arise while executing it multiple times. It also checks the given code for any pylint/flake8 issues. Change-Id: I731277a448d4fc8d0028f43f51e08d6d9366c19a Signed-off-by: Pranav <prprakas@redhat.com>
* [Tool] Adding tool to setup passwordless ssh from glusto-test conf file.kshithijiyer2019-11-223-0/+225
As glusto-tests needs passwordless ssh configured for all severs and clients. This can sometime be an issue when you have a large number of nodes. Adding this tool would enable us to setup passwordless ssh to all the nodes from any given glusto-tests config file. The tool is a simple python3 commandline tool which will take glusto-tests config file and password and use sshpass and ssh-copy-id to setup passwordless ssh to all nodes from the master node. Pasting the help menu of the tool to give a better picture of what can be done with the tool. usage: setup_passwordless_ssh [-h] [-c CONFIG_FILE] [-p PASSWORD] [-u USERNAME] Tool to setup passwordless ssh to all nodes. optional arguments: -h, --help show this help message and exit -c CONFIG_FILE, --config_file CONFIG_FILE A glusto-tests configuration file. -p PASSWORD, --password PASSWORD Password of servers. -u USERNAME, --username USERNAME User to be used to setup passwordless ssh. Change-Id: I491cdd975719e29b7e8f43ce548b42f2ad59a4b9 Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>