summaryrefslogtreecommitdiffstats
path: root/functest
AgeCommit message (Collapse)AuthorFilesLines
2017-09-28Switch to OS_PROJECT_NAMECédric Ollivier2-17/+19
It simply conforms with OpenStack keystone v3. JIRA: FUNCTEST-877 Change-Id: I989a6eb4d8564948927c184a899b62ca763ef824 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 5c178f0d30f0701dee0d0a629023f05edfde338e)
2017-09-28Fix connection error due to invalid lib version usage.Benoit HERARD2-6/+10
Connection timeouts on "requests" objects was developped with requests 2.18 but target runtime is 2.12. Advanced timeout management of 2.18 is not available in 2.12. Change-Id: Ie6d81b91d4bcc0d73cffd007d9e46cdb19e47597 Signed-off-by: Benoit HERARD <benoit.herard@orange.com> (cherry picked from commit 86d5c31424187329f69a7e0efaa9dbe0dac98e56)
2017-09-28Add log details on SDK first connection.Benoit HERARD2-18/+19
On first call to energy recording API, if API is unreachable, SDK don't do anything anymore. This change add logs on error for this first connection. Change-Id: I88892c769d6208c6ddf5d714d438ab584826844e Signed-off-by: Benoit HERARD <benoit.herard@orange.com> (cherry picked from commit 405a0872282f5b29bb9e60ba19b11b17c8047647)
2017-09-25Disable Promise testsuite on Fuel installerCharalampos Kominos1-2/+2
When promise reads API v3.0 from the creds file it automatically uses v2.0. which is deprecated and not used by fuel. Therefore promise is removed from the functest suite JIRA: ARMBAND-314 Change-Id: I22b875c198c1922fd4ddb06c81c05884b5248eb4 Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com> (cherry picked from commit 8c3791f730effbf09fc95ef2bc66ff0d0a37e87b)
2017-09-25Fix creds still used by vrouterroot1-4/+4
1. 'CloudifyVrouter' object has no attribute 'creds' 2. 'CloudifyVrouter' object was still use 'creds' 3. Doing test of modified vyos_vrouter on our labs. Refer to following commit. https://gerrit.opnfv.org/gerrit/#/c/41249/ Change-Id: Id1b4dfa4c35aba9bbb4fd64ef58446d3e99468df Signed-off-by: root <shuya.nakama@okinawaopenlabs.org> (cherry picked from commit 233a9bf775c1e9fe66e588ec45266c15bdb142b1)
2017-09-22Merge "Support https when testing ODL" into stable/euphratesMorgan Richomme2-70/+73
2017-09-22Support https when testing ODLCédric Ollivier2-70/+73
It conforms with the last change on ODL tests [1]. Neutron endpoint is passed via robot args instead of Neutron ip. Keystone url (based on OS_AUTH_URL) is passed too to replace Keystone ip. [1] https://git.opendaylight.org/gerrit/#/c/63293/ Conflicts: docker/restapi/Dockerfile docker/smoke/Dockerfile Change-Id: Ie44f55304a438b1b0289ec69ac2241664be70e80 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit dd99f5356ef08f3a2a1ed18d63492391390df752)
2017-09-21Adding orchestra test cases to orchestra projectMorgan Richomme1-2/+2
Orchestra introduced 2 VNF test cases: * orchestra_openims * orchestra_clearwaterims In the configuration, the 2 projects are still assigned to functest project This patch associate the cases with their real project Change-Id: I81f6d6fb473916f0f91a5b3795b3ed433c283fb4 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 2aa38f32b9ea0cb248f25d52f100240b2a002bc6)
2017-09-21Remove void return value mocks in rally unit testsJuha Kosonen1-27/+16
Change-Id: I369b98fb9120830b1868f438c7da2a039a60d890 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit 31524290992dad02d5ca1e6b17304bf31b56b7f7)
2017-09-21Merge "Remove white space when listing testcases" into stable/euphratesCedric Ollivier1-1/+2
2017-09-20Dedicated flavors for rally testsJuha Kosonen4-3/+79
Create flavors and use them in rally scenarios instead of expecting certain flavors to pre-exist. Change-Id: I77c94ab80fcabd7b80ffb36f9856a48121858009 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit 3b98874f010329198b8c3a13a4711c17a593b9cc)
2017-09-20Fix image name in rally scenariosJuha Kosonen1-6/+6
Change-Id: I0a78a16d44c1e0e0b2edec2e43954c1f08e8bb09 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit a9cb468fae75d4e95689fa9ea02a94a73df95648)
2017-09-20Remove white space when listing testcasesLinda Wang1-1/+2
Change-Id: I2f3c7a9301a6b2dcb03a90175be23223f6a6229a Signed-off-by: Linda Wang <wangwulin@huawei.com> (cherry picked from commit e4ad79cabc3292a1cb0d8642f0c9eddbbc2befd1)
2017-09-20Enable Doctor testcasedongwenjuan1-3/+2
It upates upper-constraints.txt and thirdparty-requirements.txt as doctor-test was renamed to doctor-tests. It installs the doctor packages and its requirements via python3. Then python_version>='3.0' conditions are added to avoid installing them for python2. It also calls the new console scripts and modifies the installer list supporting it. Conflicts: upper-constraints.txt Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Icd855f4534d9d9591165e99aa0eed6b1030018e0 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 1e1fba3aa18ebcbff6746586654805a44e88e9fe)
2017-09-19Add swagger support for Rest APILinda Wang18-0/+475
JIRA: FUNCTEST-854 Change-Id: Ic010604d3ba0cc46092cf2a1ae8bb41afa73c920 Signed-off-by: Linda Wang <wangwulin@huawei.com> (cherry picked from commit b621b6b4b70299a60ad3e26ed6b04450f84b603e)
2017-09-19Merge "Return Functest status to Jenkins" into stable/euphratesCedric Ollivier2-11/+21
2017-09-19Merge "Enable Domino testcase" into stable/euphratesCedric Ollivier1-1/+0
2017-09-19Merge "Remove securityscanning testcase" into stable/euphratesCedric Ollivier1-17/+0
2017-09-19Merge "Remove useless enabled: true in testcases.yaml" into stable/euphratesCedric Ollivier1-2/+0
2017-09-19Return Functest status to JenkinsCédric Ollivier2-11/+21
It avoids mixing Functest and Features CI issues by simply exiting the status of Functest testcases. The result of third-party testcases are printed into console but are no longer taken into account into the global status. Change-Id: I040ff54780db2ddb6d81993839fee09f5e472323 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 516d1bd7811f5751d796748ddd52f798bbd5a40f)
2017-09-19Enable Domino testcaseCédric Ollivier1-1/+0
Domino is part of the OPNFV projects released for E [1]. As now Domino is ready for Functest integration (package and requirements), the testcase can be enabled. If the testcase fails, the issues should be related to Domino. [1] https://lists.opnfv.org/pipermail/opnfv-tech-discuss/2017-September/017951.html Change-Id: I26f3d3ae338def0f77c46c2cbda1baf3d55c1a41 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 555ac3f8656004d469c04370448a8a46f8a1418d)
2017-09-19Remove securityscanning testcaseCédric Ollivier1-17/+0
As the project is no longer released [1], security_scan is removed from testcases config files. It stops installing the related python package too. [1] https://lists.opnfv.org/pipermail/opnfv-tech-discuss/2017-September/017951.html Conflicts: upper-constraints.txt Change-Id: Ieb9ff4c2975fbf2c85b875a088b0ec18503a3722 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 59999eb2f2bf3b28c50a9b75fc551192450d28e3)
2017-09-19Remove useless enabled: true in testcases.yamlCédric Ollivier1-2/+0
Change-Id: Ief2f4f580b4daef74e64d203fa1fc2be8f7e50c7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 955706810fa3c9adb153bf581c703ec473b57a56)
2017-09-19Enable parser testcaseshangxdy0-0/+0
Currently parser tescase in functest disabled, it's neccessary to enable it since we have tested successfully with the installers of fuel, apex and daisy. Change-Id: Ic3995cec813cc41c897b9c600b90d1fbbe8a74e2 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn> (cherry picked from commit 734cb4d6d66b2fa638e82d366d480404997e005e)
2017-09-18increase timeout of NFVO installationMichael Pauls2-16/+16
some pods are less powerful and require more time for the installation of the orchestrator Change-Id: Iebd39c0ef8f3dcfa7fecb1e507b2f05890b5c490 Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de> (cherry picked from commit f7348cba120c5bd2f4df51b1a290bea4c0d01a61)
2017-09-15Merge "Bug fix: wrong dependency filter for lxd scenarios"Morgan Richomme1-2/+2
2017-09-15Merge "Refactor resource creation and cleanup in rally"Cedric Ollivier3-71/+137
2017-09-15Bug fix: wrong dependency filter for lxd scenariosMorgan Richomme1-2/+2
lxd scenario cannot run all the api_check tests, a regex has been set but on the wrong dependency (installer instead of scenario) Change-Id: I313e8d1ed3fa30488c100549f574a0cded08768f Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-15Refactor resource creation and cleanup in rallyJuha Kosonen3-71/+137
Use SNAPS to create and delete resources. Change-Id: Ic4d390382acea2be196e8a7518cb8cce25276a45 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2017-09-15Enable tempest run concurrentlyLinda Wang2-8/+20
Append a guid to the end of names of resources created for tempest, including project, user, network, images and flavors. Change-Id: I01fc7c5cb45cd5724a99ba1d220c3f3f7d6639cf Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-09-14Merge "New testcase creation named "cloudify_ims_perf""Cedric Ollivier11-1/+18067
2017-09-14New testcase creation named "cloudify_ims_perf"boucherv11-1/+18067
* IMS deployment with "cloudify_ims" testcase * IXIA infrastructure creation with SNAPS * Module configuration with REST API * Configure and run the perf tests with REST API Change-Id: I3dfddda87f9e9f4f03df375f6a032ded26a627b3 Signed-off-by: boucherv <valentin.boucher@orange.com> Co-Authored-By: Arturo Sordo Miralles <asordo@ixiacom.com>
2017-09-14Merge "Allow reading log file with byte offset"Cedric Ollivier1-1/+5
2017-09-13Allow reading log file with byte offsetLinda Wang1-1/+5
Change-Id: I8cd6acef66d798fa43e20ca9d885dcbaa99a5b42 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-09-13Disable urllib3 warningsLinda Wang5-4/+9
1. When running in compass OSA, lots of SubjectAltNameWarnings are shown in console, so just disable the warnings here. See https://github.com/shazow/urllib3/issues/497 for details 2. Redirect warnings issued by the warnings module to the logging system via logging.captureWarnings(True) 3. But urllib3 warning is still there for two cmds about rally/tempest. Change-Id: Ic22cf8e2babc10c9d55a7ed46b841312a4e430a7 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-09-12Merge "Fix some errors about getting tiers resources"Jose Lausuch1-6/+8
2017-09-12Merge "set marketplace port to 8080 for NFVO"Morgan Richomme2-4/+8
2017-09-12Merge "Re-enable orchestra tests (VNF)"Cedric Ollivier3-4/+3
2017-09-12Fix some errors about getting tiers resourcesLinda Wang1-6/+8
Change-Id: I95cf1cb453e30875498d4dfbbe15f19452c48df1 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-09-11set marketplace port to 8080 for NFVOMichael Pauls2-4/+8
Change-Id: I336b54e63fcb4a7e64f139628536f334c86b1745 JIRA: ORCHESTRA-17 Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
2017-09-11Fix bug in cloudify_ims: no return codeboucherv1-1/+1
Change-Id: I89ab2f9b57d9f4710201af5852aa12925f122079 Signed-off-by: boucherv <valentin.boucher@orange.com>
2017-09-11Remove volume type handlingJuha Kosonen5-176/+4
Rally scenarios don't require volume type to exist as a precondition. Change-Id: Id735346e062af084635fd8f76f3686005b9b8add Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2017-09-11Re-enable orchestra tests (VNF)Morgan Richomme3-4/+3
"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-11Merge "Allow live migration related tests to run"Cedric Ollivier2-1/+2
2017-09-11Merge "Remove Parser from the former Container"Cedric Ollivier1-17/+0
2017-09-11Allow live migration related tests to runLinda Wang2-1/+2
For tempest or rally, if there are more than 1 compute node, live migration related tests should not be skipped or blacklisted if shared storage is enabled via ceph. Change-Id: Ic93e4f508b597c657abe8d246f0cf9c2b5dfd020 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-09-11Merge "Remove get_repo_tag"Cedric Ollivier2-22/+0
2017-09-09Remove Parser from the former ContainerCédric Ollivier1-17/+0
A dedicated Alpine container has been built for running the Parser testcase as it requires stable/pike instead of stable/ocata. Change-Id: Ifece75c64c1ed860eca7d0524ca581f41fc89276 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-08Merge "Exclude api_check on lxd scenarios"Morgan Richomme1-1/+1
2017-09-08Merge "Fix pylint errors in test_refstack_client"Cedric Ollivier2-29/+29