functest-xtesting.git
7 years agoFix the issue of unexpected keyword argument 'endpoint_type'
helenyao [Fri, 16 Dec 2016 03:49:06 +0000 (22:49 -0500)]
Fix the issue of unexpected keyword argument 'endpoint_type'

JIRA: FUNCTEST-662

Different OpenStack has different version of RC file thus the environment variables vary.
The keystoneauth1 initialization only support limited input.
This patch only feed the required input to keystoneauth1.
Moreover, the patch optimized the code by removing hardcode and improved the scalability.

Change-Id: Id6815f96a11f2918bc2c7bc1c33f38c3f5754e11
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoFix path for SFC package installation
jose.lausuch [Thu, 15 Dec 2016 14:48:32 +0000 (15:48 +0100)]
Fix path for SFC package installation

Change-Id: I0a0ee6b492946255922f81043f89e11e7c70792e
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "Install SFC python modules in Functest"
Jose Lausuch [Thu, 15 Dec 2016 14:20:08 +0000 (14:20 +0000)]
Merge "Install SFC python modules in Functest"

7 years agoInstall SFC python modules in Functest
jose.lausuch [Wed, 14 Dec 2016 11:08:43 +0000 (12:08 +0100)]
Install SFC python modules in Functest

This will install SFC repository locally
so that they can have whatever directory structure
without modifying the PYTHONPATH env var.

See this for more info:
https://gerrit.opnfv.org/gerrit/#/c/25861/

JIRA: SFC-60

Change-Id: If197c250da61d2ae1f4b2f90a52bf007159fd07e
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "Switch to ODL beryllium-sr4"
Morgan Richomme [Thu, 15 Dec 2016 07:37:49 +0000 (07:37 +0000)]
Merge "Switch to ODL beryllium-sr4"

7 years agoMerge "Create internship dir in docs"
Morgan Richomme [Thu, 15 Dec 2016 07:36:55 +0000 (07:36 +0000)]
Merge "Create internship dir in docs"

7 years agoSwitch to ODL beryllium-sr4
Cédric Ollivier [Wed, 14 Dec 2016 16:04:21 +0000 (17:04 +0100)]
Switch to ODL beryllium-sr4

It switches ODL_TAG to beryllium-sr4 which integrates the following
patches [1] and [2] which were part of OPNFV functest.

[1] https://git.opendaylight.org/gerrit/#/c/46910/
[2] https://git.opendaylight.org/gerrit/#/c/46749/

Change-Id: Ibc7e9eb1dc5dadff024562e6d077242688192ba9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoBug fix: precise testcase name to push results into DB
Morgan Richomme [Wed, 14 Dec 2016 10:40:56 +0000 (11:40 +0100)]
Bug fix: precise testcase name to push results into DB

JIRA: FUNCTEST-659

Change-Id: Ic92ecddc5d0bb295b99f7ffc2ab957e80e7ea32f
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoMerge "Conform SFC test case to FeatureBase"
Morgan Richomme [Wed, 14 Dec 2016 10:30:56 +0000 (10:30 +0000)]
Merge "Conform SFC test case to FeatureBase"

7 years agoMerge "Adapt Copper to Abstraction framework"
Morgan Richomme [Wed, 14 Dec 2016 10:30:39 +0000 (10:30 +0000)]
Merge "Adapt Copper to Abstraction framework"

7 years agoAuthenticate clients with keystoneauth1.session
helenyao [Thu, 8 Dec 2016 02:24:24 +0000 (21:24 -0500)]
Authenticate clients with keystoneauth1.session

JIRA: FUNCTEST-529

1. use keystoneauth1.session to initialize the client for each service
The keystoneauth1.session.Session class was introduced into keystoneauth1 as an attempt
to bring a unified interface to the various OpenStack clients that share common authentication
 and request parameters between a variety of services.

2. update ODL case to leverage session to get the endpoint info

Change-Id: Ic8c01b9b7ed86d3bdd9f5125504bc47f46a37700
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoAdapt Copper to Abstraction framework
Morgan Richomme [Fri, 25 Nov 2016 17:15:50 +0000 (18:15 +0100)]
Adapt Copper to Abstraction framework

JIRA: FUNCTEST-546

