aboutsummaryrefslogtreecommitdiffstats
path: root/testcases
AgeCommit message (Collapse)AuthorFilesLines
2015-10-07Fix rally installation path in config yaml filejose.lausuch2-2/+2
JIRA: FUNCTEST-29 Change-Id: Id34570b9795e8447e05408364621abe2740ed457 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-07Merge "Dockerfile for Functest"jose.lausuch3-56/+30
2015-10-07Dockerfile for Functestjose.lausuch3-56/+30
Includes also: - script to trigger Functest automatically within the container - common requirements file to install python modules - added new parameters in the config_functest.yaml - other small adjustements JIRA: FUNCTEST-29 Change-Id: I230631e43e5f7e14938b35903ecec1b17db0f88a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-06Merge "Use new environment script to setup env to run onos function test ↵Morgan Richomme1-0/+212
JIRA:FUNCTEST-60"
2015-10-05Merge "Added configure_tempest() function"Morgan Richomme1-3/+46
2015-10-05Merge "vIMS deployment and cleanup"boucherv5-4/+458
2015-10-05vIMS deployment and cleanupboucherv5-4/+458
These scripts allow to : - Prepare platform (tenant, user, image, quota etc) - Deploy cloudify-manager-server - Deploy vIMS Clearwater - Undeploy vIMS - Undeploy cloudify-manager-server - Clean the platform vIMS test coming soon JIRA: FUNCTEST-38 Change-Id: I35be6433c6511d741a27b67fe24c3031f1e29fe5 Signed-off-by: boucherv <valentin.boucher@orange.com>
2015-10-05Added configure_tempest() functionViktor Tikkanen1-3/+46
Currently there is a need to add and/or update some parameters into Tempest configuration file (tempest.conf) generated by Rally. This version of the function updates fixed_network_name parameter. JIRA: FUNCTEST-70 Change-Id: I182b687b02a4f124b6289e3cdae6f5817914d2ca Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com>
2015-10-04Use new environment script to setup env to run onos function testQinglong Lan1-0/+212
JIRA:FUNCTEST-60 Change-Id: Iaafb2ffee85c4fc11dde20194e9bd10789f40c65 Signed-off-by: Qinglong Lan <lanqinglong@huawei.com>
2015-10-04Write a simple adapter in functest project to run TESTONQinglong Lan1-0/+32
JIRA:FUNCTEST-46 Change-Id: I146ec926da6cbbd2535d0997326a13bd545f42c6 Signed-off-by: Qinglong Lan <lanqinglong@huawei.com>
2015-10-02Merge "Add get_networks_list function in functest_utils.py"jose.lausuch1-20/+33
2015-10-02Merge "Add SLA to Rally test cases"Morgan Richomme13-0/+255
2015-10-02Add get_networks_list function in functest_utils.pyjose.lausuch1-20/+33
Change-Id: Ibafaf66f2c63a38d847cdd59a70da74475dc7c7e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.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-10-02Use new connection script to be the connection adapter to run onoslanqinglong4-1/+147
JIRA:FUNCTEST-59 Change-Id: I335d728f2dd10f90344d17705412ffc9f753a931 Signed-off-by: lanqinglong <lanqinglong@huawei.com>
2015-09-25Adapt installation of Tempest from rally with new command linejose.lausuch1-1/+1
https://review.openstack.org/#/c/225479/ Change-Id: I2d25797d02afed0e399f3f97c83b46c5e8969821 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-09-25Removed command 'exit 0'Peter Bandzi1-1/+1
Forgot to remove it in previous commit JIRA: FUNCTEST-41 Change-Id: I411e3dc097cb550151480790fdf1aadae584099c Signed-off-by: Peter Bandzi <pbandzi@cisco.com>
2015-09-25Fix for ODL suitePeter Bandzi1-5/+16
There is required to add into __init__.py of neutron suite following two lines: Suite Setup Start Suite Suite Teardown Stop Suite Otherwise there were errors like unknown variables. Also adding some small enhancements like creating one final report from partial reports JIRA: FUNCTEST-41 Change-Id: Ia91e05ebf378104af5d98029b154d7394559678e Signed-off-by: Peter Bandzi <pbandzi@cisco.com>
2015-09-23Merge "added flag --yes to install_rally to force install dependencies"Morgan Richomme1-1/+1
2015-09-23added flag --yes to install_rally to force install dependenciesjose.lausuch1-1/+1
Change-Id: Ie199acd062633cda3ec3745ce4a506d247873780 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-09-23Merge "onos-test:basic frame work of running onos TestOn test"Morgan Richomme3-0/+231
2015-09-22Merge "creation of scripts to generate Dashboard compatible json result files"Morgan Richomme8-64/+519
2015-09-22added yum install of needed packages on jumphostjose.lausuch1-0/+6
Change-Id: I7ee320dc9564ad144d9f1106c79a876e2d5b1bdc Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-09-22onos-test:basic frame work of running onos TestOn testlanqinglong3-0/+231
Change-Id: I9b701e37b2e0fa167e5d1c1e55b35eeb12c33bf6
2015-09-22creation of scripts to generate Dashboard compatible json result filesMorgan Richomme8-64/+519
JIRA: FUNCTEST-45 Change-Id: I2336b830d3b5079f45c96bbb69061c8020ea637a Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-09-18Adding some methods on functest_utils.pyunknown1-0/+87
These methodes allow to manage : - keystone user, tenant and role - glance image - nova flavor These methodes will be used on vIMS test-case. JIRA: FUNCTEST-38 Change-Id: Ib5f1fb5ef325ab0527115a36b9c6ce6b45aa84f6 Signed-off-by: boucherv <boucherv@live.fr>
2015-09-15Remove OS_REGION_NAME from OpenStack credentials checkjose.lausuch1-4/+0
Change-Id: I4de7a1cd68f3381d4e22848595ce4c52b1aaa29f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-09-04script to transfor vPing raw results into a json file to be used by the ↵Morgan Richomme1-0/+127
future dashboard JIRA: FUNCTEST-45 Change-Id: I257a2762347e1466d7e3fc17ad773c251d36861e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-09-03change vPing to push results in Test DBMorgan Richomme2-99/+222
JIRA: FUNCTEST-36 Change-Id: I2b1fd1f633bc44971e63ab5344076934c144c115 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-08-24workaround order of env settings to all ODL tests to be runMorgan Richomme1-6/+6
JIRA: FUNCTEST-39 Change-Id: I9d9ad0d9916da7927dace7b968c975c99032738a Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-08-24README for vIMS testcaseMorgan Richomme1-0/+3
Note that vIMS shall be also documented in the global functest rst guideline. JIRA: FUNCTEST-38 Change-Id: Ifebcbcdad5231283afd8ad721daa60fa13ced15e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-07-07Add check for ownership in ~/.cache/pipjose.lausuch1-1/+19
There are problems when Rally installs Tempest and the owner of that directory is root instead of the current user More info: https://bugs.launchpad.net/rally/+bug/1461493 JIRA: FUNCTEST-14 Change-Id: I90d0edf206ff4dcc10d95cc8a4e806021017b429 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-06-26config_functest.py: Rally installed with sudojose.lausuch1-1/+2
JIRA: FUNCTEST-19 Change-Id: Ide98accb5204ff4f57088a2dea28654adcfab80a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-06-18functet_utils: bugfix check_internet_connectivity exceptjose.lausuch1-1/+1
JIRA: FUNCTEST-17 Change-Id: I28cdd11b1004507ae7b455f19a2555a17eae85c7 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-06-18replace default web site for testing internet connectivityMorgan Richomme1-1/+1
previous one was filtered in China JIRA: FUNCTEST-10 Change-Id: Ib5c7f1a6b69b12b2e78a3d8aca9dc78e5b7c652e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-06-16modify functest config to prepare result folderMorgan Richomme1-0/+9
JIRA: FUNCTEST-9 Change-Id: I7ff1452da27dc904f349bcbefbc43a480a3e8843 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-06-03config_functest.py : bugfix: removed "sudo" from installing rally commandjose.lausuch1-3/+1
JIRA: FUNCTEST-10 Change-Id: I78af7a8dab9465aab547432b307b3ad7793f47b5 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-06-03functest_utils.py : bugfix: logg-->loggerjose.lausuch1-1/+1
JIRA: FUNCTEST-10 Change-Id: I6595aecb29b3b6881840a12d5594130fbd9b790e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.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-06-02vPing.py: Fixed IPs for VMs, Not DHCPjose.lausuch3-28/+60
JIRA: FUNCTEST-3 Change-Id: Ib921262cfe153e47b88ba268199a66bc47950893 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-05-30Improvementsjose.lausuch4-323/+397
- Added: functest_utils.py for common util functions - Moved: a lot of functions from config_functest.py to functest_utils.py - Moved: create of functest-net from config_functest.py to vPing.py - Improvements and code cleaned JIRA: FUNCTEST-10 Change-Id: I0d3381576cbb24a999ea69e107baafea896a36e7 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-05-29Fix relative path issue in custom testPeter Bandzi3-12/+12
Plus changed expected response from 404 to 204. Current response from ODL is 404 but it is because network,subnet,port are not deleted in ODL. It is ODL bug and response should be 204. JIRA: FUNCTEST-5 Change-Id: I1a6ed78355b697b455d089e51007900c5ba721a6 Signed-off-by: Peter Bandzi <pbandzi@cisco.com>
2015-05-26fix absolute/relative issue in start_test.shPeter Bandzi1-1/+1
JIRA: FUNCTEST-5 Change-Id: Ib9764932b18e2684ec78040bcadbd432b5701cec Signed-off-by: Peter Bandzi <pbandzi@cisco.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.lausuch2-1/+3
JIRA: FUNCTEST-10 Change-Id: I796542f32a75892ff66ea23115cbcddd72438323 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-05-26Refactor functest environment. Bugfixes: arg dependenciesjose.lausuch4-23/+29
JIRA: FUNCTEST-10 Change-Id: I4b392a76ecbafdc5e4f1909c26a17a934796ec23 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-05-26Refactor functest environmentjose.lausuch4-156/+63
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-22vPing.py: bugfix: EXIT_CODE not definedjose.lausuch1-2/+1
JIRA: FUNCTEST-3 Change-Id: I710b7dc8569cef091e8c5db89f30a52ca074649a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-05-22Merge "Add $BASEDIR var to all paths"Peter Bandzi1-6/+6