summaryrefslogtreecommitdiffstats
path: root/testcases/Controllers
AgeCommit message (Collapse)AuthorFilesLines
2016-08-18Remove useless odlreport2db argsCédric Ollivier1-30/+6
It removes useless odlreport2db args as functest_utils parses env vars too and erases this previous values. All mandatory env vars are still checked in exec_test.sh. Change-Id: I3dd299dcad1758b994cf9d53ef65a5b83dc46b97 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-08-17Reorder importsCédric Ollivier1-1/+3
It conforms to OpenStack Style Guidelines [1] [1] http://docs.openstack.org/developer/hacking/ Change-Id: I995ff7fa3be995ca59e59c070b93394cd7200066 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-08-16Fix joid test bug that creation of vm failswuwb19891-0/+16
Change-Id: I54d56cb2266ae627e4518f06b14705b672e6f74e Signed-off-by: wuwb1989 <wuwenbin2@huawei.com>
2016-07-30Add onos_sfc scenariowuwenbin22-7/+22
JIRA:ONOSFW-172 Change-Id: I019edf79f8d343f794aa7af151d8e30c18e2c5f6 Signed-off-by: wuwenbin2 <wuwenbin2@huawei.com>
2016-07-20Bugfix: ODL report to DB failsjose.lausuch1-6/+10
JIRA: FUNCTEST-370 Change-Id: I48c8927f3490b86fcf1c95656324429b70201653 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-20Remove logger as input parameter of functions in openstack_utilsjose.lausuch1-67/+76
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-19Extend timeout to check vm in onos-sfc testcasewuwenbin21-2/+2
Change-Id: I68ae154391d8098cab3d3cb05cebe6f1922ca701 Signed-off-by: wuwenbin2 <wuwenbin2@huawei.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-15Disable ODL test.jose.lausuch3-3/+3
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-13Propose a new python file to launch ODL testingCédric Ollivier3-103/+116
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 Ollivier1-8/+19
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-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 changes from topics 'fix_unix_rights_py', 'stop_creating_ODL_dir'Morgan Richomme2-0/+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 Ollivier1-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 Ollivier2-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-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-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-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-05Change methods to call openstack utilswuwenbin21-48/+23
Change-Id: I3ac1fba007ae91dc8963139caa0d6ac2a48d2ba8 Signed-off-by: wuwenbin2 <wuwenbin2@huawei.com>
2016-07-05Merge "Add interface to run sfc functests."Morgan Richomme1-6/+70
2016-07-04Delete robotframework files hosted by ODLCédric Ollivier3-153/+0
All the modifications done on 010__networks.robot, 020__subnets.robot and 030__ports.robot have been backported to ODL [1]. These files can be safely removed as both repos are now synchronized. [1] https://git.opendaylight.org/gerrit/#/c/40948/ Change-Id: I3e027e41042a25924b9edd0034eddbd895a248fb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-07-04Add interface to run sfc functests.wuwb19891-6/+70
Varified only in fuel. Prerequisite: no floating ip exists. Change-Id: If6ef4c395992ba1544559b47c5c97f7cd5ce004c Signed-off-by: wuwb1989 <wuwenbin2@huawei.com>
2016-07-03Merge "ONOS sfc scripts"Jose Lausuch3-0/+1043
2016-07-01ONOS sfc scriptsAntonySilvester3-0/+1043
Change-Id: Id314d64cffc3e25b7c3f47e9ff158f79360417e0 Signed-off-by: AntonySilvester <antonysilvester@gmail.com>
2016-06-28Switch to ODL_SYSTEM_IP and OPENSTACK varsCédric Ollivier8-23/+14
It follows the last updates of ODL's robotframework files [1]. Useless Set Suite Variable calls are also removed. [1] https://git.opendaylight.org/gerrit/#/c/36569/ Change-Id: I98ec20ded7978cd56e6de6b62bce04b8c6ba1e9a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-06-22modify onos tests' link to support onos 1.6wuwb19892-8/+8
Change-Id: Ice9b19a1d569b4084921961ec0a3a9d961923521 Signed-off-by: wuwb1989 <wuwenbin2@huawei.com>
2016-06-17Check resources exist before testing deleteCédric Ollivier3-7/+37
It checks if network, subnet or port exists before calling the delete operation. It also replaces NetID by NETID to conform robotframework best practices. Change-Id: Ie13f41e2b29c0a0cbfba3115dd8189a805fcf056 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-06-16Align test names in DB and config fileMorgan Richomme2-3/+3
JIRA: FUNCTEST-304 Change-Id: I98d3155beb1c5e49eda84b443df603c2630b4823 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-15Merge "Try/except ODL push to DB until ODL tests are refactored"Morgan Richomme1-23/+20
2016-06-15Add documentation to conform to odlreport2db.pyCédric Ollivier1-0/+3
It completes "Add reachability testcase for ODL" [1] [1] https://gerrit.opnfv.org/gerrit/#/c/15509/ Change-Id: I9273f1c636ccfc1b192a69f7af04e6a5c1731bec Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-06-15Try/except ODL push to DB until ODL tests are refactoredMorgan Richomme1-23/+20
Change-Id: I7919c69655ce43831d5269afc1d86bf2c929bb8f Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-15Replace deprecated keywordsCédric Ollivier6-21/+21
It replaces get by get request, post by post request and delete by delete request. Change-Id: I6bfa6d8d53a1ec54416e3b8b2678e01f54bf7811 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-06-14Remove unused librairies in robot filesCédric Ollivier6-26/+5
Change-Id: Ifade280e02354b20869d54b15ba89838d2857640 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-06-14Add reachability testcase for ODLCédric Ollivier1-0/+27
It simply gets the complete lists of networks, subnets and ports. Change-Id: I529c381996ee45f0b11f5fa24844f25c2f8f4a93 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-06-13Fix flake8 violationsMorgan Richomme1-7/+0
Change-Id: I911eab6d4c0cdcfcf4d75f03e91c528d3388876c Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-08Adapt functest testcase to APi refactoringMorgan Richomme2-22/+24
JIRA: FUNCTEST-303 Change-Id: Ia276d9ca6e8d62b496c3b5f81561b14b02c43fd7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-07Use current ODL Integration/Test repoDaniel Farrell2-5/+5
ODL Integration used to contain system testing, Karaf distribution building and packaging/delivery logic. It was split into three projects in August 2015: Int/Test, Int/Distribution and Int/Packaging. https://wiki.opendaylight.org/view/Archive_Proposals/Integration The integration.git repo Functest was cloning is the old one, containing all three projects. It hasn't been updated since the split. The new integration-test.git repo is the current version of ODL's system test code. This change also clones ODL from its official Gerrit, instead of its GitHub mirror. Change-Id: I6b38b1fedada504411ca0e0639355339f373084c Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
2016-06-02Replace subnet by portCédric Ollivier6-61/+61
It also fixes several upper case letters and formats *delete*.robot Change-Id: I071be39860dd33296a067e4f3d0188d36e9b9660 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-06-02Rename Robot Framework sources to *.robotCédric Ollivier3-0/+0
It avoids mixing robot and txt suffixes in the same directory. Change-Id: Ia2288cc9ad7dc86fc9a4cea2c6ca7a08a7dd3e3c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-06-01Check correctly argumentsCédric Ollivier1-3/+7
It fixes argument parsing and verifies all mandatory arguments are provided. It also prevents UnboundLocalError exceptions. Change-Id: Iec3403533b312c95dd453236ccadb1fe495d61cd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-05-31Write login correctlyCédric Ollivier1-1/+1
Change-Id: I1806fb7ac3d276065badd8537f84339c18a1856e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-05-17Change 'testcases' directory structurejose.lausuch19-1/+1
JIRA: FUNCTEST-226 - Remove all 'CI' subdirs - Remove VIM dir and have OpenStack dir within /testcases/ - Split rally and tempest in 2 different dirs Change-Id: Icfc76d18a84f7a18d93ae1a5ec7dc7a560bb7ce9 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-05Fix bug config_functest.yaml locationjose.lausuch1-2/+1
Change-Id: I3b28eb7015f6f1418ef04ca91103e313f71f74e3 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-04Refactor improvementsjose.lausuch2-2/+3
JIRA: FUNCTEST-190 - Deleted unnecessary old scripts - Fixed healtcheck logging - Moved config_functest.yaml to /ci/ - Created env var CONFIG_FUNCTEST_YAML pointing to that new location - Modified all scripts which open config_functest.yaml using the new env var Change-Id: Ic4f0e40a70c02ac08287a1d621956f602bdee177 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-27Replace all the loggers by the functest logger modulejose.lausuch1-13/+2
JIRA: FUNCTEST-228 Change-Id: If7a3c8cb08e9fbdf155fc5eff5330f79e5f8d234 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-26Move functest_utils and openstack_utils to directory /utilsjose.lausuch2-2/+2
JIRA: FUNCTEST-226 Change-Id: I74d09f6322844b25ab45a02156317ae76ab40d8a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-25Remove backslashs for line continuationCédric Ollivier4-16/+16
JIRA: FUNCTEST-213 Change-Id: Ia50521cf8fcf60a847aa44fe0ea59b6e64830e92 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-04-22Affect version field in results for all the testcasesMorgan Richomme2-2/+2
Previously version was scenario JIRA: FUNCTEST-225 Change-Id: Ia86f83dbe98ad5f9dbced60c46e57f58eccba7e9 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-04-22Enable PYTHONPATH env variable inside the containerjose.lausuch2-11/+9
JIRA: FUNCTEST-224 Change-Id: Ib10dc312a761b06fe36174c5c19a0165f746593e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>