Change-Id: I775a7274883127cc627197fda37ae8e9043b59e2
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoCreate internship dir in docs
Morgan Richomme [Tue, 13 Dec 2016 16:27:22 +0000 (17:27 +0100)]
Create internship dir in docs

to be used for internship documentation

Change-Id: Iad0be6025344ae19fcd218ee46794f090943b32e
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoMerge "rename openstack to components"
Morgan Richomme [Tue, 13 Dec 2016 21:03:51 +0000 (21:03 +0000)]
Merge "rename openstack to components"

7 years agoConform SFC test case to FeatureBase
jose.lausuch [Wed, 23 Nov 2016 10:24:49 +0000 (11:24 +0100)]
Conform SFC test case to FeatureBase

JIRA: FUNCTEST-550

Change-Id: I46853d1ba943a54b39b760c34c29c2b4c3b43d63
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "Rename add_floating_ip arg to floatingip_addr"
Jose Lausuch [Tue, 13 Dec 2016 18:07:54 +0000 (18:07 +0000)]
Merge "Rename add_floating_ip arg to floatingip_addr"

7 years agorename openstack to components
Morgan Richomme [Tue, 13 Dec 2016 14:32:56 +0000 (15:32 +0100)]
rename openstack to components

to be in line with testing group agreed categories
https://wiki.opnfv.org/display/testing

Change-Id: Ibad08afe1ad37c244e1cf5f845f14a73bddfd63f
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoMerge "CI-Build-Fix: Move the connection check to smoke"
Morgan Richomme [Tue, 13 Dec 2016 14:30:01 +0000 (14:30 +0000)]
Merge "CI-Build-Fix: Move the connection check to smoke"

7 years agoMerge "Add timing decorator utility"
Morgan Richomme [Tue, 13 Dec 2016 13:16:23 +0000 (13:16 +0000)]
Merge "Add timing decorator utility"

7 years agoAdd timing decorator utility
George Paraskevopoulos [Mon, 12 Dec 2016 14:12:14 +0000 (16:12 +0200)]
Add timing decorator utility

Create "timethis" utility decorator that prints how long it takes for an
arbitrary function to complete

USAGE:

@functest.utils.functest_utils.timethis
def function_to_be_timed(...):
    ...

Change-Id: I41730c01b6889a9fa1ede4c5863841648b5af9c7
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
7 years agoMerge "Add host aggregate / av zones util functions"
Jose Lausuch [Tue, 13 Dec 2016 12:21:43 +0000 (12:21 +0000)]
Merge "Add host aggregate / av zones util functions"

7 years agoCI-Build-Fix: Move the connection check to smoke
helenyao [Tue, 13 Dec 2016 10:18:45 +0000 (05:18 -0500)]
CI-Build-Fix: Move the connection check to smoke

JIRA: FUNCTEST-648

The run_test.py first searches for tier, if no name is matched, it will continue to search for testcase.
That said, for 'functest testcase run healthcheck', it will run all testcases under 'healthchech' tier.
The connection check blocked the CI build.

Change-Id: I4e14cb0f269175803d027756d5581fd1867b3147
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoRename add_floating_ip arg to floatingip_addr
Romanos Skiadas [Tue, 13 Dec 2016 08:28:01 +0000 (10:28 +0200)]
Rename add_floating_ip arg to floatingip_addr

nova_client.servers.add_floating_ip takes a Floating IP address as a second
argument, not an id. Naming the argument floatingip_id is misleading.

Change-Id: I39919fa305a46b58878c8b4f83e40c78390cfc07
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
7 years agoUpgraded the virtualenv
helenyao [Tue, 13 Dec 2016 02:49:48 +0000 (21:49 -0500)]
Upgraded the virtualenv

JIRA: FUNCTEST-654

The virtualenv is too old and it will break the unit test if it runs the second time.

Change-Id: I9f1a408f0e43bff4499575fa57cabd1a83d99b3a
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoMerge "Move api_check test in smoke category"
Morgan Richomme [Mon, 12 Dec 2016 14:36:17 +0000 (14:36 +0000)]
Merge "Move api_check test in smoke category"

7 years agoInstall releng as a python module
George Paraskevopoulos [Mon, 12 Dec 2016 10:18:21 +0000 (12:18 +0200)]
Install releng as a python module

