summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2016-07-08Merge "Update developer guide documentation"Morgan Richomme1-284/+504
2016-07-08Conform start_tests.sh to last ODL patchesCédric Ollivier1-11/+1
It mainly removes all hacks vs __init__.robot which can be deleted since the patches [1] and [2] has been merged. [1] https://git.opendaylight.org/gerrit/#/c/41461/ [2] https://git.opendaylight.org/gerrit/#/c/41463/ Change-Id: I0692681794737c06609e06f88af64edc6fe98efe Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-07-07Update developer guide documentationMorgan Richomme1-284/+504
JIRA: FUNCTEST-333 Change-Id: Ib5b4d0e28e1ad35e9579465a43fc66d63d4a773c Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-07-07Fix function get_hypervisors in openstack utilsjose.lausuch1-1/+2
JIRA: FUNCTEST-99 Change-Id: I23fd3fae08255d36ec158e5a522640615b5d8a10 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-07Added 'vacation' test casevitikkan2-1/+56
Running this test case illustrates how Functest code base and performance tend to grow when trying to catch more and more bugs in OPNFV environment. The case is not bound to any tier. Change-Id: Ib3c2f3f3d9d78c1251fbb35e6ea6afd3cf1afbdb Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
2016-07-07[SDNVPN] Bugfix bgpvpn functions in openstack utilsjose.lausuch1-5/+4
JIRA: FUNCTEST-99 Change-Id: Ia3fd91ec1dff5283edc3df098bb5cec342f87aea Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-07[SDNVPN] Add helper functions to create bgpvpn and associationsNikolas Hermanns1-0/+19
JIRA: FUNCTEST-99 These functions are used by sdnvpn test cases to create vpns and network associations Change-Id: I2fb25c84d8d02ea1cc92677e6a33e469a5d3ddc3 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-07-07[SDNVPN] Adding sdnvpn repo to functestNikolas Hermanns1-0/+1
JIRA: FUNCTEST-99 There are some testcases in the sdnvpn repo to be executed by functest. So we need to have the repo cloned. Change-Id: I9fb11a2429ebd5f911993e4786e616be10cb9a05 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-07-06Merge "Adding security_scan section to functest userguide."Morgan Richomme1-1/+29
2016-07-06Merge "Add Moon in Functest"Morgan Richomme3-0/+13
2016-07-06Add Moon in FunctestMorgan Richomme3-0/+13
JIRA: FUNCTEST-210 Change-Id: Ibc8792f74c4c62122856cff355e55cda88fc691e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-07-06Merge "Change methods to call openstack utils"Morgan Richomme1-48/+23
2016-07-06Add BGPVPN neutron client extension for SDNVPN projectjose.lausuch1-0/+1
JIRA: FUNCTEST-99 Change-Id: I25f5f6769350fdcac9230e168337e9a51fb1fec8 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-06Add tacker-client in the functest Docker imageManuel Buil1-0/+2
JIRA: FUNCTEST-354 Tacker-client is required for the SFC test cases Change-Id: I21b1e47c890fb45899f6f83b6583b0ab032662d1 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-07-06Adding security_scan section to functest userguide.Luke Hinds1-1/+29
JIRA: FUNCTEST-356 Change-Id: Ib7e2fc7eda88425390b37c36cbedc3f89c090f61 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-07-06Merge "Fix tacker client dependencies installation"Morgan Richomme1-1/+3