aboutsummaryrefslogtreecommitdiffstats
path: root/functest
AgeCommit message (Collapse)AuthorFilesLines
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>
2017-08-21Merge "Remove opera testcase as Opera is inactive"Morgan Richomme3-149/+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 Ollivier3-149/+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 Ollivier1-1/+1
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 Ollivier1-1/+1
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 Ollivier2-2/+1
2017-08-19Updating the constrains for the Barometer test-suiteCalin Gherghe1-7/+6
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 Ollivier2-2/+1
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 "Remove multisite support"Morgan Richomme7-199/+0
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 Kosonen7-199/+0
JIRA: FUNCTEST-866 Change-Id: I55a4416688b2aca0897910cac69b33e154e73095 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.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-17Obtain pod_name by CONST instead of get functionLinda Wang4-62/+18
JIRA: FUNCTEST-763 Change-Id: Id334745a1eac8b933d77f9cb36a506a02366d760 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-17Merge "API proposal for functest"Cedric Ollivier19-32/+581
2017-08-17Merge "Clean run_tests.py and the related ut"Cedric Ollivier5-229/+183
2017-08-17API proposal for functestLinda Wang19-32/+581
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-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-16Merge "Remove copper refs"Cedric Ollivier1-17/+0
2017-08-16Merge "Remove netready refs"Cedric Ollivier1-17/+0
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>
2017-08-15Fix domain in tenant creationJuha Kosonen2-1/+29
Use the ID of the domain when creating a tenant on keystone v3. Change-Id: Ic415237e2bb2d537f07ab2245816a575f977aaa0 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2017-08-15Obtain build_tag by CONST instead of get functionLinda Wang2-47/+14
JIRA: FUNCTEST-763 Change-Id: I86b0b515a3d51df20a35c2aeb461a95d0c5797fd Signed-off-by: Linda Wang <wangwulin@huawei.com>