Modify functest container to install releng modules as a python module.
This way we can use the opnfv.utils.* libraries

Change-Id: Ib61f1c9dc2564135fe3ef6ead58b69e24c99d2c6
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
7 years agoSupport rally configuration for both Newton and Mitaka
helenyao [Thu, 8 Dec 2016 10:31:49 +0000 (05:31 -0500)]
Support rally configuration for both Newton and Mitaka

JIRA: FUNCTEST-644

As the RC file is different between Newton and Mitaka, the rally configuration file differs in two versions of openstack.

Change-Id: Ibf06b7d1f0da87f155a95a152bb78ee7c2b9eb7d
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoMove api_check test in smoke category
Morgan Richomme [Mon, 12 Dec 2016 09:04:05 +0000 (10:04 +0100)]
Move api_check test in smoke category

Healthcheck tests are used for gating and MUST not include
negative tests

Change-Id: Ie3a6715506cbbb9a5a9e5b455f648699600bd584
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoSnaps integration
Morgan Richomme [Fri, 9 Dec 2016 18:46:54 +0000 (19:46 +0100)]
Snaps integration

Fix testcase class name
Minor change on criteria, start_time, stop_time

Change-Id: I9ba49781c3a3212f03b7ab822f9ab311a4fafd3d
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoAdd host aggregate / av zones util functions
George Paraskevopoulos [Thu, 8 Dec 2016 14:37:33 +0000 (16:37 +0200)]
Add host aggregate / av zones util functions

Add functionality for creating, getting and deleting host aggregates and
availability zones.

Change-Id: I6717ba865cf1e8565ca4559c71cb112d0d6a132e
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
7 years agoMerge "abstract umbrella part to make integration code simpler"
Serena Feng [Fri, 9 Dec 2016 08:54:09 +0000 (08:54 +0000)]
Merge "abstract umbrella part to make integration code simpler"

7 years agoMerge "Added test cases for running the Python Tests included with SNAPS."
Morgan Richomme [Fri, 9 Dec 2016 07:43:21 +0000 (07:43 +0000)]
Merge "Added test cases for running the Python Tests included with SNAPS."

7 years agoAdded test cases for running the Python Tests included with SNAPS.
spisarski [Sat, 3 Dec 2016 00:26:07 +0000 (17:26 -0700)]
Added test cases for running the Python Tests included with SNAPS.

JIRA: FUNCTEST-570

The three new tests are:
1. healthcheck/connecton_check - Retrieves different OpenStack clients and may exercise a query function
2. healthcheck/api_check - Exercises many of the OpenStack APIs by performing basic CRUD operations
3. smoke/snaps_smoke - Creates VMs and some optionally test SSH into floating IPs

Removed configured exernal network name and replaced it with a dynamic lookup.
Fixed typo in run_tests.py

Change-Id: Icb87a77c7cdd99dd9aa3a66bcc5a25b4b5935fef
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
7 years agoUpdate the logic to support both Newton and Mitaka
helenyao [Thu, 8 Dec 2016 09:36:55 +0000 (04:36 -0500)]
Update the logic to support both Newton and Mitaka

JIRA: FUNCTEST-645

RC file is quite different between Newton and Mitaka.
The change is to support both version.

Change-Id: I846e8bc4b4c8b7caf4bcb26c8453e1fc5d1cc0f4
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoRevert commits that handle tacker objects
Romanos Skiadas [Wed, 7 Dec 2016 08:45:34 +0000 (10:45 +0200)]
Revert commits that handle tacker objects

These break CI in deployments where tacker is not present.
Revert them for now and reintroduce them later in a way that will work for cases
where tacker is not there.

Revert "Tacker objects in openstack clean"
This reverts commit 510a71f74ef5f47c28995f93b461cf361a18aa74.

Revert "Tacker objects in openstack snapshot"
This reverts commit c2f950adc4391d312f84da016e7443758506cf8c.

Change-Id: If6c470302a7be6363844eed212d25afd6e57dbc9
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
7 years agoMerge "Get rid of easy_install in unit test"
Morgan Richomme [Wed, 7 Dec 2016 08:16:32 +0000 (08:16 +0000)]
Merge "Get rid of easy_install in unit test"

