summaryrefslogtreecommitdiffstats
path: root/testcases/VIM/OpenStack/CI/libraries
AgeCommit message (Collapse)AuthorFilesLines
2015-12-17Change print statement to logger.debug for the separator in clean_openstackjose.lausuch1-1/+1
Change-Id: I947c11d6d9e0fedf14c9250832137ed2aa699d0e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-17Fix bug clean_openstack if there are no users and tenants.jose.lausuch1-0/+8
Change-Id: If750bfa3d9a090e8554d62b49907ac6d873d18e4 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-17Fix bug clean_openstack if there are no networks.jose.lausuch1-0/+4
Change-Id: I0acbfb68142f138d1f866bf40d708bf762de2e1b 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-16Merge "OpenStack cleanup script"Morgan Richomme2-0/+442
2015-12-14Add a flag to push the results to the DB optionalyjose.lausuch1-1/+8
By default, it will NOT push, only if specified by -r The parameter must be taken from a Jenkins job set to TRUE JIRA: FUNCTEST-84 Change-Id: Iee3b293e90b052b88de2d4f1d337f5ec5e3b3941 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-14OpenStack cleanup scriptjose.lausuch2-0/+442
This is needed in case any test case doesn't clean what it creates in openstack. (This has been happening sometimes for Tempest, for example) This script will remove: - nova instances - glance images - cinder volumes - networks/subnets/ports - routers - floating ips - security groups - users and tenants (not admin) It won't remove the defaults. Change-Id: Ie09a5ad481fc3d1b92f124362aea6906665a1629 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 Richomme2-2/+4
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-20Change duration to integer seconds in tempest resultsjose.lausuch1-1/+6
JIRA: FUNCTEST-37 Change-Id: I4de4f8564598bbb8e47ff5e8062c696cf06ac55e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-19set nb test run and failure tests as intMorgan Richomme1-31/+33
JIRA: FUNCTEST-37 Change-Id: Ic540eab88c86422af1b68b4ead74f9456d18fa25 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-10-19Merge "Create run_tempest out of run_rally"jose.lausuch1-0/+144
2015-10-19Create run_tempest out of run_rallyjose.lausuch1-0/+144
JIRA: FUNCTEST-37 Change-Id: If87c66f0905b8577b6ebccff7a61d6d6eced6da9 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.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>