summaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests
AgeCommit message (Collapse)AuthorFilesLines
2017-10-18Update blacklist about migration tests for rallyLinda Wang2-5/+6
The test NovaServers.boot_and_migrate_server needs at least 2 compute nodes: https://github.com/openstack/rally/blob/stable/0.9/rally/plugins/openstack/scenarios/nova/servers.py#L763-L765 Change-Id: I4ddf99188094ced57225d886037b00e91f3b68e6 Signed-off-by: Linda Wang <wangwulin@huawei.com> (cherry picked from commit 613c672ac166ca92ce1284131ec06446e07e0023)
2017-10-05Live migration support determination in rallyJuha Kosonen1-20/+11
Live migration test cases were excluded if tempest was not executed before rally since tempest config file is created during the execution of tempest. Remove the dependency to config file and define the support based on the number of computes as done in tempest. Change-Id: I57c18b7c57e6a4bc8bfbdfb4beb5f8d67c6269c4 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit da2f6a0aabf3b5473e1d2d3f55a5f6c9bb6c8559)
2017-10-03Merge "Select euphrates zip in cloudify_ims*.yaml" into stable/euphratesCedric Ollivier2-2/+2
2017-10-03Merge "Create a router in both vping scenarii" into stable/euphratesCedric Ollivier2-19/+17
2017-10-03Select euphrates zip in cloudify_ims*.yamlCédric Ollivier2-2/+2
Co-Authored-By: valentin boucher <valentin.boucher@orange.com> Change-Id: Ie7c3d10952662888718c70a3f8055ebca9e85d4d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-10-03Create a router in both vping scenariiCédric Ollivier2-19/+17
It fixes vping_userdata as it allows getting metadata due to the gateway defined for the subnet. It could be noted that DHCP can add the route needed if no gateway is defined and if force_metadata is set in dhcp_agent.ini. Change-Id: Ia62e0f00e3d2caee6262dd9cd9966d1f21fe40d5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a691a8c2868d3f8af531e0bff513023c3a704aaf)
2017-10-03Report duration and result when vping failsCédric Ollivier1-1/+3
It completes "Bug fix: vping_userdata test status was not properly reported" [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/43911/ Change-Id: I7e8be6cd564a24ca174e63cfc295861c51cae8ed Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 5ffb995c110be39364535f56c86c46d092b8cea0)
2017-10-03Add icmp rules for clearwaterims caseMichael Pauls1-0/+10
icmp rules must be enabled since a ping is used internally to check that other components are up and reachable Change-Id: I1ae3c301f30455c57193ddfe1757e971f5612c18 Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de> (cherry picked from commit 4a27c90843abd3a8d002e37f0f9f22307f2ec9fc)
2017-10-02Bug fix: vping_userdata test status was not properly reportedMorgan Richomme1-1/+1
vping_base is calling vping_userdata vping_user data could return only EX_TESTCASE_FAILED or EX_OK by default vping_base always returns EX_OK (based on self.result=100..) it returned EX_RUN_ERROR only if upper class report EX_RUN_ERROR that is why vping_userdata was always PASS even if the trace "Ping OK" cannot be retrieved from the Nova console it seems that when running the vping_userdata, we systematically got Failed to read iid from metadata Change-Id: If72441dd93bffada5c7a5399c87db68d7ebeebed Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit e36a14f6db0bc5ac93469bb553810de506f29bef)
2017-10-01remove icmp rules from secgroupsMichael Pauls2-50/+0
Change-Id: I8f7d2170eee9777be6455d38eaff703338b155fa Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de> (cherry picked from commit c93ae73855ba928eb6661ac2468c5a0bae7c5506)
2017-09-30Fix userdata issue for vping and orchestraLinda Wang4-6/+6
1. When creating VM, the type of the param userdata should be str, to conform with that in snaps [1]. 2. Remove the infinite loop for vping in userdata 3. Fix the criteria for vping_userdata and vping_ssh [1]: https://git.opnfv.org/snaps/tree/snaps/openstack/utils/nova_utils.py#n92 Change-Id: I262a7ebb93ec90bb6f8f3acb5d564f210abcfc4b Signed-off-by: Linda Wang <wangwulin@huawei.com> (cherry picked from commit 5a24cb4a7db33e693a063f5c2a66406283aa5cfb)
2017-09-28Switch to OS_PROJECT_NAMECédric Ollivier1-4/+4
It simply conforms with OpenStack keystone v3. JIRA: FUNCTEST-877 Change-Id: I989a6eb4d8564948927c184a899b62ca763ef824 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 5c178f0d30f0701dee0d0a629023f05edfde338e)
2017-09-25Fix creds still used by vrouterroot1-4/+4
1. 'CloudifyVrouter' object has no attribute 'creds' 2. 'CloudifyVrouter' object was still use 'creds' 3. Doing test of modified vyos_vrouter on our labs. Refer to following commit. https://gerrit.opnfv.org/gerrit/#/c/41249/ Change-Id: Id1b4dfa4c35aba9bbb4fd64ef58446d3e99468df Signed-off-by: root <shuya.nakama@okinawaopenlabs.org> (cherry picked from commit 233a9bf775c1e9fe66e588ec45266c15bdb142b1)
2017-09-22Support https when testing ODLCédric Ollivier1-16/+18
It conforms with the last change on ODL tests [1]. Neutron endpoint is passed via robot args instead of Neutron ip. Keystone url (based on OS_AUTH_URL) is passed too to replace Keystone ip. [1] https://git.opendaylight.org/gerrit/#/c/63293/ Conflicts: docker/restapi/Dockerfile docker/smoke/Dockerfile Change-Id: Ie44f55304a438b1b0289ec69ac2241664be70e80 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit dd99f5356ef08f3a2a1ed18d63492391390df752)
2017-09-20Dedicated flavors for rally testsJuha Kosonen2-3/+31
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> (cherry picked from commit 3b98874f010329198b8c3a13a4711c17a593b9cc)
2017-09-20Fix image name in rally scenariosJuha Kosonen1-6/+6
Change-Id: I0a78a16d44c1e0e0b2edec2e43954c1f08e8bb09 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit a9cb468fae75d4e95689fa9ea02a94a73df95648)
2017-09-18increase timeout of NFVO installationMichael Pauls2-16/+16
some pods are less powerful and require more time for the installation of the orchestrator Change-Id: Iebd39c0ef8f3dcfa7fecb1e507b2f05890b5c490 Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de> (cherry picked from commit f7348cba120c5bd2f4df51b1a290bea4c0d01a61)
2017-09-15Merge "Refactor resource creation and cleanup in rally"Cedric Ollivier1-33/+79
2017-09-15Refactor resource creation and cleanup in rallyJuha Kosonen1-33/+79
Use SNAPS to create and delete resources. Change-Id: Ic4d390382acea2be196e8a7518cb8cce25276a45 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2017-09-15Enable tempest run concurrentlyLinda Wang1-8/+19
Append a guid to the end of names of resources created for tempest, including project, user, network, images and flavors. Change-Id: I01fc7c5cb45cd5724a99ba1d220c3f3f7d6639cf Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-09-14Merge "New testcase creation named "cloudify_ims_perf""Cedric Ollivier10-0/+18063
2017-09-14New testcase creation named "cloudify_ims_perf"boucherv10-0/+18063
* IMS deployment with "cloudify_ims" testcase * IXIA infrastructure creation with SNAPS * Module configuration with REST API * Configure and run the perf tests with REST API Change-Id: I3dfddda87f9e9f4f03df375f6a032ded26a627b3 Signed-off-by: boucherv <valentin.boucher@orange.com> Co-Authored-By: Arturo Sordo Miralles <asordo@ixiacom.com>
2017-09-12Merge "set marketplace port to 8080 for NFVO"Morgan Richomme2-4/+8
2017-09-12Merge "Re-enable orchestra tests (VNF)"Cedric Ollivier1-2/+2
2017-09-11set marketplace port to 8080 for NFVOMichael Pauls2-4/+8
Change-Id: I336b54e63fcb4a7e64f139628536f334c86b1745 JIRA: ORCHESTRA-17 Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
2017-09-11Fix bug in cloudify_ims: no return codeboucherv1-1/+1
Change-Id: I89ab2f9b57d9f4710201af5852aa12925f122079 Signed-off-by: boucherv <valentin.boucher@orange.com>
2017-09-11Remove volume type handlingJuha Kosonen2-42/+0
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-11Re-enable orchestra tests (VNF)Morgan Richomme1-2/+2
"Marketplace is now running on port 8080. In addition, we have extended the marketplace backend in order to return the last modified header so that images are not re-downloaded all the time tests are executed. It should be done by Monday EOB" [1] [1]: https://jira.opnfv.org/browse/ORCHESTRA-17?jql=project%20%3D%20ORCHESTRA JIRA: ORCHESTRA-17 Change-Id: I17f6316003be9c2c3131ed640e6a32e482d1a174 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-11Allow live migration related tests to runLinda Wang2-1/+2
For tempest or rally, if there are more than 1 compute node, live migration related tests should not be skipped or blacklisted if shared storage is enabled via ceph. Change-Id: Ic93e4f508b597c657abe8d246f0cf9c2b5dfd020 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-09-11Merge "Remove get_repo_tag"Cedric Ollivier1-11/+0
2017-09-08Merge "Fix pylint errors in test_refstack_client"Cedric Ollivier1-2/+5
2017-09-08Update ODL testcase to Keystone v3Cédric Ollivier1-1/+16
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-2/+5
Change-Id: Ia53ac75c913f351412180b9b71a56b4c5fbbe4a5 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-09-07Merge "Remove redundant tempest cleanup utility"Cedric Ollivier2-82/+1
2017-09-07Merge "Fix creds used by vrouter"Cedric Ollivier1-12/+4
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-07Remove redundant tempest cleanup utilityLinda Wang2-82/+1
All the resources including the project, user, network, images and flavors to enable tempest running, are created by snaps-OO, which will definitely clean up those finally. Change-Id: Iea3e3f275cc6cfd2cee421fcafef90aaf2e6cf3e Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-09-07Fix creds used by vrouterAlex Yang1-12/+4
1. 'CloudifyVrouter' object has no attribute 'creds' 2. snaps_cred was set in VnfOnBoarding.prepare() Change-Id: I7d7ba60627f82c6e40d2c6190b110d6029740eb2 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-09-06Merge "Add UEFI support in functest"Morgan Richomme1-1/+6
2017-09-05Merge "Create results/tempest dir for refstack config"Cedric Ollivier1-0/+2
2017-09-05Merge "Enable tempest multinode tests"valentin boucher3-6/+25
2017-09-05Create results/tempest dir for refstack configLinda Wang1-0/+2
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-05Fix the cloudify_ims update quotas errorLinda Wang1-4/+4
Change-Id: I62376dd02dd95ebff54c1ebf963267c6534181ed Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-09-04Merge "More support of snaps for VNF"Morgan Richomme4-34/+32
2017-09-04Merge "Fix get_port_by_name in ims testcases"Cedric Ollivier2-4/+6
2017-09-04More support of snaps for VNFboucherv4-34/+32
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-04Blacklist CeilometerTraits testsJuha Kosonen1-0/+1
Requires a deprecated Ceilometer API which was removed in ocata. Panko provides the API but is not yet supported by OPNFV installers. Change-Id: I85ab97099b8adfa1d15fe4195bc5703f2f4e83b8 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2017-09-03Fix get_port_by_name in ims testcasesAlex Yang2-4/+6
Now there isn't a function named get_port_by_name in [1]. Use get_port to replace it. [1]: https://git.opnfv.org/snaps/tree/snaps/openstack/utils/neutron_utils.py Change-Id: Ide5d6b497092f66abe6b0452841007808ee908e6 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-09-02Enable tempest multinode testsJuha Kosonen3-6/+25
JIRA: FUNCTEST-774 Change-Id: I259a9a37e40dba6a6594941d989e5aa1858e4a04 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>