7 years agoGet rid of easy_install in unit test
helenyao [Tue, 6 Dec 2016 02:41:07 +0000 (21:41 -0500)]
Get rid of easy_install in unit test

JIRA: FUNCTEST-638

Pip is a better alternative to Easy Install for installing Python packages.
There is no need to install easy_install.

Change-Id: I3dee17a800d11907c7f0942bff251a93675978bb
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoBugfix: fix the wrong class name
helenyao [Wed, 7 Dec 2016 07:20:56 +0000 (02:20 -0500)]
Bugfix: fix the wrong class name

JIRA: FUNCTEST-642

Fix the bug of patch: https://gerrit.opnfv.org/gerrit/#/c/25391/5/functest/ci/run_tests.py

Change-Id: Iad2f1be32bdf0c391a40cd845ed2ca52ce8856f6
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoabstract umbrella part to make integration code simpler
SerenaFeng [Thu, 24 Nov 2016 02:32:53 +0000 (10:32 +0800)]
abstract umbrella part to make integration code simpler

implement an abstract class Umbrella, and take parser for instance

JIRA: FUNCTEST-618

Change-Id: Iadf71ad49abd901b9659cb71135fc902a3b616d1
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoMerge "test-requirements.txt is added for unit test."
Morgan Richomme [Tue, 6 Dec 2016 18:15:08 +0000 (18:15 +0000)]
Merge "test-requirements.txt is added for unit test."

7 years agoMerge "Concatenate the RUN commands"
Morgan Richomme [Tue, 6 Dec 2016 12:38:24 +0000 (12:38 +0000)]
Merge "Concatenate the RUN commands"

7 years agoMerge "Sort multi-line arguments alphanumerically"
Morgan Richomme [Tue, 6 Dec 2016 12:38:14 +0000 (12:38 +0000)]
Merge "Sort multi-line arguments alphanumerically"

7 years agoMerge "Tacker objects in openstack snapshot"
Morgan Richomme [Tue, 6 Dec 2016 12:36:13 +0000 (12:36 +0000)]
Merge "Tacker objects in openstack snapshot"

7 years agoMerge "Tacker objects in openstack clean"
Morgan Richomme [Tue, 6 Dec 2016 12:36:08 +0000 (12:36 +0000)]
Merge "Tacker objects in openstack clean"

7 years agotest-requirements.txt is added for unit test.
helenyao [Tue, 6 Dec 2016 03:24:43 +0000 (22:24 -0500)]
test-requirements.txt is added for unit test.

JIRA: FUNCTEST-639

Some requirement packages are only needed by unit test and there is no need to include them in requirement.txt.
This is the main reason to create a test-requirements.txt to hold all packages required by unit test.

Change-Id: Iefa9f54b57666d30044ec174adfeb22d63b6b139
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoMerge "Fix Pep8 issues related to \"
Morgan Richomme [Mon, 5 Dec 2016 14:44:51 +0000 (14:44 +0000)]
Merge "Fix Pep8 issues related to \"

7 years agoTacker objects in openstack clean
George Paraskevopoulos [Mon, 5 Dec 2016 09:53:43 +0000 (11:53 +0200)]
Tacker objects in openstack clean

Add VNFD, VNF, SFC and SFC classifiers cleaning capabilities

DEPENDS ON: https://gerrit.opnfv.org/gerrit/#/c/25485/
            https://gerrit.opnfv.org/gerrit/#/c/25475/

Change-Id: I1405ed69a9dfac5d3dba7f16019288afdf65d0ff
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
7 years agoTacker objects in openstack snapshot
George Paraskevopoulos [Mon, 5 Dec 2016 09:50:10 +0000 (11:50 +0200)]
Tacker objects in openstack snapshot

Add VNFD, VNF, SFC and SFC classifier snapshoting capabilities

DEPENDS ON: https://gerrit.opnfv.org/gerrit/#/c/25485/

Change-Id: Ic89ab5be348cbe0cca2180c43352cfa4dac0f327
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
7 years agoFix Pep8 issues related to \
Morgan Richomme [Fri, 2 Dec 2016 07:30:47 +0000 (08:30 +0100)]
Fix Pep8 issues related to \

JIRA: FUNCTEST-630

