aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-02-13Use Exception instead of return codehelenyao3-65/+36
Checking Return status code after each step can be wrapped by Exception catching Also, the return code is not as informative as exception Change-Id: Ic15791d1b8ee47e10cbae8bad46a2cb90ac2b46e Signed-off-by: helenyao <yaohelan@huawei.com>
2017-02-10Merge "Logic to trigger Security Scan project"Morgan Richomme12-611/+30
2017-02-10Merge "Refactor configure_tempest() function"Jose Lausuch1-15/+36
2017-02-10Put the Logger as Object oriented.helenyao1-32/+26
There is no need to worry about adding duplicate handler as the logging has the ability to avoid it. Change-Id: I7198c1e1c05df347feb0d7192e80592e662314b1 Signed-off-by: helenyao <yaohelan@huawei.com>
2017-02-10Merge "Integrating PyTest contained in SNAPS as a replacement to the old ↵Jose Lausuch2-0/+50
bash healthcheck."
2017-02-09Refactoring of args and parser variableashishk19942-71/+76
It also fixes one issue when printing summary for tiers and others induced by [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/26587/ JIRA: FUNCTEST-438 Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I821efaa7d62b208d797d19563f573d1e28da9df4 Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-02-09Fix source_credentials in openstack_utilsCédric Ollivier4-24/+36
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 Richomme4-115/+205
bug fixes + adaptation to abstraction class JIRA: FUNCTEST-710 Change-Id: I687876637bd9eeeba9256e28b98a1e3a4f5c3e22 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-02-09delete useless file multisite.pySerenaFeng1-22/+0
Change-Id: Iee13f283280610a98847c4560ed58163d01f6e8e Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-02-08Logic to trigger Security Scan projecthelenyao12-611/+30
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-08Refactor configure_tempest() functiontomsou1-15/+36
Create two new functions: configure_tempest_update_params and configure_verifier, distinguishing between tempest.conf configure verification and add/updating parameters into it this update is useful and it will be used by sdnvpn/tempest Change-Id: I76e0bc00e33492252cdecab224380ecca2ce275a Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-02-07Integrating PyTest contained in SNAPS as a replacement to the oldspisarski2-0/+50
bash healthcheck. JIRA: FUNCTEST-570 Change-Id: Ia90dc152d48144c9c53967d5c30256389793ce91 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-02-07Exclude Moon feature for DanubeMorgan Richomme9-28/+2
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-07Releng environment in unit testing.ashishk19941-1/+8
Most of modules in ci, openstack are dependent on opnfv_module. This patch will install the releng modules in unit test environment. Credits: https://gerrit.opnfv.org/gerrit/#/c/26501/2/run_unit_tests.sh Change-Id: Ibc5edeaf8439b8a5e874ee842c119480ed2e517b Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
2017-02-07Merge "Move api_check and connection check to healthcheck category"Jose Lausuch4-41/+40
2017-02-07Merge "bugfix for finding tempest failed testcase"Morgan Richomme1-2/+6
2017-02-06Merge "Change log level when pod, scenario or build_tag cannot be retrieved"Morgan Richomme2-21/+24
2017-02-06Merge "Change endpoint type for Kingbird"Morgan Richomme1-1/+1
2017-02-06Merge "Add netvirt to odl tests"Jose Lausuch3-1/+19
2017-02-06Change endpoint type for KingbirdDimitri Mazmanov1-1/+1
Replaced 'kingbird' with 'multisite' as kingbird installation scripts register 'multisite'. JIRA: MULTISITE-720 Change-Id: Ib53bab46a1fa225e371912d74eecb929d84dff3a Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2017-02-06Change log level when pod, scenario or build_tag cannot be retrievedMorgan Richomme2-21/+24
when using Functest out of CI, such env variables may not be set This shall not result in Error messages JIRA: FUNCTEST-716 Change-Id: I86d2023145480dfa9c8d593ea274acbd9e431ef7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-02-06Merge "Migrates more commands to openstack-pythonclient cmds"Jose Lausuch1-3/+3
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-06Merge "Unit tests for openstack/rally."Morgan Richomme7-1/+395
2017-02-04Merge "Upgrade High level architecture config guide"Morgan Richomme1-60/+62
2017-02-04bugfix for finding tempest failed testcaseMatthewLi1-2/+6
JIRA: FUNCTEST-719 1.in new tempest version, FAILED-->fail see log https://build.opnfv.org/ci/view/dovetail/job/dovetail-compass-virtual-debug-master/163/artifact/results/tempest/tempest.log 2.there is a need to show the skipped testcase in tempest Change-Id: If753c59971362625ae0797a0161e07b1e4ff94c8 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-02-03Merge "Add dockerfile for aarch64"Morgan Richomme1-0/+164
2017-02-03Merge "Fix template error log"Jose Lausuch2-13/+13
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 "Freeze the rally version"Jose Lausuch1-18/+2
2017-02-03Merge "Get tacker client using session authentication"Jose Lausuch1-3/+3
2017-02-03Merge "Remove all the results from previous releases"Jose Lausuch16-24203/+0
2017-02-03Merge "Migrates glance commands to OSCLI"Morgan Richomme1-8/+8
2017-02-03Add dockerfile for aarch64Cristina Pauna1-0/+164
This commit allows building the functest image on aarch64 jenkins slave The changes from the x86 dockerfile are: - pull the aarch64 ubuntu image for docker - add libjpeg-dev to the dependency list (needed for Pillow package) - add bundler to gem because the version of ruby that is found is 1.9.3p484 instead of 1.9.3-p551 /usr/local/rvm/rubies/ruby-1.9.3-p551/lib/ruby/site_ruby/1.9.1/ rubygems/core_ext/kernel_require.rb:55: in `require': cannot load such file -- bundler (LoadError) - configure nokogiri to use system libraries because the packet used an outdated config.guess file - get the npm packet for arm64; since there is no deb for it, I extracted the needed files from the arhives in the repo Ported https://gerrit.opnfv.org/gerrit/#/c/27971/ to this file Change-Id: Icedbc54a685534bde14769182250cd098f24a26a Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-02-03Add netvirt to odl testsNikolas Hermanns3-1/+19
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 Richomme4-41/+40
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-03Freeze the rally versionhelenyao1-18/+2
1. Installed latest released version of rally as 0.8.1 2. Removed outdated description Change-Id: Iebc8c65809dc814fe51aab27f0721b01fd6feb4b Signed-off-by: helenyao <yaohelan@huawei.com>
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-03Unit tests for openstack/rally.ashishk19947-1/+395
Few bug fix in rally code along with unit tests. Change-Id: Id39a5089ca6fce8aac5ba89eb61d31b02a5e9a98 Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
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-02Remove all the results from previous releasesjose.lausuch16-24203/+0
These are obsolete and we use a different way to report the results now. Change-Id: Ia6a92149e484ae76701b12989abbf4de458f872b Signed-off-by: jose.lausuch <jose.lausuch@ericsson.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-02Upgrade High level architecture config guidejose.lausuch1-60/+62
Change-Id: I4a344b3d9781c8254b84aa53dd62c9e2637d9eb9 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
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>