functest.git
7 years agoAdd deployment_handler printout to prepare env 33/28533/2
jose.lausuch [Mon, 13 Feb 2017 16:35:40 +0000 (17:35 +0100)]
Add deployment_handler printout to prepare env

Example output: http://pastebin.com/raw/xWTe9tAY

Change-Id: Ib8100089318f807fb4d5d4fff2911179eb18216e
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "Limit the substitution of ' in env vars"
Cedric Ollivier [Tue, 14 Feb 2017 12:25:38 +0000 (12:25 +0000)]
Merge "Limit the substitution of ' in env vars"

7 years agoMerge "Fix config file name setting"
Morgan Richomme [Tue, 14 Feb 2017 11:14:29 +0000 (11:14 +0000)]
Merge "Fix config file name setting"

7 years agoMerge changes from topic 'revert_write_to_file'
Jose Lausuch [Tue, 14 Feb 2017 10:31:44 +0000 (10:31 +0000)]
Merge changes from topic 'revert_write_to_file'

* changes:
  Add can_dump_request_to_file decorator
  Revert "write test results to a local file"

7 years agoLimit the substitution of ' in env vars 99/28599/1
Cédric Ollivier [Tue, 14 Feb 2017 10:16:22 +0000 (11:16 +0100)]
Limit the substitution of ' in env vars

Only ' located and the beginning or at the end of the string are
removed. It completes the first proposal [1].

[1] https://gerrit.opnfv.org/gerrit/#/c/28563/

Change-Id: Ic21cea4c6e98d92983f385c875c3e214411b5f2d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoFix config file name setting 01/28601/1
Juha Kosonen [Tue, 14 Feb 2017 10:16:21 +0000 (12:16 +0200)]
Fix config file name setting

JIRA: FUNCTEST-725

Change-Id: Ic1e6a54c2dbfb1dee5f8f6e6afd60382749bcd09
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
7 years agoMerge "Fix again unix permissions"
Morgan Richomme [Tue, 14 Feb 2017 08:44:19 +0000 (08:44 +0000)]
Merge "Fix again unix permissions"

7 years agoMerge "Add ODL netvirt connectivity suites to list of robot tests"
Morgan Richomme [Tue, 14 Feb 2017 08:39:05 +0000 (08:39 +0000)]
Merge "Add ODL netvirt connectivity suites to list of robot tests"

7 years agoMerge "Refactoring of args and parser variable"
Morgan Richomme [Tue, 14 Feb 2017 08:35:10 +0000 (08:35 +0000)]
Merge "Refactoring of args and parser variable"

7 years agoMerge "delete useless file multisite.py"
Jose Lausuch [Tue, 14 Feb 2017 07:59:45 +0000 (07:59 +0000)]
Merge "delete useless file multisite.py"

7 years agoFix again unix permissions 65/28565/1
Cédric Ollivier [Mon, 13 Feb 2017 23:49:49 +0000 (00:49 +0100)]
Fix again unix permissions

It has been induced by [1].

[1] https://gerrit.opnfv.org/gerrit/#/c/26695/

Change-Id: I4bec6bdc30c5901c19bdc4ca43b89f60bd50a6aa
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoBugfix: remove double quotes from environment variables 63/28563/1
jose.lausuch [Mon, 13 Feb 2017 23:10:06 +0000 (00:10 +0100)]
Bugfix: remove double quotes from environment variables

JIRA: FUNCTEST-724

Change-Id: Iae248d710813a241752e1a06fb87d650caf3d188
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoAdd ODL netvirt connectivity suites to list of robot tests 13/27113/7
Jamo Luhrsen [Tue, 17 Jan 2017 17:12:55 +0000 (09:12 -0800)]
Add ODL netvirt connectivity suites to list of robot tests

Change-Id: I9eb543b18d7646c7746caeec43d610be52a1af65
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoMerge "Use Exception instead of return code"
Jose Lausuch [Mon, 13 Feb 2017 15:58:58 +0000 (15:58 +0000)]
Merge "Use Exception instead of return code"

7 years agoMerge "[WIP] update cloudify_ims case"
valentin boucher [Mon, 13 Feb 2017 14:49:40 +0000 (14:49 +0000)]
Merge "[WIP] update cloudify_ims case"

7 years agoMerge "Fix source_credentials in openstack_utils"
Jose Lausuch [Mon, 13 Feb 2017 13:03:12 +0000 (13:03 +0000)]
Merge "Fix source_credentials in openstack_utils"

