aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci
AgeCommit message (Collapse)AuthorFilesLines
2017-01-31Adapt doctor test case to the FeatureBase frameworkh-hayashi2-1/+4
JIRA: FUNCTEST-545 1. Modification of “doctor.py” to adapt Feature Base framework. deletion of detail("timestart and duration , status). 2. Deletion of definition of doctor’s repo directory in “functest_const.py" Change-Id: I81d944dc64a81346cbf465c452111f11474ea83c Signed-off-by: Hideyasu Hayashi <hideyasu.hayashi@okinawaopenlabs.org>
2017-01-30Support newton in tempestMichael Polenchuk1-0/+2
* newton release support is started from 13.0.0 * set swift operator role to existing one * unblacklist server_basic_ops test JIRA: FUNCTEST-712 Change-Id: Ieb3d9477db3dfa98f940c3732b64f6eb7515f6e6 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-01-30[doctor] allow testing with fuel and joidRyota MIBU1-1/+1
Change-Id: Ib128c5f9f7de550fb288580fd36fb03fd49f7d8b Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-25Merge "Refactor Rally to adopt OO"Morgan Richomme4-16/+6
2017-01-25Refactor Rally to adopt OOhelenyao4-16/+6
JIRA: FUNCTEST-541 Change-Id: Ife04f58dc31ca9ba6316cc31577f81a6bf0e0405 Signed-off-by: helenyao <yaohelan@huawei.com>
2017-01-19Leverage logging config and refactor the loggerhelenyao2-0/+30
JIRA: FUNCTEST-690 The detailed benefits are listed in the JIRA description. 1. Refactored the functest_logger to make use of configuration file 2. Avoided configuring the logging every time a logger is initialized 3. Applied separate logging configuration fo unit test by removing saving log to file Change-Id: I6e27eaba727ae6d704f0301f15359dc3ea7b2f97 Signed-off-by: helenyao <yaohelan@huawei.com>
2017-01-19Merge "write test results to a local file"Morgan Richomme1-1/+1
2017-01-19Merge "Use 8081 for apex's restconfport robot variable"Morgan Richomme1-4/+11
2017-01-18Use 8081 for apex's restconfport robot variableJamo Luhrsen1-4/+11
Change-Id: Ie3579254b8f09eda3707fbc4b8d098a292f52a93 Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2017-01-18Merge "Add VnfOnBoarding Abstraction"Jose Lausuch2-51/+127
2017-01-18Add VnfOnBoarding AbstractionMorgan Richomme2-51/+127
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 Richomme2-15/+21
2017-01-17Merge "Refactoring of args and parser variable in ci/run_tests, prepare_env"Morgan Richomme2-35/+57
2017-01-17write test results to a local filewu.zhihui1-1/+1
Write test result to a file or push it to DB depends on the value format of test_db_url which is defined in config_functest.yaml. Meanwhile, test_db_url can be set by os envrion value "RESULT_STORE". If test_db_url is a url, e.g. http:// or https://, then push result to DB. If test_db_url is a file location, e.g. file:///, then write results to a file with json data. One result record, one line. JIRA: FUNCTEST-657 Change-Id: I579087cd2c24d61a79142b5d67003fb486b6c723 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-01-16Rally keystone test scenarios for v3helenyao2-15/+21
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-12Merge "[Netvirt-pipeline] Exclude unwanted testcases"Jose Lausuch1-7/+7
2017-01-12[Netvirt-pipeline] Exclude unwanted testcasesNikolas Hermanns1-7/+7
For Netvirt pipeline only specialist testcases shall be executed. Change-Id: I9b658e28526e4d833442d3aac601e794566ca4be Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-01-12Bugfix: fix the wrong return codehelenyao1-3/+4
The bug was introduced by patch[1] [1] https://gerrit.opnfv.org/gerrit/#/c/24619/ Change-Id: Icf6c267aba26fcb5b129a611423dcf2200f95277 Signed-off-by: helenyao <yaohelan@huawei.com>
2017-01-11Merge "[FUNCTEST] Correct right ip is used for public endpoint"Jose Lausuch1-1/+1
2017-01-11[FUNCTEST] Correct right ip is used for public endpointNikolas Hermanns1-1/+1
At the moment it was done in a fishy way to grep for the public ip. This commit fixes it. Change-Id: If14488c18c67cd66e885a7376e1c50a3a28e17f7 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-01-09Refactoring of args and parser variable in ci/run_tests, prepare_envashishk19942-35/+57
Can't import run_tests in test_run_tests.py (new unit test file). It is throwing error: nosetests: error: unrecognized arguments It is because of declaration of parser and args which are global in file, So to allow safe import of this file, we need to declare it into __main__ branch. Change-Id: Ie11ebcfd8a1b8e692bd8bf4260a54f752b67fd5e Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
2016-12-27Merge "Bugfix: fix the wrong path for security scan"Helen Yao1-1/+1
2016-12-26Merge "refactor rally using new constants provider"Serena Feng1-1/+1
2016-12-26refactor rally using new constants providerSerenaFeng1-1/+1
JIRA: FUNCTEST-673 Change-Id: I4b542a7693aaf7dd037e0e55dee3f22dda8df27a Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-24Bugfix: fix the wrong path for security scanhelenyao1-1/+1
JIRA: FUNCTEST-679 Change-Id: I488ebbca5ea2594787cb6151cd82bf2d4a3e8118 Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-23refactor snaps and example using new constants providerSerenaFeng1-11/+11
JIRA: FUNCTEST-673 Change-Id: If20be3c614f729c17bf6484676de7889747a98c0 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-22refactor cli module using new constants providerSerenaFeng1-1/+1
JIRA: FUNCTEST-673 Change-Id: I643fb16c694a8d7df45a13237f34b19a02906881 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-22Refactor domino using FeatureBase and new constants providerSerenaFeng1-1/+1
JIRA: FUNCTEST-673 Change-Id: I153fd5ca68deffa6fd140e62f438cf6ee5404f98 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-22Refactor tempest using new constants providerSerenaFeng1-5/+5
JIRA: FUNCTEST-673 Change-Id: Ibc274edd6bc9e8aea9e124fae84d7dec481982ab Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-21Adapt SDNVPN tests using Featurebasejose.lausuch1-11/+11
Change-Id: I8be4bb72ba1d3b7eb2ba6e1edccf61d4186e07c6 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-21Refactor test run related modules using new constants providerSerenaFeng4-114/+108
JIRA: FUNCTEST-673 Change-Id: Ia37fb5a08c8fbc4a8acb666565ea887f9ae48b83 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-21refactor vping using new constants providerSerenaFeng1-14/+14
JIRA: FUNCTEST-673 Change-Id: I56ac66662b53593257609fa87c16df52440f7458 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-20Bugfix in passing parameters to logger_debug.ashishk19941-1/+5
JIRA: FUNCTEST-675 Change-Id: I342d51391323dd1ffe516d8dbc13b2d543374a3e Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
2016-12-20Remove old tempest implementationjose.lausuch1-14/+0
JIRA: FUNCTEST-542 Change-Id: I62151e60cd508a9f65cc6d6d6866947c3fac435e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-20Adapt Tempest to the new templatejose.lausuch1-0/+9
JIRA: FUNCTEST-542 Change-Id: I5576ce5c1aecd67ad97999f412e8c049c20d8e94 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-19Bug-Fix: No module named feature.copperhelenyao1-1/+1
JIRA: FUNCTEST-667 Fix the wrong module path for copper. Bug is introduced by https://gerrit.opnfv.org/gerrit/#/c/24907 Change-Id: I65cb405cb477d155d4f4cdff493615ec1571f75f Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-16Set SNAPS tests as non blockingMorgan Richomme1-3/+3
to give a chance of other tests to be run in CI/master to be reverted once SNAPS stabilized Change-Id: Ide3a7ff267ed7ced31980b87d6482588d2cf7787 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-12-15Add check_criteria() in testcase_baseCédric Ollivier1-3/+4
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-211/+211
Change-Id: I51fabb809e0f446a4dcf2108af10a3f137b177d3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-12-14Merge "Conform SFC test case to FeatureBase"Morgan Richomme2-23/+4
2016-12-14Merge "Adapt Copper to Abstraction framework"Morgan Richomme1-0/+4
2016-12-14Authenticate clients with keystoneauth1.sessionhelenyao1-0/+1
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-0/+4
JIRA: FUNCTEST-546 Change-Id: I775a7274883127cc627197fda37ae8e9043b59e2 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-12-13Conform SFC test case to FeatureBasejose.lausuch2-23/+4
JIRA: FUNCTEST-550 Change-Id: I46853d1ba943a54b39b760c34c29c2b4c3b43d63 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-13rename openstack to componentsMorgan Richomme1-1/+1
to be in line with testing group agreed categories https://wiki.opnfv.org/display/testing Change-Id: Ibad08afe1ad37c244e1cf5f845f14a73bddfd63f Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-12-13CI-Build-Fix: Move the connection check to smokehelenyao1-18/+18
JIRA: FUNCTEST-648 The run_test.py first searches for tier, if no name is matched, it will continue to search for testcase. That said, for 'functest testcase run healthcheck', it will run all testcases under 'healthchech' tier. The connection check blocked the CI build. Change-Id: I4e14cb0f269175803d027756d5581fd1867b3147 Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-12Move api_check test in smoke categoryMorgan Richomme1-18/+18
Healthcheck tests are used for gating and MUST not include negative tests Change-Id: Ie3a6715506cbbb9a5a9e5b455f648699600bd584 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-12-09Merge "abstract umbrella part to make integration code simpler"Serena Feng1-1/+1
2016-12-09Merge "Added test cases for running the Python Tests included with SNAPS."Morgan Richomme2-0/+61
2016-12-08Added test cases for running the Python Tests included with SNAPS.spisarski3-1/+62
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>