Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
JIRA: FUNCTEST-464
Change-Id: I0b5014eabccd60c9efaacc4ee529e7b44fd070b2
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
|
|
JIRA: FUNCTEST-464
Change-Id: I521f1ccd88579ba411d3691e4c222a2e8b41e1f8
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
According to openstack style guidelines in http://docs.openstack.org/developer/hacking/
**** Do not import objects, only modules (*) ****
so direct FUNCTEST_REPO import should be avoided
from functest.utils.functest_utils import FUNCTEST_REPO as FUNCTEST_REPO
JIRA: FUNCTEST-459
Change-Id: Iac0d07a54957cd7419391de183660ac1ce0efd49
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Always use image format defined in config_functest.yaml when creating
glance images.
JIRA: FUNCTEST-460
Change-Id: Ica6b35605301bc14290daa23a1480114cf6294c0
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
|
|
Test cases can be excluded from execution based on installer/scenario
via blacklist file.
JIRA: FUNCTEST-451
Change-Id: I17bbd5f1364a890b88bc196cbc5f49c492df1cb1
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
|
|
functest repo is used by almost every testcase, each place we get it like:
REPOS_DIR = os.getenv('repos_dir')
FUNCTEST_REPO = ("%s/functest" % REPOS_DIR)
provide a common interface in functest_util.py
JIRA: FUNCTEST-453
Change-Id: Ie0635dacc761ed2d05b7e606530368844f32ebaf
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
functest_yaml is needed in almost all of the testcases, the obtain process is the same:
with open(os.environ["CONFIG_FUNCTEST_YAML"]) as f:
functest_yaml = yaml.safe_load(f)
f.close()
abstract a method to unify the process, and provide the interface
JIRA: FUNCTEST-447
Change-Id: I96a9a9962d7b466f10bbd3b5ab2495957524e22a
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
As it modifies method params, it could break the testcases.
JIRA: FUNCTEST-428
Change-Id: I4263d9bd812f1803e513464e3c321cc4a7281958
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Some places shared network is created through create_network_full first,
then update it to shared, abstract a uniformed method to eliminate reduplicate
JIRA: FUNCTEST-437
Change-Id: I13c20ab061323188c5eb3b8c861674df38083c62
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Some places when create image is referred, they check if image exist,
if exist use it directly, else create a new one.
Abstract a method to integrate the process
JIRA: FUNCTEST-432
Change-Id: I83d1112aa5cb0d3cdfab92fd49cd5f2c1cceff82
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Adding support of LXD scenario
JIRA: FUNCTEST-268
Change-Id: I5891ff9de674d99d32d8db747be501ee8a2e6609
Signed-off-by: boucherv <valentin.boucher@orange.com>
|
|
JIRA: FUNCTEST-382
Change-Id: Iaf475ecd3dbfcf6fb639ff146fe96e54c5393a1e
Signed-off-by: Markus Kullberg <markus.kullberg@nokia.com>
|
|
add method check_success_rate() to unify criteria check by success_rate
JIRA: FUNCTEST-398
Change-Id: I1b3f0ccd7061b80ac88356206f29844e31e4101b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
JIRA: FUNCTEST-393
Change-Id: I94158531739e1e05c694a785a8bbca7f80684af5
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
JIRA: FUNCTEST-390
Change-Id: I35a2f72016573fc9e0a8403e436d5568937c5b14
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
stop_time is assigned twice, delete the first one
JIRA:FUNCTEST-384
Change-Id: I380113474e66a73c516f4411d8d7c5832e33921a
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
format total_success to float when compared with numeric 90
JIRA: FUNCTEST-365
Change-Id: I473582053c107bb026bf0e8d76dab46b2e5e3eb6
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
JIRA: FUNCTEST-376
Also some fixes to get rid of flake8 violations in onos-sfc
Change-Id: I52c2fd30a6b81af20ea779db2d73b9386524f7ce
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
Instead of repeating the code in all the scripts and
importing the openstack libraries, the clients shall
be given by openstack utils, which is its purpose
JIRA: FUNCTEST-163
Change-Id: I1ccc05a3af44ee1ab5938ea9e4e01dbe55f4816d
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
All files where shebang is defined can now be executed by everyone.
It results from [1].
[1] find . -name "*.sh" |xargs grep \#\! |cut -d\: -f 1 |xargs chmod 755
Change-Id: I8bf1f52e55532d5e82f8188121028e9dd5074294
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: I1f870aad5b648f24f8097028ba97d6c118402586
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
Change-Id: Iadccae118bb2dc557bb590175c65022c1ed70605
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
JIRA: FUNCTEST-304
Change-Id: I98d3155beb1c5e49eda84b443df603c2630b4823
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
Log scenario specific tables only in debug mode.
JIRA: FUNCTEST-312
Change-Id: Iacfdfb8156b1d5e9bc0a85abc1d6a10d6cac032e
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
|
|
Parameters used in test scenarios are defined and correctly set by run
script. No need to hardcode defaults in task file.
JIRA: FUNCTEST-311
Change-Id: Ic7decfc5144c40a50cd32862eb4aed263930a78e
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
|
|
Use url derived from OS_AUTH_URL on a scenario making http request and
checking the response. This way successful test execution does not
require internet connection nor rely on external servers functionality.
JIRA: FUNCTEST-201
Change-Id: Ic11f8f5c32d015624bdec1db07d8bb49f7b77bc8
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
|
|
JIRA: FUNCTEST-303
Change-Id: Ia276d9ca6e8d62b496c3b5f81561b14b02c43fd7
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
JIRA: FUNCTEST-226
- Remove all 'CI' subdirs
- Remove VIM dir and have OpenStack dir within /testcases/
- Split rally and tempest in 2 different dirs
Change-Id: Icfc76d18a84f7a18d93ae1a5ec7dc7a560bb7ce9
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|