7 years agoAdd can_dump_request_to_file decorator 13/28513/1
Cédric Ollivier [Mon, 13 Feb 2017 12:34:34 +0000 (13:34 +0100)]
Add can_dump_request_to_file decorator

can_dump_request_to_file can be called to dump any request data to a
local file as defined by test_db_url. If its scheme is file,
Session.send() is patched. Else the behavior is kept unchanged.

Change-Id: Id219dad274b5f02a05259a2ed13e882c04eea7b4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoRevert "write test results to a local file" 11/28511/1
Cédric Ollivier [Wed, 8 Feb 2017 14:18:24 +0000 (15:18 +0100)]
Revert "write test results to a local file"

This reverts commit ee21af78fbfc93e888acda121f08d2b216dd0159.

Change-Id: If7c8d3b645073574862eb67225b1e11b0dd7a021
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoUse Exception instead of return code 15/28015/3
helenyao [Sat, 4 Feb 2017 01:58:01 +0000 (20:58 -0500)]
Use Exception instead of return code

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>
7 years agoMerge "Logic to trigger Security Scan project"
Morgan Richomme [Fri, 10 Feb 2017 18:23:32 +0000 (18:23 +0000)]
Merge "Logic to trigger Security Scan project"

7 years agoMerge "Refactor configure_tempest() function"
Jose Lausuch [Fri, 10 Feb 2017 11:26:13 +0000 (11:26 +0000)]
Merge "Refactor configure_tempest() function"

7 years agoMerge "Integrating PyTest contained in SNAPS as a replacement to the old bash healthc...
Jose Lausuch [Fri, 10 Feb 2017 08:48:43 +0000 (08:48 +0000)]
Merge "Integrating PyTest contained in SNAPS as a replacement to the old bash healthcheck."

7 years agoRefactoring of args and parser variable 63/27463/5
ashishk1994 [Tue, 24 Jan 2017 17:33:02 +0000 (23:03 +0530)]
Refactoring of args and parser variable

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>
7 years agoFix source_credentials in openstack_utils 97/28297/5
Cédric Ollivier [Wed, 8 Feb 2017 16:48:47 +0000 (17:48 +0100)]
Fix source_credentials in openstack_utils

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>
7 years ago[WIP] update cloudify_ims case 71/28371/2
Morgan Richomme [Thu, 9 Feb 2017 15:11:50 +0000 (16:11 +0100)]
[WIP] update cloudify_ims case

bug fixes + adaptation to abstraction class

JIRA: FUNCTEST-710

Change-Id: I687876637bd9eeeba9256e28b98a1e3a4f5c3e22
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agodelete useless file multisite.py 53/28353/1
SerenaFeng [Thu, 9 Feb 2017 08:54:10 +0000 (16:54 +0800)]
delete useless file multisite.py

Change-Id: Iee13f283280610a98847c4560ed58163d01f6e8e
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoLogic to trigger Security Scan project 19/28019/7
helenyao [Sat, 4 Feb 2017 04:01:37 +0000 (23:01 -0500)]
Logic to trigger Security Scan project

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>
7 years agoRefactor configure_tempest() function 13/28213/3
tomsou [Tue, 7 Feb 2017 10:28:45 +0000 (10:28 +0000)]
Refactor configure_tempest() function

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>
7 years agoIntegrating PyTest contained in SNAPS as a replacement to the old 11/28011/2
spisarski [Fri, 3 Feb 2017 20:29:20 +0000 (13:29 -0700)]
Integrating PyTest contained in SNAPS as a replacement to the old
bash healthcheck.

JIRA: FUNCTEST-570

Change-Id: Ia90dc152d48144c9c53967d5c30256389793ce91
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
7 years agoExclude Moon feature for Danube 19/28219/2
Morgan Richomme [Tue, 7 Feb 2017 10:47:01 +0000 (11:47 +0100)]
Exclude Moon feature for Danube

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>
7 years agoMerge "Move api_check and connection check to healthcheck category"
Jose Lausuch [Tue, 7 Feb 2017 07:51:25 +0000 (07:51 +0000)]
Merge "Move api_check and connection check to healthcheck category"

7 years agoMerge "bugfix for finding tempest failed testcase"
Morgan Richomme [Tue, 7 Feb 2017 07:38:58 +0000 (07:38 +0000)]
Merge "bugfix for finding tempest failed testcase"

