aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests
AgeCommit message (Collapse)AuthorFilesLines
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-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-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>
2017-09-01Add UEFI support in functestCatalina Focsa1-1/+6
Add extra properties to the cirros image for ARM architecture. In the glanceclient repository, the create method expects **kwargs as parameters, thus an extra_properties variable containing a dictionary of property-value pairs can be added (if given) to the image to be created. If the properties do not appear, the call should not affect the image properties because the dictionary is initialized as empty. Change-Id: I690da90e6c6f250bd0a3d99cce39aa250e19b9c2 Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
2017-08-31Merge "Make the vnf images public"Morgan Richomme2-2/+4
2017-08-31Blacklist CeilometerEvents testsJuha Kosonen1-0/+10
Ceilometer Events API is deprecated and removed in ocata. Panko provides the API but is not yet supported by OPNFV installers. Change-Id: I4bf29ca9371fa87a43df3ce32ac206a5e9363468 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2017-08-30Make the vnf images publicAlex Yang2-2/+4
Openims and clearwaterims use the same ubuntu image. If the image was createed by the openims without 'public', clearwaterims won't create it again but cannot use the image and report 'Not Found' error [1]. Change-Id: Ib691af2992b1de2a13f54bfa46754afba6152fd9 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-08-29Merge "Put vnf_test pass if more than 80% of vnf test result are OK"Cedric Ollivier1-8/+19
2017-08-29Put vnf_test pass if more than 80% of vnf test result are OKboucherv1-8/+19
Change-Id: I1042176c587ef2bf1197c724cb5b1b6d67ffba3d Signed-off-by: boucherv <valentin.boucher@orange.com>
2017-08-29Refactor the vyos_vrouter to adopt VNF abstractionShuya Nakama14-34/+1707
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-29Merge "Clean repo: mano directory not used"Cedric Ollivier1-27/+0
2017-08-28Merge "Obtain scenario by CONST instead of get function"Cedric Ollivier3-6/+4
2017-08-28Avoid exiting when snapshot initialization failedLinda Wang2-10/+16
Change-Id: Ia8162d6c64847090d94f97fdab92cad2b5f059f1 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-28Clean repo: mano directory not usedMorgan Richomme1-27/+0
Initially this folder was plan to perform tests on mano framework Mano framework are integrated through vnf but there is no specific mano suite to test mano framework Change-Id: I636a228729d4140d69214dba98055eeb14419854 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-08-28Obtain scenario by CONST instead of get functionLinda Wang3-6/+4
JIRA: FUNCTEST-763 Change-Id: Ic9fa3243b50a09de8a5e531fed8298997367dd84 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-28Merge "Add log info of refstack tests into functest.log"Morgan Richomme1-0/+8
2017-08-26Add log info of refstack tests into functest.logLinda Wang1-0/+8
Change-Id: I9edf555ba17b491768fbe298e65c3b11b341d76e Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-25Remove Onos in FunctestMorgan Richomme14-2021/+0
No feedback from onos projects for Euphrates for MS6 Change-Id: I8d295c65e4b621df87752e15b5f41e04a80b32ca Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-08-25Fix the config of vping netLinda Wang1-3/+3
Change-Id: I71cea850985c67cf4c4e42a29600f9d63291fc94 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-24Merge "Added means to override the RC file credentials."Linda Wang2-2/+13
2017-08-24Merge "Fix the tempest error when creating snapshot"Cedric Ollivier3-17/+23
2017-08-24Fix the tempest error when creating snapshotLinda Wang3-17/+23
Change-Id: I9682f174a835d2bdf1ef3da01e369037e5ad7247 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-24Merge "Add Rally scenarios for telemetry"Morgan Richomme5-2/+743
2017-08-24Add Rally scenarios for telemetryMartin Kulhavy5-2/+743
Ceilometer scenarios were added. Reasons for testcase blacklisting: - Deprecated ceilometer client used by Rally. This depends on the confuguration of the system, currently it seems to affect all installers. - A bug in ceilometer client (already fixed and merged in OpenStack repository). JIRA: FUNCTEST-849 Change-Id: I0bd7e1e9817538165b7b9705bcec213d7d275359 Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
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>