aboutsummaryrefslogtreecommitdiffstats
path: root/functest/tests
AgeCommit message (Collapse)AuthorFilesLines
2017-09-20Dedicated flavors for rally testsJuha Kosonen1-0/+46
Create flavors and use them in rally scenarios instead of expecting certain flavors to pre-exist. Change-Id: I77c94ab80fcabd7b80ffb36f9856a48121858009 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2017-09-18Return Functest status to JenkinsCédric Ollivier1-2/+8
It avoids mixing Functest and Features CI issues by simply exiting the status of Functest testcases. The result of third-party testcases are printed into console but are no longer taken into account into the global status. Change-Id: I040ff54780db2ddb6d81993839fee09f5e472323 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-15Refactor resource creation and cleanup in rallyJuha Kosonen1-38/+57
Use SNAPS to create and delete resources. Change-Id: Ic4d390382acea2be196e8a7518cb8cce25276a45 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2017-09-11Remove volume type handlingJuha Kosonen2-101/+4
Rally scenarios don't require volume type to exist as a precondition. Change-Id: Id735346e062af084635fd8f76f3686005b9b8add Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2017-09-11Merge "Remove get_repo_tag"Cedric Ollivier1-11/+0
2017-09-08Merge "Fix pylint errors in test_refstack_client"Cedric Ollivier1-27/+24
2017-09-08Update ODL testcase to Keystone v3Cédric Ollivier1-3/+26
As basic neutron tests have been updated [1], ODL testcase must manage user domain and project domain names. [1] https://git.opendaylight.org/gerrit/#/c/62846/ JIRA: FUNCTEST-862 Change-Id: I61ef622f840b8d825cf45a3557bd6da14a4d3cb7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-08Fix pylint errors in test_refstack_clientLinda Wang1-27/+24
Change-Id: Ia53ac75c913f351412180b9b71a56b4c5fbbe4a5 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-09-07[Fuel/MCP] Set opendaylight web/restconf portsMichael Polenchuk1-1/+2
Change-Id: I24518bdf54974debf49df6d775db1203e61922e5 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-09-05Merge "Create results/tempest dir for refstack config"Cedric Ollivier1-1/+15
2017-09-05Merge "Enable tempest multinode tests"valentin boucher1-0/+15
2017-09-05Create results/tempest dir for refstack configLinda Wang1-1/+15
When generating refstack client reference tempest conf file, the step of tempest.conf backup is necessary. So if the dir results/tempest is absent, error shows: [Errno 2] No such file or directory: '/home/opnfv/functest/results/tempest/tempest.conf' Change-Id: I7aba5baff55a51881d125b28f99d71d0cc0a5c72 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-09-05Delete some unittest which block the verify jobAlex Yang1-72/+0
The unittest of cloudify_vrouter cannot work now. Change-Id: I1b6c591458aefe9aec628a02239f5c611ec3676c Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-09-04Merge "More support of snaps for VNF"Morgan Richomme4-398/+51
2017-09-04More support of snaps for VNFboucherv4-398/+51
Remove OpenStack utils in vnf_base Support snaps for quotas management in cloudify_ims Change-Id: I44e5b01bb26569276133e85dfc25bc2cceb03056 Signed-off-by: boucherv <valentin.boucher@orange.com>
2017-09-04Remove get_repo_tagJuha Kosonen1-11/+0
Not in use after removal of multisite support [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/39569/ Change-Id: I1346c78743690a2e5279d3b1883501dfe19078e3 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2017-09-02Enable tempest multinode testsJuha Kosonen1-0/+15
JIRA: FUNCTEST-774 Change-Id: I259a9a37e40dba6a6594941d989e5aa1858e4a04 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2017-09-01Merge "Remove tacker library from functest"Morgan Richomme1-524/+0
2017-09-01Remove tacker library from functestManuel Buil1-524/+0
This library is moved to the SFC repo https://gerrit.opnfv.org/gerrit/#/c/40265/2 Change-Id: I339337e4c2f17933a74bf85259e36f8f5742a17a Signed-off-by: Manuel Buil <mbuil@suse.com>
2017-08-29Merge "Refactor the vyos_vrouter to adopt VNF abstraction"Morgan Richomme3-0/+168
2017-08-29Refactor the vyos_vrouter to adopt VNF abstractionShuya Nakama3-0/+168
JIRA: FUNCTEST-788 1.Modifying code of vyos_vrouter to inherit vnf abstraction class. 2.Adding vyos_vrouter code from our repo to functest. 3.Adding unit test of vyos_vrouter. 4.Doing test of modified vyos_vrouter codes on our labs. Change-Id: I77e4be8b2a140ea0176c607f2be736599f893ace Signed-off-by: Shuya Nakama <shuya.nakama@okinawaopenlabs.org>
2017-08-29Remove get_installer_typeLinda Wang1-17/+0
JIRA: FUNCTEST-763 Change-Id: Ib05f699063393eb6eaa9f559854aca50b77aead3 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-28Obtain scenario by CONST instead of get functionLinda Wang1-23/+3
JIRA: FUNCTEST-763 Change-Id: Ic9fa3243b50a09de8a5e531fed8298997367dd84 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-24Merge "Obtain pod_name by CONST instead of get function"Morgan Richomme2-47/+15
2017-08-24Merge "Added means to override the RC file credentials."Linda Wang1-4/+2
2017-08-24Fix the tempest error when creating snapshotLinda Wang2-16/+4
Change-Id: I9682f174a835d2bdf1ef3da01e369037e5ad7247 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-23Refactor resource creation and cleanup in TempestMartin Kulhavy3-142/+126
Use Snaps to create resources before running a testcase and to clean up afterwards. Use Tempest Cleanup utility to clean other resources. Change-Id: Ic0f69d3bafb60dfb283d18ac507e9f5992e9ae38 Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
2017-08-22Config test_accounts_file for refstack_defcoreLinda Wang1-13/+69
Tenant and user are required by refstack_defcore, which could be configured in the test_accounts_file. [1] [1]: https://github.com/openstack/refstack-client/blob/master/refstack_client/refstack_client.py#L170-L193 Change-Id: I9c920b6f15f491d671ebf222976305bedf4dd747 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-21Added means to override the RC file credentials.spisarski1-4/+2
This has been done primarily to support tests using SNAPS-OO JIRA: FUNCTEST-847 Change-Id: Icf02c085a95c20d4088e5aafd6380c70689a4ee0 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-08-18Remove the tenant and user created for tempestLinda Wang1-18/+0
According to the module [1] in tempest to parse tempest.conf, the three params in session idenity are invalid: [identity] tenant_name = tempest username = tempest password = Tempest123! Then there is no need to create tenant and user before running tempest and refstack_defcore. [1]: https://github.com/openstack/tempest/blob/14.0.0/tempest/config.py#L120 JIRA: FUNCTEST-864 Change-Id: Idac46e1e620324c584c8021c0bdf843f8823155a Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-18Merge "Remove multisite support"Morgan Richomme2-65/+0
2017-08-18Remove multisite supportJuha Kosonen2-65/+0
JIRA: FUNCTEST-866 Change-Id: I55a4416688b2aca0897910cac69b33e154e73095 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2017-08-17Merge "add orchestra_clearwaterims testcase"Morgan Richomme2-28/+260
2017-08-17Obtain pod_name by CONST instead of get functionLinda Wang2-47/+15
JIRA: FUNCTEST-763 Change-Id: Id334745a1eac8b933d77f9cb36a506a02366d760 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-17Merge "Clean run_tests.py and the related ut"Cedric Ollivier2-98/+76
2017-08-17Merge "Fix domain in tenant creation"Juha Kosonen1-0/+15
2017-08-17Merge "Obtain build_tag by CONST instead of get function"Linda Wang1-32/+10
2017-08-16Clean run_tests.py and the related utCédric Ollivier2-98/+76
It enhances run_tests.py as proposed in [1]. It also prints all skipped tests in summary and fixes copyright headers. All the related unit tests have been updated too. [1] https://jira.opnfv.org/browse/FUNCTEST-832 JIRA: FUNCTEST-832 Change-Id: I59b96422bc7942ecd6270c45ab7a3fb603c13ccb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-15Fix domain in tenant creationJuha Kosonen1-0/+15
Use the ID of the domain when creating a tenant on keystone v3. Change-Id: Ic415237e2bb2d537f07ab2245816a575f977aaa0 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2017-08-15Obtain build_tag by CONST instead of get functionLinda Wang1-32/+10
JIRA: FUNCTEST-763 Change-Id: I86b0b515a3d51df20a35c2aeb461a95d0c5797fd Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-15Remove timestamp in the details for tempestLinda Wang1-3/+3
Example: "success": ["2017-08-15 06:59:30.445 1180 INFO opnfv-tempest [-] {0} tempest.sce nario.test_server_basic_ops.TestServerBasicOps.test_server_basic_ops"] which is updated to: "success": ["tempest.scenario.test_server_basic_ops.TestServerBasicOps.test_serv er_basic_ops"] Change-Id: Iad13e380b3a1fdc37b7742929512098bccc6d460 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-10add orchestra_clearwaterims testcaseMichael Pauls2-28/+260
-rename testcase orchestra_ims to orchestra_openims -add orchestra_clearwaterims testcase -add unit tests Change-Id: I5291f84068915fa15e3fb7b63c5dbd0daec0acca Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
2017-08-10Fix the logic of adding/updating tempest.confLinda Wang1-3/+2
Change-Id: I850311a9306607106836f24594019e98d2fd9499 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-10Merge "Improved error handling when Energy recorder API is unavailable."Morgan Richomme1-19/+55
2017-08-10Merge "Record the test cases passed in tempest"Cedric Ollivier1-0/+32
2017-08-10Merge "Add copper and domino in functest-features"Cedric Ollivier1-2/+2
2017-08-10Merge "Remove rnc unit test dir as empty"Cedric Ollivier1-0/+0
2017-08-10Add/Update tempest.conf via a specific fileLinda Wang3-4/+12
Provides a convenient way to configure all params which users required. JIRA: FUNCTEST-860 Change-Id: Iadfb704285f94530e1023ee780138f22dd672d33 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-09Record the test cases passed in tempestLinda Wang1-0/+32
Also, convert the test cases recorded with string into list Change-Id: Ie3980a555b4042e6fe9706320d33d4ec4c06ea0c Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-09Improved error handling when Energy recorder API is unavailable.Benoit HERARD1-19/+55
Log verbosity is reduced when API is discovered unavailable. Avoid next calls to API if unavailable at config loading. Change-Id: I68d169396335ae3891e4b808062058945fc2eca1 Signed-off-by: Benoit HERARD <benoit.herard@orange.com>