summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | CNS: fixing heketi testcases that are failingApeksha D Khakharia2018-05-142-15/+4
| |/ | | | | | | | | | | | | | | | | Also removing the skip decorator, the testcase logic have no issues and it passes when executed individually Change-Id: Iede3f6b67ddd79d0efc673b2b3440fba392540d4 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | Fix broken dynamic_provisioning testsValerii Ponomarov2018-05-106-61/+121
| | | | | | | | | | | | | | | | Fix 2 autotests, remove skip decorator for them. And rework logic of mongodb template uploading for mongodb pod, so it takes couple of seconds instead of minutes. Change-Id: Ib2b09364ae435b9784b76c2f2581c197128f9649
* | Merge "CNS: adding testcase and library for volnameprefix"Krishnaram Karthick Ramdoss2018-05-104-13/+82
|\ \
| * | CNS: adding testcase and library for volnameprefixApeksha D Khakharia2018-05-084-13/+82
| | | | | | | | | | | | | | | Change-Id: I84968bcfe19aa8af73f185be178079a8373915b3 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | | Merge "Install latest pip for virtual environments"Krishnaram Karthick Ramdoss2018-05-102-17/+21
|\ \ \ | |_|/ |/| |
| * | Install latest pip for virtual environmentsValerii Ponomarov2018-05-042-17/+21
| |/ | | | | | | | | | | | | | | | | | | | | | | To avoid errors trying to install latest dependencies using unexpected pip version. It allows us to run tests on RHEL7.4 Also, update 'README' file with actual information about running commands in venvs. Change-Id: I154be92cbaa46b7169d2a259acdb05d50448d570
* / Add sample files to 'cnslibs' packageValerii Ponomarov2018-05-032-0/+2
|/ | | | | | | | | | With this change we do not face 'No such file or directory' error anymore running tests using 'cnslibs' installed in system. Without it we can run tests not facing such error only using 'tox'. To have it applied we need to reinstall the 'cnslibs' package. Change-Id: Ibf16ef6354210c4356e0c25f16582d0e73e0df13
* Merge "CNS: changing the validation with return code"Krishnaram Karthick Ramdoss2018-05-022-7/+9
|\
| * CNS: changing the validation with return codeApeksha D Khakharia2018-03-162-7/+9
| | | | | | | | | | Change-Id: I53abee4431082100afc33a52c16442469774d1cc Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | Merge "Add 'functional' venv to tox config"Krishnaram Karthick Ramdoss2018-05-022-2/+20
|\ \
| * | Add 'functional' venv to tox configValerii Ponomarov2018-04-022-2/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now, it is possible to run the functional tests having all the dependencies installed in it with following command: $ tox -e functional -- glusto -c %config%.yaml --pytest='-v -s tests' Local 'cnslibs' package is installed in editable mode, it means that any changes to its files will be taken up by next run of tests using above tox venv command. Also, update '.gitignore' file ignoring more temp files. Change-Id: I3118489f4fb6e52e5e94705b68c18ea1783a18b6
* | | Merge "Fix calculation of the path to the template files"Krishnaram Karthick Ramdoss2018-05-021-10/+17
|\ \ \
| * | | Fix calculation of the path to the template filesValerii Ponomarov2018-04-041-10/+17
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | For the moment, CNS tests work only if we run tests from one concrete directory, and it is not the root dir for tests. So, calculate it safely and use safer variant for picking up the template files avoiding false "Not Found" errors. Change-Id: I7fbe90328550e0ce9f45d8eed228e7ed34f3a5ae
* / / Fix picking up of the heketi serviceValerii Ponomarov2018-04-054-8/+25
|/ / | | | | | | | | | | | | | | | | | | Doing 2 following things: - Add 'heketi_service_name' config option to define the name of Heketi service in OCP. Without it we use hardcoded name 'heketi' which can be different on different setups. - Add switching to the CNS project for CNS tests. Change-Id: Iad308db7a1d63fc64ddd3f5b99823917b99c0706
* | CNS: using oc command to get heketi-ipApeksha D Khakharia2018-03-062-24/+16
| | | | | | | | | | Change-Id: Id3b4af5c9fdf69ca717e3c7aa86dd4c377bec510 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | Merge "Add .gitignore file"Krishnaram Karthick Ramdoss2018-03-051-0/+16
|\ \
| * | Add .gitignore fileValerii Ponomarov2018-02-151-0/+16
| | | | | | | | | | | | | | | | | | | | | With the most popular temporary files that should not go to the source code. Change-Id: Ib5a28fdfa7f163f937b0f128815448cb5c5acce1
* | | Merge "CNS : fixing name errors"Krishnaram Karthick Ramdoss2018-03-052-9/+2
|\ \ \
| * | | CNS : fixing name errorsApeksha D Khakharia2018-03-052-9/+2
| | |/ | |/| | | | | | | | | | Change-Id: I356b35bcdce31f82734eb6d32824944cdb55aac6 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* / | CNS: adding same secret name while creating scApeksha D Khakharia2018-03-052-12/+12
|/ / | | | | | | | | Change-Id: Ice9eb4ea0cb8e86914ca54b65b23fc494754b0fc Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | CNS: skipping 3 heketi testcases for nowApeksha D Khakharia2018-02-262-0/+13
| | | | | | | | | | Change-Id: I685d3fe5eeb4ff776d3fe6907cfab798dc793b0b Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | CNS: heketi_url changeApeksha D Khakharia2018-02-215-106/+242
| | | | | | | | | | Change-Id: I927166d4649a5318cea221219d471534bd258545 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | Merge "add a test for multiple parallel operations"Krishnaram Karthick Ramdoss2018-02-211-1/+93
|\ \
| * | add a test for multiple parallel operationsJohn Mulligan2018-01-221-1/+93
| | | | | | | | | | | | | | | | | | | | | | | | Test creating volume when "other processes" are creating and deleting other volumes in the background. Change-Id: Ic46fd819d98cf6f9b771a2272fd81aeb9814004a Signed-off-by: John Mulligan <jmulligan@redhat.com>
* | | Add support of heketi_cli_user and heketi_cli_keyValerii Ponomarov2018-02-204-57/+133
| |/ |/| | | | | | | | | | | | | | | | | | | | | Just define following config options: cns: heketi_config: heketi_cli_user: 'admin' heketi_cli_key: 'some_secret_admin_key' To make heketi tests use specific creds for auth. Change-Id: I60f6d6e3922de6602d8fd39656132a23f18ffc8c
* | Merge "heketi automation cases"Krishnaram Karthick Ramdoss2018-02-025-0/+749
|\ \
| * | heketi automation casesAkarsha Rai2018-01-315-0/+749
| |/ | | | | | | | | Change-Id: Id5e3765940ba88ef6d41b52c3306ba45fe62a0f1 Signed-off-by: Akarsha Rai <akrai@redhat.com>
* | Merge "Initial commit for heketi test cases"Krishnaram Karthick Ramdoss2018-02-022-0/+255
|\ \
| * | Initial commit for heketi test casesmandaltapesh2018-02-012-0/+255
| | | | | | | | | | | | | | | | | | | | | | | | | | | The initial batch of testcases pushed includes testcases related to volume creation and deletion. Change-Id: I754155c85fb764f0e0600b0c0b88d55fa999361b Signed-off-by: mandaltapesh <tmandal@redhat.com>
* | | Heketi test cases regarding volume expansion and devicesmandaltapesh2018-02-011-0/+726
| | | | | | | | | | | | | | | Change-Id: I449e02d126cfa1472bdc16c008f98520f0a12f00 Signed-off-by: mandaltapesh <tmandal@redhat.com>
* | | Merge "CNS: removing the mpathconf from masternode"Krishnaram Karthick Ramdoss2018-01-311-3/+3
|\ \ \
| * | | CNS: removing the mpathconf from masternodeApeksha D Khakharia2018-01-311-3/+3
| | | | | | | | | | | | | | | | | | | | Change-Id: Ibfd065dcd03478f49a324798b08e2ae37da1836c Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | | | Merge "CNS: adding P0 dynamic provisioning testcases"Krishnaram Karthick Ramdoss2018-01-312-0/+646
|\ \ \ \ | |/ / / |/| | |
| * | | CNS: adding P0 dynamic provisioning testcasesApeksha D Khakharia2018-01-302-0/+646
| | |/ | |/| | | | | | | | | | Change-Id: I85c00192285cbf773aea2c92e3aa8c6fe1b7c863 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | | Merge "CNS: adding libraries for dynamic provisioning"Krishnaram Karthick Ramdoss2018-01-319-0/+714
|\ \ \
| * | | CNS: adding libraries for dynamic provisioningApeksha D Khakharia2018-01-309-0/+714
| |/ / | | | | | | | | | | | | Change-Id: I0023dae5b4628b30b5434b0e10dc519a227fd3aa Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | | Merge "CNS: adding CNS base class"Krishnaram Karthick Ramdoss2018-01-305-1/+903
|\ \ \
| * | | CNS: adding CNS base classApeksha D Khakharia2018-01-295-1/+903
| |/ / | | | | | | | | | | | | Change-Id: Ieb03c52c7e8db9f37fe8f71692e5e0617a73a4c8 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* / / CNS: adding library for creating namespaceApeksha D Khakharia2018-01-291-0/+24
|/ / | | | | | | | | Change-Id: Ia20fe357186ed408cfa3a42dc2d4ac70ddd29ba4 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | add a test to run a bunch of PVC creates in parallelJohn Mulligan2018-01-222-1/+50
| | | | | | | | | | | | | | | | This is a quasi-stress-test that check that the system can process multiple PVC being requested at the same(ish) time. Change-Id: I72cdc0876c51058ebab62a0764d0d049a65c649d Signed-off-by: John Mulligan <jmulligan@redhat.com>
* | add a 2nd multi volume test caseJohn Mulligan2018-01-221-0/+75
| | | | | | | | | | | | | | | | | | Add a 2nd multi volume create test case as well as setup and cleanup functions to try to prevent the async cleanups from one test causing the other test to fail. Change-Id: I721a3393a20b4f03f896aee20d64753ac93b3152 Signed-off-by: John Mulligan <jmulligan@redhat.com>
* | Merge "add a test to verify multiple PVC requests create multiple volumes"Krishnaram Karthick Ramdoss2018-01-224-0/+438
|\ \
| * | add a test to verify multiple PVC requests create multiple volumesJohn Mulligan2018-01-194-0/+438
| | | | | | | | | | | | | | | | | | | | | | | | This is sort of a trial of the both the test framework, my ability to add tests to it, and the workflow of adding changes to the repo. Change-Id: I17b61f298c04f45df8b77555b16d292fd2b2a3a8 Signed-off-by: John Mulligan <jmulligan@redhat.com>
* | | Adding delete volumes functionmandaltapesh2018-01-181-1/+26
| | | | | | | | | | | | | | | Change-Id: I36dfea0d9c1715a015fc14183f1dce39cbc20eb2 Signed-off-by: mandaltapesh <tmandal@redhat.com>
* | | Add possibility to run 'pep8' checksValeriy Ponomaryov2018-01-123-0/+36
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Steps to be performed to run 'pep8' checks in local venv: 1) Install 'tox' package first: $ pip install tox 2a) Run all the tests (currently, it is only pep8 checks): $ tox 2b) Run only 'pep8' checks: $ tox -e pep8 Change-Id: I7afc55bbab5bcbeb2920c3439259da2707ff9a04
* / raw_cli_output option for volume and device related methodsmandaltapesh2018-01-111-24/+89
|/ | | | | | | | | It is a requirement for validating negative testcases. The message helps in determining whether the failure is due to a desired/valid reason. Change-Id: I618ba9a88756fc9970341f632eac827bdb5a6f66 Signed-off-by: mandaltapesh <tmandal@redhat.com>
* Merge "add a utility library to support patching glusto for pod support"Krishnaram Karthick Ramdoss2018-01-112-2/+124
|\
| * add a utility library to support patching glusto for pod supportJohn Mulligan2018-01-102-2/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This module provides the ability to patch the glusto run method with the ability to run commands in pods. This module implements the custom run method and a helper class that acts as a context manager or decorator to patch glusto. This version adds a log_level argument to oc_rsh in order to plumb the argument all the way through to the inner glusto.run method. It also cleans up some the docstrings and variable names. Change-Id: I0eeea234b1af5e60e41aae63e46e2d816e8929d2 Signed-off-by: John Mulligan <jmulligan@redhat.com>
* | Merge "CNS: adding more parameters for dynamic provisioning"Krishnaram Karthick Ramdoss2018-01-111-2/+28
|\ \
| * | CNS: adding more parameters for dynamic provisioningApeksha D Khakharia2018-01-051-2/+28
| | | | | | | | | | | | | | | Change-Id: I7b3528ef52780b115840b5ebd7882f1d4d441ccf Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>