7 years agoMerge "Change log level when pod, scenario or build_tag cannot be retrieved"
Morgan Richomme [Mon, 6 Feb 2017 13:58:40 +0000 (13:58 +0000)]
Merge "Change log level when pod, scenario or build_tag cannot be retrieved"

7 years agoMerge "Change endpoint type for Kingbird"
Morgan Richomme [Mon, 6 Feb 2017 11:10:51 +0000 (11:10 +0000)]
Merge "Change endpoint type for Kingbird"

7 years agoMerge "Add netvirt to odl tests"
Jose Lausuch [Mon, 6 Feb 2017 10:47:38 +0000 (10:47 +0000)]
Merge "Add netvirt to odl tests"

7 years agoChange endpoint type for Kingbird 11/28111/2
Dimitri Mazmanov [Mon, 6 Feb 2017 10:05:44 +0000 (11:05 +0100)]
Change endpoint type for Kingbird

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>
7 years agoChange log level when pod, scenario or build_tag cannot be retrieved 09/28109/1
Morgan Richomme [Mon, 6 Feb 2017 09:58:40 +0000 (10:58 +0100)]
Change log level when pod, scenario or build_tag cannot be retrieved

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>
7 years agoMerge "Migrates more commands to openstack-pythonclient cmds"
Jose Lausuch [Mon, 6 Feb 2017 09:43:28 +0000 (09:43 +0000)]
Merge "Migrates more commands to openstack-pythonclient cmds"

7 years agoMigrates more commands to openstack-pythonclient cmds 05/28005/2
Tim Rozet [Fri, 3 Feb 2017 18:53:03 +0000 (13:53 -0500)]
Migrates more commands to openstack-pythonclient cmds

Change-Id: I7be6a89d7b0fb7997ea05607d45e792e0ce57051
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoMerge "Unit tests for openstack/rally."
Morgan Richomme [Mon, 6 Feb 2017 08:57:54 +0000 (08:57 +0000)]
Merge "Unit tests for openstack/rally."

7 years agoMerge "Upgrade High level architecture config guide"
Morgan Richomme [Sat, 4 Feb 2017 20:35:51 +0000 (20:35 +0000)]
Merge "Upgrade High level architecture config guide"

7 years agobugfix for finding tempest failed testcase 25/28025/2
MatthewLi [Sat, 4 Feb 2017 07:41:35 +0000 (02:41 -0500)]
bugfix for finding tempest failed testcase

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>
7 years agoMerge "Add dockerfile for aarch64"
Morgan Richomme [Fri, 3 Feb 2017 14:58:12 +0000 (14:58 +0000)]
Merge "Add dockerfile for aarch64"

7 years agoMerge "Fix template error log"
Jose Lausuch [Fri, 3 Feb 2017 14:38:38 +0000 (14:38 +0000)]
Merge "Fix template error log"

7 years agoFix template error log 81/27981/7
George Paraskevopoulos [Fri, 3 Feb 2017 10:01:12 +0000 (12:01 +0200)]
Fix template error log

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>
7 years agoMerge "Freeze the rally version"
Jose Lausuch [Fri, 3 Feb 2017 12:35:06 +0000 (12:35 +0000)]
Merge "Freeze the rally version"

7 years agoMerge "Get tacker client using session authentication"
Jose Lausuch [Fri, 3 Feb 2017 12:22:59 +0000 (12:22 +0000)]
Merge "Get tacker client using session authentication"

7 years agoMerge "Remove all the results from previous releases"
Jose Lausuch [Fri, 3 Feb 2017 10:39:33 +0000 (10:39 +0000)]
Merge "Remove all the results from previous releases"

7 years agoMerge "Migrates glance commands to OSCLI"
Morgan Richomme [Fri, 3 Feb 2017 09:29:53 +0000 (09:29 +0000)]
Merge "Migrates glance commands to OSCLI"

7 years agoAdd dockerfile for aarch64 01/27801/3
Cristina Pauna [Tue, 31 Jan 2017 14:14:12 +0000 (16:14 +0200)]
Add dockerfile for aarch64

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>
7 years agoAdd netvirt to odl tests 47/27447/3
Nikolas Hermanns [Tue, 24 Jan 2017 13:43:51 +0000 (14:43 +0100)]
Add netvirt to odl tests

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>
7 years agoMerge "Add flavor creation in functest env prepare"
Morgan Richomme [Fri, 3 Feb 2017 07:49:46 +0000 (07:49 +0000)]
Merge "Add flavor creation in functest env prepare"

