summaryrefslogtreecommitdiffstats
path: root/testcases/features
AgeCommit message (Collapse)AuthorFilesLines
2016-09-02Merge "Refactor SFC testcase" into stable/coloradoJose Lausuch1-49/+54
2016-09-02unify functest_yaml obtain processSerenaFeng4-21/+10
functest_yaml is needed in almost all of the testcases, the obtain process is the same: with open(os.environ["CONFIG_FUNCTEST_YAML"]) as f: functest_yaml = yaml.safe_load(f) f.close() abstract a method to unify the process, and provide the interface JIRA: FUNCTEST-447 Change-Id: I96a9a9962d7b466f10bbd3b5ab2495957524e22a Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn> (cherry picked from commit f4d0a05011e961a363c6d99522684ecdeb959716)
2016-08-31Refactor SFC testcaseGeorge Paraskevopoulos1-49/+54
- Change the way the test checks if the vxlan_tool has started. Now the vxlan_tool is detected even if another python process is up. - Log the exceptions in the vxlan_tool check block. The exceptions that occur are not destructive for the testcase but it's better to be visible. - Add a 60 seconds sleep before the testcase starts to give plenty of time to ODL to add the correct flows. - Move the testcase success/fail check blocks inside the try blocks. The checks are performed on the stdout variable which is in scope only inside the try blocks. Change-Id: I49dec176fb83117e9896ac1d19e8a5bd95e3d7cf Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com> (cherry picked from commit 563a540585768d900d70ce79f2a871a9d1fab03e)
2016-08-31delete useless FUNCTEST_REPO variableSerenaFeng4-4/+0
FUNCTEST_REPO appears in lots of feature testcases, but never be used, delete it clean the code JIRA: FUNCTEST-448 Change-Id: I4a9a10eac29e09b481563ed2c33f4122dd9ee3de Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn> (cherry picked from commit 834f81f0ad708b930f66aec1fd8b36e2cfb8b32b)
2016-08-31Fix problem with SFC testBrady Johnson1-0/+5
- If its not possible to get the IPs, then exit - Patch Set 2: addressed code review comments Change-Id: I16e22513b32e2b0da311ebcc280f3611570634a3 Signed-off-by: Brady Johnson <brady.allen.johnson@ericsson.com> (cherry picked from commit 429ea989e665ebc3dac381c2629662f327dd9a46)
2016-08-30update fuel ref in tacker setup scriptFerenc Cserepkei1-1/+1
Since the poc script is fixed it's fuel commit hash in the setup script have to be updated to select the fixed poc script. Change-Id: I1fd22e4dc216fd2889adea0c9889df1d4a1bf476 Signed-off-by: Ferenc Cserepkei <ferenc.cserepkei@ericsson.com> (cherry picked from commit 0d1faa954ec5a5e2911a2ec6df2f0a5f8782a623)
2016-08-24Fixing commit f1054f8fFerenc Cserepkei1-1/+1
fix missed the apt-get action Change-Id: Iac94576a2f712133eee92e4b5460f85d59e90e94 Signed-off-by: Ferenc Cserepkei <ferenc.cserepkei@ericsson.com> (cherry picked from commit 2002f166154ca5a9380f9d2da2843477669af8f5)
2016-08-24[SFC] Fixing CINikolas Hermanns1-0/+1
The fix https://gerrit.opnfv.org/gerrit/#/c/19351 will need more time for dicussion. In the meanwhile we can use this one so that CI does not break anymore. Change-Id: Icbd54200bd62e5019c2a556699ceb41afdb229ca Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com> (cherry picked from commit f1054f8f7c787e50df0c0e27ecb10752393071e2)
2016-08-23when create/get/update failed return None rather than FalseSerenaFeng1-3/+3
In openstack_util.py, when create/get/update network or other resources failed, False is returned, which is incompatible with success return value such as id, network_nic. JIRA: FUNCTEST-427 Change-Id: Id2f55d8524e5aff150ba6bfb799085377a63baa4 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn> (cherry picked from commit 3e95a1cd0721924e89e2cfd2960d4736bc6c5588)
2016-08-22Merge "Bug fix - Better way to grab file from gerrit"valentin boucher1-3/+5
2016-08-21Chmod 755 all py files which can be executedCédric Ollivier1-0/+0
All files where __main__ is checked can now be executed by everyone. It results from [1] like the next commit [2]. [1] find . -name "*.py" |xargs grep __main__ |cut -d\: -f 1 |xargs chmod 755 [2] https://gerrit.opnfv.org/gerrit/#/c/16737/ Change-Id: I75395892e9e6afbf8ac9c995258496be557aad5f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-08-19Bug fix - Better way to grab file from gerritManuel Buil1-3/+5
We changed the way to download a single file from gerrit We point now to the original file as bugs in tacker were fixed Change-Id: I566b2f95ac1ab6032f22180bb42d0fa49482058c Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-08-17Convert to Unix formatCédric Ollivier1-85/+85
Change-Id: I3ddb9c38010c6f19ebd507990b57c9c498f49da8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-08-17Add reporting flag to push reuslts only from CIMorgan Richomme4-75/+75
JIRA: FUNCTEST-416 Change-Id: I1a5800be0dcf75573f44e6214b23917aadc1cbf7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-08-12copper push to DB fixMorgan Richomme1-17/+23
JIRA: FUNCTEST-67 Change-Id: I03620f7f41f78da0ab004d55f72da88e9a30a1ea Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-08-12Merge "Bug fix to eliminate undeterministic behaviour"valentin boucher1-0/+3
2016-08-12Merge "Tacker post script link changed"Morgan Richomme1-3/+3
2016-08-12Tacker post script link changedManuel Buil1-3/+3
The tacker post script was modified in the fuel plug-in and thus the link must be changed Change-Id: I541eb43baf70171cb7c7ceb3fae284309a1a458b Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-08-11Bug fix to eliminate undeterministic behaviourManuel Buil1-0/+3
When changing the classifier, ODL needs some seconds to update the switches and sometimes they are not changed when the script executes the second part of the test ==> test fails Change-Id: I1fa3306eb7b283d708dbd736d2365456559db9b9 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-08-11Merge "Bug fix in functest ODL-SFC"valentin boucher2-5/+13
2016-08-10Add SKIP status if Domino Test Case is skippedUlas Kozat1-8/+15
Change-Id: I099010496dadabc18952de88fd6b3740592fc583 Signed-off-by: Ulas Kozat <ulas.kozat@gmail.com>
2016-08-10Bug fix in functest ODL-SFCManuel Buil2-5/+13
Change-Id: I496ade3ea5888967e933231f515a340369bffe8f Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-08-08Update test with the new SF and new tacker scriptManuel Buil4-6/+6
- A new SF image was created with a new name. Several files must be updated - There is a new tacker branch for OPNFV Colorado, an update was made Change-Id: Ib5ed364467baca32fa204155655318cb1ec189f5 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-08-07Merge "Bug fixes odl-sfc + new features"valentin boucher3-18/+99
2016-08-05Bug fixes odl-sfc + new featuresManuel Buil3-18/+99
* Doing the test with private IPs as floating are currently not working in ODL * New SF takes more time to start the service. A while loop is added. * Configuration of the compute set-up due to ODL limitations added Change-Id: I5449af940caee456262dac66bc47b66fd05c2a70 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-08-03Set lnfo logging level for Doctor testsCarlos Goncalves1-1/+2
JIRA: DOCTOR-63 Change-Id: Iaa8fb5989f69a8853c0e3e03ce87d58fb2d4309b Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-08-01Merge "Several bug fixes in ODL-SFC functest testcase"Jose Lausuch2-19/+23
2016-08-01Several bug fixes in ODL-SFC functest testcaseManuel Buil2-19/+23
JIRA: SFC-42 - SSH options added so that the ssh key is not needed - IPTABLES change done before contacting nova, neutron... - Fix a problem in the CI test (we need to CD the BASEDIR) Change-Id: Id63c02a614bf31e5a33637c2bf95270bd1399ff8 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-07-29Return with exit code in Doctor testcaseCarlos Goncalves1-0/+4
JIRA: DOCTOR-63 Change-Id: Ib142a6102a705ee571081651c650ced05f7d5d4f Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-07-29Return with exit code in Promise testcaseCarlos Goncalves1-0/+4
JIRA: PROMISE-77 Change-Id: Ie856d7b58f72a253abf4b446e33f3c98d06c50c1 Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-07-28Bug fix of the CI script in the ODL-SFC test caseManuel Buil2-4/+4
Change-Id: Id3db14d1f26a7dd75cdaaf4d7ca0f54268a89faf Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-07-28Scripts added to enable the SFC-ODL test in CIManuel Buil2-0/+41
We need to install Tacker in the server before running the test cases Change-Id: Id7daee80627bc71c335fcb3efa5d389594641b65 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-07-28Add endpoint type support on functestboucherv1-4/+1
By default public endpoint was used but now you can use internal or admin JIRA: FUNCTEST-387 Change-Id: If1adaa88248d379ad6d74b20f2dffd76278b67b9 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-07-27Return -1 if copper test failsjose.lausuch1-4/+9
Change-Id: Ib66d1b69c73603bab33950ca2c0fca3f07eb3d22 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-26Bug fix for ODL-SFC testcaseManuel Buil1-0/+19
The vxlan_tool was sometimes not started properly in the SFs. Now we check that the process is started Change-Id: I8b88b76ba30755a1ed339f9e4c374d43e5e0b422 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-07-25Bug fix for SFC test caseManuel Buil2-8/+7
The path is fixed in the sfc_tacker script, some minor bug fixes in sfc.py are made and the "FAILED" messages are not handled by log.error instead of debug Change-Id: I2facbd985c1c0c0cac3865504b1bf65940b7ce50 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-07-21Add cd to test directoryblsaws1-1/+2
JIRA: COPPER-4 Fix pendantic formatting issue Change-Id: Iaab44a990fc04addd4c66dc8432bc9428bb5a52f Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-07-20Remove logger as input parameter of functions in openstack_utilsjose.lausuch2-13/+10
JIRA: FUNCTEST-376 Also some fixes to get rid of flake8 violations in onos-sfc Change-Id: I52c2fd30a6b81af20ea779db2d73b9386524f7ce Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-14Enable domino multi-node test case in FunctestUlas Kozat1-0/+83
This includes: - Add domino.py script - Add call to domino.py - Add the Domino repo in the Dockerfile - Add the test case definition in testcases.yaml JIRA: FUNCTEST-246 Change-Id: I5a8c3345a14c43fa80e6e86678ae5fb1417b3147 Signed-off-by: Ulas Kozat <ulas.kozat@gmail.com>
2016-07-14Enable new SDNVPN test cases in Functestjose.lausuch1-123/+0
JIRA:FUNCTEST-99 The tempest execution has been moved to the sdnvpn to leverage the logic of execution and collecting the results from the executor wrapper: sdnvpn/test/functest/run_tests.py Change-Id: Ic4763f4ab45dde81f91b241ae91073b9ea47e333 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-13[multisite] add interface of multisite test suitemeimei1-0/+21
JIRA: FUNCTEST-179 Change-Id: I23ae0f73a6efb410e54fedd75537bb2e219344e0 Signed-off-by: meimei <meimei@huawei.com>
2016-07-12Chmod 755 all py files which can be executedCédric Ollivier4-0/+0
All files where __main__ is checked can now be executed by everyone. It results from [1]. [1] find . -name "*.py" |xargs grep __main__ |cut -d\: -f 1 |xargs chmod 755 Change-Id: I9ad153cfdde0447213e35dac102e668d9e754cf9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-07-11Fix one pep8 violationCédric Ollivier1-1/+1
Change-Id: I1d57c02bc0e5952bed7f5eb86d0ba602448035e9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-07-08SFC Testcase for functestManuel Buil5-0/+461
JIRA: FUNCTEST-354 This test case creates two chains, one blocks ssh, the other http We check with the client that the blocking works in one and then we change the classifier rules to check the other one Change-Id: I7d12f5d8b4bc4a7e1566f04e02ca78ac2a4e0920 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-07-06Merge "Fix tacker client dependencies installation"Morgan Richomme1-1/+3
2016-07-06bug fix use FAIL/PASS as criteria for integration in automatic reportingMorgan Richomme1-2/+2
JIRA: FUNCTEST-355 Change-Id: I683107558b8f83e6de4244d55e6cfd93f0271db7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-07-06Move copper.py to functest repoblsaws1-0/+80
JIRA:COPPER-4 Fix minor flake8 issues Fix PASS|FAIL to match requirements Change-Id: I91d5ace36c31e4aa189422d8ec20467565e3c4d7 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-07-05Fix tacker client dependencies installationjose.lausuch1-1/+3
JIRA: FUNCTEST-354 Change-Id: Ia62fcf0a2ed8dcb80b81d786593dd9f3c6333df2 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-05Bug fix of tacker_client_installManuel Buil1-3/+3
JIRA: FUNCTEST-354 There is a library missing Change-Id: I6e1ddef4558c49ec715ea318fedd5b4cefa62670 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-07-05Add tacker installation to odl-sfcManuel Buil1-0/+41
A new directory is created and the script which installs tacker added Change-Id: I5647bf28be6d1dc9b769aa265fe8ae9ec5c90ad2 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>