aboutsummaryrefslogtreecommitdiffstats
path: root/functest
AgeCommit message (Collapse)AuthorFilesLines
2017-12-15Filter out orchestra for ssl enabled deploymentsMichael Polenchuk1-2/+2
Skip orchestra tests for the Compass & Fuel/MCP installers until OpenBaton have updated to version 4.x+ with SSL support. JIRA: ORCHESTRA-17 Change-Id: I894a08fb5ac83a6b1d59d7bcf3a681a8d596968f Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-12-14[vyos_vrouter] Support https endpointsShuyaNakama5-43/+12
JIRA: FUNCTEST-881 vyos_vrouter did not support https endpoints [1]. I fixed the following two points. 1. Modifying blueprint of Cloudify. 2. Changing nova client of utilvnf module. Point 1 I added command of support https endpoint to blueprint of vyos_vrouter. The Blueprint of vyos_vrouter is on our github repository [2]. I updated our repository. Point 2 I changed nova client of utilvnf module. Utilvnf module is utility module of vyos_vrouter. Nova client of utilvnf module did not support https endpoints. So, I changed to use nova client of snaps. After fixed the source code, I confirmed the vyos_vrouter was succeeded in the following two environments. 1. Our labs (Instoller:fuel, environment of https endpoints) 2. Orange POD (Instoller:compass, environment of http endpoints) [1] https://jira.opnfv.org/browse/FUNCTEST-881 [2] https://github.com/oolorg/opnfv-vnf-vyos-blueprint/blob/master/function-test-openstack-blueprint.yaml Change-Id: I468df0f2486a34bc558ad161eb7de44264549006 Signed-off-by: ShuyaNakama <shuya.nakama@okinawaopenlabs.org>
2017-12-14Merge "Change the name of flavor and disabled ssh-hostname verification."Linda Wang2-6/+12
2017-12-13Change the name of flavor and disabled ssh-hostname verification.soumaya2-6/+12
Change-Id: Ia801e8a37288606a325b5dd010ab9f6acbfdadf4 Signed-off-by: soumaya <soumaya.nayek@rebaca.com>
2017-12-13Merge "Fix yamllint errors in functest/api"Jose Lausuch12-323/+327
2017-12-13Fix yamllint errors in functest/apiLinda Wang12-323/+327
JIRA: FUNCTEST-897 Change-Id: I49c7c87dfded000197fe6451fb96dc0749f2ceb0 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-12-13Add missing character to aarch functest conf fileDelia Popescu1-2/+2
Change-Id: I7eef94404c64cea761b289d070021a3f57b4a82e Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2017-12-12All patching config files in memoryLinda Wang5-107/+43
It adds the yaml content as Config attribute and allow patching it without modifying the file (and reimport constants or config). It also removes obsolete data in config_patch.yaml and moves several functions in the right modules (Config) JIRA: ARMBAND-334 Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I5c9a574d3283828063154c977cdfbc2abfdc6777 Signed-off-by: Linda Wang <wangwulin@huawei.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-12-12Ensure that all energy modules are fully coveredCédric Ollivier1-4/+44
Change-Id: I501a404d1202cc92da5e62dbf9db2aa453ffd324 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-12-12Merge "Add python3 support in cli"Cedric Ollivier3-8/+14
2017-12-12Merge "Add python3 support in energy"Cedric Ollivier2-4/+4
2017-12-12Merge "Mock time.sleep() to decrease test duration"Cedric Ollivier1-11/+24
2017-12-12Merge "Add python3 for Functest utils"Cedric Ollivier5-11/+18
2017-12-12Add python3 support in cliCédric Ollivier3-8/+14
Change-Id: I222fde91cf236a272176bc2d9ec6732f98b76141 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-12-12Add python3 support in energyCédric Ollivier2-4/+4
It also converts Exception to str when expected. All energy modules are also listed in files rated 10/10 by pylint. Change-Id: Id382d60eb35f50c98b15423f9559a920ce5dac62 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-12-12Mock time.sleep() to decrease test durationCédric Ollivier1-11/+24
It also returns None when getting floating ips after deleting them. It now runs 40 tests in 0.084s. Change-Id: If4b1032ab9890fd291d99beb57166ead8729d822 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-12-12Add python3 for Functest utilsCédric Ollivier5-11/+18
It also fixes test_utils RegexMatch and SubstrMatch. Change-Id: I124aa7d0c4110dcd2f50220aae7ba9b299799e93 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-12-12Merge "Set the ram of flavor 1024"Linda Wang3-5/+12
2017-12-11vEPC tests with juju as an VNF managersoumaya30-2/+1609
juju_epc testcase validate EPC setup with the help of ABoT which acting as test executor. Functest-abot-epc-bundle deploys OAI charms alongwith mysql and ABoT. JUJU is acting as a VNF manager. Change-Id: I45d7b37f21f6b8c7049ab2bf42a4678e30b67a72 Signed-off-by: soumaya <soumaya.nayek@rebaca.com>
2017-12-11Set the ram of flavor 1024Linda Wang3-5/+12
The setting of hw:mem_page_size=large indicates larger page sizes for guest RAM, eg., either 2MB or 1GB on x86. When tested on compass, 1GB is required. Change-Id: Iefd2e8ff30e0a496157e0bd118e63ab3c402abab Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-12-11Add Python3 support in functest/ciCédric Ollivier4-6/+7
Change-Id: If13bfaa196b8dfab1e83feb28c5a4719c7acd8c7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-12-11Fix yaml format errors in vnfCédric Ollivier5-81/+102
All Rally yaml files are skipped because they leverage on jinja2. Now last errors are in functest/api directories [1]. [1] https://jira.opnfv.org/browse/FUNCTEST-897 Change-Id: I4d6c9b3b7c1f3602bd51c9cf7e1c5babf581ab82 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-12-07Merge "Fix the yamllint errors in functest/ci"Cedric Ollivier9-129/+116
2017-12-06Assign heat_stack_owner role to the new userLinda Wang2-0/+34
For heat scenario in rally, assign heat_stack_owner role to the new created users. Change-Id: I86a74ca88993ed3782d21b22eb5933d639d86c94 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-12-06Remove the config of promiseLinda Wang1-15/+0
Change-Id: I9e393ce33228f90f724df12af258cf06fae821fc Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-12-06Fix the yamllint errors in functest/ciLinda Wang9-129/+116
And also, remove the params "tempest_use_custom_images" and "unique_names" of vping, rally and tempest. Change-Id: Ic4243ef2f5e965910e5befa87db8d585cad34fa2 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-12-05Merge "Fix pylint errors of vping"Cedric Ollivier3-22/+25
2017-12-05Fix pylint errors of vpingLinda Wang3-22/+25
Change-Id: I272f0eb6fb0f2a274484a3dcfacd8ed65e4a5b23 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-12-04Create a tox env to check yaml filesCédric Ollivier1-23/+30
It also fixes all testcases config files. Change-Id: I81a6ffb8b7acf4239c79129dc842e283d3d32b35 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.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>