aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/VIM/OpenStack/CI/libraries/run_rally.py
AgeCommit message (Collapse)AuthorFilesLines
2016-01-18Remove all the unnecessary Rally outputjose.lausuch1-3/+10
Change-Id: Ic6c719afadae56723ba515eaf9ad5e29be57c129 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-01-15Change novaclient usagejose.lausuch1-2/+2
Avoid having this warning: UserWarning: 'novaclient.v2.client.Client' is not designed to be initialized directly. Change-Id: I1a9154d97be14007bcb988a5ccd630eadf2e8a5f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-01-13Place config_functest.yaml outside the functest repojose.lausuch1-1/+1
If config_functest.yaml is given it will be placed in: /home/opnfv/functest/conf/config_functest.yaml If not given: copy default from repo to that location Change-Id: I816bf5ccf8e0a5b8ebde2a0ab924657533f49127 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-22Use repos_dir env variable in all Functest scriptsjose.lausuch1-6/+10
JIRA: FUNCTEST-90 This way, we remove the 'functest repo' input parameter on the python scripts call and we make it simpler using the available repos_dir env variable which points to /home/opnfv/repos Change-Id: I7d74bf1bc8d89f8f14397fcb9dafc22ee1482f84 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-16Fix run_rally.py to create image using glance python clientjose.lausuch1-17/+15
Change-Id: Ia617abcfe6d04995d10e446f070df22a6f11cca5 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-10fix path for rally resultMorgan Richomme1-1/+1
Change-Id: Ic686bb41b927072b47e20afe480da6d8119053fc Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-12-10fiw path bug for run_rallyMorgan Richomme1-1/+1
remove HOME as path are now absolute path in docker file Change-Id: I5d211c8e72ac744aa04c17064365f5f8b1178f95 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-11-30Add functions to retrieve POD name in FunctestMorgan Richomme1-1/+2
JIRA: FUNCTEST-108 Change-Id: I3453933e12cd7af9b06f50b327873f7516609566 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-11-25Rally 'module' parameter not needed any morejose.lausuch1-2/+2
JIRA: FUNCTEST-63 Change-Id: Idcbab6186e16b850b5e2feef54ebc10746afa858 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-11-25Use only Rally as tescase nameMorgan Richomme1-1/+1
do not use Rally-module to simplify dashboard management. Module is always mentioned in the case names JIRA: FUNCTEST-63 Change-Id: Idb56c9ea906443e9d4aae9bd1ade30e8bd6cb3b4 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-11-02add load of functest-img-rally for vm and cinder testsMorgan Richomme1-0/+50
JIRA: FUNCTEST-94 Change-Id: I959c29eda12709896fdf9c3c4fcd9760b6dfa19b Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-10-19refactor run-rally and integrate API to push results into DBMorgan Richomme1-81/+83
heavier refactoring due to new verison of Rally will probably needed JIRA: FUNCTEST-55 Change-Id: Ia9976fa4fe55618cf7f85f9d6a2d0b660497b624 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-06-10remove date stamping in run_rallyMorgan Richomme1-6/+1
rally results shall be pushed to result folder but date stamping shall be done at CI level not test by test JIRA: FUNCTEST-12 Change-Id: I35051e6211775d8f916551d6ca8b0849b126d38e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-05-26vPing.py: bugfix: removed cgit download of scenariosjose.lausuch1-30/+4
JIRA: FUNCTEST-3 Change-Id: I4ddb01ef9f479c0b6e141ad27022cf0ef5648760 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-05-26Refactor functest environment. Bugfixes: arguments missingjose.lausuch1-1/+2
JIRA: FUNCTEST-10 Change-Id: I796542f32a75892ff66ea23115cbcddd72438323 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-05-26Refactor functest environment. Bugfixes: arg dependenciesjose.lausuch1-7/+12
JIRA: FUNCTEST-10 Change-Id: I4b392a76ecbafdc5e4f1909c26a17a934796ec23 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-05-26Refactor functest environmentjose.lausuch1-1/+1
Depends on: https://gerrit.opnfv.org/gerrit/#/c/642/ JIRA: FUNCTEST-10 Change-Id: I08404df8b38372a40f715d9bde2347fd67ce52a9 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-05-20fix bug due to removal of VM scenariomorganrOL1-2/+2
JIRA: FUNCTEST-9 Change-Id: Ic86ede69d5bdfd3e0ec767f392f093b13232ed82 Signed-off-by: morganrOL <morgan.richomme@orange.com>
2015-05-19Merge "remove test VM to test CI (could be reintrouduced later)"morganrOL1-1/+1
2015-05-19remove test VM to test CI (could be reintrouduced later)morganrOL1-1/+1
JIRA: FUNCTEST-1 Change-Id: I6387003f1d156e46a6b0dfde36fa8be389308192 Signed-off-by: morganrOL <morgan.richomme@orange.com>
2015-05-18run_rally.py: added consistent path for functest.yamljose.lausuch1-1/+2
JIRA:FUNCTEST-1 Change-Id: Id7b2f7f6846724105ea0521236d03e39a2c386ec Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-05-15remove heat from the list of rally benchs to execute for R1 (out of scope)morganrOL1-2/+2
JIRA: FUNCTEST-1 Change-Id: Iccbed6abc1bf4583d2d7c504e422603481712af4 Signed-off-by: morganrOL <morgan.richomme@orange.com>
2015-05-14change result structure, put all results in a date directory instead of ↵morganrOL1-12/+8
suffixing file with date JIRA: FUNCTEST-11 Change-Id: I20b76272c8bcffb56739aa84229d54318daa9feb Signed-off-by: morganrOL <morgan.richomme@orange.com>
2015-05-12fix bug on error detectionmorganrOL1-1/+1
JIRA: FUNCTEST-1 Change-Id: I817c71ee74e15fd2b2d4de7feab3ebda19648ec9 Signed-off-by: morganrOL <morgan.richomme@orange.com>
2015-05-10Added functest.yaml to centralize the common parameters for all scripts of ↵jose.lausuch1-21/+26
functest adapted scripts to get the parameters from the yaml JIRA: FUNCTEST-1 JIRA: FUNCTEST-3 Change-Id: Id761394c3cd0efec611c9c511adfee041c3f4c58 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-05-07Added smoke bench scenarios: complete smoke and green list of working tests.jose.lausuch1-2/+2
Include smoke as input parameter for run_rally.py to run as bench test. JIRA: FUNCTEST-2 Change-Id: If9f67aed0f7d0c791342ae02a4620bdcf4f71b3e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-05-06update of the script, change tempest management, set smoke test by default, ↵morganrOL1-4/+63
generate log file for Tempest result JIRA: FUNCTEST-2 Change-Id: If097ee21363e37beebb77cb958a3e6b993f7f071 Signed-off-by: morganrOL <morgan.richomme@orange.com>
2015-04-30run_rally: added quotas and requests as input parameters.jose.lausuch1-10/+10
adapted bench test nova and vm Change-Id: Ibcfb2b5c30c6b5ceb23476d7ee659ec9c06848cf JIRA:FUNCTEST-1 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-04-30JIRA:FUNCTEST-1 -run_rally: added cinder as input parameter and other minor ↵jose.lausuch1-15/+16
changes Change-Id: Ic413ee1687e15499f8cf5f38b729083ec00269c6 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-04-29update python script to manage Rally bench tests, add help section, exclude ↵morganrOL1-53/+97
Tempest from all bench tests JIRA: FUNCTEST-1 Change-Id: I479c3216706635738321fc96f6e02f84bbd707a4 Signed-off-by: morganrOL <morgan.richomme@orange.com>
2015-04-24Remove hardcoded path, retrieve scenario file dynamically, create results ↵morganrOL1-31/+63
and scenario folder JIRA: FUNCTEST-1 Change-Id: I8d11a8557cedad94f9b4882b0d5b3d95f43b9f90 Signed-off-by: morganrOL <morgan.richomme@orange.com>
2015-04-09script to launch Rally bench scenario per module or all one after the other ↵morganrOL1-0/+104
from CI the script get the test ID and generate reporting JIRA:FUNCTEST-1 Change-Id: If99305739c1ff53a4ee3764369d70653f83f3f6a Signed-off-by: morganrOL <morgan.richomme@orange.com>