aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-01-13Fixes ODL rest port for ApexTim Rozet2-2/+2
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 "Added unit tests for utils/openstack_utils.py"Jose Lausuch1-0/+1688
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-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-12Merge "Tests added for utils."Morgan Richomme3-0/+1361
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-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-10Merge "Tackerclient added in test-requirement."Morgan Richomme1-0/+1
2017-01-09Added unit tests for utils/openstack_utils.pyashishk19941-0/+1688
JIRA: FUNCTEST-683 Change-Id: I0e4b27d3fab093d5f3a086df739c1fb6bc6a0939 Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
2017-01-09Tests added for utils.ashishk19943-0/+1361
Tests added for: utils/openstack_clean utils/openstack_snapshot utils/openstack_tacker JIRA: FUNCTEST-683 Change-Id: I2d510e70fae73daf35c24b2935ab99bbb241f1f5 Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
2017-01-09Merge changes from topics 'cover_parse_results', ↵Cedric Ollivier8-74/+204
'fix_test_show_credentials', 'remove_clean_results_dir', 'cover_argparse', 're.sub', 'mock_open', 'patch_filehandler' * changes: Cover ODLTests.parse_results() Switch to assert_any_call in test_show_credentials Remove clean_results_dir Create ODLParser to parse sys.argv Fully cover set_robotframework_vars Use mock_open() to prevent stdout.txt Patch logging.FileHandler
2017-01-05Merge "Adapt Domino to FeatureBase"Morgan Richomme0-0/+0
2017-01-05Cover ODLTests.parse_results()Cédric Ollivier2-4/+26
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-05Switch to assert_any_call in test_show_credentialsCédric Ollivier1-1/+1
The previous test can be false if users set OS_ env vars. Change-Id: If517582d77aa1373bf253d7e23731e2e896d26ac Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-01-04Remove clean_results_dirCédric Ollivier1-22/+0
clean_results_dir is now useless [1] [1] https://gerrit.opnfv.org/gerrit/#/c/26661/ Change-Id: I7ec02798696d4cbc4930bf2d8aa9cb35ce99b7aa Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-01-04Create ODLParser to parse sys.argvCédric Ollivier3-36/+129
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>
2017-01-04Fully cover set_robotframework_varsCédric Ollivier1-1/+32
re.sub() is now tested. Change-Id: I83cf69b66cd1407f5e4439d8c545338c5fb0bde7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-01-04Use mock_open() to prevent stdout.txtCédric Ollivier2-7/+12
/home/opnfv is no longer required. Change-Id: Iefb8faf3a7d548f3ae7d4076005d7b0bb93e63e1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-01-04Patch logging.FileHandlerCédric Ollivier5-3/+4
It avoids creating a dummy functest.log for unit testing. Change-Id: Ib163d5d58284822b1904444fb60b08e92ee0ab9b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-01-04Merge "Added unit tests for utils/functest_utils.py."Morgan Richomme3-45/+600
2017-01-04Added Unit Tests for cli.ashishk19949-1/+742
JIRA: FUNCTEST-590 Change-Id: I5e28145cae742598927e8edbe65091fedb533a4d Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
2017-01-03Merge "use working zmail rather than private gmail"Morgan Richomme1-1/+1
2017-01-02Tackerclient added in test-requirement.ashishk19941-1/+2
Unit tests for utils/openstack_tacker requires Tackerclient. Change-Id: Iff49fcc4da445a6c490dc1306506d23016de2020 Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
2017-01-02Added unit tests for utils/functest_utils.py.ashishk19943-45/+600
JIRA: FUNCTEST-683 Change-Id: I181d98847b2ca94ce84a670239b8a958bfae44cd Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
2017-01-02Unit tests utils added.ashishk19941-0/+23
Change-Id: I8e6115c8869032ad6d22dc62febb9c8003bfa422 Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
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-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-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>