summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-10-05Live migration support determination in rallyJuha Kosonen2-27/+35
Live migration test cases were excluded if tempest was not executed before rally since tempest config file is created during the execution of tempest. Remove the dependency to config file and define the support based on the number of computes as done in tempest. Change-Id: I57c18b7c57e6a4bc8bfbdfb4beb5f8d67c6269c4 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit da2f6a0aabf3b5473e1d2d3f55a5f6c9bb6c8559)
2017-10-03Merge "Select euphrates zip in cloudify_ims*.yaml" into stable/euphratesCedric Ollivier2-2/+2
2017-10-03Merge "Create a router in both vping scenarii" into stable/euphratesCedric Ollivier2-19/+17
2017-10-03Merge "Report duration and result when vping fails" into stable/euphratesCedric Ollivier1-1/+3
2017-10-03Select euphrates zip in cloudify_ims*.yamlCédric Ollivier2-2/+2
Co-Authored-By: valentin boucher <valentin.boucher@orange.com> Change-Id: Ie7c3d10952662888718c70a3f8055ebca9e85d4d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-10-03Merge "Disable vyos_vrouter" into stable/euphratesCedric Ollivier2-0/+2
2017-10-03Merge "Fix timeout for socket connection" into stable/euphratesJose Lausuch1-13/+8
2017-10-03Create a router in both vping scenariiCédric Ollivier2-19/+17
It fixes vping_userdata as it allows getting metadata due to the gateway defined for the subnet. It could be noted that DHCP can add the route needed if no gateway is defined and if force_metadata is set in dhcp_agent.ini. Change-Id: Ia62e0f00e3d2caee6262dd9cd9966d1f21fe40d5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a691a8c2868d3f8af531e0bff513023c3a704aaf)
2017-10-03Report duration and result when vping failsCédric Ollivier1-1/+3
It completes "Bug fix: vping_userdata test status was not properly reported" [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/43911/ Change-Id: I7e8be6cd564a24ca174e63cfc295861c51cae8ed Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 5ffb995c110be39364535f56c86c46d092b8cea0)
2017-10-03Disable vyos_vrouterCédric Ollivier2-0/+2
It's postponed to 5.1. Change-Id: Ic06d47b4b5df167044363b40aea0c7932b550be7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit ef034e78a6a3cfe90da77a60ae88d0d6bfddfb2e)
2017-10-03Add icmp rules for clearwaterims caseMichael Pauls1-0/+10
icmp rules must be enabled since a ping is used internally to check that other components are up and reachable Change-Id: I1ae3c301f30455c57193ddfe1757e971f5612c18 Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de> (cherry picked from commit 4a27c90843abd3a8d002e37f0f9f22307f2ec9fc)
2017-10-03Fix timeout for socket connectionLinda Wang1-13/+8
Change-Id: I0688761ba7224f40f79310295efadd9b40bfeefb Signed-off-by: Linda Wang <wangwulin@huawei.com> (cherry picked from commit 112e652af2b2f61192d3f1bd903522a14be06b94)
2017-10-02Bug fix: vping_userdata test status was not properly reportedMorgan Richomme1-1/+1
vping_base is calling vping_userdata vping_user data could return only EX_TESTCASE_FAILED or EX_OK by default vping_base always returns EX_OK (based on self.result=100..) it returned EX_RUN_ERROR only if upper class report EX_RUN_ERROR that is why vping_userdata was always PASS even if the trace "Ping OK" cannot be retrieved from the Nova console it seems that when running the vping_userdata, we systematically got Failed to read iid from metadata Change-Id: If72441dd93bffada5c7a5399c87db68d7ebeebed Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit e36a14f6db0bc5ac93469bb553810de506f29bef)
2017-10-02Add ${DOCKER_TAG} in Docker hooksCédric Ollivier6-6/+6
It eases creating Docker images based on branches or tags. Conflicts: docker/components/hooks/post_checkout docker/features/hooks/post_checkout docker/healthcheck/hooks/post_checkout docker/restapi/hooks/post_checkout docker/smoke/hooks/post_checkout docker/vnf/hooks/post_checkout Change-Id: Id84513c53cad72a1fcd0debf06579481609b8bc2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 29647efa114151d53ede5ba2d989593992c0b29f)
2017-10-02Enable promise on all fuel and joid scenariiCédric Ollivier1-2/+2
Change-Id: I9735788fbbe715968560570543d1dc9d55e065b7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 36b648a6e928ac0819a607cd2231faa803418b7a)
2017-10-01remove icmp rules from secgroupsMichael Pauls2-50/+0
Change-Id: I8f7d2170eee9777be6455d38eaff703338b155fa Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de> (cherry picked from commit c93ae73855ba928eb6661ac2468c5a0bae7c5506)
2017-10-01Remove tempest_custom from testcases configsCédric Ollivier2-37/+1
Change-Id: I1237eaada5257a8c01753837a5820d840b51bff1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a8f1d8ea374c9538b1d7a223116d8d7d9b783c89)
2017-09-30Fix userdata issue for vping and orchestraLinda Wang4-6/+6
1. When creating VM, the type of the param userdata should be str, to conform with that in snaps [1]. 2. Remove the infinite loop for vping in userdata 3. Fix the criteria for vping_userdata and vping_ssh [1]: https://git.opnfv.org/snaps/tree/snaps/openstack/utils/nova_utils.py#n92 Change-Id: I262a7ebb93ec90bb6f8f3acb5d564f210abcfc4b Signed-off-by: Linda Wang <wangwulin@huawei.com> (cherry picked from commit 5a24cb4a7db33e693a063f5c2a66406283aa5cfb)
2017-09-29Force python2 when creating venv for refstackLinda Wang1-1/+1
python3 has been selected since it was installed for doctor [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/41823/ JIRA: FUNCTEST-875 Change-Id: I942122b46dc0ebe594306877f5a0350f876d7c01 Signed-off-by: Linda Wang <wangwulin@huawei.com> (cherry picked from commit f36d607e1b8f7660bbcb4c06d589d4eeb76158e3)
2017-09-28Merge "Fix connection error due to invalid lib version usage." into ↵Cedric Ollivier2-6/+10
stable/euphrates
2017-09-28Merge "Add log details on SDK first connection." into stable/euphratesCedric Ollivier2-18/+19
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-27Add post_push hooksCédric Ollivier8-0/+64
It allows creating the stable tags as allowed by Docker hub [1]. [1] https://github.com/docker/hub-feedback/issues/341 Change-Id: I84909b20fc8b926eb5414db7d57100aaa6060f84 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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 Richomme5-73/+76
2017-09-22Support https when testing ODLCédric Ollivier5-73/+76
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 Richomme2-4/+4
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-21Merge "Dedicated flavors for rally tests" into stable/euphratesCedric Ollivier4-3/+79
2017-09-21Merge "Fix image name in rally scenarios" into stable/euphratesCedric Ollivier1-6/+6
2017-09-21Merge "Remove restriction to fuel on vyosvrouter case in Alpine" into ↵Cedric Ollivier1-1/+1
stable/euphrates
2017-09-21Remove false hooks for functest-parserCédric Ollivier1-6/+0
Change-Id: I58f186b249083fc13e4bcfc4e933fd11f5d4b20e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 47c049623b07dd563218959ad59c0e027a354836)
2017-09-20Add python3-dev and python3-pip in former DockerfileCédric Ollivier1-1/+4
Otherwise the former container cannot be built as Doctor requires a full updated python3 env. Change-Id: Ic90c13abad33e7cb15e7e51dcaac83b9ddf3930b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 95ffa691887b35cd60d287f13d8633094110d78e)
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 restriction to fuel on vyosvrouter case in AlpineMorgan Richomme1-1/+1
It was done in old docker but not reported in Alpine Change-Id: I3479ad996b64187f58e97cc3b4a4b2ceefeec287 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 55b11d41b5d96e159c4abf3df6c03245d4f737dc)
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 testcasedongwenjuan9-10/+22
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 Wang20-0/+477
JIRA: FUNCTEST-854 Change-Id: Ic010604d3ba0cc46092cf2a1ae8bb41afa73c920 Signed-off-by: Linda Wang <wangwulin@huawei.com> (cherry picked from commit b621b6b4b70299a60ad3e26ed6b04450f84b603e)
2017-09-19Update Docker hooksCédric Ollivier7-7/+7
It takes euphrates into account in Docker tag name. Change-Id: Id455152655c8174b7cab9780c27d923f33173f28 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-19Merge "Select ansible 2.3.2.0" into stable/euphratesCedric Ollivier1-0/+1
2017-09-19Merge "Return Functest status to Jenkins" into stable/euphratesCedric Ollivier2-11/+21
2017-09-19Merge "Enable parser testcase" into stable/euphratesCedric Ollivier1-2/+1
2017-09-19Merge "Enable Domino testcase" into stable/euphratesCedric Ollivier2-2/+0
2017-09-19Merge "Remove securityscanning testcase" into stable/euphratesCedric Ollivier6-38/+0
2017-09-19Merge "Remove useless enabled: true in testcases.yaml" into stable/euphratesCedric Ollivier2-4/+0