aboutsummaryrefslogtreecommitdiffstats
path: root/functest
AgeCommit message (Collapse)AuthorFilesLines
2017-02-02bug fix: no status returned at the end of a Tempest/Rally runMorgan Richomme2-0/+8
the return shall only deal with test executed or not it shall not return the criteria through a return statement the criteria is managed with the criteria field previous patch https://gerrit.opnfv.org/gerrit/#/c/27807 corrected the fact that we should not return the status of the test which was preventing Failed results to be pushed but it removed the return needed statement JIRA: FUNCTEST-714 Change-Id: I3d4c609467837e4ce2353c67c0b8ea95e21ebd84 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-02-01[rally] Get keystone auth endpoint as request_urlMichael Polenchuk1-5/+2
JIRA: FUNCTEST-685 Change-Id: Id0d0bcf55451832d9aeb22c3e6b9c21aea4e0911 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-02-01Merge "Extract util functions from tempest.py to conf_utils"Jose Lausuch2-71/+79
2017-02-01Merge "Adapt doctor test case to the FeatureBase framework"Morgan Richomme4-76/+12
2017-01-31Extract util functions from tempest.py to conf_utilsjose.lausuch2-71/+79
These functions are useful for other test cases trying to run tempest. For example BGPVPN tests cases located in SDNVPN repo. Change-Id: I67e671f4e9b0a2d81a3ab0d1957ce144fb1a0432 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-01-31Tempest and SNAPS not pushing results to DB in case of FAILMorgan Richomme3-12/+6
this problem was due to the fact that we add exit condition EX_ERROR when the result was FAIL EX_ERROR shall be used as exit condition when there is an execution error, i.e the test case cannot be run if it can be run, there is no execution error the result can be PASS or FAIL, but from the CI, execution is OK JIRA: FUNCTEST-714 Change-Id: Id434bb9aa88b50277c40c717259304f26f7b3966 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-01-31Adapt doctor test case to the FeatureBase frameworkh-hayashi4-76/+12
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 Polenchuk4-20/+6
* 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-27Merge "Bugfix: fix the error of no sh file"Morgan Richomme1-1/+1
2017-01-25Merge "Refactor Rally to adopt OO"Morgan Richomme7-629/+565
2017-01-25Refactor Rally to adopt OOhelenyao7-629/+565
JIRA: FUNCTEST-541 Change-Id: Ife04f58dc31ca9ba6316cc31577f81a6bf0e0405 Signed-off-by: helenyao <yaohelan@huawei.com>
2017-01-24Bugfix: fix the error of no sh fileLinda Wang1-1/+1
Three shell scripts (dmz.sh, smtp_ingress.sh and reserved_subnet.sh) are needed when executing "run.sh" where relative path of the three scripts is specified. Those three shell scripts are also located in /home/opnfv/copper/tests, so it is necessary to change to this dir before executing "run.sh". JIRA: FUNCTEST-691 Change-Id: I8571e3403d31e9eede8c4eab79b49f721199cdf9 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-01-23Merge "Fix for opnfv onos-sfc scripts"Morgan Richomme2-8/+6
2017-01-23Fix for opnfv onos-sfc scriptssathishkumarmurugesan2-8/+6
Change-Id: I676885b364e81e2266e72defd7fb21bbc96b093d Signed-off-by: sathishkumarmurugesan <sathishkumar@huawei.com>
2017-01-23Merge "Leverage logging config and refactor the logger"Helen Yao8-28/+94
2017-01-22Merge "Reverted the file permission"Helen Yao3-0/+0
2017-01-20bug fix case name for VNFonboardingMorgan Richomme5-6/+9
the case paramter was not provided to the anstraction class Change-Id: I42ba63a3b4fd20f6d076f20369fed56715237640 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-01-20VNF_BASE - fix quota update failedboucherv1-4/+5
JIRA: FUNCTEST-702 Change-Id: Ia831d35079f9286f924d0b407a64bf376b1cff21 Signed-off-by: boucherv <valentin.boucher@orange.com>
2017-01-19Leverage logging config and refactor the loggerhelenyao8-28/+94
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 "Bugfix: delete the wrong path in functest_constants.py"Morgan Richomme1-15/+0
2017-01-19Merge "write test results to a local file"Morgan Richomme6-18/+78
2017-01-19Merge "Use 8081 for apex's restconfport robot variable"Morgan Richomme3-7/+17
2017-01-19Bugfix: delete the wrong path in functest_constants.pyLinda Wang1-15/+0
Fix the bug patch: https://gerrit.opnfv.org/gerrit/#/c/26769 Change-Id: I9ef5adeabb98ed3abfd67d23b78672a719c45225 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-01-19Merge "Bugfix: fix the execution way in copper"Morgan Richomme1-1/+1
2017-01-18Use 8081 for apex's restconfport robot variableJamo Luhrsen3-7/+17
Change-Id: Ie3579254b8f09eda3707fbc4b8d098a292f52a93 Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2017-01-18Merge "Add VnfOnBoarding Abstraction"Jose Lausuch14-562/+1107
2017-01-18Add VnfOnBoarding AbstractionMorgan Richomme14-562/+1107
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 Richomme5-124/+188
2017-01-18Bugfix: fix the execution way in copperLinda Wang1-1/+1
JIRA: FUNCTEST-691 Change-Id: I35371133619fb2cc6b42f3b0bd49c4473058d353 Signed-off-by: Linda Wang <wangwulin@huawei.com>
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.zhihui6-18/+78
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 v3helenyao5-124/+188
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-15Merge "Fixes ODL rest port for Apex"Jose Lausuch2-2/+2
2017-01-13Setting level to the Functest logger's parent logger to ensure log output fromspisarski1-0/+2
Python libraries being used by framework does not get sent to dev/null. JIRA: FUNCTEST-658 The parent logger is being set to logging.WARN and this is the logger instance that is being inherited by the upstream libraries. Change-Id: I35a02a8ea075012ac21e3b5d12d27c0187057b90 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
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-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-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>