summaryrefslogtreecommitdiffstats
path: root/testcases
AgeCommit message (Collapse)AuthorFilesLines
2016-11-17Bug 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-11-15[rally] Check output for splitting in safe wayMichael Polenchuk1-1/+1
Change-Id: If419a87057e15687088009968f5ec037fb051f95 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-11-07Adapting testcase to Boron SR1colorado.2.0Manuel 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> (cherry picked from commit 2f0f92ad849b541b35e91e845e5f7261523667eb)
2016-11-05Remove 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> (cherry picked from commit a4f65f2d3052f8671bbcaca157c6053518339313)
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> (cherry picked from commit f3f0407d4524140cf459837de27cf6849575b769)
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> (cherry picked from commit 9d0cdbfd04bc35437b21a2042fb796fcabafe0a8)
2016-10-21Add ovs logging in sfc_colorado1George Paraskevopoulos1-8/+57
Change-Id: I25671508c28d44b83263073971c2bf52cea80c58 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com> (cherry picked from commit 573953d3fda65c03ece01b1ee70516599c7ae831)
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> (cherry picked from commit b2b00380b8d77b0037c9ef809d2538bb4e9428aa)
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> (cherry picked from commit 782c511c6cc1758c0a84857c3c23cf05b4b3791f)
2016-10-20Merge "Spawn instances in nova availability zone" into stable/coloradoJose Lausuch2-7/+12
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> (cherry picked from commit 873250561e60238db973d64f0d3bb61cb844d4a6)
2016-10-14Spawn instances in nova availability zoneGeorge Paraskevopoulos2-7/+12
Change-Id: I9dc3a00b3c96cf23916388a52efd610e4649dfff Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com> (cherry picked from commit bc72396bf41892ad31f0680da80c6ef347a0ba6b)
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> (cherry picked from commit e2c2ff612e7086ce2a1520029f5f58e75186ec17)
2016-10-11Small fixes in sfc testcaseGeorge Paraskevopoulos3-3/+3
Change-Id: Ib1c4fb64fdf72bcae99d05db3c3a41721c78ce27 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com> (cherry picked from commit a2454ab0d260494b0777171d0892fbb82a48b468)
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> (cherry picked from commit acb35acb2a413612484f1669ea7859e2a8d6c789)
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> (cherry picked from commit 40f68e35389cf19d3fb200d1655ecb055c85d1eb)
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> (cherry picked from commit 52ee1e53e8ee40f2b941a4db69a359586d0a8092)
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> (cherry picked from commit 702a991e4a24320b99cd86525394089de724e7cf)
2016-09-22Increment counter in sfc_colorado1colorado.1.0George Paraskevopoulos1-0/+7
Avoid infinite loop Change-Id: I2b024b188dcf0cdddb924c5bd13c9dfe81183bdd Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com> (cherry picked from commit 8f6343fb8020a8e609f771b0a52d49dc2f1c4f43)
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> (cherry picked from commit 4b07146f7d667c04159d57d681102995f6060f86)
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> (cherry picked from commit b9e50a3e0869cef0ff6ac11355abc2387c86839c)
2016-09-20Bug fix for the SFC-CI test caseManuel Buil4-4/+516
A iteration is added so that the test is run several times. We are experiencing that ODL requires one deployment for things to work Change-Id: Ic70e8f2dabbf03827dd6d7396d2ab8177140cc97 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com> (cherry picked from commit 89195402a303f6340b5f409b1df2e8bab1304270)
2016-09-16Added support for custom images and flavors in tempestjuraj.linkes1-6/+45
Change-Id: I9335ed1517097e83175a265b603a6707adf476b6 Signed-off-by: juraj.linkes <jlinkes@cisco.com> (cherry picked from commit 0fa8de695dd6b50b7b01131376aefef9c13c21c1)
2016-09-14Merge "Push FAIL to DB for onos-sfc" into stable/coloradoJose Lausuch1-101/+50
2016-09-14Add delay after SF floating IP assignmentGeorge Paraskevopoulos1-5/+5
JIRA: https://jira.opnfv.org/browse/SFC-48 The assignment of floating IPs to service functions needs some time to complete, otherwise we get ssh failures Change-Id: Ia3e789be95d20801ee2c741a473d407e936f4fb6 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com> (cherry picked from commit a684becbcffc993322209b525a64f10ee10d7ab5)
2016-09-14Push FAIL to DB for onos-sfcwuwenbin21-101/+50
Change-Id: Ifae2cba32d9a0df44ae46e642129931692f65a7c Signed-off-by: wuwenbin2 <wuwenbin2@huawei.com> (cherry picked from commit f551726bb9ec6ea77f76c66869daf9a1a4596bb5)
2016-09-13SFC testcase IP tables policyGeorge Paraskevopoulos1-0/+7
Add iptables rule to open requests. Tacker client fails to connect without this firewall rule. Change-Id: I7ca0258110571d8aacdf8214830e4fce5a172c59 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com> (cherry picked from commit a5bdcbf651016ed552967ed124c5fb2a19ad3d98)
2016-09-13[ODL-SFC] Add push resulst to DBjose.lausuch1-22/+38
Change-Id: I314cbda828f6ebda70f7fb4e7d39e781696bc073 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit b2c633fc572d842ea093ecab51356290eca1e692)
2016-09-12Exclude Tempest basicops case also in noha scenariosMorgan Richomme1-0/+6
FUNCTEST-470 Change-Id: I7bfd52b5e18e22d78437821906244a8e32ce38a3 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 8cfb05465b9069960e45ffdf50e5cf987f0e8693)
2016-09-09Optimize onos-sfcwuwenbin22-244/+245
1.Delete print and format in onos-sfc 2.Split class into serveral methods in Sfc.py 3.Update Fail process 4.Use vars of HTTP status code Change-Id: Ifb2fc5c570e2c2aa2cfb173eadb32c688a84969e Signed-off-by: wuwenbin2 <wuwenbin2@huawei.com> (cherry picked from commit ccb598c098c813cab4e3e4a3e0f3b2bf0d994489)
2016-09-08make use of functest_utils.get_parameter_from_yamlSerenaFeng13-270/+274
JIRA: FUNCTEST-463 Change-Id: I1d54a65c5bfa2542f2fd3a2e408967641e6e4ac9 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn> (cherry picked from commit 55d301a2622ff5b63d431b9272caa68224d53843)
2016-09-08Exclude some Rally/Nova tests from lxd noha scenarioMorgan Richomme1-0/+1
JIRA: FUNCTEST-464 Change-Id: I0b5014eabccd60c9efaacc4ee529e7b44fd070b2 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 1d0e2d8bfb0a0cd070551d57c7669c02e86196ea)
2016-09-08remove imported FUNCTEST_REPO objectSerenaFeng8-29/+33
According to openstack style guidelines in http://docs.openstack.org/developer/hacking/ **** Do not import objects, only modules (*) **** so direct FUNCTEST_REPO import should be avoided from functest.utils.functest_utils import FUNCTEST_REPO as FUNCTEST_REPO JIRA: FUNCTEST-459 Change-Id: Iac0d07a54957cd7419391de183660ac1ce0efd49 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-07Add blacklist handling for rally test casesJuha Kosonen3-18/+73
Test cases can be excluded from execution based on installer/scenario via blacklist file. JIRA: FUNCTEST-451 Change-Id: I17bbd5f1364a890b88bc196cbc5f49c492df1cb1 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2016-09-07Exclude Rally/Nova tests for lxd scenarioMorgan Richomme1-0/+7
JIRA: FUNCTEST-464 Change-Id: I521f1ccd88579ba411d3691e4c222a2e8b41e1f8 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-09-07Fix image format set for rally test casesJuha Kosonen2-3/+4
Always use image format defined in config_functest.yaml when creating glance images. JIRA: FUNCTEST-460 Change-Id: Ica6b35605301bc14290daa23a1480114cf6294c0 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit b49d6129e2f6a15be9de7b7f04fbec0bd15ee8e6)
2016-09-06Merge "Reduce logging in the SFC test case" into stable/coloradoJose Lausuch2-4/+47
2016-09-06[Promise] Fix bug opening the json result filejose.lausuch1-2/+2
Change-Id: I8882ffc8139095a79b6542c508a6293ae231f232 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 56fa7f26dae9c41235ea1251e1b7d2ea1b389b7c)
2016-09-06[Promise test case] Use proper way to get parameters from yamljose.lausuch1-37/+38
Since there is a function in functest_utils to get a value from the config_functest.yaml directly, there is no need to load again that file. Better to use common functions that are designed for that. Also, Replace location of the results json file to the results directory. It will be also pushed to artifacts repository. Change-Id: Ic6422ed78ccd0f8b40b519342a7dcf38c502924e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 861ad3fe18c6ee672c8c82d5d8ad39c6131fdf85)
2016-09-06Reduce logging in the SFC test caseGeorge Paraskevopoulos2-4/+47
JIRA: FUNCTEST-446 Reduce the logs that appear in the Jenkins CI console to make the output of the SFC test case more readable - Redirect tacker installation logs to results folder /home/opnfv/functest/results/odl-sfc.log - Split odl-sfc preparation into a new script - Pipe STDERR in the sfc.py script so that "Added to known hosts" messages do not show in the output Change-Id: Ibf871ade6827d4817f33623b935c5f1d904086bb Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-09-06Merge "Remove all logers as utils method args." into stable/coloradoJose Lausuch14-28/+12
2016-09-06Merge "Print all the Parser test output to a log file" into stable/coloradojose.lausuch1-6/+9
2016-09-06Remove all logers as utils method args.Carlos Goncalves14-28/+12
As it modifies method params, it could break the testcases. JIRA: FUNCTEST-428 Conflicts: testcases/features/copper.py testcases/features/doctor.py testcases/features/domino.py Change-Id: I4263d9bd812f1803e513464e3c321cc4a7281958 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 8bfe49ee5a6d7b93b3ce7fb6aae0072acb1171d9)
2016-09-06Add support of arm for doctorcristinapauna1-2/+9
This is half of the fix to make the doctor suite run on arm. The other half is at https://gerrit.opnfv.org/gerrit/#/c/20369/ In this fix I set an enviroment variable, to be used by the doctor suite when ran with functest. The variable is set only when present in config_functest.yaml, which we use as a custom file when running functest on arm. Change-Id: If34d3e7734a194bf9fe8b525a362e029767caa4f Signed-off-by: cristinapauna <cristina.pauna@enea.com> (cherry picked from commit 53b8060cd60c163315d706a6035e30eb66fe8d15)
2016-09-05Redirect dominio's output to a log fileCarlos Goncalves1-2/+7
Change-Id: Ic4daa57ddbf6587660f982acd915cd4363d3ccbc Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu> (cherry picked from commit e0e414259aded62e66b2795ae789ae81d632902b)
2016-09-05Print all the Copper test output to a log fileCarlos Goncalves1-6/+10
To keep the jenkins console clean and readable, dump all the output that the Copper test case generates to a log file and push it to artifact repository at the end. Change-Id: If4812c7e92b4d050757ca07333f7c353a0220056 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu> (cherry picked from commit 7442f6fb3ec962481d45a8ee0d12ad96242d9c0e)
2016-09-05[Doctor test case] Redirect output to a log fileCarlos Goncalves1-5/+12
The output shown in the Jenkins console will now be redirected to a file which will be available and linked to the artifacts repository. Change-Id: I2e9b5c2ab681a787aa0fc249844cc13feb581764 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu> (cherry picked from commit de6ca443b6ea60111f57bfe1cc6153463847c209)
2016-09-05Switch print to logging.infoCédric Ollivier4-31/+43
It follows the recommendations described in the next review [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/19795/ Change-Id: Ie7ce28451122c554f135caad068844c0303deaeb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 0ae5f5fc64868e8c68eb330fa5aa219abdbdfee0)
2016-09-05Revert excluding floating IP cases from odl_l3vitikkan1-19/+0
Only restrictions table in release notes is updated. Change-Id: I8f27a876058eabe1c490fc5980de5626aed665a3 Signed-off-by: vitikkan <viktor.tikkanen@nokia.com> (cherry picked from commit beb0b0c8fddbdfd45fef0a7e9548b52e48f94c45)
2016-09-05Exclude test cases that use floating IP from odl_l3 scenariosvitikkan1-0/+19
All the tempest_smoke_serial test cases that use floating IP addresses for accessing instances are excluded because of ODL bug https://bugs.opendaylight.org/show_bug.cgi?id=5586 JIRA: FUNCTEST-445 Change-Id: I19468be108a25e989c0cfef031bbe5f2b9db0964 Signed-off-by: vitikkan <viktor.tikkanen@nokia.com> (cherry picked from commit 0e29b1b97d1b996706aca692872fca5488a3acf7)