Change-Id: I2b6d3bec67c6fe290fb2ad795a54a2dd2e3c7a0b
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoFix typo in openstack_tacker
George Paraskevopoulos [Mon, 5 Dec 2016 12:15:41 +0000 (14:15 +0200)]
Fix typo in openstack_tacker

Changed function stub:

-def list_sfc_clasifiers(tacker_client, verbose=False):
+def list_sfc_classifiers(tacker_client, verbose=False):

Change-Id: I552231aff6c21a769366e8d41c20d64f1da374b4
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
7 years agoConcatenate the RUN commands
helenyao [Mon, 5 Dec 2016 07:31:36 +0000 (02:31 -0500)]
Concatenate the RUN commands

JIRA: FUNCTEST-636

Whenever running RUN command, a new image layer is created. It would be recommended to group commands into groups to decrease layers.

Change-Id: Iae9287b2a7fd11705b5f25807fab652afa0ccb74
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoSort multi-line arguments alphanumerically
helenyao [Mon, 5 Dec 2016 07:39:38 +0000 (02:39 -0500)]
Sort multi-line arguments alphanumerically

JIRA: FUNCTEST-637

Whenever possible, ease later changes by sorting multi-line arguments alphanumerically. This will help you avoid duplication of packages and make the list much easier to update.

Change-Id: I85eae3a7019f5f2f30abf7a3f44896017acae9b7
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoRename TestCasesBase into TestcaseBase
helenyao [Fri, 2 Dec 2016 02:52:43 +0000 (21:52 -0500)]
Rename TestCasesBase into TestcaseBase

JIRA: FUNCTEST-628
1. rename the TestCasesBase into TestcaseBase
2. updated the module name to testcase_base.py

Change-Id: Ic6b5d8209098c136613a2419c3790668fdbd493e
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoMerge "Update release notes with arm results"
Morgan Richomme [Fri, 2 Dec 2016 13:35:28 +0000 (13:35 +0000)]
Merge "Update release notes with arm results"

7 years agoMerge "remove functest_repo from TestBase, move it to vPingBase"
Morgan Richomme [Fri, 2 Dec 2016 13:15:57 +0000 (13:15 +0000)]
Merge "remove functest_repo from TestBase, move it to vPingBase"

7 years agoUpdate release notes with arm results
cristinapauna [Fri, 2 Dec 2016 11:32:55 +0000 (13:32 +0200)]
Update release notes with arm results

Change-Id: I961839f5baf399377f19c9b6e008b1d43af2e921
Signed-off-by: cristinapauna <cristina.pauna@enea.com>
7 years agoMerge "Allow unit testing w/o internet connectivity"
Morgan Richomme [Fri, 2 Dec 2016 07:46:16 +0000 (07:46 +0000)]
Merge "Allow unit testing w/o internet connectivity"

7 years agoremove functest_repo from TestBase, move it to vPingBase
Morgan Richomme [Fri, 2 Dec 2016 07:28:13 +0000 (08:28 +0100)]
remove functest_repo from TestBase, move it to vPingBase

Change-Id: I6e9ebc7280b24ced9b62bfa4fa38b08128febb42
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoMerge "Revert "solve failure testcases are not pushed to testDB problem""
Morgan Richomme [Fri, 2 Dec 2016 07:21:01 +0000 (07:21 +0000)]
Merge "Revert "solve failure testcases are not pushed to testDB problem""

7 years agoMerge "Remove Notion of SKIP in test cases"
Morgan Richomme [Thu, 1 Dec 2016 16:41:22 +0000 (16:41 +0000)]
Merge "Remove Notion of SKIP in test cases"

7 years agoRevert "solve failure testcases are not pushed to testDB problem"
Morgan Richomme [Tue, 29 Nov 2016 10:10:47 +0000 (10:10 +0000)]
Revert "solve failure testcases are not pushed to testDB problem"

This reverts commit a41264c46d583a68d48de041663213752dc62bf3.

Change-Id: Id62c5342fffb5d75672127d9765d4cc882e3f4df
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoMerge "Fix tacker util script"
Jose Lausuch [Wed, 30 Nov 2016 12:40:49 +0000 (12:40 +0000)]
Merge "Fix tacker util script"

7 years agoRemove Notion of SKIP in test cases
Morgan Richomme [Tue, 29 Nov 2016 10:41:21 +0000 (11:41 +0100)]
Remove Notion of SKIP in test cases

