summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-10-18Use importlib to load testcasesCédric Ollivier3-9/+45
It modifies run_tests.py to dynamically execute testcases and then removes the test condition about odl. It also induces that the modules and the related classes must be defined in ci/testcases.yaml. JIRA: FUNCTEST-353 Change-Id: I6ad67b70624aac6bf805c9bde4dfef7c9fbd5c00 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.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 Ollivier2-14/+25
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 Lausuch2-56/+60
2016-10-18Merge "Add a parent class for test cases."Jose Lausuch4-0/+127
2016-10-17Multi-compute support and python refactoringManuel Buil3-3/+100
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-17Merge "Ignore rally_conf.json"Cedric Ollivier1-0/+1
2016-10-17Ignore rally_conf.jsonCédric Ollivier1-0/+1
As rally_conf.json is created from where run_tests.py is launched, we cannot set an absolute path. Change-Id: I66c5a9644dc41ba91e90ffb5eecfc6b0ebebf204 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-10-17Conform ODL to TestCasesBaseCédric Ollivier2-56/+60
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-17Add a parent class for test cases.Cédric Ollivier4-0/+127
It adds TestCasesBase on which test cases can be based. It also adds the related unit tests. JIRA: FUNCTEST-353 Change-Id: Ib2aeb24ce9d43e6384e8b38bf57ee78dd726345a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-10-17Merge "Remove exit() in ft_utils.execute_command"Cedric Ollivier8-10/+4
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-14Merge "remove 3rd part files with MIT or BSD license"Morgan Richomme88-19979/+62
2016-10-13remove 3rd part files with MIT or BSD licenseMorgan Richomme88-19979/+62
Change-Id: I941093e91897d1425720b5acdbf072cf620f131d Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
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-13Merge "Delete obsolete robot files"Morgan Richomme3-126/+0
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 Ollivier8-10/+4
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-12Create shallow clones with a history truncatedCédric Ollivier1-18/+18
Change-Id: I9d946581becaad54b99ec6baf6fd5d842d60ada7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-10-11Merge "Update INFO information after PTL election"Morgan Richomme1-3/+3
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-11Update INFO information after PTL electionMorgan Richomme1-3/+3
Change-Id: Ie90c9a6accc10b2542c7a21c748911991d9019dc Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-10-10Merge "Use huge page for dpdk (ovs) scenario"Morgan Richomme1-1/+8
2016-10-10Use huge page for dpdk (ovs) scenarioMorgan Richomme1-1/+8
JIRA: FUNCTEST-487 Change-Id: I41d0180b622623699bccc3f7413ffbbb468f7656 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-10-06Merge "Refactor rally task scenario files"Morgan Richomme10-309/+434
2016-10-06Merge "Remove old tacker setup"Jose Lausuch2-37/+3
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-10-03Add Serena update on Functest DashboardMorgan Richomme23-0/+146
Change-Id: I30386c3ba09292ed0bcdbeb83ec1b0eb13114968 Signed-off-by: Morgan Richomme <morgan.richomme@orange.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 Richomme3-4/+18
2016-09-27Move sfc custom flavor creationGeorge Paraskevopoulos3-4/+18
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-22Fix tag version for documentationjose.lausuch1-0/+1
Change-Id: Ib6f775d096bc43701f76f7bebc4a3181fc3f50de Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
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>
2016-09-21Merge "Update release note"Morgan Richomme1-39/+46
2016-09-21Merge "Add SSH connectivity check"Jose Lausuch1-7/+32
2016-09-21Add SSH connectivity checkGeorge Paraskevopoulos1-7/+32
- Remove sleep after floating IP assignment - Add ssh connection check - Fix iptables instruction Change-Id: I1a7aa7f928592f148ff4bcd20167e4684f7a7dbe Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-09-21Update release noteMorgan Richomme1-39/+46
JIRA: FUNCTEST-436 Change-Id: I78a33b9755134ec75fe7882edd25e80d3007e88a Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-09-21Add odl_sfc test in apex as the scenario is runMorgan Richomme1-1/+1
Change-Id: I81a74a9f7c6ae54ba1b2be7ec27a11ae3a2392b9 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>