aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/OpenStack
AgeCommit message (Collapse)AuthorFilesLines
2016-11-09Repo structure modificationMorgan Richomme40-4574/+0
- create functest subdirectory - rename unit tests - adapt path in exec and config files JIRA: FUNCTEST-525 Change-Id: Ifd5c6edfb5bda1b09f82848e2269ad5fbeb84d0a Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-10-18Extend rally test case exclusion featureJuha Kosonen1-4/+23
Regular expression matching support for test cases on blacklist. JIRA: FUNCTEST-491 Change-Id: I4dc61ab0d93d699dd5e77ee3198a62d1bddd020a Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2016-10-14Unify rally test case exclusion mechanismsJuha Kosonen4-34/+65
In all cases exclusion is now controlled via blacklist file. JIRA: FUNCTEST-511 Change-Id: I482c33b6da4c9b711ebeddc13855b1337ab217eb Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2016-09-30Refactor rally task scenario filesJuha Kosonen10-309/+434
Use a dedicated scenario file for each scenario (full, sanity) instead of a shared one. JIRA: FUNCTEST-501 Change-Id: Icd45d6bf11b605f073c2667e9948589ee0a3b75c Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2016-09-27make logger in vping a local variableSerenaFeng1-4/+0
JIRA: FUNCTEST-493 Change-Id: I9f0c91b3fdbfb62c277b2c452ec124f67b21c653 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-26vPing ssh outpust wrong loggerSerenaFeng1-2/+5
set logger file according to case_name rather than use fixed 'vping_userdata' JIRA: FUNCTEST-490 Change-Id: I65169a59ec1978410fdbd6dadc82da024a4504c7 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-15Added support for custom images and flavors in tempestjuraj.linkes1-6/+45
Change-Id: I9335ed1517097e83175a265b603a6707adf476b6 Signed-off-by: juraj.linkes <jlinkes@cisco.com>
2016-09-12Exclude Tempest basicops case also in noha scenariosMorgan Richomme1-0/+6
FUNCTEST-470 Change-Id: I7bfd52b5e18e22d78437821906244a8e32ce38a3 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-09-08Merge "make use of functest_utils.get_parameter_from_yaml"Morgan Richomme5-116/+122
2016-09-08Merge "Exclude some Rally/Nova tests from lxd noha scenario"Morgan Richomme1-0/+1
2016-09-08Exclude some Rally/Nova tests from lxd noha scenarioMorgan Richomme1-0/+1
JIRA: FUNCTEST-464 Change-Id: I0b5014eabccd60c9efaacc4ee529e7b44fd070b2 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-09-08make use of functest_utils.get_parameter_from_yamlSerenaFeng5-116/+122
JIRA: FUNCTEST-463 Change-Id: I1d54a65c5bfa2542f2fd3a2e408967641e6e4ac9 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-07Merge "remove imported FUNCTEST_REPO object"Morgan Richomme3-14/+15
2016-09-07Exclude Rally/Nova tests for lxd scenarioMorgan Richomme1-3/+3
JIRA: FUNCTEST-464 Change-Id: I521f1ccd88579ba411d3691e4c222a2e8b41e1f8 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-09-07remove imported FUNCTEST_REPO objectSerenaFeng3-14/+15
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>
2016-09-06Fix image format set for rally test casesJuha Kosonen2-3/+4
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>
2016-09-06Merge "Add blacklist handling for rally test cases"Morgan Richomme3-17/+79
2016-09-05Add blacklist handling for rally test casesJuha Kosonen3-17/+79
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>
2016-09-05Revert excluding floating IP cases from odl_l3vitikkan1-19/+0
Only restrictions table in release notes is updated. Change-Id: I8f27a876058eabe1c490fc5980de5626aed665a3 Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
2016-09-02Exclude test cases that use floating IP from odl_l3 scenariosvitikkan1-0/+19
All the tempest_smoke_serial test cases that use floating IP addresses for accessing instances are excluded because of ODL bug https://bugs.opendaylight.org/show_bug.cgi?id=5586 JIRA: FUNCTEST-445 Change-Id: I19468be108a25e989c0cfef031bbe5f2b9db0964 Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
2016-09-01stop hardcoded FUNCTEST_REPO path everywhereSerenaFeng4-14/+7
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>
2016-09-01Merge "unify functest_yaml obtain process"Jose Lausuch3-14/+6
2016-08-31unify functest_yaml obtain processSerenaFeng3-14/+6
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>
2016-08-31Remove all logers as utils method args.Cédric Ollivier4-8/+4
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>
2016-08-30disable test case does not make sense for LXD.Narinder Gupta1-0/+11
This patch will disable the test cases which does not make sense to run on LXD deployments. Change-Id: I683b3714aa5af3c750ca57fab9fceff907b7d646 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2016-08-30Exclude floating-ip related tempest tests to blacklist for bgpvpn scenariojose.lausuch1-0/+2
Change-Id: I7115018e64a2413209313b9a432d3d1b59e841d1 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-08-26refactor create shared network process to eliminate reduplicateSerenaFeng2-32/+11
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>
2016-08-26Merge "refactor create or get image process to eliminate reduplicate"Morgan Richomme3-56/+15
2016-08-26Merge "[Fuel] Skip test_server_basic_ops tempest test"Morgan Richomme1-0/+14
2016-08-26refactor create or get image process to eliminate reduplicateSerenaFeng3-56/+15
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>
2016-08-23Merge "when create/get/update failed return None rather than False"Morgan Richomme1-2/+2
2016-08-23Merge "delete useless image_exists in vping"Morgan Richomme2-7/+2
2016-08-23when create/get/update failed return None rather than FalseSerenaFeng1-2/+2
In openstack_util.py, when create/get/update network or other resources failed, False is returned, which is incompatible with success return value such as id, network_nic. JIRA: FUNCTEST-427 Change-Id: Id2f55d8524e5aff150ba6bfb799085377a63baa4 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-08-23[Fuel] Skip test_server_basic_ops tempest testMichael Polenchuk1-0/+14
Skip TestServerBasicOps which fails when deleting server and floating ip almost at the same time. JIRA: FUEL-173 JIRA: FUEL-176 Change-Id: I24f3397096757028bed9d32d6353aa689e8eaa9a Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-08-23Create tempest resources before generating tempest.confvitikkan1-1/+1
During generating tempest.conf file rally tries to download cirros image from the internet if no suitable images exist in the configuration. This change ensures that cirros image is created before generating tempest.conf file. JIRA: FUNCTEST-195 Change-Id: I9e2df8af40bd02db9b78b8b6b730b4f4168a8b2d Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
2016-08-23delete useless image_exists in vpingSerenaFeng2-7/+2
In rally, image_exists is used to decide whether the image resource should be cleaned or not. But unlike rally, image_exists in vping is only assigned but not never be actually used. JIRA: FUNCTEST-426 Change-Id: Id2089dd2a9734ba957cc1c80d4dc31bc27907b0a Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-08-22Mend create_image() functionMichael Polenchuk1-0/+2
Change-Id: I91681736817f881ca53e5124328bd4399aa54740 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-08-22refactor vpingSerenaFeng3-542/+320
There are lots of common processes in vPing_userdata.py and vPing_ssh.py, abstract and refactor them. JIRA: FUNCTEST-414 Change-Id: I4cd2c635318c063319d2a3c31f9a1e512eeea6c8 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-08-17Modify joid tempest list for onoswuwb19891-5/+16
Change-Id: I0ae03b1f13bbc8801d8c14fa6ff1b93117c80e91 Signed-off-by: wuwb1989 <wuwenbin2@huawei.com>
2016-08-17blacklist.txt file format correctedvitikkan1-0/+2
Only last part of blacklist.txt file was loaded by yaml.safe_load() function. File format is corrected. JIRA: FUNCTEST-418 Change-Id: I9c922b1a7b739e7d0c0d5afa3e0ea700749f9d50 Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
2016-08-16Add onos blacklist for tempestCNlucius1-0/+17
Change-Id: If722e0d3376b8d04766b1eb871caadc5bc6e7c18 Signed-off-by: CNlucius <lukai1@huawei.com>
2016-08-16[multisite]push result to dbmeimei1-0/+2
Change-Id: Idda3a3a5c8fb20f6894675eb087417e150f8646d Signed-off-by: meimei <meimei@huawei.com>
2016-08-12Merge "Improve LXD scenario support"Morgan Richomme1-2/+3
2016-08-12Improve LXD scenario supportboucherv1-2/+3
JIRA: FUNCTEST-268 Change-Id: I8c8a3eff4a7e94b963c0307010a60723dc13a537 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-08-12[bugfix] should create result folder for multisitemeimei1-0/+4
Change-Id: I004225131de57f1597edc62558a3a3e42f31b504 Signed-off-by: meimei <meimei@huawei.com>
2016-08-12[bugfix] pass the wrong argument to rallymeimei1-1/+2
Change-Id: I23ff06b53e45e9aa226f430e7d2fb75025281b9e Signed-off-by: meimei <meimei@huawei.com>
2016-08-11Merge "Create config_functest patch to update the conf with scenario"boucherv4-4/+8
2016-08-11[multisite] refactor the scripts of multistemeimei2-86/+130
Change-Id: I07f0f5e253b04c9ac70e6dc4ea210e7cecf22c6a Signed-off-by: meimei <meimei@huawei.com>
2016-08-10Create config_functest patch to update the conf with scenarioboucherv4-4/+8
Adding support of LXD scenario JIRA: FUNCTEST-268 Change-Id: I5891ff9de674d99d32d8db747be501ee8a2e6609 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-08-08Use Kingbird Bind host URL for TempestAshish Singh1-5/+49
Earlier, there was external URL for accessing KB services in tempest.conf which is not accessible from functest docker. Use bind host URL for KB service to access from the docker. Change-Id: I147ffc2cd9883a6913080f9e1ab245807e0ca707 Signed-off-by: ashish singh <ashishsingh2k8@gmail.com>