aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests
AgeCommit message (Collapse)AuthorFilesLines
2017-01-23Fix for opnfv onos-sfc scriptssathishkumarmurugesan2-8/+6
Change-Id: I676885b364e81e2266e72defd7fb21bbc96b093d Signed-off-by: sathishkumarmurugesan <sathishkumar@huawei.com>
2017-01-18Merge "Add VnfOnBoarding Abstraction"Jose Lausuch9-506/+682
2017-01-18Add VnfOnBoarding AbstractionMorgan Richomme9-506/+682
JIRA: FUNCTEST-535 Change-Id: Idfa3dfd64554472aaac3f26a504e1f74d2f42926 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-01-18Merge "Rally keystone test scenarios for v3"Morgan Richomme3-109/+167
2017-01-16Rally keystone test scenarios for v3helenyao3-109/+167
JIRA: FUNCTEST-652 1. Updated the Rally repository to master the keystone test scenarios of TAG= 0.7.0 cannot run on Newton also, 0.7.0 is the last tag that exists 2. Update the Tempest installation with updated rally command Rally team said "there was no possibility to do it in backward compatible way(rally verify re-design)" 3. The `rally show` was deprecated[1] in the master and corresponding logic is updated 4. Update rally commands [1] https://github.com/openstack/rally/commit/f2fc3015beb4cfd8053db728765714500db6eeb2 Change-Id: Ief9e36a16dd92e4449c0f76579e7191a93aa3e21 Signed-off-by: helenyao <yaohelan@huawei.com>
2017-01-13Fixes ODL rest port for ApexTim Rozet1-1/+1
Apex has enabled tripleo firewall in deployments which block access to port 8181. Only port 8081 is exposed on the admin network now. Change-Id: I58e5eaf16cfc0738c248e1468b2d59cc9f542ddd Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-01-12Merge "Bugfix: fix the wrong path in copper"Morgan Richomme1-1/+1
2017-01-12Merge "Remove cmd to OpenStack, use python client"Morgan Richomme2-14/+18
2017-01-11Merge "Set flavor's page size to support dpdk enabled vms"Morgan Richomme1-2/+3
2017-01-11Bugfix: fix the wrong path in copperLinda Wang1-1/+1
JIRA: FUNCTEST-691 Change-Id: Iad8d5aa14642b3b3bf673faf032c7f3ba9dc28d8 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-01-10Remove cmd to OpenStack, use python clientMorgan Richomme2-14/+18
JIRA: FUNCTEST-503 Change-Id: Ie92051ec128ad4857862e6125628dac24ce99a2a Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-01-05Cover ODLTests.parse_results()Cédric Ollivier1-3/+3
The ODL testcase is now fully covered by unit tests. Change-Id: I856a40138739b148babcfa96e82da05bb83e63e1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-01-04Create ODLParser to parse sys.argvCédric Ollivier1-36/+44
It helps covering lines about args parsing without calling main. It also excludes 'if __name__ == .__main__.:' from coverage. The related unit tests are added too. Change-Id: I8e001a9d35081000977e0e546ae505f7cf2870e6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-12-27Set flavor's page size to support dpdk enabled vmsMichael Polenchuk1-2/+3
Set flavor's page size to ANY so libvirt driver might try to find large pages for guest RAM (either 2Mb or 1Gb), otherwise fallback to small pages. JIRA: FUNCTEST-684 Change-Id: I40f415ca9487c4f20416d45462eddc769df0cb9c Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-12-26Merge "refactor rally using new constants provider"Serena Feng1-17/+16
2016-12-26Merge "Fix Tempest push results to DB"Helen Yao1-28/+24
2016-12-26refactor rally using new constants providerSerenaFeng1-17/+16
JIRA: FUNCTEST-673 Change-Id: I4b542a7693aaf7dd037e0e55dee3f22dda8df27a Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-24Merge "refactor snaps and example using new constants provider"Helen Yao5-42/+49
2016-12-24Merge "Updated vims to support keystone v3"Helen Yao1-33/+18
2016-12-23Fix Tempest push results to DBjose.lausuch1-28/+24
JIRA: FUNCTEST-678 Change-Id: Ia4dca2d134e91b1647694d41972d979f9b70e967 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-23refactor snaps and example using new constants providerSerenaFeng5-42/+49
JIRA: FUNCTEST-673 Change-Id: If20be3c614f729c17bf6484676de7889747a98c0 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-22Refactor domino using FeatureBase and new constants providerSerenaFeng1-59/+6
JIRA: FUNCTEST-673 Change-Id: I153fd5ca68deffa6fd140e62f438cf6ee5404f98 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-22Refactor tempest using new constants providerSerenaFeng2-52/+69
JIRA: FUNCTEST-673 Change-Id: Ibc274edd6bc9e8aea9e124fae84d7dec481982ab Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-21Adapt SDNVPN tests using Featurebasejose.lausuch1-63/+7
Change-Id: I8be4bb72ba1d3b7eb2ba6e1edccf61d4186e07c6 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-21Updated vims to support keystone v3Jose Lausuch3-58/+38
Adding the choice, into openstack_utils, to get openstack client with environment credentials or with a specific credentials (new user/tenant..) JIRA: FUNCTEST-529 Change-Id: I295808311de40f37a07b5a831852876a51f276f3 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-12-21Refactor test run related modules using new constants providerSerenaFeng1-2/+2
JIRA: FUNCTEST-673 Change-Id: Ia37fb5a08c8fbc4a8acb666565ea887f9ae48b83 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-21refactor vping using new constants providerSerenaFeng2-25/+20
JIRA: FUNCTEST-673 Change-Id: I56ac66662b53593257609fa87c16df52440f7458 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-20Remove backslash to meet PEP8 requirementhelenyao3-16/+17
JIRA: FUNCTEST-630 Change-Id: Ia02760fd98aaab59a6cf0a90a2020b76e0c92df6 Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-20Remove old tempest implementationjose.lausuch2-577/+0
JIRA: FUNCTEST-542 Change-Id: I62151e60cd508a9f65cc6d6d6866947c3fac435e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-20Merge "Adapt Tempest to the new template"Serena Feng3-0/+508
2016-12-20Adapt Tempest to the new templatejose.lausuch3-0/+508
JIRA: FUNCTEST-542 Change-Id: I5576ce5c1aecd67ad97999f412e8c049c20d8e94 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-17Cover ODLResultVisitorCédric Ollivier1-1/+1
It adds unit tests to cover ODLResultVisitor and then increases the coverage to 78%. It also fixes a nit in details pushed to DB. Change-Id: Ie4c31df67b5197c4273ee835242153e74b50601d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-12-16Avoid side effects induced by functest_constants in ODL UTCédric Ollivier1-22/+14
It partially reverts [1] (odl.py + test_odl.py). [1] https://gerrit.opnfv.org/gerrit/#/c/24619/ Change-Id: Ie51ccf10f8ffa0a63086796f8bb722ef50567b2d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-12-15Add check_criteria() in testcase_baseCédric Ollivier1-4/+2
It allows checking testcase results and then returning an error value to CI. Now run() should return EX_OK even if criteria is FAILED. It also fixes an issue induced by [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/24561/ Change-Id: Iaa095696f9dcb87f8cc95179b4f404b092d1e23e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-12-15Convert files to Unix format.Cédric Ollivier1-1/+1
Change-Id: I51fabb809e0f446a4dcf2108af10a3f137b177d3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-12-15Fix file permissionsCédric Ollivier3-0/+0
It has been fixed by calling [1] [1] find ${FUNCTEST_REPO_DIR} -name "*.py" \ -not -path "*tests/unit*" |xargs grep __main__ \ |cut -d\: -f 1 |xargs chmod -c 755 && find ${FUNCTEST_REPO_DIR} -name "*.sh" \ |xargs grep \#\! |cut -d\: -f 1 |xargs chmod -c 755 Change-Id: I654d9221179e60ea45d1db83157c4a9aa9497b69 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-12-14Bug fix: precise testcase name to push results into DBMorgan Richomme3-0/+3
JIRA: FUNCTEST-659 Change-Id: Ic92ecddc5d0bb295b99f7ffc2ab957e80e7ea32f Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-12-14Merge "Conform SFC test case to FeatureBase"Morgan Richomme1-0/+20
2016-12-14Merge "Adapt Copper to Abstraction framework"Morgan Richomme1-65/+7
2016-12-14Authenticate clients with keystoneauth1.sessionhelenyao1-5/+2
JIRA: FUNCTEST-529 1. use keystoneauth1.session to initialize the client for each service The keystoneauth1.session.Session class was introduced into keystoneauth1 as an attempt to bring a unified interface to the various OpenStack clients that share common authentication and request parameters between a variety of services. 2. update ODL case to leverage session to get the endpoint info Change-Id: Ic8c01b9b7ed86d3bdd9f5125504bc47f46a37700 Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-14Adapt Copper to Abstraction frameworkMorgan Richomme1-65/+7
JIRA: FUNCTEST-546 Change-Id: I775a7274883127cc627197fda37ae8e9043b59e2 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-12-13Conform SFC test case to FeatureBasejose.lausuch1-0/+20
JIRA: FUNCTEST-550 Change-Id: I46853d1ba943a54b39b760c34c29c2b4c3b43d63 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-09Merge "abstract umbrella part to make integration code simpler"Serena Feng1-59/+6
2016-12-09Merge "Added test cases for running the Python Tests included with SNAPS."Morgan Richomme5-0/+124
2016-12-08Added test cases for running the Python Tests included with SNAPS.spisarski5-0/+124
JIRA: FUNCTEST-570 The three new tests are: 1. healthcheck/connecton_check - Retrieves different OpenStack clients and may exercise a query function 2. healthcheck/api_check - Exercises many of the OpenStack APIs by performing basic CRUD operations 3. smoke/snaps_smoke - Creates VMs and some optionally test SSH into floating IPs Removed configured exernal network name and replaced it with a dynamic lookup. Fixed typo in run_tests.py Change-Id: Icb87a77c7cdd99dd9aa3a66bcc5a25b4b5935fef Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2016-12-07abstract umbrella part to make integration code simplerSerenaFeng1-59/+6
implement an abstract class Umbrella, and take parser for instance JIRA: FUNCTEST-618 Change-Id: Iadf71ad49abd901b9659cb71135fc902a3b616d1 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-05Fix Pep8 issues related to \Morgan Richomme8-102/+123
JIRA: FUNCTEST-630 Change-Id: I2b6d3bec67c6fe290fb2ad795a54a2dd2e3c7a0b Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-12-02Rename TestCasesBase into TestcaseBasehelenyao6-32/+33
JIRA: FUNCTEST-628 1. rename the TestCasesBase into TestcaseBase 2. updated the module name to testcase_base.py Change-Id: Ic6b5d8209098c136613a2419c3790668fdbd493e Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-02remove functest_repo from TestBase, move it to vPingBaseMorgan Richomme1-0/+2
Change-Id: I6e9ebc7280b24ced9b62bfa4fa38b08128febb42 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-12-01Merge "Remove Notion of SKIP in test cases"Morgan Richomme2-29/+20