aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-07-22Fix execute_command function to show all the outputjose.lausuch1-8/+6
This function wasn't showing anything for some commands, like 'rally show images' and 'rally show flavors' JIRA: FUNCTEST-348 Change-Id: I75bf5f3504ea8ffea42c2fb237d6863c655259e1 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-21Add cd to test directoryblsaws1-1/+2
JIRA: COPPER-4 Fix pendantic formatting issue Change-Id: Iaab44a990fc04addd4c66dc8432bc9428bb5a52f Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-07-20Bugfix: ODL report to DB failsjose.lausuch2-15/+19
JIRA: FUNCTEST-370 Change-Id: I48c8927f3490b86fcf1c95656324429b70201653 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-20Merge "Add kingbird endpoint information to functest."Jose Lausuch2-8/+60
2016-07-20Remove logger as input parameter of functions in openstack_utilsjose.lausuch9-100/+98
JIRA: FUNCTEST-376 Also some fixes to get rid of flake8 violations in onos-sfc Change-Id: I52c2fd30a6b81af20ea779db2d73b9386524f7ce Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-20Add kingbird endpoint information to functest.Dimitri Mazmanov2-8/+60
The patch multihops to the fuel node and dynamically retrieves kingbird endpoint information. It also resolves the controller ip instead of using the hardcoded value from the config ONLY if the installer type is Fuel. Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com> Change-Id: I5161df5df3da7283f6374efa6bd1108246c1095a
2016-07-19Add logger to openstack_utils to output error messagesjose.lausuch1-92/+109
This will help to see the exception error when something fails JIRA: FUNCTEST-376 Change-Id: Ibaa6954fc63af00d552ac32b3cf903b9218200d1 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-19Merge "Show real time tempest test execution"jose.lausuch2-5/+23
2016-07-19Show real time tempest test executionjose.lausuch2-5/+23
JIRA: FUNCTEST-375 Change-Id: I4f0cb68639b927f2980389d9331ec260605c8caf Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-19Catch timeout exception in vIMSboucherv1-4/+12
JIRA: FUNCTEST-368 Change-Id: Ifeec4b89e9a05ee02d5a0829ee787dbd6ef528b2 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-07-19Exit with -1 return code if something fails in vping testsjose.lausuch2-15/+15
Also, turn off debug info from paramiko python module in vping_ssh JIRA: FUNCTEST-373 JIRA: FUNCTEST-374 Change-Id: I6168cae85db91b2dd6ceac591f12dd9295786b59 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-19Extend timeout to check vm in onos-sfc testcasewuwenbin21-2/+2
Change-Id: I68ae154391d8098cab3d3cb05cebe6f1922ca701 Signed-off-by: wuwenbin2 <wuwenbin2@huawei.com>
2016-07-18Don't take openstack snapshot when "-n" option is setjose.lausuch2-11/+12
JIRA: FUNCTEST-236 Change-Id: I37bfa4ebe88a8cf02f2cddc8fc4cce70ad87b775 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-18[multisite] run on the env of fuel and compassmeimei1-1/+1
Change-Id: Ie590a99e8b571af66cc2164c291dd8e9eed47e4a Signed-off-by: meimei <meimei@huawei.com>
2016-07-15Use blacklist of Tempest test cases for SDNVPN scenariojose.lausuch2-2/+15
This patch disables tempest smoke from being executed in bgpvpn scenarios. Since there is a known upstream issue which won't be resolved before Colorado, it doesn't make sense to run the test cases in Tempest that will fail due to that issue. The Tempest suite will be triggered along with the "features" tier, with a given blacklist of the known test that will fail. JIRA: FUNCTEST-369 Change-Id: Ifc533077207e9d62d49bcedcc3cd0936df312891 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-15Fixed typo in config.ini for reports.htmlLuke Hinds1-2/+2
JIRA: FUNCTEST-359 Change-Id: Ide565cea987592446a44b168bd4cff0285864192 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-07-15Add functest logger in ODL scriptjose.lausuch1-9/+20
JIRA: FUNCTEST-367 Change-Id: I3a752ca78d274ca8c16f6179534d36f12facc202 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-15Push sfc result into DBwuwenbin22-4/+51
Change-Id: I8ab9b5b9322fa3a6905c629e559aa78d9817958f Signed-off-by: wuwenbin2 <wuwenbin2@huawei.com>
2016-07-15Revert "Disable ODL test."Jose Lausuch1-1/+1
This reverts commit adf9811e8c0f2fa92ca1c45658a3360e1de8be7e. JIRA: FUNCTEST-371 Change-Id: I677ed08e017e2b147eec9433b050d3fa480565a2 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-15Disable ODL test.jose.lausuch4-4/+4
It triggers a lot of errors. See log in the JIRA ticket: JIRA: FUNCTEST-371 Change-Id: Ia039d36773158850f7746ae6d3a2a65fb350e382 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-15Disable ODL reporting to DBjose.lausuch1-9/+9
The script odlreport2db.py fails and it needs more investigation and troubleshooting. For now, we disable it to not block CI JIRA:FUNCTEST-370 Change-Id: I9952fd7c5238212d6ed1437f1595fdadde9208f2 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-15[bug] miss a ; in case statementmeimei1-0/+1
Change-Id: I2e3d99203450d2abc93e5f472c6be701a385a3c6 Signed-off-by: meimei <meimei@huawei.com>
2016-07-14Enable domino multi-node test case in FunctestUlas Kozat4-1/+94
This includes: - Add domino.py script - Add call to domino.py - Add the Domino repo in the Dockerfile - Add the test case definition in testcases.yaml JIRA: FUNCTEST-246 Change-Id: I5a8c3345a14c43fa80e6e86678ae5fb1417b3147 Signed-off-by: Ulas Kozat <ulas.kozat@gmail.com>
2016-07-14Enable new SDNVPN test cases in Functestjose.lausuch2-124/+1
JIRA:FUNCTEST-99 The tempest execution has been moved to the sdnvpn to leverage the logic of execution and collecting the results from the executor wrapper: sdnvpn/test/functest/run_tests.py Change-Id: Ic4763f4ab45dde81f91b241ae91073b9ea47e333 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-14Use common way to get the openstack clientsjose.lausuch8-215/+140
Instead of repeating the code in all the scripts and importing the openstack libraries, the clients shall be given by openstack utils, which is its purpose JIRA: FUNCTEST-163 Change-Id: I1ccc05a3af44ee1ab5938ea9e4e01dbe55f4816d Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-14Switch to $SDN_CONTROLLER_IP instead of $neutron_ipCédric Ollivier1-2/+2
ODL IP is now set to $SDN_CONTROLLER_IP in case of Apex and default. It follows the next patch [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/16779/ Change-Id: I60238705e45ed31a67da1518ec586e3f2970c13f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-07-14[multisite] add kingbird repo and install python lib in dockermeimei1-0/+2
JIRA: FUNCTEST-179 Change-Id: Ib88bbbc2d541b2825d768516237a95f68e0418d2 Signed-off-by: meimei <meimei@huawei.com>
2016-07-14[multisite] integrate kingbird tempest testcasesmeimei2-1/+45
JIRA: FUNCTEST-179 Change-Id: I4a8ae43e2814b3d859c32a6278671f87155aa855 Signed-off-by: meimei <meimei@huawei.com>
2016-07-13Improve timeout management with pythonboucherv2-5/+7
JIRA: FUNCTEST-368 Change-Id: I9f7a6adc807c63694fc5d9fb8a81ad1d2d9d3225 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-07-13Bump to cloudify-manager 3.3.1boucherv1-1/+1
Change-Id: Ica223edb7e2b29ce11634774d8355634b00cada4 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-07-13Propose a new python file to launch ODL testingCédric Ollivier4-106/+121
OpenDaylightTesting.py safely replaces start_tests.sh. It also adds the report of the basic test of RESTConf which was previously ignored. JIRA: FUNCTEST-367 Change-Id: I8ba288271455fd9f31cf87aa65bf45cfb53cd8d6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-07-13Enhance ips, ports and creds managementCédric Ollivier2-9/+22
It follows the next ODL patch [1] which splits Keystone and Neutron IPs in Robotframework files. It also adds ODL creds, ODL ports and tenant name as inputs. Classical default values are also used now. [1] https://git.opendaylight.org/gerrit/#/c/41554/ Change-Id: I867f1d4c003c4b96a5d4c3e2f982b5a0e3139217 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-07-13[multisite] add interface of multisite test suitemeimei3-0/+32
JIRA: FUNCTEST-179 Change-Id: I23ae0f73a6efb410e54fedd75537bb2e219344e0 Signed-off-by: meimei <meimei@huawei.com>
2016-07-13Add sfc support for all installers.wuwenbin23-82/+75
JIRA:FUNCTEST-366 Verified in fuel and joid locally. Change-Id: Ife0fd55361e22b9f2003e592b42558860431747a Signed-off-by: wuwenbin2 <wuwenbin2@huawei.com>
2016-07-12Merge "Use flavor m1.tiny in healthcheck"Morgan Richomme1-4/+15
2016-07-12Use flavor m1.tiny in healthcheckjose.lausuch1-4/+15
In some small virtual environments, booting 4 VMs using the flavor m1.small can fail because of insufficient disk space or available hosts. Check if the flavor exists, if it doesnt, create it. Change-Id: Ib7a3f337ea5e0686bcb9af442be175db436e4e8a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-12BugFix --noclean option in the CLIjose.lausuch2-2/+2
JIRA: FUNCTEST-340 The flag was placed after the flag -t and it should be before Change-Id: I069556b00c31039f1f4cb89c42e17887c45dcb50 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-12Merge changes from topics 'fix_unix_rights_py', 'stop_creating_ODL_dir'Morgan Richomme16-7/+0
* changes: Chmod 755 all py files which can be executed Stop creating the useless ODL results dir
2016-07-12Chmod 755 all sh files which can be executedCédric Ollivier4-0/+0
All files where shebang is defined can now be executed by everyone. It results from [1]. [1] find . -name "*.sh" |xargs grep \#\! |cut -d\: -f 1 |xargs chmod 755 Change-Id: I8bf1f52e55532d5e82f8188121028e9dd5074294 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-07-12Chmod 755 all py files which can be executedCédric Ollivier16-0/+0
All files where __main__ is checked can now be executed by everyone. It results from [1]. [1] find . -name "*.py" |xargs grep __main__ |cut -d\: -f 1 |xargs chmod 755 Change-Id: I9ad153cfdde0447213e35dac102e668d9e754cf9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-07-12Stop creating the useless ODL results dirCédric Ollivier1-7/+0
Outputs and logs are pushed in ${FUNCTEST_RESULTS_DIR}/odl (instead of ${FUNCTEST_RESULTS_DIR}/ODL). And this directory is created by the related testing script. Change-Id: Ie4ad6228d81d3578e777029da45700da09dba8fc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-07-11Add fixed_ip and files parameters in openstack_utils in create_instancejose.lausuch1-10/+20
This is needed i.e. for sdnvpn test case Change-Id: I235a6871a86b7a0c4a9ab27a3aef4bfd62ba4d43 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-11bug fix: use PASS/FAIL in Onos instead of passed/failedMorgan Richomme1-2/+2
Change-Id: I6a293d49476a428b82c472dafa47793c494c2c92 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-07-11Fix one pep8 violationCédric Ollivier1-1/+1
Change-Id: I1d57c02bc0e5952bed7f5eb86d0ba602448035e9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-07-08Add --noclean option in the CLIjose.lausuch3-16/+36
JIRA: FUNCTEST-340 Change-Id: I00cd0a9bf5744bf7ce8998d4bf6427c0766a1322 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-08Add delete bgpvpn function in openstack utilsjose.lausuch1-0/+5
JIRA: FUNCTEST-99 Change-Id: I0d28e5d07c857f4e80d7cf96a2ff4dbf87075abe Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-08SFC Testcase for functestManuel Buil5-0/+461
JIRA: FUNCTEST-354 This test case creates two chains, one blocks ssh, the other http We check with the client that the blocking works in one and then we change the classifier rules to check the other one Change-Id: I7d12f5d8b4bc4a7e1566f04e02ca78ac2a4e0920 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-07-08Fix onos sfc's block.wuwenbin22-11/+28
Add ping check before login. Change-Id: If93809ddf727246db453208c79a8e4ecaa288c51 Signed-off-by: wuwenbin2 <wuwenbin2@huawei.com>
2016-07-08Create vnf directory in testcasesMorgan Richomme7-2/+2
JIRA: FUNCTEST-358 Change-Id: I00dacef2a07e3980cc33cdbfad7ea238c1153599 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-07-08Merge "Conform start_tests.sh to last ODL patches"Morgan Richomme1-11/+1