aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/VIM
AgeCommit message (Collapse)AuthorFilesLines
2015-12-18Add cinder check to support NoneType objectjose.lausuch1-1/+1
Change-Id: Ic8606479b8f5ea28cd8884414a6f4a3b76685107 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-18Parameterize Rally scenariosJuha Kosonen27-0/+2267
Applied argument manipulation approach from rally/certification. JIRA: FUNCTEST-109 Change-Id: Ia6f08f1a7e7566c883cf7c616d32b7e0ca26b1f9 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2015-12-18Add more defaults to clean_openstack scriptjose.lausuch1-1/+2
Change-Id: Iefc43e919aa461a849bc81b953533dfc291b8a85 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-18Adding more robust check to delete a port in clean_openstack.jose.lausuch1-4/+13
Change-Id: I87ec537cde0b8ef8fd8d11aa327e93087f2125c4 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-18Fix bug clean_openstack if the function return a Nonemeimei1-5/+12
Change-Id: Ia9257742193526f4293ffc26e05d5590493d5a4f Signed-off-by: meimei <meimei@huawei.com>
2015-12-18fix bug of cleaning the openstack env, the tenant"service" cannot be deletedmeimei1-1/+1
Signed-off-by: meimei <meimei@huawei.com> Change-Id: I351ee985027b26686aa2cd9eddc52daed3e37a0f
2015-12-17Add debug information for ports in clean_openstackjose.lausuch1-1/+8
Change-Id: I3e7788c36971b132ab685dd55600a449aa1d5128 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
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-27Added customized tempest test case listViktor Tikkanen1-0/+227
This list is based on tempest own smoke test case suit and extended by selected test cases defined by DefCore Committee (https://wiki.openstack.org/wiki/Governance/DefCoreCommittee). The list can be applied e.g. with following command: rally verify start --tests-file <path> Change-Id: Iaeb218a7dbb0f51f2f838bfa262439d12b09689c Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.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-10-02Add SLA to Rally test casesJuha Kosonen13-0/+255
Set success criteria for Rally scenarios to indicate failure in case of a failed iteration. JIRA: FUNCTEST-58 Change-Id: Ie864ebfddf4be5f67c0af0ceca0d7d1d0c07cd19 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.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-06-03remove unused doc fileMorgan Richomme1-218/+0
JIRA: FUNCTEST-2 Change-Id: I566fc860d79bef1f0ada66c3271acba68678c607 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-21due to cleaning issue the order of the tests may have some consequences. ↵morganrOL1-21/+21
Running list of images first reduce the risk of false errors JIRA: FUNCTEST-1 Change-Id: Ib12b37dc1b2b759413289dc0aad4e81eefa0bf2e Signed-off-by: morganrOL <morgan.richomme@orange.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-18Fix requests scenario for rally bench suite (re import from rally)morganrOL1-4/+20
JIRA: FUNCTEST-1 Change-Id: I5d40408afcc0765e2f7fc5cef917d80395c22590 Signed-off-by: morganrOL <morgan.richomme@orange.com>
2015-05-18fix cinder scenario bug (bad scenario format)morganrOL1-3/+2
JIRA:FUNCTEST-1 Change-Id: I1515517bfb8f31dcba8a129864852882c7ff569a Signed-off-by: morganrOL <morgan.richomme@orange.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 default public network name in VM scenariomorganrOL1-2/+2
JIRA: FUNCTEST-1 Change-Id: I51844e5a837a1b8ec5dde78ad0a1da13d06ca22e 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-13change default image name for bench testingmorganrOL3-22/+22
JIRA: FUNCTEST-1 Change-Id: Ib3b7dc01555d032bc0d189984ea00839983a1f6b Signed-off-by: morganrOL <morgan.richomme@orange.com>
2015-05-13Change default image name for tests (in ligne with config script), use the ↵morganrOL1-6/+6
one preloaded by the config script JIRA: FUNCTEST-1 Change-Id: Iff9f8b5745c39aefafa113d69bfa03b0a556a2a5 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.lausuch3-2/+509
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.lausuch3-29/+29
adapted bench test nova and vm Change-Id: Ibcfb2b5c30c6b5ceb23476d7ee659ec9c06848cf JIRA:FUNCTEST-1 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>