aboutsummaryrefslogtreecommitdiffstats
path: root/functest
AgeCommit message (Collapse)AuthorFilesLines
2017-03-01Unit tests added for openstack/tempestashishk19944-5/+371
_parse_verification_id method is removed as it is not used anywhere Change-Id: Ia2bc75ffbc2527b04cbe2428e2a3822803bde215 Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
2017-03-01Merge "config_functest support muiltilevel query"Morgan Richomme1-8/+12
2017-03-01Merge "Add custom tempest test."Helen Yao3-3/+23
2017-02-28Merge "Add aarch64 custom config"Jose Lausuch3-36/+88
2017-02-28Merge "Add domino testcase"Morgan Richomme1-0/+12
2017-02-27Add aarch64 custom configCristina Pauna3-36/+88
In order to run functest on an aarch64 POD, some custom configuration is needed. Up until now that custom configuration was put on the arm jenkins slave. With this commit it is integrated in functest project. 1. In order to identify if the POD is aarch64 or x86 function get_arch() from https://gerrit.opnfv.org/gerrit/#/c/29099 is used 2. Changes to config_functest.yaml are made via a new patch file config_aarch64_patch.yaml which is applied for all scenarios. Function patch_config_file() is modified to be more generic. It now receives a file as parameter and merges any type of patch file 3. The aarch64 cirros images are downloaded into the data directory. Functest can be run from both an aarch64 or a x86 jenkins slave in order to test an aarch64 POD. So the images are downloded in both dockerfiles 4. Other custom config needs to be added to /etc/rally/rally.conf in the docker. The custom config is set in rally_aarch64_patch.conf and inserted in the needed file before the rally environment is set up JIRA: ARMBAND-60 Change-Id: I8e460cdf02d297c259cbbd9c05e7983367fd2bb9 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-02-27Merge "Unit tests for vnf/ims."valentin boucher5-0/+718
2017-02-27Merge "Refactoring of cloudify_ims."valentin boucher1-6/+7
2017-02-27Merge "Adding vRouter test codes using TestCasesBase"Morgan Richomme4-0/+47
2017-02-26Merge "Remove shell Healtcheck test case"Jose Lausuch1-13/+1
2017-02-25Add custom tempest test.jose.lausuch3-3/+23
Some users need to run a specific list of tempest test cases. This patch allows them to do that by running the command: functest testcase run tempest_custom Change-Id: If8e7726b98c3a71398c7abdf80aea79f10653ebf Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-25Merge "Bugfix:Added the adapter info for compass and joid"Jose Lausuch3-27/+32
2017-02-24Merge "Add Tempest Defcore test case"Jose Lausuch3-103/+250
2017-02-24Add Tempest Defcore test casejose.lausuch3-103/+250
Refstack is the OpenStack project that provides the tooling to run the approved specific tempest test cases (Defcore guidelines) by the Interop working group and by the OpenStack board for OpenStack certification purposes. For more info: https://refstack.openstack.org/ This adds the possibility for a Functest user to run this list of tempest test cases by just issuing the command: functest testcase run tempest_defcore The test will be run on daily loops with the scenario nosdn-nofeature on any installer. Change-Id: I920b2a44cff418116008fdf514425e69dc959412 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-24Merge "Integration of orchestra_ims test"Morgan Richomme5-233/+719
2017-02-24Merge "WIP: Cirros TestVM: Allow config of username/password"Jose Lausuch4-10/+12
2017-02-24Adding vRouter test codes using TestCasesBaseh-hayashi4-0/+47
JIRA: FUNCTEST-530 1.setting "nosdn-nofeature" scinario in testcase.yaml. 1.adding process of setting result details for push DB 2.Delete of define "vrouter_data" in config_functest.yaml. 3.modify of vrouter git tag's name "stable". 4.modrify of testcase name "vyos_vrouter" In order to more specific. Change-Id: I0602c01dbf9a5e71bf85943c2b5e40ef51269ffd Signed-off-by: Hideyasu Hayashi <hideyasu.hayashi@okinawaopenlabs.org>
2017-02-24Integration of orchestra_ims testMorgan Richomme5-233/+719
JIRA: FUNCTEST-726 Change-Id: Ie6a35a817aa327a7e9143d93b5ea2582e99e0066 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-02-24Merge "Use new-style classes which inherit from object"Morgan Richomme14-16/+16
2017-02-23Bugfix:Added the adapter info for compass and joidhelenyao3-27/+32
CI for compass and joid failed as there is no key defined in installer_params.yaml Change-Id: I8d17d36d854974c0751d3fd3bab4994205f786bb Signed-off-by: helenyao <yaohelan@huawei.com>
2017-02-23Add domino testcaseUlas Kozat1-0/+12
Change-Id: I177820638c7b050764c5354cd7ed22a7ccf3acbc Signed-off-by: Ulas Kozat <ulas.kozat@gmail.com>
2017-02-23Merge "Prepare env will exit when an error is raised"Jose Lausuch2-24/+34
2017-02-23Merge "[odl-sfc] Fix wait_for_vnf returning vnf_id on timeout"Jose Lausuch1-0/+5
2017-02-23Use new-style classes which inherit from objectLinda Wang14-16/+16
JIRA: FUNCTEST-707 Change-Id: Ieaa888375136eddbbe003a24b32bf09fd0f92923 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-02-23WIP: Cirros TestVM: Allow config of username/passwordAlexandru Avadanii4-10/+12
With the recent changes in Cirros image default password, we need to support configuring these credentials. JIRA: ARMBAND-218 Change-Id: I5962ec2aeee4ffecefdd8b7e70bdb7ed88457553 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-02-23Remove shell Healtcheck test casejose.lausuch1-13/+1
The healthcheck tier has grown thanks to the adoption of SNAPs library. Now we have a SNAPs test case that checks that creating a Network, a VM and making sure it gets an IP from the DHCP agent works. Basically, we are duplicating both test cases. This patch removes the execution of the former test without eliminating the code. Change-Id: Iad6fec10fa1c247151c68313dc3760a55e511555 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-22Prepare env will exit when an error is raisedhelenyao2-24/+34
JIRA: FUNCTEST-727 Change-Id: I4d8e24c0cb6272d92dc777dc82d56490948598db Signed-off-by: helenyao <yaohelan@huawei.com>
2017-02-22Merge "Undo setting CI_DEBUG to true by default"Cedric Ollivier1-1/+1
2017-02-22Unit tests for vnf/ims.ashishk19945-0/+718
Change-Id: I12b17ee7ed03987473825e0705074f0430b820bb Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
2017-02-22Merge "Integrate BAROMETER feature test case"Jose Lausuch4-1/+53
2017-02-22Merge "Add deployment_handler printout to prepare env"Jose Lausuch3-1/+48
2017-02-21Integrate BAROMETER feature test casejose.lausuch4-1/+53
Also, add a executor method in VNFBase to allow re-write it for some cases where the feature is another python script instead of shell script. Change-Id: Id734553dffe32fdc9a0befc3f4c0e29e5d56fc61 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-21Add deployment_handler printout to prepare envjose.lausuch3-1/+48
Example virtual deployment apex: http://paste.openstack.org/raw/599536/ Example CI POD: http://paste.openstack.org/raw/599537/ Change-Id: I0711b45a525bc074a9c05f0ea3a194b2db05f2d9 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-21Fix neutron auth issueboucherv1-4/+11
Adding admin role to the new_user for the new tenant It will fix this bug for other tests based on this class JIRA: FUNCTEST-734 Change-Id: Ia3b8797fa391f528d24425a5b13c1b329cb992f4 Signed-off-by: boucherv <valentin.boucher@orange.com>
2017-02-21[odl-sfc] Fix wait_for_vnf returning vnf_id on timeoutJuan Vidal1-0/+5
If the VNF does not properly boot after timeout, wait_for_vnf should return "None" to flag the error. Also, refresh the VNF on every iteration. Change-Id: I9ed7c399e689dfbace7c5c8914552e77bf45fc8f Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
2017-02-21Merge "[odl-sfc] Add function get_vnf and fix endless loop in get_vnf_id"Jose Lausuch1-13/+24
2017-02-21[odl-sfc] Add function get_vnf and fix endless loop in get_vnf_idJuan Vidal1-13/+24
Change-Id: I1828242cec6449b36d09be21a62074b3c131af17 Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
2017-02-21Refactoring of cloudify_ims.ashishk19941-6/+7
Change the way of using few variables like vnf from object to dictionary for consistency. Change-Id: I5cf92ff16ba1296f223a60f85de4b815aadc8875 Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
2017-02-20Merge "Remove cloudify_ims from ci daily loop"valentin boucher1-4/+4
2017-02-20Merge "Modifies check_os.sh to check services and cinder is optional"Jose Lausuch1-17/+46
2017-02-20Merge "[odl-sfc] Add timeout to get_vnf_id and create_vnf functions"Jose Lausuch1-18/+22
2017-02-20[odl-sfc] Add timeout to get_vnf_id and create_vnf functionsJuan Vidal1-18/+22
create_vnf function could end up in and endless loop if it is not able to retrieve the VNF id. Also, a timeout could help to detect problems when instantiation is too slow. Change-Id: I21744338a73f122d0c7a8fbe699738b11a7e2b76 Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
2017-02-20Undo setting CI_DEBUG to true by defaultRomanos Skiadas1-1/+1
Change-Id: I24ca35ada7591e93413cdda1905ee01f77131889 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2017-02-20Remove cloudify_ims from ci daily loopboucherv1-4/+4
JIRA: FUNCTEST-734 Change-Id: I018ba3b14d21b29935a16e1689015c01cb11ffd7 Signed-off-by: boucherv <valentin.boucher@orange.com>
2017-02-17Modifies check_os.sh to check services and cinder is optionalTim Rozet1-17/+46
This patch adds being able to detect if the service is enabled on the target openstack system prior to checking if the corresponding openstack command for that service works. It also makes cinder optional, and warns if that service is not up. We don't need cinder for every deployment type, for example: CSIT. Change-Id: I9556acabbd16f3b13f74b496812a5742b9000153 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-17Fix flavor config and error logboucherv3-13/+20
JIRA: FUNCTEST-734 Change-Id: Ic124cfa68e1ba50c9dc098c14b17ed694eefb7cc Signed-off-by: boucherv <valentin.boucher@orange.com>
2017-02-16Merge "Revert "Add deployment_handler printout to prepare env""Jose Lausuch1-24/+0
2017-02-16Revert "Add deployment_handler printout to prepare env"Jose Lausuch1-24/+0
This is causing some problems. https://build.opnfv.org/ci/view/functest/job/functest-fuel-baremetal-daily-master/1121/console This reverts commit 9886535d617d95e7d2c2f294e79a7cd994fcd685. Change-Id: I8524dff5deea073f0975df1e712766620002523e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-16config_functest support muiltilevel querySerenaFeng1-8/+12
Change-Id: I4b991e63b3eb21b7e8eec9fc40cdf082f715e238 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-02-16Merge "[odl-sfc] Fix bug when getting the params for create_vnf"Jose Lausuch1-0/+1