aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests
AgeCommit message (Collapse)AuthorFilesLines
2017-08-23Merge "Refactor resource creation and cleanup in Tempest"Morgan Richomme4-128/+296
2017-08-23Refactor resource creation and cleanup in TempestMartin Kulhavy4-128/+296
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-23Merge "Complete caching images for vnf testcases"Morgan Richomme3-17/+14
2017-08-23Merge "Add the skipped testcases into details"Cedric Ollivier1-2/+5
2017-08-23Merge "Specify physical_network when creating network"Cedric Ollivier1-4/+23
2017-08-23Merge "Config test_accounts_file for refstack_defcore"Cedric Ollivier1-0/+51
2017-08-22Complete caching images for vnf testcasesCédric Ollivier3-17/+14
It conforms with snaps API for publishing local images. It completes [1] which only modifies the yaml files. [1] https://gerrit.opnfv.org/gerrit/#/c/39757/ Change-Id: I325a245c0e7bb15bb1f9570996500573cfe257b0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-22Use dnsmasq to cache DNS queriesCédric Ollivier1-10/+11
It's mandatory for clearwater_ims as musl's resolver queries nameservers all in parallel and accepts whichever response arrives first [1]. [1] http://wiki.musl-libc.org/wiki/Functional_differences_from_glibc#Name_Resolver_.2F_DNS Change-Id: I01a17436279a0be2fac1b27b73052edc594c33e0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-22Merge "Allow caching images for vnf testcases."valentin boucher2-6/+6
2017-08-22Config test_accounts_file for refstack_defcoreLinda Wang1-0/+51
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-22Specify physical_network when creating networkLinda Wang1-4/+23
When the network_type is vlan, it is necessary to specify physical_network and segmentation_id. JIRA: FUNCTEST-863 Change-Id: Ia1acb0181e4f78654ecf5500c4c0366b143a91f5 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-22Add the skipped testcases into detailsLinda Wang1-2/+5
When running tempest_custom, if all tests are skipped, record them in details. Change-Id: Ie18ec0911ff298f91c524a9cd039929c2d0f6425 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-21Added means to override the RC file credentials.spisarski2-2/+13
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-21Euphrates cleaning: remove any reference to aaa vnfMorgan Richomme2-41/+0
aaa vnf was created in Danube to illustrate the vnf abstraction as real implementations are now available and nobody really implements a real aaa test case, it is better to remove any reference to aaa vnf Note modification on the documentation will be done accordingly Change-Id: Iab6d96c955a6a7dc178588592382e42d68ec604c Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-08-21Allow caching images for vnf testcases.Cédric Ollivier2-6/+6
Change-Id: Ib9b8cc46600bfd29e2ae5f56e995397477cb4ad6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-21Merge "Remove opera testcase as Opera is inactive"Morgan Richomme1-131/+0
2017-08-21Merge "Remove the tenant and user created for tempest"Cedric Ollivier1-25/+0
2017-08-21Remove opera testcase as Opera is inactiveCédric Ollivier1-131/+0
testcases.yaml is updated as well. Change-Id: I88b3a51a732496899f6825fd38137bcf7e6a8caa Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-08-20Merge "Integrate cloudify_ims in functest-features"Cedric Ollivier1-1/+0
2017-08-18Remove the tenant and user created for tempestLinda Wang1-25/+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-18Integrate cloudify_ims in functest-featuresCédric Ollivier1-1/+0
We only rely on system libraries in case of Alpine. It's not possible in case of Ubuntu 14.04 because libxml is too old. Change-Id: I304f8ea5e9a6541e9719210db9d07949107bf193 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-18Merge "Remove multisite support"Morgan Richomme2-108/+0
2017-08-18Remove multisite supportJuha Kosonen2-108/+0
JIRA: FUNCTEST-866 Change-Id: I55a4416688b2aca0897910cac69b33e154e73095 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2017-08-17Merge "add orchestra_clearwaterims testcase"Morgan Richomme4-155/+874
2017-08-15Remove timestamp in the details for tempestLinda Wang2-6/+6
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 Pauls4-155/+874
-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-1/+1
Change-Id: I850311a9306607106836f24594019e98d2fd9499 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-10Merge "Record the test cases passed in tempest"Cedric Ollivier2-12/+16
2017-08-10Merge "Fix import and docstrings in onos/teston"Cedric Ollivier2-12/+12
2017-08-10Merge "Add/Update tempest.conf via a specific file"Morgan Richomme2-0/+30
2017-08-10Merge "Add all ODL testcases in functest-smoke"Cedric Ollivier1-2/+1
2017-08-10Merge "Restrict ping only once in ping.sh"Morgan Richomme1-11/+8
2017-08-10Add/Update tempest.conf via a specific fileLinda Wang2-0/+30
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 Wang2-12/+16
Also, convert the test cases recorded with string into list Change-Id: Ie3980a555b4042e6fe9706320d33d4ec4c06ea0c Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-03Fix import and docstrings in onos/testonCédric Ollivier2-12/+12
Change-Id: Ie38f3b0ab8805cd7ca3e946533be37598be9434e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-02Add all ODL testcases in functest-smokeCédric Ollivier1-2/+1
It clones the related git repositories in /src and adapts the former Dockerfiles too. Change-Id: Ied5016f8cd5ed49f4e29bae5aa4413fad2477637 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-29Restrict ping only once in ping.shLinda Wang1-11/+8
Otherwise, it makes no sense to configure ping_timeout as 200 times. Change-Id: I6e15f5149f24a4316f6d5b70bcda9a46418d1522 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-07-28update/improve orchestra_imsMichael Pauls2-337/+574
-enable orchestra_ims testcase -update orchestra_ims according to restructed vnf base class -SNAPS integration -improve code based on pylint suggestions -add unit tests (to be completed) Change-Id: Id12f645c76096376b8a867bf36d7bbb69bac58e7 Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
2017-07-19Add id to test_list for tempest_customLinda Wang1-2/+2
Tempest_custom will fail if only the test name is provided without id. Change-Id: I170eff4215bcb09c6469072079091670aabaad5b Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-07-18Merge "Change calls to SNAPS library exposing OpenStack instance objects."Jose Lausuch2-2/+2
2017-07-17Merge "Conform the RefStack testcase with the Rally context"Jose Lausuch1-4/+9
2017-07-17Merge "Wait for refstack-client to finish"Jose Lausuch1-31/+18
2017-07-17Conform the RefStack testcase with the Rally contextCédric Ollivier1-4/+9
If the RefStack testcase relies on the Tempest configuration generated by Rally, it must conforms with the related context [1]. [1] https://raw.githubusercontent.com/openstack/rally/0.9.1/rally/plugins/openstack/verification/tempest/context.py Change-Id: Ia62c0a328c53a1541aeaf8668e1f34ae67898eed Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-17Wait for refstack-client to finishCédric Ollivier1-31/+18
The previous implementation waited for /bin/sh to finish instead of refstack-client. Then tempest still ran in background even if the tescase was considered as finished. Now all tempest logs are only printed in the dedicated file. Change-Id: I94cd7c6fe68f3bc21782d8d9c43feee338c103ae Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-15Merge "Correct odl port for compass installer"Cedric Ollivier1-1/+1
2017-07-14Change calls to SNAPS library exposing OpenStack instance objects.spisarski2-2/+2
Openstack object structures can change when new API versions are released and SNAPS no longer is exposing OpenStack object implementations as this makes the library brittle. The only two SNAPS method calls affected are when functest needs to query for external networks and when vPing Userdata needs to obtain the console logs. JIRA: SNAPS-125 Change-Id: If6000e50eaa274713d9a6c964eabd1f73ded684e Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-07-13Fix some issues in cloudify_imsboucherv3-31/+43
- Blocking ssh - Timeout for SCP - Debug in clearwater-ims-base - Flavor with snaps Change-Id: Ib11a4ebf20e698caccbb16920ae7d715f931fc58 Signed-off-by: boucherv <valentin.boucher@orange.com>
2017-07-13Correct odl port for compass installerYifei Xue1-1/+1
For the port 8181 has been used by OSA repo LXC in compass deployment. So we change the port here in functest to 8080. Change-Id: Ia262319f7513497db6e849521de6be6328ec97ba Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-07-12Merge "Add odl configurations for odl testcase in daisy environment"Cedric Ollivier1-0/+4
2017-07-12Add odl configurations for odl testcase in daisy environmentAlex Yang1-0/+4
To support odl testcase in the environment deployed by daisy installer. Change-Id: I70bc668520cf28385fcff8489c773b880e7b4080 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>