aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests
AgeCommit message (Collapse)AuthorFilesLines
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
2016-11-30Remove Notion of SKIP in test casesMorgan Richomme2-29/+20
JIRA: FUNCTEST-541 Change-Id: Ie71ba9c02e54a1ff05974ef89075b3ad7cf6f930 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-29bug fix: bad ping.sh path after refactoringMorgan Richomme1-2/+2
JIRA: FUNCTEST-626 Change-Id: Iaab7de65ae197939f1ef715826ba5a2b2423c205 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-25Bugfix: fix the wrong path for vping_sshhelenyao1-1/+1
JIRA: FUNCTEST-624 Change-Id: Idbd04eb4c09a3bae29f12e43b019ad095ce2cf7b Signed-off-by: helenyao <yaohelan@huawei.com>
2016-11-25Add suffix '_DIR' to some constants that point to directoriesjose.lausuch3-12/+15
JIRA: FUNCTEST-533 Change-Id: Iea2ca0709f6e53201056f9145fa6020216c31f56 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-25file/dir renaming for consistencyMorgan Richomme68-32/+32
JIRA: FUNCTEST-579 Change-Id: Iaa545db70bfb76770df0a3d17871e29ce518ff2d Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>