7 years agoMove api_check and connection check to healthcheck category 23/27923/2
Morgan Richomme [Thu, 2 Feb 2017 15:58:43 +0000 (16:58 +0100)]
Move api_check and connection check to healthcheck category

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>
7 years agoFreeze the rally version 71/27971/3
helenyao [Fri, 3 Feb 2017 06:38:16 +0000 (01:38 -0500)]
Freeze the rally version

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>
7 years agoMigrates glance commands to OSCLI 57/27957/1
Tim Rozet [Fri, 3 Feb 2017 01:01:45 +0000 (20:01 -0500)]
Migrates glance commands to OSCLI

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>
7 years agoMerge changes from topic 'convert_unix_format'
Jose Lausuch [Thu, 2 Feb 2017 22:58:43 +0000 (22:58 +0000)]
Merge changes from topic 'convert_unix_format'

* changes:
  Change permissions of python files
  Convert files to Unix format

7 years agoMerge "Allow multiple sets of suites in ODL"
Jose Lausuch [Thu, 2 Feb 2017 22:58:29 +0000 (22:58 +0000)]
Merge "Allow multiple sets of suites in ODL"

7 years agoMerge "Define how to pass args to TestcaseBase.run"
Jose Lausuch [Thu, 2 Feb 2017 22:58:20 +0000 (22:58 +0000)]
Merge "Define how to pass args to TestcaseBase.run"

7 years agoUnit tests for openstack/rally. 47/27947/3
ashishk1994 [Thu, 2 Feb 2017 20:45:36 +0000 (02:15 +0530)]
Unit tests for openstack/rally.

Few bug fix in rally code along with unit tests.

Change-Id: Id39a5089ca6fce8aac5ba89eb61d31b02a5e9a98
Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
7 years agoAllow multiple sets of suites in ODL 31/27931/1
Cédric Ollivier [Thu, 2 Feb 2017 17:25:43 +0000 (18:25 +0100)]
Allow multiple sets of suites in ODL

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>
7 years agoRemove all the results from previous releases 29/27929/1
jose.lausuch [Thu, 2 Feb 2017 16:40:14 +0000 (17:40 +0100)]
Remove all the results from previous releases

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>
7 years agoAdd flavor creation in functest env prepare 27/27927/1
jose.lausuch [Thu, 2 Feb 2017 16:33:44 +0000 (17:33 +0100)]
Add flavor creation in functest env prepare

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>
7 years agoMerge "Bugfix: multisite test case fails"
Jose Lausuch [Thu, 2 Feb 2017 15:56:48 +0000 (15:56 +0000)]
Merge "Bugfix: multisite test case fails"

7 years agoUpgrade High level architecture config guide 21/27921/1
jose.lausuch [Thu, 2 Feb 2017 15:33:44 +0000 (16:33 +0100)]
Upgrade High level architecture config guide

Change-Id: I4a344b3d9781c8254b84aa53dd62c9e2637d9eb9
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoBugfix: multisite test case fails 19/27919/1
Juha Kosonen [Thu, 2 Feb 2017 15:27:34 +0000 (17:27 +0200)]
Bugfix: multisite test case fails

Ensure the target directory for tempest config file exists.

JIRA: FUNCTEST-715

Change-Id: I7bfaab1faa3e664d84813cdbf9a830b0b56a1f60
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
7 years agoGet tacker client using session authentication 09/27909/2
George Paraskevopoulos [Thu, 2 Feb 2017 14:35:45 +0000 (16:35 +0200)]
Get tacker client using session authentication

Update getting tacker client logic to use session for authentication

Change-Id: Ibc46e3d6b749540e1a23d08f6635c323e4dcf08d
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
7 years agoExclude Copper until copper/installer integration completed 07/27907/1
Morgan Richomme [Thu, 2 Feb 2017 14:01:10 +0000 (15:01 +0100)]
Exclude Copper until copper/installer integration completed

JIRA: FUNCTEST-34

Change-Id: I70d551904a429b25947f914aa67f6f13f9e5b6ef
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoMerge "Adapt Promise to new framework"
Morgan Richomme [Thu, 2 Feb 2017 13:52:28 +0000 (13:52 +0000)]
Merge "Adapt Promise to new framework"

