summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-23Merge "Refactor resource creation and cleanup in Tempest"Morgan Richomme9-274/+485
2017-08-23Merge "Updating the constrains for the Barometer test-suite"Cedric Ollivier2-14/+12
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 Ollivier3-11/+13
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 Ollivier5-77/+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-21Euphrates cleaning: remove any reference to aaa vnfMorgan Richomme5-77/+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>
2017-08-21Merge "Remove opera testcase as Opera is inactive"Morgan Richomme5-151/+0
2017-08-21Merge "Remove the tenant and user created for tempest"Cedric Ollivier3-48/+0
2017-08-21Remove opera testcase as Opera is inactiveCédric Ollivier5-151/+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-21Create API to run a test caseLinda Wang14-36/+353
Two APIs are created here: 1. Run a test case 2. Get the result of the task id JIRA: FUNCTEST-853 Change-Id: I12950933b143b82fb6aeb186ea1b35ddd16e6097 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-20Complete the container opnfv-vnfCédric Ollivier2-1/+44
It adds the following testcases: - aaa - orchestra_openims - orchestra_clearwaterims opera_vims is not yet integrated as it depends on Opera [1] and its package must be fixed before being installed in Functest [2]. vyos_vrouter will be added when a package is available for installing opnfv-functest-vrouter [3]. [1] https://wiki.opnfv.org/display/OPERA/Opera+Home [2] https://git.opnfv.org/opera/tree/requirements.txt [3] https://github.com/oolorg/opnfv-functest-vrouter Change-Id: Iccd4626ec29c1e9eb1c2accc81fdf1a9ae1e613f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-20Fix ci_loop conditions for vnfCédric Ollivier2-2/+2
Weekly jobs should run all tests (vnf included). Change-Id: I25b43654d48e9ae5df5c18fd565423a310d4c68b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-20Allow defining CI_LOOP via envCédric Ollivier1-1/+2
CI_LOOP is more human-readable than BUILD_TAG and could be set by env. Weekly is still the default value even if it can be considered than daily is more relevant. Change-Id: Ia8e370fe0f967ba2c83d0212f8e045d815b4ddb3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-20Merge "Integrate cloudify_ims in functest-features"Cedric Ollivier6-19/+46
2017-08-19Updating the constrains for the Barometer test-suiteCalin Gherghe2-14/+12
The patch switches the tests for Apex, which is the only Installer supported by the Barometer project for the OPNFV Euphrates Release. Change-Id: Ic064a41402bc4f27280f8d5e408d59ad41f888bc Signed-off-by: Calin Gherghe <calin.gherghe@intel.com>
2017-08-18Create API to update openrcLinda Wang5-26/+54
API: /api/v1/functest/openstack/action METHOD: POST PARAMS: { "action": "update_openrc", "args": { "openrc": { "OS_AUTH_URL": "http://192.168.30.222:5000/v3", "OS_IDENTITY_API_VERSION": "3", "OS_IMAGE_API_VERSION": "2", "OS_PASSWORD": "console", "OS_PROJECT_DOMAIN_NAME": "default", "OS_PROJECT_NAME": "admin", "OS_TENANT_NAME": "admin", "OS_USERNAME": "admin", "OS_USER_DOMAIN_NAME": "default" } } } JIRA: FUNCTEST-855 Change-Id: I7c935483c264f2b1b47239684392c8a37dc23d26 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-18Remove the tenant and user created for tempestLinda Wang3-48/+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 Ollivier6-19/+46
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 "Fix summary in run_tests.py"Cedric Ollivier1-6/+12
2017-08-18Fix summary in run_tests.pyCédric Ollivier1-6/+12
It fixes summary() when several tests have not been executed after a blocking test in failure. Change-Id: I3c0af4c8083ffa76f786756d409c09e018bbecc8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-18Merge "Put domain name in CONST"Juha Kosonen1-0/+2
2017-08-18Merge "Switch to blocking: false for ODL in functest-smoke"Cedric Ollivier1-1/+1
2017-08-18Merge "Remove multisite support"Morgan Richomme14-210/+1
2017-08-18Put domain name in CONSTAlex Yang1-0/+2
Domain name is not obtained in source_rc_file() but used in the patch https://gerrit.opnfv.org/gerrit/#/c/39109/. Change-Id: Iceaf352f7ad5e15f15906f0e3aa1c5ab5ae30a42 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-08-18Remove multisite supportJuha Kosonen14-210/+1
JIRA: FUNCTEST-866 Change-Id: I55a4416688b2aca0897910cac69b33e154e73095 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2017-08-17Switch to blocking: false for ODL in functest-smokeCédric Ollivier1-1/+1
It completes the previous change vs the former container [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/39271/ Change-Id: Ie0e55e859e550de9ffb30ce1e6f03859e6869332 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-17Disable temporarily Doctor from FunctestMorgan Richomme1-0/+1
The test case is currently failing whatever the scenario/installer It is misleading for some scenarios (e.g. barometer) As it is systematically failing for the moment, it makes more sense to disable the test rather than complexify regex constraints The test case will be reenabled when the following points will be fixed: - Python 3 support (pending question to Release Manager) - packaging OK: pending patches [1] [2] (need merge of [1]) - remove packet installation in run [1] https://gerrit.opnfv.org/gerrit/#/c/38177/ [2] https://gerrit.opnfv.org/gerrit/#/c/38053/ Change-Id: Ic06786f0d516f1702dc44dc521ba8ca810ee76f9 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-08-17Merge "add orchestra_clearwaterims testcase"Morgan Richomme8-192/+1160