aboutsummaryrefslogtreecommitdiffstats
path: root/testcases
AgeCommit message (Collapse)AuthorFilesLines
2016-11-22Fix path for Promise testcase calljose.lausuch1-1/+1
Change-Id: I326f6fd7098653c0b2e72db373922666de6ff04b Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-18Create ovs log artifact on odl-sfc failGeorge Paraskevopoulos1-13/+17
Move the ovs logs from failed tests in functest artifacts Change-Id: Icb537684ee2aa40d9bd182ba67a028e72496efa4 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-11-18Merge "Make the healthcheck sleep time configurable" into stable/coloradoMorgan Richomme1-1/+2
2016-11-17Bug fix odl-sfcManuel Buil1-9/+14
I was not taking into account the case where the returned list is empty Change-Id: I533ea8fbc286cb564dccec06750cd1a8bbcf52f9 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-11-17Bug 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-17Feature 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-17Phase out sfc_colorado1 from the CIGeorge Paraskevopoulos1-588/+0
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-17Restructure SFC-ODL test casesVijayendra Radhakrishna1-425/+407
- 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> Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-11-17Complete OVS logging for sfc testcasesGeorge Paraskevopoulos3-86/+150
- 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-11-17Fix bug in ovs utilsGeorge Paraskevopoulos1-4/+41
Change-Id: I86995a2fce5199c9267edc0e0596d868cc7d20ab Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
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-16Make the healthcheck sleep time configurablecristinapauna1-1/+2
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-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)