summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-12-29use working zmail rather than private gmailSerenaFeng1-1/+1
Change-Id: If0eacde5ead9db27668e52ea8cb5b87f3d9be02a Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-28Merge "Add a flag in the CLI to report results to DB"Helen Yao3-18/+30
2016-12-27bugfix: clean results directory errorSerenaFeng1-8/+9
change 'rm -rf /home/opnfv/functest' to 'rm -rf /home/opnfv/functest/results' and extract the clean logic to a common method clean_results_dir Change-Id: I8aa0b09b58d9c14e53c2d4f2bb39376239e41168 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-27Merge "Bugfix: fix the wrong path for security scan"Helen Yao1-1/+1
2016-12-26Enable the tenant related featureshelenyao3-31/+36
JIRA: FUNCTEST-670 The tenant related features were enabled for OpenStack snapshot and cleanup. Change-Id: Ie9a4012c0d29f57ed5a14139ccb5f8e29b6000dd Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-26Merge "Adapt create_tenant and create_user to keystone v3"Serena Feng1-9/+28
2016-12-25Adapt create_tenant and create_user to keystone v3jose.lausuch1-9/+28
JIRA: FUNCTEST-670 Change-Id: I5bb288be2dd5cee1776930ca94d1acad82f50160 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-26Merge "refactor rally using new constants provider"Serena Feng4-22/+20
2016-12-26Merge "Fix Tempest push results to DB"Helen Yao1-28/+24
2016-12-26refactor rally using new constants providerSerenaFeng4-22/+20
JIRA: FUNCTEST-673 Change-Id: I4b542a7693aaf7dd037e0e55dee3f22dda8df27a Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-25Add a flag in the CLI to report results to DBjose.lausuch3-18/+30
Change-Id: I155a7a8bc5457d013677f8b6e437fe27c31896ae Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
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-24Merge "refactor snaps and example using new constants provider"Helen Yao7-63/+70
2016-12-24Merge "Updated vims to support keystone v3"Helen Yao2-48/+43
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 providerSerenaFeng7-63/+70
JIRA: FUNCTEST-673 Change-Id: If20be3c614f729c17bf6484676de7889747a98c0 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-23bugfix: get git branch failed when only 'git fetch' is providedSerenaFeng1-4/+8
File "/usr/local/lib/python2.7/dist-packages/functest/cli/commands/cli_env.py", line 58, in show branch = repo.head.reference File "/usr/local/lib/python2.7/dist-packages/git/refs/symbolic.py", line 258, in _get_reference raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) TypeError: HEAD is a detached symbolic reference as it points to '2632ba86dd920267455ee10154b9e2ce4695a889' JIRA: FUNCTEST-673 Change-Id: I2306dde254710d7d0e8a3529a19e3d8fdb6e5b02 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-22refactor cli module using new constants providerSerenaFeng7-84/+71
JIRA: FUNCTEST-673 Change-Id: I643fb16c694a8d7df45a13237f34b19a02906881 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-22Refactor domino using FeatureBase and new constants providerSerenaFeng3-62/+10
JIRA: FUNCTEST-673 Change-Id: I153fd5ca68deffa6fd140e62f438cf6ee5404f98 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-22Refactor tempest using new constants providerSerenaFeng6-80/+78
JIRA: FUNCTEST-673 Change-Id: Ibc274edd6bc9e8aea9e124fae84d7dec481982ab Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-21Adapt SDNVPN tests using Featurebasejose.lausuch3-75/+19
Change-Id: I8be4bb72ba1d3b7eb2ba6e1edccf61d4186e07c6 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-21Updated vims to support keystone v3Jose Lausuch8-118/+108
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 providerSerenaFeng11-138/+151
JIRA: FUNCTEST-673 Change-Id: Ia37fb5a08c8fbc4a8acb666565ea887f9ae48b83 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-21Merge "refactor vping using new constants provider"Jose Lausuch6-70/+65
2016-12-21refactor vping using new constants providerSerenaFeng6-70/+65
JIRA: FUNCTEST-673 Change-Id: I56ac66662b53593257609fa87c16df52440f7458 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-21Merge "Add default env variables in ENV class"Jose Lausuch1-1/+7
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-20Add default env variables in ENV classjose.lausuch1-1/+7
Change-Id: Ibca9c7a533796b5a2beae4e13b626f340969a567 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-20Remove backslash to meet PEP8 requirementhelenyao4-18/+19
JIRA: FUNCTEST-630 Change-Id: Ia02760fd98aaab59a6cf0a90a2020b76e0c92df6 Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-20Merge "Unified way to provide configurations and env variables(proposal 1)"Jose Lausuch3-0/+68
2016-12-20Remove old tempest implementationjose.lausuch3-591/+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 Feng4-0/+517
2016-12-20Merge "Cover ODLResultVisitor"Serena Feng2-1/+36
2016-12-20Adapt Tempest to the new templatejose.lausuch4-0/+517
JIRA: FUNCTEST-542 Change-Id: I5576ce5c1aecd67ad97999f412e8c049c20d8e94 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-19Merge "Install sdnvpn as a python package"Jose Lausuch1-0/+3
2016-12-19Merge "Fix the issue of unexpected keyword argument 'endpoint_type'"Jose Lausuch2-71/+62
2016-12-19Allow executing several testcases with the CLIjose.lausuch1-7/+9
By naming the test cases separated by "," The CLI will call run_tests.py for each test case. This is needed for example for the 3rd party CI. Change-Id: I2fa5c68ebb292b462153853879630c0cbc5ef0a2 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-17Merge "Avoid side effects induced by functest_constants in ODL UT"Cedric Ollivier3-71/+57
2016-12-17Cover ODLResultVisitorCédric Ollivier2-1/+36
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-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-16Avoid side effects induced by functest_constants in ODL UTCédric Ollivier3-71/+57
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-16Merge "Add check_criteria() in testcase_base"Jose Lausuch5-16/+36
2016-12-16Merge "Convert files to Unix format."Jose Lausuch5-395/+395
2016-12-16Merge "Fix find in Dockerfile"Jose Lausuch1-1/+1
2016-12-16Merge "Fix file permissions"Jose Lausuch4-0/+0
2016-12-16Merge "Promote Helen Yao as commiter in Functest"Jose Lausuch1-2/+3
2016-12-16Fix the issue of unexpected keyword argument 'endpoint_type'helenyao2-71/+62
JIRA: FUNCTEST-662 Different OpenStack has different version of RC file thus the environment variables vary. The keystoneauth1 initialization only support limited input. This patch only feed the required input to keystoneauth1. Moreover, the patch optimized the code by removing hardcode and improved the scalability. Change-Id: Id6815f96a11f2918bc2c7bc1c33f38c3f5754e11 Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-15Add check_criteria() in testcase_baseCédric Ollivier5-16/+36
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 Ollivier5-395/+395
Change-Id: I51fabb809e0f446a4dcf2108af10a3f137b177d3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>