aboutsummaryrefslogtreecommitdiffstats
path: root/functest
AgeCommit message (Collapse)AuthorFilesLines
2017-02-03Fix template error logGeorge Paraskevopoulos2-13/+13
JIRA:SFC-70 Printing the VNFD template during VNFD creation was left on error level. Move it on info level and make printing prettier. Fix unit test for create_vnfd Change-Id: Ib04a43d72abcf9b6fbcaec9ea05d57b9f017b53f Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2017-02-03Merge "Get tacker client using session authentication"Jose Lausuch1-3/+3
2017-02-03Merge "Migrates glance commands to OSCLI"Morgan Richomme1-8/+8
2017-02-03Merge "Add flavor creation in functest env prepare"Morgan Richomme1-0/+9
2017-02-02Migrates glance commands to OSCLITim Rozet1-8/+8
There is currently a bug with glance in newton which is causing Apex healthchecks to fail: https://bugs.launchpad.net/python-glanceclient/+bug/1661089 I have created a fix and tested it upstream: https://review.openstack.org/#/c/427929/ That fix should eventually end up in functest, but in addition it is a good idea to move to the universal CLI (this patch). Change-Id: Ie71b301ff856f2d50fd889ff36f634911e616b38 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-02Merge changes from topic 'convert_unix_format'Jose Lausuch4-55/+55
* changes: Change permissions of python files Convert files to Unix format
2017-02-02Merge "Allow multiple sets of suites in ODL"Jose Lausuch3-6/+45
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 Ollivier3-6/+45
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-02Merge "Bugfix: multisite test case fails"Jose Lausuch1-0/+3
2017-02-02Bugfix: multisite test case failsJuha Kosonen1-0/+3
Ensure the target directory for tempest config file exists. JIRA: FUNCTEST-715 Change-Id: I7bfaab1faa3e664d84813cdbf9a830b0b56a1f60 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2017-02-02Get tacker client using session authenticationGeorge Paraskevopoulos1-3/+3
Update getting tacker client logic to use session for authentication Change-Id: Ibc46e3d6b749540e1a23d08f6635c323e4dcf08d Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.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-02Merge "Adapt Promise to new framework"Morgan Richomme5-285/+20
2017-02-02Add tempest test details to results reportJuha Kosonen1-0/+13
JIRA: FUNCTEST-711 Change-Id: Ib89ad63f0f97ff27e62fd6af200a15b9eed646c6 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2017-02-02Change permissions of python filesCédric Ollivier2-0/+0
Change-Id: I21826594ffa9b06a70664aa3512f0b5df8b546cd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-02-02Convert files to Unix formatCédric Ollivier2-55/+55
Change-Id: I8faa0c9f4185e2d71b9c5d22a6a25830aacd8114 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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-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 Richomme5-285/+20
JIRA: FUNCTEST-549 Change-Id: I01018bc10f5b1717af217457018a5d56f86d60cd 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>