JIRA: FUNCTEST-541

Change-Id: Ie71ba9c02e54a1ff05974ef89075b3ad7cf6f930
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoAllow unit testing w/o internet connectivity
Cédric Ollivier [Wed, 30 Nov 2016 00:25:24 +0000 (01:25 +0100)]
Allow unit testing w/o internet connectivity

urllib2.urlopen() is now patched when testing the internet connectivity
helper.

Change-Id: I4ddf1dd8f494fe282735e1051986a0b5dd1a040f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agobug fix: bad ping.sh path after refactoring
Morgan Richomme [Tue, 29 Nov 2016 13:34:33 +0000 (14:34 +0100)]
bug fix: bad ping.sh path after refactoring

JIRA: FUNCTEST-626

Change-Id: Iaab7de65ae197939f1ef715826ba5a2b2423c205
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoFix tacker util script
George Paraskevopoulos [Tue, 29 Nov 2016 08:01:48 +0000 (10:01 +0200)]
Fix tacker util script

Bug fixes for the tacker utilities script + a new function to wait for a
VNF to come up

Change-Id: Ia358c4b9dc43b60d0fd6ba4b18d2e7fd63f05a99
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
7 years agoMerge "Lifted requirements.pip one level up to meet the basic structure of OpenStack...
Morgan Richomme [Mon, 28 Nov 2016 16:34:17 +0000 (16:34 +0000)]
Merge "Lifted requirements.pip one level up to meet the basic structure of OpenStack project."

7 years agoMerge "Bugfix: fix the wrong script path for healthcheck."
Morgan Richomme [Mon, 28 Nov 2016 08:17:25 +0000 (08:17 +0000)]
Merge "Bugfix: fix the wrong script path for healthcheck."

7 years agoBugfix: fix the wrong path for vping_ssh
helenyao [Sat, 26 Nov 2016 02:21:53 +0000 (21:21 -0500)]
Bugfix: fix the wrong path for vping_ssh

JIRA: FUNCTEST-624

Change-Id: Idbd04eb4c09a3bae29f12e43b019ad095ce2cf7b
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoBugfix: fix the wrong script path for healthcheck.
helenyao [Sat, 26 Nov 2016 01:32:49 +0000 (20:32 -0500)]
Bugfix: fix the wrong script path for healthcheck.

JIRA: FUNCTEST-623

Change-Id: I9e37b25c989ce01d93920be372b3dc9845a3b0ae
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoLifted requirements.pip one level up to meet the basic structure of OpenStack project.
helenyao [Fri, 25 Nov 2016 03:13:43 +0000 (22:13 -0500)]
Lifted requirements.pip one level up to meet the basic structure of OpenStack project.

JIRA: FUNCTEST-609

1. Lifted the requirements.pip
2. Renamed it to requirements.txt
3. Updated the areas that are affected

Change-Id: If294f07fb5450f3ae6133fd46dc169b9bab451de
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoMerge smoke and sdn_controllers into smoke
Morgan Richomme [Fri, 25 Nov 2016 17:01:22 +0000 (18:01 +0100)]
Merge smoke and sdn_controllers into smoke

1 category = min test suites to validate a scenario (feature excluded)

Change-Id: I8ed2d2175dbdb13c1e762fdfc3f3280551d853f2
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoAdd suffix '_DIR' to some constants that point to directories
jose.lausuch [Thu, 24 Nov 2016 22:24:49 +0000 (23:24 +0100)]
Add suffix '_DIR' to some constants that point to directories

JIRA: FUNCTEST-533

Change-Id: Iea2ca0709f6e53201056f9145fa6020216c31f56
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agofile/dir renaming for consistency
Morgan Richomme [Thu, 24 Nov 2016 17:25:52 +0000 (18:25 +0100)]
file/dir renaming for consistency

JIRA: FUNCTEST-579

Change-Id: Iaa545db70bfb76770df0a3d17871e29ce518ff2d
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoAdapt Parser test case to the new template
SerenaFeng [Tue, 22 Nov 2016 07:55:30 +0000 (15:55 +0800)]
Adapt Parser test case to the new template

JIRA: FUNCTEST-565

