summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-22Merge "Euphrates cleaning: remove any reference to aaa vnf"Cedric Ollivier5-77/+0
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-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
2017-08-17Merge "Use separate timeouts for connection and reading."Morgan Richomme1-5/+6
2017-08-17Specify valid external network as an envLinda Wang1-1/+8
In some deployments, the retrieved external network by the def get_external_net checked by "router:external" is not available. So it is necessary to specify the available external network as an env by user for some deployments. JIRA: FUNCTEST-865 Change-Id: I561bc7d57e06214516a4cdbebd67632cd9746fba Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-17Merge "API proposal for functest"Cedric Ollivier22-32/+585
2017-08-17Merge "Clean run_tests.py and the related ut"Cedric Ollivier5-229/+183
2017-08-17Merge "Update ODL tag to release/carbon"Cedric Ollivier2-2/+2
2017-08-17API proposal for functestLinda Wang22-32/+585
1. Propose a basic framework for API 2. And these functions have been realized: 1) Show environment 2) Prepare Environment 3) Show credentials 4) List all testcases 5) Show a testcase 6) List all tiers 7) Show a tier 8) List all testcases within given tier JIRA: FUNCTEST-843 Change-Id: Ib961446708077b56465eda0052f6d38806b62594 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-17Merge "Fix domain in tenant creation"Juha Kosonen2-1/+29
2017-08-17Merge "Obtain build_tag by CONST instead of get function"Linda Wang2-47/+14
2017-08-17Merge "Remove timestamp in the details for tempest"Linda Wang3-9/+9
2017-08-17Merge "Switch to blocking: false for ODL testcase"Cedric Ollivier1-1/+1
2017-08-17Switch to blocking: false for ODL testcaseNikolas Hermanns1-1/+1
ODL basic suite doesn't support Keystone v3 [1] and then the related testcase should not block the testing till it's fixed. [1] https://jira.opnfv.org/browse/FUNCTEST-862 Change-Id: Ib9c92c5ff37ab720bdfc311df834f18bac39daa7 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-08-17Merge "Fully integrate promise in functest-features"Cedric Ollivier2-1/+20
2017-08-16Clean run_tests.py and the related utCédric Ollivier5-229/+183
It enhances run_tests.py as proposed in [1]. It also prints all skipped tests in summary and fixes copyright headers. All the related unit tests have been updated too. [1] https://jira.opnfv.org/browse/FUNCTEST-832 JIRA: FUNCTEST-832 Change-Id: I59b96422bc7942ecd6270c45ab7a3fb603c13ccb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-16Update ODL tag to release/carbonCédric Ollivier2-2/+2
Change-Id: I82a5bdaeff5de74f11cd210f6437c720d0ee8aee Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-16Merge "Remove copper refs"Cedric Ollivier9-45/+3
2017-08-16Merge "Remove netready refs"Cedric Ollivier10-44/+1
2017-08-16Merge "Update promise upper constraint"Cedric Ollivier1-1/+1
2017-08-16Use separate timeouts for connection and reading.Benoit HERARD1-5/+6
Use a short timeout for connection timeout to avoid to slow down testcase when remote recording API is not available and use a longer one to read data from API on successfull connections. Change-Id: I743c02f890059bf55b47cb4240d52fe0741f7cae Signed-off-by: Benoit HERARD <benoit.herard@orange.com>
2017-08-16Revert "Enable parser project"Cedric Ollivier1-0/+1
This reverts commit 39e2116d5ff360dae7159f5557caa2b2a46c48b2. Change-Id: I7c0b63b22c5cf6e9fa2ee1f182abad96a3931098 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>