aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci
AgeCommit message (Collapse)AuthorFilesLines
2017-02-13Merge "[WIP] update cloudify_ims case"valentin boucher1-41/+2
2017-02-13Merge "Fix source_credentials in openstack_utils"Jose Lausuch2-6/+4
2017-02-10Merge "Logic to trigger Security Scan project"Morgan Richomme3-6/+5
2017-02-10Merge "Integrating PyTest contained in SNAPS as a replacement to the old ↵Jose Lausuch1-0/+16
bash healthcheck."
2017-02-09Fix source_credentials in openstack_utilsCédric Ollivier2-6/+4
It fixes issues raised when an env var contains '=' (e.g. LS_COLORS). It now exports the vars listed in rc_file without creating a new process. Change-Id: I6e6a4e3ab9c45afe4d40015831acb283acbe564c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-02-09[WIP] update cloudify_ims caseMorgan Richomme1-41/+2
bug fixes + adaptation to abstraction class JIRA: FUNCTEST-710 Change-Id: I687876637bd9eeeba9256e28b98a1e3a4f5c3e22 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-02-08Logic to trigger Security Scan projecthelenyao3-6/+5
1. Removed the calling from exec_test.sh 2. Used FeatureBase instead 3. Removed the legacy security scan code Change-Id: I1984ec951973f337f275e50543b277cd90d9a202 Signed-off-by: helenyao <yaohelan@huawei.com>
2017-02-07Integrating PyTest contained in SNAPS as a replacement to the oldspisarski1-0/+16
bash healthcheck. JIRA: FUNCTEST-570 Change-Id: Ia90dc152d48144c9c53967d5c30256389793ce91 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-02-07Exclude Moon feature for DanubeMorgan Richomme2-12/+0
Moon will come back mid March with a micro service version Moon testing could be enabled on this new version Change-Id: I160fab5d609bad2b0e8a8c81a4a180498c935b2f Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-02-07Merge "Move api_check and connection check to healthcheck category"Jose Lausuch1-35/+34
2017-02-06Merge "Add netvirt to odl tests"Jose Lausuch1-0/+4
2017-02-06Migrates more commands to openstack-pythonclient cmdsTim Rozet1-3/+3
Change-Id: I7be6a89d7b0fb7997ea05607d45e792e0ce57051 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-03Add netvirt to odl testsNikolas Hermanns1-0/+4
For the odl test the default odl port is 8080. In netvirt this is the same as apex. Change-Id: I949510e4f7fb57bcf8ec01f69f7941c5d55c98e7 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-02-03Merge "Add flavor creation in functest env prepare"Morgan Richomme1-0/+9
2017-02-03Move api_check and connection check to healthcheck categoryMorgan Richomme1-35/+34
They used to be on smoke but seems to be supported now by all the installers more relevant to put these tests in this tier JIRA: FUNCTEST-568 Change-Id: Id0c60c0b90daed81dc0d230108e2275c868c208c Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-02-02Merge changes from topic 'convert_unix_format'Jose Lausuch1-29/+29
* changes: Change permissions of python files Convert files to Unix format
2017-02-02Merge "Allow multiple sets of suites in ODL"Jose Lausuch1-0/+4
2017-02-02Merge "Define how to pass args to TestcaseBase.run"Jose Lausuch1-1/+5
2017-02-02Allow multiple sets of suites in ODLCédric Ollivier1-0/+4
ODLTests can manage multiple sets of suites passing as run args. It avoids duplicating odl.py according to ODL features installed (e.g. netvirt). Change-Id: Ibb0697ef9441506c3f33627e13a0845cc482e23f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-02-02Add flavor creation in functest env preparejose.lausuch1-0/+9
So far, healthcheck.sh was creating m1.tiny flavor. We are planning to remove that script and replace it by SNAPS api and connection check. Althought, a better approach to this would be that all the tests create the flavor if needed, but these are the tests that rely on this flavor: - vping ssh - vping userdata - rally - tempest - onos_sfc Change-Id: I537f68a55d733b24b6b15f5cf3710bca40fbc622 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-02Exclude Copper until copper/installer integration completedMorgan Richomme1-12/+12
JIRA: FUNCTEST-34 Change-Id: I70d551904a429b25947f914aa67f6f13f9e5b6ef Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-02-02Convert files to Unix formatCédric Ollivier1-29/+29
Change-Id: I8faa0c9f4185e2d71b9c5d22a6a25830aacd8114 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-02-02Define how to pass args to TestcaseBase.runCédric Ollivier1-1/+5
Here is an exemple of functest/ci/testcases.yaml run: module: 'functest.opnfv_tests.sdn.odl.odl' class: 'ODLTests' args: suites: - /home/opnfv/repos/odl_test/csit/suites/integration/basic - /home/opnfv/repos/odl_test/csit/suites/openstack/neutron Change-Id: I37b0ffa18f626bd8bb52ed460ae38053bd12c8ee Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-02-02Adapt Promise to new frameworkMorgan Richomme3-14/+4
JIRA: FUNCTEST-549 Change-Id: I01018bc10f5b1717af217457018a5d56f86d60cd Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
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>