7 years agoAdd tempest test details to results report 87/27887/2
Juha Kosonen [Thu, 2 Feb 2017 10:47:37 +0000 (12:47 +0200)]
Add tempest test details to results report

JIRA: FUNCTEST-711

Change-Id: Ib89ad63f0f97ff27e62fd6af200a15b9eed646c6
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
7 years agoChange permissions of python files 97/27897/1
Cédric Ollivier [Thu, 2 Feb 2017 09:25:16 +0000 (10:25 +0100)]
Change permissions of python files

Change-Id: I21826594ffa9b06a70664aa3512f0b5df8b546cd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoConvert files to Unix format 95/27895/1
Cédric Ollivier [Thu, 2 Feb 2017 09:21:18 +0000 (10:21 +0100)]
Convert files to Unix format

Change-Id: I8faa0c9f4185e2d71b9c5d22a6a25830aacd8114
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agobug fix: no status returned at the end of a Tempest/Rally run 81/27881/1
Morgan Richomme [Thu, 2 Feb 2017 09:06:59 +0000 (10:06 +0100)]
bug fix: no status returned at the end of a Tempest/Rally run

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>
7 years agoDefine how to pass args to TestcaseBase.run 79/27879/1
Cédric Ollivier [Thu, 2 Feb 2017 08:19:03 +0000 (09:19 +0100)]
Define how to pass args to TestcaseBase.run

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>
7 years agoAdapt Promise to new framework 55/27855/2
Morgan Richomme [Wed, 1 Feb 2017 13:54:08 +0000 (14:54 +0100)]
Adapt Promise to new framework

JIRA: FUNCTEST-549

Change-Id: I01018bc10f5b1717af217457018a5d56f86d60cd
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoMerge "[rally] Get keystone auth endpoint as request_url"
Morgan Richomme [Wed, 1 Feb 2017 13:19:25 +0000 (13:19 +0000)]
Merge "[rally] Get keystone auth endpoint as request_url"

7 years agoMerge "First update of dev guide for dnaube"
Morgan Richomme [Wed, 1 Feb 2017 13:18:34 +0000 (13:18 +0000)]
Merge "First update of dev guide for dnaube"

7 years agoMerge "Update Configuration guide"
Morgan Richomme [Wed, 1 Feb 2017 13:18:25 +0000 (13:18 +0000)]
Merge "Update Configuration guide"

7 years ago[rally] Get keystone auth endpoint as request_url 37/27837/1
Michael Polenchuk [Wed, 1 Feb 2017 09:40:08 +0000 (13:40 +0400)]
[rally] Get keystone auth endpoint as request_url

JIRA: FUNCTEST-685
Change-Id: Id0d0bcf55451832d9aeb22c3e6b9c21aea4e0911
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
7 years agoMerge "Extract util functions from tempest.py to conf_utils"
Jose Lausuch [Wed, 1 Feb 2017 09:11:57 +0000 (09:11 +0000)]
Merge "Extract util functions from tempest.py to conf_utils"

7 years agoFirst update of dev guide for dnaube 65/27665/3
Morgan Richomme [Fri, 27 Jan 2017 13:30:33 +0000 (14:30 +0100)]
First update of dev guide for dnaube

JIRA: FUNCTEST-561

Change-Id: I2ce04883e09a1700cbcceac18e7bc1c01497633a
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoUpdate Configuration guide 47/27247/4
Morgan Richomme [Thu, 19 Jan 2017 14:25:04 +0000 (15:25 +0100)]
Update Configuration guide

JIRA: FUNCTEST-559

Change-Id: I592ec574f4703d0b0ad7ee9941e487e3bb528d5d
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoMerge "Adapt doctor test case to the FeatureBase framework"
Morgan Richomme [Wed, 1 Feb 2017 07:25:14 +0000 (07:25 +0000)]
Merge "Adapt doctor test case to the FeatureBase framework"

7 years agoMerge "Tempest and SNAPS not pushing results to DB in case of FAIL"
Morgan Richomme [Wed, 1 Feb 2017 07:24:10 +0000 (07:24 +0000)]
Merge "Tempest and SNAPS not pushing results to DB in case of FAIL"

7 years agoMerge "First update of Functest user guide for Danube"
Morgan Richomme [Wed, 1 Feb 2017 07:24:01 +0000 (07:24 +0000)]
Merge "First update of Functest user guide for Danube"

