aboutsummaryrefslogtreecommitdiffstats
path: root/functest
AgeCommit message (Collapse)AuthorFilesLines
2017-08-25Merge "Create API to get log for each task"Morgan Richomme4-5/+68
2017-08-25Merge "Create API to update hosts info"Morgan Richomme2-3/+43
2017-08-25Merge "download_images.sh: add --keep option to avoid redownloading images"Cedric Ollivier1-3/+1
2017-08-25download_images.sh: add --keep option to avoid redownloading imagesMorgan Richomme1-3/+1
Change-Id: Id25f1a354ffd067ba926dc67907b6ca913999437 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-08-25Updated sfc section in testcasesManuel Buil1-3/+3
That section had an old scenario name which resulted in errors when sfc functests tests needed to be executed Change-Id: Ie35bb0d97c3d6cad6a97137355f146e8d20a40b9 Signed-off-by: Manuel Buil <mbuil@suse.com>
2017-08-25Merge "Fix args parsing in run_tests"Linda Wang1-2/+2
2017-08-25Fix args parsing in run_testsLinda Wang1-2/+2
By default, 'report' and 'noclean' are both False, so self.clean_flag shoule be True and self.report_flag should be False. Change-Id: I4935f70bd124fbb996dcaa73e01e0e61cd0184e1 Signed-off-by: Linda Wang <wangwulin@huawei.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-25Create API to update hosts infoLinda Wang2-3/+43
API: /api/v1/functest/envs/action METHOD: POST PARAMS: { "action": "update_hosts", "args": { "identity.ac.dz.com": "8.20.11.22", "image.ac.dz.com": "8.20.11.22" } } JIRA: FUNCTEST-856 Change-Id: Ifaf064110ade6e39189dd14b38c921d9e1c3568d Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-25Create API to get log for each taskLinda Wang4-5/+68
API: /api/v1/functest/tasks/<task_id>/log METHOD: GET JIRA: FUNCTEST-867 Change-Id: I987cbf662e4da349bf7583e48da5d981a2f1e0fd Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-24Merge "Obtain pod_name by CONST instead of get function"Morgan Richomme4-62/+18
2017-08-24Merge "Prevent KeyError during main args parsing"Cedric Ollivier1-3/+3
2017-08-24Merge "Patch Read aarch64 architecture"Morgan Richomme1-1/+1
2017-08-24Patch Read aarch64 architectureDelia Popescu1-1/+1
Architecture is exported as POD_ARCH Change-Id: I62631c165d1805163204a83d6019a4a3b0000855 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2017-08-24bug fix download_images.shMorgan Richomme1-1/+1
when xz the downloaded file, if the uncompressed target file already exists it exits with status 1 and breaks the gate Change-Id: Ie97ff34e6522af48c799e7c8c97dc3310222e683 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-08-24Merge "Added means to override the RC file credentials."Linda Wang4-6/+34
2017-08-24Merge "Fix the tempest error when creating snapshot"Cedric Ollivier5-33/+27
2017-08-24Fix the tempest error when creating snapshotLinda Wang5-33/+27
Change-Id: I9682f174a835d2bdf1ef3da01e369037e5ad7247 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-24Prevent KeyError during main args parsingMartin Kulhavy1-3/+3
Change-Id: Ia340c79c82b891e921379c7c0186eaa238117b13 Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.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-23Download images from marketplace.openbaton.org:8082Cédric Ollivier1-3/+1
LF admins opened port 8082. Change-Id: I57a2beff32f0a346855968c4229dae4487ccbd85 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-23Merge "Refactor resource creation and cleanup in Tempest"Morgan Richomme9-274/+485
2017-08-23Merge "Updating the constrains for the Barometer test-suite"Cedric Ollivier1-7/+6
2017-08-23Merge "AArch64: SNAPS: CentOS, Ubuntu image config"Cedric Ollivier2-0/+12
2017-08-23Refactor resource creation and cleanup in TempestMartin Kulhavy9-274/+485
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 "Read aarch64 architecture"Cedric Ollivier1-1/+1
2017-08-23Read aarch64 architectureDelia Popescu1-1/+1
Read aarch64 architecture from env variable exported by changes from patch https://gerrit.opnfv.org/gerrit/#/c/38689/ Change-Id: If0fc94e8fe67871b94934c305c019b57872ecb07 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2017-08-23Merge "Fixes image download script"Morgan Richomme1-2/+8
2017-08-23Merge "Complete caching images for vnf testcases"Morgan Richomme3-17/+14
2017-08-23AArch64: SNAPS: CentOS, Ubuntu image configCatalina Focsa2-0/+12
Change-Id: I8cbbfda7dd4089c122af4e0a459f4c03c1a3bb3a Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
2017-08-23Merge "Add the skipped testcases into details"Cedric Ollivier1-2/+5
2017-08-23Merge "Specify physical_network when creating network"Cedric Ollivier2-4/+26
2017-08-23Fixes image download scriptTim Rozet1-2/+8
Fixes Include: - Fix previous behavior where multiple copies of the same file would be downloaded as blah.qcow.1, blah.qcow.2 and not overwrite original file. - Fix issue where files were always downloaded, even when they were not different from server version. It temporarily stops downloading from marketplace.openbaton.org:8082 which is blocked by LF firewalls. wget options are tuned to avoid wasting jjobs time. Change-Id: I9191847a3f80045329c160e86655cc0a0e80831c Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-23Merge "Config test_accounts_file for refstack_defcore"Cedric Ollivier3-13/+125
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-22Merge "Give a list of links to wget"valentin boucher1-60/+15
2017-08-22Config test_accounts_file for refstack_defcoreLinda Wang3-13/+125
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-22Merge "Euphrates cleaning: remove any reference to aaa vnf"Cedric Ollivier4-61/+0
2017-08-22Specify physical_network when creating networkLinda Wang2-4/+26
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-21Merge "Create API to update openrc"Linda Wang2-0/+42
2017-08-21Merge "Create API to run a test case"Linda Wang14-36/+353
2017-08-21Merge "Specify valid external network as an env"Linda Wang1-1/+8
2017-08-21Added means to override the RC file credentials.spisarski4-6/+34
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 Richomme4-61/+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-21Give a list of links to wgetCédric Ollivier1-60/+15
Now download_images.sh simply relies on wget -i. It downloads all requirements as the biggest ones are mandatory or scenario independent (VNF) The offical ubuntu-16.04-server-cloudimg-amd64-disk1.img is selected instead of the one hosting by OPNFV SDNVPN. Change-Id: Ica566bb351f22dfba001678fe93b8a2b1523941a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>