Change-Id: If702831438fac97c28a1a35b1a91b81feb8397bd
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoMerge "Consider criteria as exit condition in odl test"
Morgan Richomme [Fri, 25 Nov 2016 07:04:56 +0000 (07:04 +0000)]
Merge "Consider criteria as exit condition in odl test"

7 years agoFix bug repos_dir -> REPOS_DIR
jose.lausuch [Thu, 24 Nov 2016 21:54:29 +0000 (22:54 +0100)]
Fix bug repos_dir -> REPOS_DIR

JIRA: FUNCTEST-533

Change-Id: Ie98089c54326b255ffd7c6cad81abf29ad52f4a2
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoConsider criteria as exit condition in odl test
Morgan Richomme [Thu, 24 Nov 2016 14:58:12 +0000 (15:58 +0100)]
Consider criteria as exit condition in odl test

JIRA: FUNCTEST-621

Change-Id: Ic9dd73861d84e3dbfb3e6611ffc9e5e2c09fcaed
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoExtracted all global parameters into functest_constants.py
helenyao [Mon, 21 Nov 2016 11:50:06 +0000 (06:50 -0500)]
Extracted all global parameters into functest_constants.py

JIRA: FUNCTEST-533

1. Extracted all global variables into functest_constants.py and updated all affected areas accordingly
2. Used os.path.join to replace '/'  to come up with the path for better cross-platform support and improve the path accuracy
3. Removed unused variables
4. Updated the hardcoded path in Dockerfile by using variable reference
5. Removed "/" ending from all path variables
6. Updated the unit test

Change-Id: Ib30a81d1f0c83fbaef042d63c187c27bd18301bb
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoMerge "Conform SDNVPN test case to TestCaseBase"
Jose Lausuch [Thu, 24 Nov 2016 10:40:20 +0000 (10:40 +0000)]
Merge "Conform SDNVPN test case to TestCaseBase"

7 years agoMerge "bugfix: correct test report status"
Jose Lausuch [Thu, 24 Nov 2016 09:56:43 +0000 (09:56 +0000)]
Merge "bugfix: correct test report status"

7 years agobugfix: correct test report status
SerenaFeng [Thu, 24 Nov 2016 06:24:47 +0000 (14:24 +0800)]
bugfix: correct test report status

reporting status of the test result should be checked based on
execution result not push_to_db result

Change-Id: I6f550f8243ba021108ce899cbebe98f3ff45c0e1
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoAdapt check_os to OpenStack Newton
jose.lausuch [Wed, 23 Nov 2016 13:16:23 +0000 (14:16 +0100)]
Adapt check_os to OpenStack Newton

When printing the identity catalog using
openstack catalog show identity, after the
Fuel uplift, we noticed that it prints the line

  admin: http://192.168.0.2:35357/v2.0

Before it was
  adminURL: http://192.168.0.2:35357/v2.0

Change-Id: I6efc996040c6ff945c67b0f346bbad7f0a723428
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoConform SDNVPN test case to TestCaseBase
jose.lausuch [Wed, 23 Nov 2016 13:36:24 +0000 (14:36 +0100)]
Conform SDNVPN test case to TestCaseBase

JIRA: FUNCTEST-553

We need to remove the push_to_db of the overall result
in run_tests.py in sdnvpn repo.

Change-Id: I761d9b3ddd0972bfbf1155424615aeb1c9202ad9
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "solve failure testcases are not pushed to testDB problem"
Morgan Richomme [Wed, 23 Nov 2016 10:13:41 +0000 (10:13 +0000)]
Merge "solve failure testcases are not pushed to testDB problem"

7 years agoMerge "Adapt vping testcases to the new template"
Morgan Richomme [Wed, 23 Nov 2016 10:13:08 +0000 (10:13 +0000)]
Merge "Adapt vping testcases to the new template"

7 years agoAdapt vping testcases to the new template
SerenaFeng [Fri, 18 Nov 2016 07:16:56 +0000 (15:16 +0800)]
Adapt vping testcases to the new template

JIRA: FUNCTEST-540

Change-Id: I05f3704e3fc38e21d7d6484f4d7f53f030d5c34b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoMerge "bugfix: domino test can not be executed"
Jose Lausuch [Wed, 23 Nov 2016 08:52:53 +0000 (08:52 +0000)]
Merge "bugfix: domino test can not be executed"