7 years agoExtract util functions from tempest.py to conf_utils 57/27757/3
jose.lausuch [Mon, 30 Jan 2017 17:04:44 +0000 (18:04 +0100)]
Extract util functions from tempest.py to conf_utils

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>
7 years agoTempest and SNAPS not pushing results to DB in case of FAIL 07/27807/2
Morgan Richomme [Tue, 31 Jan 2017 17:05:48 +0000 (18:05 +0100)]
Tempest and SNAPS not pushing results to DB in case of FAIL

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>
7 years agoFirst update of Functest user guide for Danube 85/27385/2
Morgan Richomme [Mon, 23 Jan 2017 14:49:14 +0000 (15:49 +0100)]
First update of Functest user guide for Danube

JIRA: FUNCTEST-560

Change-Id: I90d7c3447dfb15b880704cb25da080221cb7b063
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoAdapt doctor test case to the FeatureBase framework 19/27719/2
h-hayashi [Mon, 30 Jan 2017 08:15:41 +0000 (17:15 +0900)]
Adapt doctor test case to the FeatureBase framework

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>
7 years agoMerge "Make sure we have installed python_novaclient==6.0.0"
Morgan Richomme [Tue, 31 Jan 2017 07:20:48 +0000 (07:20 +0000)]
Merge "Make sure we have installed python_novaclient==6.0.0"

7 years agoMake sure we have installed python_novaclient==6.0.0 55/27755/2
jose.lausuch [Mon, 30 Jan 2017 16:46:33 +0000 (17:46 +0100)]
Make sure we have installed python_novaclient==6.0.0

Some requirements install novaclient 7.0.0 which belongs
to Ocata. It shows some warnings that are not relevant.
This will force to install the version for Newton.

Change-Id: Ic9c6b3e9558ef59475099fa41316f56a8a3192a0
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoSupport newton in tempest 29/27729/2
Michael Polenchuk [Mon, 30 Jan 2017 11:06:28 +0000 (15:06 +0400)]
Support newton in tempest

* 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>
7 years ago[doctor] allow testing with fuel and joid 11/27711/1
Ryota MIBU [Mon, 30 Jan 2017 03:47:57 +0000 (03:47 +0000)]
[doctor] allow testing with fuel and joid

Change-Id: Ib128c5f9f7de550fb288580fd36fb03fd49f7d8b
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
7 years agoMerge "Bugfix: fix the error of no sh file"
Morgan Richomme [Fri, 27 Jan 2017 09:55:26 +0000 (09:55 +0000)]
Merge "Bugfix: fix the error of no sh file"

7 years agoMerge "Refactor Rally to adopt OO"
Morgan Richomme [Wed, 25 Jan 2017 13:07:35 +0000 (13:07 +0000)]
Merge "Refactor Rally to adopt OO"

7 years agoRefactor Rally to adopt OO 59/27359/5
helenyao [Mon, 23 Jan 2017 01:51:25 +0000 (20:51 -0500)]
Refactor Rally to adopt OO

JIRA: FUNCTEST-541

Change-Id: Ife04f58dc31ca9ba6316cc31577f81a6bf0e0405
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoBugfix: fix the error of no sh file 33/27433/2
Linda Wang [Tue, 24 Jan 2017 05:16:10 +0000 (05:16 +0000)]
Bugfix: fix the error of no sh file

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>
7 years agoMerge "Fix for opnfv onos-sfc scripts"
Morgan Richomme [Mon, 23 Jan 2017 13:19:05 +0000 (13:19 +0000)]
Merge "Fix for opnfv onos-sfc scripts"

7 years agoFix for opnfv onos-sfc scripts 13/27213/7
sathishkumarmurugesan [Thu, 19 Jan 2017 06:29:54 +0000 (11:59 +0530)]
Fix for opnfv onos-sfc scripts

Change-Id: I676885b364e81e2266e72defd7fb21bbc96b093d
Signed-off-by: sathishkumarmurugesan <sathishkumar@huawei.com>
7 years agoMerge "Leverage logging config and refactor the logger"
Helen Yao [Mon, 23 Jan 2017 09:05:25 +0000 (09:05 +0000)]
Merge "Leverage logging config and refactor the logger"

7 years agoMerge "Reverted the file permission"
Helen Yao [Sun, 22 Jan 2017 02:39:53 +0000 (02:39 +0000)]
Merge "Reverted the file permission"