Age | Commit message (Collapse) | Author | Files | Lines |
|
It partially reverts [1] (odl.py + test_odl.py).
[1] https://gerrit.opnfv.org/gerrit/#/c/24619/
Change-Id: Ie51ccf10f8ffa0a63086796f8bb722ef50567b2d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It allows checking testcase results and then returning an error value
to CI. Now run() should return EX_OK even if criteria is FAILED.
It also fixes an issue induced by [1].
[1] https://gerrit.opnfv.org/gerrit/#/c/24561/
Change-Id: Iaa095696f9dcb87f8cc95179b4f404b092d1e23e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: I51fabb809e0f446a4dcf2108af10a3f137b177d3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It has been fixed by calling [1]
[1] find ${FUNCTEST_REPO_DIR} -name "*.py" \
-not -path "*tests/unit*" |xargs grep __main__ \
|cut -d\: -f 1 |xargs chmod -c 755 &&
find ${FUNCTEST_REPO_DIR} -name "*.sh" \
|xargs grep \#\! |cut -d\: -f 1 |xargs chmod -c 755
Change-Id: I654d9221179e60ea45d1db83157c4a9aa9497b69
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
JIRA: FUNCTEST-659
Change-Id: Ic92ecddc5d0bb295b99f7ffc2ab957e80e7ea32f
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
|
|
|
|
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>
|
|
JIRA: FUNCTEST-546
Change-Id: I775a7274883127cc627197fda37ae8e9043b59e2
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
|
|
JIRA: FUNCTEST-550
Change-Id: I46853d1ba943a54b39b760c34c29c2b4c3b43d63
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
|
|
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>
|
|
|
|
|
|
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>
|
|
|
|
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>
|
|
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>
|
|
|
|
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>
|
|
Healthcheck tests are used for gating and MUST not include
negative tests
Change-Id: Ie3a6715506cbbb9a5a9e5b455f648699600bd584
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
Fix testcase class name
Minor change on criteria, start_time, stop_time
Change-Id: I9ba49781c3a3212f03b7ab822f9ab311a4fafd3d
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
Add functionality for creating, getting and deleting host aggregates and
availability zones.
Change-Id: I6717ba865cf1e8565ca4559c71cb112d0d6a132e
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
|
|
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
|
|
|
|
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>
|
|
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>
|
|
JIRA: FUNCTEST-630
Change-Id: I2b6d3bec67c6fe290fb2ad795a54a2dd2e3c7a0b
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
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>
|
|
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>
|
|
|
|
|
|
Change-Id: I6e9ebc7280b24ced9b62bfa4fa38b08128febb42
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
|
|
|
|
This reverts commit a41264c46d583a68d48de041663213752dc62bf3.
Change-Id: Id62c5342fffb5d75672127d9765d4cc882e3f4df
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
|
|
JIRA: FUNCTEST-541
Change-Id: Ie71ba9c02e54a1ff05974ef89075b3ad7cf6f930
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
urllib2.urlopen() is now patched when testing the internet connectivity
helper.
Change-Id: I4ddf1dd8f494fe282735e1051986a0b5dd1a040f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
JIRA: FUNCTEST-626
Change-Id: Iaab7de65ae197939f1ef715826ba5a2b2423c205
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
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>
|