7 years agosolve failure testcases are not pushed to testDB problem
SerenaFeng [Wed, 23 Nov 2016 07:43:39 +0000 (15:43 +0800)]
solve failure testcases are not pushed to testDB problem

In the new framework, only success testcases will be pushed to testDB,
a failure testcases will not be pushed to testDB, which is not correct
Modify it with only skipped testcases will not be pushed to testDB

Change-Id: Ie3cb06ef0d0f75a7ab0b540d2f9f79d4b56746e6
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoMerge "Fix path for Promise testcase call"
Jose Lausuch [Tue, 22 Nov 2016 16:42:33 +0000 (16:42 +0000)]
Merge "Fix path for Promise testcase call"

7 years agoFix path for Promise testcase call
jose.lausuch [Tue, 22 Nov 2016 16:13:57 +0000 (17:13 +0100)]
Fix path for Promise testcase call

Change-Id: I2fdb7cc029395c9091831878ee034195be0138ff
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoFix path for Tacker installation
jose.lausuch [Tue, 22 Nov 2016 16:03:28 +0000 (17:03 +0100)]
Fix path for Tacker installation

After the migration of the SFC code into the SFC repo,
there is a problem with the path when building
the docker image

Step 60 : RUN /bin/bash -c ". /home/opnfv/repos/functest/functest/opnfv_tests/features/sfc/tacker_client_install.sh"

https://build.opnfv.org/ci/view/functest/job/functest-docker-build-push-master/766/console

Change-Id: I4ec53e657f49e63dc477b408b6c47b3be0f9281b
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoSwitch SFC call to sfc repository
jose.lausuch [Fri, 18 Nov 2016 09:58:16 +0000 (10:58 +0100)]
Switch SFC call to sfc repository

The SFC testcase code has been moved from Functest to SFC repo.

1) Add SFC repo in the Docker image
2) Change call in exec_tests
3) Remove code from Functest

Change-Id: Ie6705d047b04646942d89215e992f46f8c4e58db
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agobugfix: domino test can not be executed
SerenaFeng [Tue, 22 Nov 2016 10:15:34 +0000 (18:15 +0800)]
bugfix: domino test can not be executed

fix args is type Namespace problem

Change-Id: I4e3786d86bd9fca6697c900f60f4c0f357dcb2bd
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoCreate directory and empty files for the new openstack utils
jose.lausuch [Tue, 22 Nov 2016 09:24:17 +0000 (10:24 +0100)]
Create directory and empty files for the new openstack utils

JIRA: FUNCTEST-575

Change-Id: I8a21c3c8d5a652cc421d719790dd7ac262fa9369
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "Adapt Domino to Test Abstraction"
Morgan Richomme [Mon, 21 Nov 2016 10:16:23 +0000 (10:16 +0000)]
Merge "Adapt Domino to Test Abstraction"

7 years agoMerge "Update Promise repository"
Jose Lausuch [Fri, 18 Nov 2016 15:17:29 +0000 (15:17 +0000)]
Merge "Update Promise repository"

7 years agoCreate ovs log artifact on odl-sfc fail
George Paraskevopoulos [Fri, 18 Nov 2016 14:38:16 +0000 (16:38 +0200)]
Create ovs log artifact on odl-sfc fail

Move the ovs logs from failed tests in functest artifacts

Change-Id: Icb537684ee2aa40d9bd182ba67a028e72496efa4
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
7 years agoAdapt Domino to Test Abstraction
Morgan Richomme [Fri, 18 Nov 2016 14:23:42 +0000 (15:23 +0100)]
Adapt Domino to Test Abstraction

JIRA: FUNCTEST-547

Change-Id: Iaeb1bb3e6f4529343eacc2f5ceda6d61ca6d96f7
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoUpdate Promise repository
jose.lausuch [Wed, 16 Nov 2016 17:06:36 +0000 (18:06 +0100)]
Update Promise repository

Promise code and test cases had been maintained in GitHub.
Due to the decision to mirror OPNFV Gerrit to GitHub,
the Promise GitHub (https://github.com/opnfv/promise) was
overwritten by the content in Gerrit (which is outdated).

Change-Id: Id03a24d56fb60c144c93ea3e65caf9718d8d4784
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>