summaryrefslogtreecommitdiffstats
path: root/testcases
AgeCommit message (Collapse)AuthorFilesLines
2016-11-09Repo structure modificationMorgan Richomme90-10673/+0
- 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 "Delete the reachability tests"Morgan Richomme2-46/+1
2016-11-08Merge "Do not modify unix rights in case of unit tests"Morgan Richomme1-0/+0
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-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 "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 Ollivier2-46/+1
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 Ollivier1-0/+0
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-10-25Fix bug in ovs utilsGeorge Paraskevopoulos1-1/+1
Change-Id: I86995a2fce5199c9267edc0e0596d868cc7d20ab Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.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-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-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-20Add Copyright headersCédric Ollivier1-1/+8
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-19Move unit tests in unit_testsCédric Ollivier1-341/+0
It also renames files and removes exec rights to be conformed with nose. Change-Id: Ib93973a7d4b543360372fb1092a58896f687ec84 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-10-19Merge "Extend rally test case exclusion feature"Jose Lausuch1-4/+23
2016-10-18Extend rally test case exclusion featureJuha Kosonen1-4/+23
Regular expression matching support for test cases on blacklist. JIRA: FUNCTEST-491 Change-Id: I4dc61ab0d93d699dd5e77ee3198a62d1bddd020a Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2016-10-18Add OpenDaylightTesting unit testsCédric Ollivier2-17/+363
It adds unit tests checking OpenDaylightTesting. Several minor issues have also been fixed in this module when writing these unit tests: - the exceptions raised by main are caught when the testcases are launched from cmdline, - a warning message indicates that the temporarily files cannot be removed. JIRA: FUNCTEST-512 Change-Id: I873f0bbf4c3b7f416ca5515580e8aeab90773fdc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-10-18Remove exits in OpenStack client utilsCédric Ollivier1-12/+15
It prevents openstack_utils from exiting when the mandatory env vars are unset. Every testcase is now in charge of handling the exception MissingEnvVar. JIRA: FUNCTEST-438 Change-Id: I0e321b544a470c1f2f2fa62b3e061fe5f938e112 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-10-18Merge "Conform ODL to TestCasesBase"Jose Lausuch1-51/+53
2016-10-17Multi-compute support and python refactoringManuel Buil2-2/+99
We added support for multi-compute and changed one file from bash to python Change-Id: Ife3d5a8e41936c044cfe88664187d81c18d96b93 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-10-17Merge "Unify rally test case exclusion mechanisms"Juha Kosonen4-34/+65
2016-10-17Conform ODL to TestCasesBaseCédric Ollivier1-51/+53
Now ODLTestCases inherits from TestCasesBase what induces several modifications of function definitions. It also renames functest_run to run and run to main and they now return the code status defined in TestCasesBase instead of True and False (run_tests.py has been adapted as well). It checks if errno is equal to EEXIST when makedir raises an OSError exception. JIRA: FUNCTEST-353 Change-Id: I88240a9ce8e491dab4c7e6c604f3ecc62cf9edce Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-10-17Merge "Remove exit() in ft_utils.execute_command"Cedric Ollivier4-4/+0
2016-10-14Unify rally test case exclusion mechanismsJuha Kosonen4-34/+65
In all cases exclusion is now controlled via blacklist file. JIRA: FUNCTEST-511 Change-Id: I482c33b6da4c9b711ebeddc13855b1337ab217eb Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2016-10-14Merge "Spawn instances in nova availability zone"Jose Lausuch2-7/+12
2016-10-14Merge "Bug fixes and updates to fit ODL Boron SR0"Jose Lausuch4-68/+9
2016-10-13Stop copying obsolete filesCédric Ollivier1-12/+7
It completes the previous review [1] which removes several robot files. [1] https://gerrit.opnfv.org/gerrit/#/c/23069/ Change-Id: I64c43e6833af1ac468933e09d48fecef812da697 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-10-13Spawn instances in nova availability zoneGeorge Paraskevopoulos2-7/+12
Change-Id: I9dc3a00b3c96cf23916388a52efd610e4649dfff Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-10-12Bug fixes and updates to fit ODL Boron SR0Manuel Buil4-68/+9
Small bug fixes and some changes are done in order to be compatible with ODL Boron SR0 Change-Id: I02f2ed8c734145ff6e198f9529728a97a5c97a75 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-10-12Remove exit() in ft_utils.execute_commandCédric Ollivier4-4/+0
It simply removes the exit call in ft_utils.execute_command which is quite safe as every testcase sets exit_on_error to False JIRA: FUNCTEST-438 Change-Id: Ia273de0955cc3ea65a150c626638400ce614da00 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-10-12Delete obsolete robot filesCédric Ollivier3-126/+0
The robot files which delete neutron resources are now hosted by ODL test [1]. They can now be safely removed. https://git.opendaylight.org/gerrit/#/c/46749/ Change-Id: I2fb730ec3f5fbc380b5699e5fbfbb45a6524d2fe Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-10-11Bug fix in odl-sfc testcaseManuel Buil1-0/+5
Test is stopping if the route to the VMs ip range is already there because the command that adds that, exits with code 1 and set -e is activated. Now it is checked if it is there and if not, the command is executed Change-Id: I820a55aff2572aadcb1950fa9218b114a9058c57 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-10-11Small fixes in sfc testcaseGeorge Paraskevopoulos3-3/+3
Change-Id: Ib1c4fb64fdf72bcae99d05db3c3a41721c78ce27 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-10-06Merge "Refactor rally task scenario files"Morgan Richomme10-309/+434
2016-10-06Remove old tacker setupGeorge Paraskevopoulos2-37/+3
No need to install tacker here. We do it with fuel-plugin-tacker. Change-Id: Ic912048b8a0f169b062ac14788d94757c81bf073 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-09-30Refactor rally task scenario filesJuha Kosonen10-309/+434
Use a dedicated scenario file for each scenario (full, sanity) instead of a shared one. JIRA: FUNCTEST-501 Change-Id: Icd45d6bf11b605f073c2667e9948589ee0a3b75c Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2016-09-27Merge "Move sfc custom flavor creation"Morgan Richomme2-0/+12
2016-09-27Move sfc custom flavor creationGeorge Paraskevopoulos2-0/+12
The custom flavor that is needed for the sfc test case is created in the tacker deployment phase. The result of this is that when we use alternative methods of deploying tacker (i.e. the tacker fuel plugin) the test fails. Changes: - Move the flavor creation inside the test case code - Add an optional public parameter in the [get_or_]create_flavor utility functions. Change-Id: Iea13f172076770dde3876b7e27edc9b7ca9b28db Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-09-27Merge "make logger in vping a local variable"Morgan Richomme1-4/+0
2016-09-27make logger in vping a local variableSerenaFeng1-4/+0
JIRA: FUNCTEST-493 Change-Id: I9f0c91b3fdbfb62c277b2c452ec124f67b21c653 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-26Merge "SFC test: Add port 80 to security groups"Jose Lausuch2-0/+16
2016-09-26SFC test: Add port 80 to security groupsGeorge Paraskevopoulos2-0/+16
Change-Id: If5772b356beb19b7d2f8a0ae9278146bc2e528e3 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-09-26vPing ssh outpust wrong loggerSerenaFeng1-2/+5
set logger file according to case_name rather than use fixed 'vping_userdata' JIRA: FUNCTEST-490 Change-Id: I65169a59ec1978410fdbd6dadc82da024a4504c7 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-22Increment counter in sfc_colorado1George Paraskevopoulos1-0/+7
Avoid infinite loop Change-Id: I2b024b188dcf0cdddb924c5bd13c9dfe81183bdd Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-09-22Open secgroups and add check_ssh in sfc_colorado1George Paraskevopoulos2-15/+64
- Open port 22 in every security group - Add check_ssh for sfc_colorado1 - Replace exits with continue statements in sfc_colorado1 test loop Change-Id: Ic7a7ba67c729667621cc0d1114ee2a42d8846247 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>