aboutsummaryrefslogtreecommitdiffstats
path: root/functest
AgeCommit message (Collapse)AuthorFilesLines
2017-12-05Fix pylint errors of vpingLinda Wang3-22/+25
Change-Id: I272f0eb6fb0f2a274484a3dcfacd8ed65e4a5b23 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-30Merge "Adjust timeouts in Vnfs"Jose Lausuch3-6/+6
2017-11-30Merge "Stop updating test_db_url in config file by env var"Linda Wang3-46/+6
2017-11-30Adjust timeouts in VnfsCédric Ollivier3-6/+6
When testcases fail, the jjobs is aborted and the result isn't printed. Change-Id: Ibda6268873303e631705c695a41c50980a3d29e5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-30Reorder Vnf testcasesCédric Ollivier1-14/+15
Cloudify IMS testcases could easily tigger jjob timeouts. Vyos_router should run before as it ends much quickier. Change-Id: Icd4323a7216615e75613e5fb241ae144f727d4fd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-30Merge "Filter installers for cloudify_vrouter"Cedric Ollivier1-1/+1
2017-11-30Stop updating test_db_url in config file by env varLinda Wang3-46/+6
If TEST_DB_URL is declared in env variable, use it before considering the var in config file. Change-Id: I656ad8765287c48d60af7ab88b421805d76fb231 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-30Filter installers for cloudify_vrouterCédric Ollivier1-1/+1
As cloudify_vrouter doesn't support SSL endpoints [1], it shouldn't be executed if compass or fuel. [1] https://jira.opnfv.org/browse/FUNCTEST-881 Change-Id: Ieedc0d5eca57f00da2121c9e07dd5cc57f978ef6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-30Skip modifying creds if Variables.robot is missingCédric Ollivier2-18/+32
Variable.robot is missing in functest-features [1]. As it's related to ODL csit suites, modifying it could be safely skipped as odl.py is designed for testing multiple ODL testcases. [1] https://gerrit.opnfv.org/gerrit/#/c/46225/ Change-Id: Id5f1947a073d251ef7480f418218a4c85fe078c1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-29Remove one obsolete test in test_odl.pyCédric Ollivier1-3/+0
It completes "Create RobotFramework class" [1] which decreased coverage to 99% (test_odl.py) [1] https://gerrit.opnfv.org/gerrit/#/c/47841/ Change-Id: I2a2d448daeb6d1f50064588167cafd32e07aa502 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-29Cover vnf.prepare()Cédric Ollivier1-5/+63
It completes the previous commit [1] which increased the coverage of Vnf. [1] https://gerrit.opnfv.org/gerrit/#/c/47851/ Change-Id: Ibb0201d6165d89da2edd1a93b722008092726569 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-27Fully cover vnfCédric Ollivier1-43/+12
clean() is now covered by unit tests. It must be noted that clean() doesn't warn about the possible failures when cleaning resources. Change-Id: If64c0cc5777ac5d2ce8a04ea34cd4f50091ab273 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-27Create RobotFramework classCédric Ollivier5-206/+350
It moves the capability to run any robot script from ODL TestCase into a new class: RobotFramework. It updates ODL TestCase and the related unit tests to inherit from the new parent class. Change-Id: I73e59ee9652fb63d9d89d7c75c58cce9cf62b0d7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-25Remove os_utils call from cloudify ims and vrouterLinda Wang2-6/+9
Change-Id: I333551125616113484ad275820f2176dae79da6e Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-24Enable Doctor testcase for F-releaseCédric Ollivier1-1/+0
doctor conforms with OpenStack Pike requirements then it could be enabled in functest-features and functest-restapi (master) [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/47283/ Change-Id: I82135a64cf0aac5ebf5b56260ede24b592fca41b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-24Enable baro_tests testcase for F-releaseCédric Ollivier1-1/+0
barometer conforms with OpenStack Pike requirements then it could be enabled in functest-features and functest-restapi (master) [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/47281/ Change-Id: Iee17bd17192db53075dd8ff8d020d18306394cfa Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-23Fix relative imports in cloudify_ims_perfCédric Ollivier2-46/+35
It also fixes wrong indents. JIRA: FUNCTEST-893 Change-Id: Ic54e01c03c14f39c69242c41922fc124c1b45c23 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-23Merge "Remove openstack utils calls in rally and tempest"Cedric Ollivier3-63/+7
2017-11-23Merge "Remove _set_others() from config"Jose Lausuch1-3/+0
2017-11-23Remove _set_others() from configJose Lausuch1-3/+0
Change-Id: I39e37ce9f8715e21fcfc4a053b83d508530fad5e Signed-off-by: Jose Lausuch <jalausuch@suse.com>
2017-11-23Merge "Fix how tier_handler is imported"Linda Wang1-1/+2
2017-11-23Fix how tier_handler is importedCédric Ollivier1-1/+2
Change-Id: I36577ca73042b181b4634c4d6bf3ac5d905fd560 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-23Merge "Remove prepare_env"Cedric Ollivier17-376/+180
2017-11-23Remove openstack utils calls in rally and tempestLinda Wang3-63/+7
Mainly, update "rally deployment create --file=rally_conf.json" to "rally deployment create --fromenv" Change-Id: I6dd4c7ea2d9d6f47dee49a4fd416e62bd557f45e Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-22Remove prepare_envJose Lausuch17-376/+180
After moving the rally installation out of prepare_env It doesn't much sense to keep this script as it doesn't do useful things any more. Change-Id: I9ab3b2dd30c8ec0fbb825ee4302a83cce80f1cbe Signed-off-by: Jose Lausuch <jalausuch@suse.com>
2017-11-22Merge "Removal of deprecated SNAPS-OO classes."Cedric Ollivier12-287/+298
2017-11-21Removal of deprecated SNAPS-OO classes.spisarski12-287/+298
JIRA: SNAPS-202 Change-Id: I115b4927b287a5525f4c1b95128d91f5229c7856 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-11-21Merge "Fix "Broken pipe" IOErrors of rally run"Linda Wang2-27/+22
2017-11-21Fix "Broken pipe" IOErrors of rally runJuha Kosonen2-27/+22
Replace obsolete os.popen with subprocess module usage in command output retrieval. Do not use shell as the program to execute. Change-Id: Ic63bb0f393750c3b85a35a37fecd46c1c1b96602 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2017-11-21Fix the way of getting endpoint portLinda Wang2-12/+14
It will fail if the endpoint does not contain any port value when executing self.os_auth_url.rsplit("/")[2].rsplit(":")[1] JIRA: FUNCTEST-892 Change-Id: Iba4103884b7c6e3b157bb95d775fac02c32ae728 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-20Enable sdnvpn testcase for F-releaseCédric Ollivier1-1/+0
sdnvpn conforms with OpenStack Pike requirements then it could be enabled in functest-features and functest-restapi (master) [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/47277/ Change-Id: Iedcb645d897684f169e4cf536838bf1f0951b6d9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-20Merge "Support to specify the valid external network name"Linda Wang1-1/+9
2017-11-20Support to specify the valid external network nameLinda Wang1-1/+9
In some deployments, the retrieved external network by the def get_external_networks in Snaps checked by "router:external" is not available. So it is necessary to specify the available external network as an env by user. Change-Id: I333e91dd106ed307541a9a197280199fde86bd30 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-17Check external networkLinda Wang2-0/+28
Change-Id: I1ff199fcad99aefccb92807c8f416d4f32ec91a6 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-16Enable sfc testcase for F-releaseCédric Ollivier1-1/+0
sfc conforms with OpenStack Pike requirements then it could be enabled in functest-features and functest-restapi (master) [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/47279/ Change-Id: I2b79f918dc4f6ca89c2dca18bf64a4bb184bf8b2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-15Remove Domino and Promise testcasesCédric Ollivier1-34/+0
Domino and Promise won't participate in the Fraser Release [1]. [1] https://wiki.opnfv.org/display/SWREL/Projects+Intending+to+Participate+in+the+Fraser+Release Change-Id: Ib06411769439015549cac9353fa92cebd2f61193 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-15Merge "Remove opnfv module from functest-core"Jose Lausuch3-526/+0
2017-11-15Merge "Update the version of refstack set to 2017.09"Jose Lausuch1-10/+68
2017-11-15Merge "Fix the regular expression for refstack"Jose Lausuch1-3/+3
2017-11-15Merge "Update unit test related to vyos_vrouter"Cedric Ollivier1-9/+11
2017-11-15Update unit test related to vyos_vrouterMorgan Richomme1-9/+11
Utilvnf is now mocked to stop triggering the git clone of an external repo and creating dirs. Else we may get errors when testing offline. Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Ia7e86593ecca9b9add747ef89b1d5e8d6bdb2d7c Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-15Update the version of refstack set to 2017.09Linda Wang1-10/+68
JIRA: FUNCTEST-890 Change-Id: Iac2f833fa2b704cd7caa6083e39e48e2df315890 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-15Fix the regular expression for refstackLinda Wang1-3/+3
Otherwise, this line could not be matched: {0} tempest.api.identity.v3.test_tokens.TokensV3Test.test_create_token [0.143237s] ... ok -> the matched result: tempest.api.identity.v3.test_t Change-Id: I97282a9c98a889a015a40f9ad2d700906bb88fb1 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-15Remove opnfv module from functest-coreLinda Wang3-526/+0
The releng/opnfv git repo is still kept in upper-constraints as it is required by sfc. And also delete the functions of check_env_variables, get_deployment_handler and create_directories. Change-Id: If498e68f0f94d6ebde1be55f5e3a17d06becaea4 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-15Add shebang in snaps_suite_builder.pyCédric Ollivier1-0/+2
Change-Id: I3392068b4a47d35bf0d91fe6d93f2de268f198bf Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-13Move rally and tempest out of functest-coreLinda Wang7-166/+144
JIRA: FUNCTEST-889 Change-Id: I96776da7af50b2c33c34dd731b5500b891d263d6 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-10Select the subset of snaps test casesLinda Wang5-21/+458
Change-Id: I03e422d5dae0ced9cd7a5477c31359ffc7795c42 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-06Move fds to features tierLinda Wang1-19/+19
Change-Id: I7aa9d73c7ffbfdad7d5a929968fb640d9a8de62e Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-06Merge "Update Functest to OpenStack stable/pike"Morgan Richomme1-0/+6
2017-11-06Protect vs exceptions when ext_nets is emptyCédric Ollivier1-1/+1
Otherwise several exceptions are raised in TestCase constructors (those defined in heathcheck). Change-Id: I4cb054f7092ea9db02cb8c4469e99848533c556b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>