aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-11-11Bug fix in odl-sfcManuel Buil1-1/+1
The function that measures the time it takes to update OVS had a bug Change-Id: I1e480759c0c20197dd412f3400ea50921764d991 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-11-11Fix path in CLI after directory restructurejose.lausuch2-4/+4
Change-Id: If71f3eb77371274b5215f274a77d5aa9976744fa Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-11Merge "Remove kingbird installation"Jose Lausuch1-1/+1
2016-11-10Fix path for vping_ssh after refactorjose.lausuch1-1/+2
Change-Id: I0ac1ec73314b674550b220e579d39ecb4818623d Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-10Bug fix: fix path in run_tests.pyMorgan Richomme1-1/+1
JIRA: FUNCTEST-525 Change-Id: I78488e04015d28b6ae8d902b252d966920e9b929 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-10Make the healthcheck sleep time configurablecristinapauna2-1/+3
The healthcheck test has a 1 min sleep that gives time to the odl flows to get programmed. This time depends on the config, and it was noticed that on bgpvpn scenarios on arm more than one minute is needed for the config to be properly set. This patch makes the waiting time configurable, so it can be overriden it when ran on arm or on varios scenarios. Change-Id: Iebef892137ca3926e5732c910a358c15a32b5bef Signed-off-by: cristinapauna <cristina.pauna@enea.com>
2016-11-10Phase out sfc_colorado1 from the CIGeorge Paraskevopoulos2-597/+1
Now that the upstream ODL Netvirt & SFC communities have resolved the blocking issues for the OPNFV SFC is a good time to phase out the workaround testcase we had for C1 and use the original again Change-Id: Ifcc66612a21821d684b336129059da500068e67c Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-11-10Merge "Fix paths in SFC testcase configuration"Jose Lausuch2-5/+5
2016-11-10Merge "Update onos scenarios in the release notes for Colorado 2.0"Jose Lausuch1-11/+5
2016-11-10Merge "change path for python ci files"Morgan Richomme15-6/+9
2016-11-10change path for python ci filesMorgan Richomme15-6/+9
JIRA: FUNCTEST-525 Change-Id: I6b09eaec55e42a3ee1474b21bc7ed87a71118e60 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-10Feature to know the time it takes to update OVSManuel Buil2-0/+60
ODL takes too much time to update the classification rules and we would like to measure it to use it as a proof point that it is not acceptable. This feature allows to measure it. Change-Id: I00ade7e4aee7c9c81843077104727b98ad9bfea3 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-11-10Fix paths in SFC testcase configurationGeorge Paraskevopoulos2-5/+5
Change-Id: I9ff272065d8609bd40e02289c2013efd917aed9c Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-11-10Fix path issue in Docker fileMorgan Richomme1-2/+2
JIRA: FUNCTEST-525 Change-Id: Icdb2cb2e5b134143f5eddbad7b265d84671fb892 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-10Remove kingbird installationjose.lausuch1-1/+1
This is a quick hack to make docker build work in CI. Kingbird is used by multisite, but the test case is empty. The installation of the requirements overlap with what we already install in requirements.pip and makes the build fail. It can be enabled once we resolve the dependencies across different projects. JIRA: FUNCTEST-523 Change-Id: I9194a7ae7a5887ee80eb392890dd304837760b66 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-09Repo structure modificationMorgan Richomme123-64/+71
- create functest subdirectory - rename unit tests - adapt path in exec and config files JIRA: FUNCTEST-525 Change-Id: Ifd5c6edfb5bda1b09f82848e2269ad5fbeb84d0a Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-08Merge "Update rally version"Jose Lausuch1-1/+1
2016-11-08Merge "Delete the reachability tests"Morgan Richomme3-98/+14
2016-11-08Merge "Do not modify unix rights in case of unit tests"Morgan Richomme2-1/+2
2016-11-08Update rally versionjose.lausuch1-1/+1
Change-Id: I53c1d5e616380ff360f53ae014dc0f9ff66b2cb6 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-08Restructure SFC-ODL test casesVijayendra Radhakrishna1-433/+417
- Modularize some of the commonly used operations into small functions - Throw Proper error when Fuel has multiple envs and INSTALLER type is not FUEL - More error checks Change-Id: I08a182c280454a8b58715d0035da53250229ef43 Signed-off-by: Vijayendra Radhakrishna <vradhakrishna@mvista.com>
2016-11-07Merge "Upgrade python-keystoneclient"Jose Lausuch1-1/+1
2016-11-07Upgrade python-keystoneclientGeorge Paraskevopoulos1-1/+1
When running the os-odl_l2-bgpvpn-ha scenario I encountered the following issue: root@0a60c30641e7:~# . $creds root@0a60c30641e7:~# neutron net-list An auth plugin is required to fetch a token root@0a60c30641e7:~# pip show python-keystoneclient Name: python-keystoneclient Version: 2.3.1 Summary: Client Library for OpenStack Identity Home-page: http://www.openstack.org/ Author: OpenStack Author-email: openstack-dev@lists.openstack.org License: UNKNOWN Location: /usr/local/lib/python2.7/dist-packages Requires: PrettyTable, stevedore, requests, six, oslo.i18n, oslo.utils, oslo.config, pbr, oslo.serialization, keystoneauth1, iso8601, debtcollector, positional Upgrading the python-keystoneclient package resolves it. Change-Id: I5b2564cc7980ef42df90ec454ea5b6dbc121b3de Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-11-04Adapting testcase to Boron SR1Manuel Buil2-0/+2
Boron SR1 fixed the issue creating the first classification rule, however it takes quite some time to do it. We need to wait a bit. Change-Id: Ib4d3ea98d68dcb2084374cb28c3772d375629826 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-11-04Merge "Fix typo in Dockerfile"Jose Lausuch1-1/+1
2016-11-04Merge "Remove python-keystoneclient downgrade and keep the newer version"Jose Lausuch1-1/+1
2016-11-04Add security group rule for DHCPGeorge Paraskevopoulos2-0/+16
Due to a new change in Boron SR1 we need to add the DHCP security group rule explicitly. Change-Id: I0d3d0447e7c31046bdfbb08da8752ef130830c59 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-11-04Delete the reachability testsCédric Ollivier3-98/+14
It removes 001__reachability.robot as it is now part of OpenDaylight integration/test. It completes the commit which pushes upstream the reachability tests [1]. [1] https://git.opendaylight.org/gerrit/#/c/46910/ Change-Id: I72926cd4ab77e12ba4aeabf03bdd35619d43ffd3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-11-04Do not modify unix rights in case of unit testsCédric Ollivier2-1/+2
Even if the unit tests define main, nosetests oblige by default to remove their executable bit. It also fixes the unix rights of Sfc.py. Change-Id: Icbbb5b3118b16eff75b13d927e674a9764d6d83f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-11-04Remove python-keystoneclient downgrade and keep the newer versionjose.lausuch1-1/+1
The docker build fails due to some inconsistency in the keystone versions. See JIRA for more info. JIRA: FUNCTEST-523 Change-Id: Ic8aeb564c2f8827417d49958c65916ff555bc706 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-04Fix typo in Dockerfilejose.lausuch1-1/+1
Change-Id: I9ee40dcfd815997d5ebd126e690c5f2b54af3364 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-04bug fix on log file creation for unit testsMorgan Richomme1-8/+5
JIRA: FUNCTEST-326 Change-Id: Iae797d00c0bda07fce098f4a054dfc8f5bba069b Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-04Add exit return code for unit testsMorgan Richomme2-7/+80
Note that this patch should trigger some refactoring 1: repo structure, uggly hack due to the fact that the code is at the root of the repo. The name can be change when cloning leading to python path issues 2: logger is called with harcoded file in functest_logger.py uggly hack to create the file is not already present Basically hacks were necessary to be able to run the unit tests locally and from jenkins JIRA: FUNCTEST-336 Change-Id: Ib88256a167c003805d480f57c218c37d8d5962d8 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-10-25Update onos scenarios in the release notes for Colorado 2.0jose.lausuch1-11/+5
Change-Id: Ia7cf9566e8ffc81ddd59b86eb84d2f740e195d5e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-10-25Fix bug in ovs utilsGeorge Paraskevopoulos1-1/+1
Change-Id: I86995a2fce5199c9267edc0e0596d868cc7d20ab Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-10-25Merge "Ignore files created by run_unit_tests.sh"Cedric Ollivier1-0/+6
2016-10-24Update release notes for Colorado 2.0jose.lausuch1-0/+32
Change-Id: I64a66bf11fe04df91dd2ef8c0bf91c4e19739863 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-10-24Merge "Complete OVS logging for sfc testcases"Jose Lausuch4-90/+191
2016-10-24Bug fix for odl-sfcManuel Buil1-1/+2
We forgot to add the path to the file, so the script was not executing Change-Id: I3ec226f12e6db3402b20d9fcefaa0acecd5b3a70 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-10-24Complete OVS logging for sfc testcasesGeorge Paraskevopoulos4-90/+191
- Add archiving capability in ovs_utils - Refactor common code into a single method - Add logging for compute nodes - Rename jumphost to proxy to avoid confusion Change-Id: I332bcb537d914c25febae53d5d48943e666da4f9 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-10-21Add ovs logging in sfc_colorado1George Paraskevopoulos1-8/+57
Change-Id: I25671508c28d44b83263073971c2bf52cea80c58 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-10-21Merge "Add OVS logger"Jose Lausuch4-0/+202
2016-10-21Add OVS loggerGeorge Paraskevopoulos4-0/+202
Add utility class to log OVS flows from a remote server. Change-Id: I80cb5b20dc15477771beb912f44cab28c7397e24 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-10-21Ignore files created by run_unit_tests.shCédric Ollivier1-0/+6
It mainly ignores functest_venv and files created by nose and coverage. Change-Id: If2695716c35b25b84774cf00c298229d803c9c21 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-10-20Cover KeyError in ODLTestCases.run()Cédric Ollivier1-7/+28
It simply tests if run returns EX_RUN_ERROR when a mandatory env var is unset (for instance SDN_CONTROLLER_IP in case of apex). Change-Id: Ib172975d84eb0953dd13bad32506bbd750ec4b8d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-10-20Merge "Fix nosetests call in run_unit_tests.sh"Cedric Ollivier2-1/+3
2016-10-20Added more logs to track better errorsManuel Buil2-5/+9
Apparently in the CI, the delete.sh script is not executed and we want to know why Change-Id: Iefbeb7f0222b3ea9664f5b03c6e0a5fbaaaa3a1f Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-10-20Fix nosetests call in run_unit_tests.shCédric Ollivier2-1/+3
It adds the missing whitespace and only lists the packages for which unit tests have been developped. It also adds python-neutronclient as requirement. Change-Id: Id14b0698cb3636333751d61ff954500a665e1551 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-10-20Add Copyright headersCédric Ollivier4-1/+29
It follows OPNFV Contribution Guidelines [1]. [1] https://wiki.opnfv.org/display/DEV/Contribution+Guidelines Change-Id: I0f603468510e5bb500e2be0f7815eefde3581b03 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-10-20Merge "Move unit tests in unit_tests"Morgan Richomme4-0/+0