aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci
AgeCommit message (Collapse)AuthorFilesLines
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 "Adding vRouter test codes using TestCasesBase"Morgan Richomme2-0/+14
2017-02-26Merge "Remove shell Healtcheck test case"Jose Lausuch1-13/+1
2017-02-25Merge "Bugfix:Added the adapter info for compass and joid"Jose Lausuch2-26/+31
2017-02-24Merge "Add Tempest Defcore test case"Jose Lausuch1-23/+35
2017-02-24Add Tempest Defcore test casejose.lausuch1-23/+35
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 Richomme2-2/+3
2017-02-24Merge "WIP: Cirros TestVM: Allow config of username/password"Jose Lausuch1-0/+2
2017-02-24Adding vRouter test codes using TestCasesBaseh-hayashi2-0/+14
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 Richomme2-2/+3
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 Richomme4-6/+6
2017-02-23Bugfix:Added the adapter info for compass and joidhelenyao2-26/+31
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-23Merge "Prepare env will exit when an error is raised"Jose Lausuch1-24/+27
2017-02-23Use new-style classes which inherit from objectLinda Wang4-6/+6
JIRA: FUNCTEST-707 Change-Id: Ieaa888375136eddbbe003a24b32bf09fd0f92923 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-02-23WIP: Cirros TestVM: Allow config of username/passwordAlexandru Avadanii1-0/+2
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 raisedhelenyao1-24/+27
JIRA: FUNCTEST-727 Change-Id: I4d8e24c0cb6272d92dc777dc82d56490948598db Signed-off-by: helenyao <yaohelan@huawei.com>
2017-02-22Merge "Integrate BAROMETER feature test case"Jose Lausuch2-0/+16
2017-02-22Merge "Add deployment_handler printout to prepare env"Jose Lausuch2-1/+46
2017-02-21Integrate BAROMETER feature test casejose.lausuch2-0/+16
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.lausuch2-1/+46
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-20Merge "Remove cloudify_ims from ci daily loop"valentin boucher1-4/+4
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-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-16Merge "Add deployment_handler printout to prepare env"Jose Lausuch1-0/+24
2017-02-16Merge "Integration of NETREADY test case"Serena Feng2-0/+13
2017-02-15Integration of NETREADY test casejose.lausuch2-0/+13
Change-Id: I523a05e0f0fbf5971ab7d10a177d793bcff60421 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-15Merge "update cloudify_ims case"valentin boucher1-4/+4
2017-02-15update cloudify_ims caseboucherv1-4/+4
bug fixes Provisional change of the ci loop var to daily for VNF testcase. JIRA: FUNCTEST-710 Change-Id: I6dc8072b4e56c96473a2b09f1881b96024259db5 Signed-off-by: boucherv <valentin.boucher@orange.com>
2017-02-14Add deployment_handler printout to prepare envjose.lausuch1-0/+24
Example output: http://pastebin.com/raw/xWTe9tAY Change-Id: Ib8100089318f807fb4d5d4fff2911179eb18216e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-14Merge changes from topic 'revert_write_to_file'Jose Lausuch1-1/+1
* changes: Add can_dump_request_to_file decorator Revert "write test results to a local file"
2017-02-14Merge "Add ODL netvirt connectivity suites to list of robot tests"Morgan Richomme1-3/+24
2017-02-14Merge "Refactoring of args and parser variable"Morgan Richomme2-71/+76
2017-02-13Add ODL netvirt connectivity suites to list of robot testsJamo Luhrsen1-3/+24
Change-Id: I9eb543b18d7646c7746caeec43d610be52a1af65 Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2017-02-13Merge "[WIP] update cloudify_ims case"valentin boucher1-41/+2
2017-02-13Merge "Fix source_credentials in openstack_utils"Jose Lausuch2-6/+4
2017-02-13Revert "write test results to a local file"Cédric Ollivier1-1/+1
This reverts commit ee21af78fbfc93e888acda121f08d2b216dd0159. Change-Id: If7c8d3b645073574862eb67225b1e11b0dd7a021 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-02-10Merge "Logic to trigger Security Scan project"Morgan Richomme3-6/+5
2017-02-10Merge "Integrating PyTest contained in SNAPS as a replacement to the old ↵Jose Lausuch1-0/+16
bash healthcheck."
2017-02-09Refactoring of args and parser variableashishk19942-71/+76
It also fixes one issue when printing summary for tiers and others induced by [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/26587/ JIRA: FUNCTEST-438 Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I821efaa7d62b208d797d19563f573d1e28da9df4 Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-02-09Fix source_credentials in openstack_utilsCédric Ollivier2-6/+4
It fixes issues raised when an env var contains '=' (e.g. LS_COLORS). It now exports the vars listed in rc_file without creating a new process. Change-Id: I6e6a4e3ab9c45afe4d40015831acb283acbe564c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-02-09[WIP] update cloudify_ims caseMorgan Richomme1-41/+2
bug fixes + adaptation to abstraction class JIRA: FUNCTEST-710 Change-Id: I687876637bd9eeeba9256e28b98a1e3a4f5c3e22 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-02-08Logic to trigger Security Scan projecthelenyao3-6/+5
1. Removed the calling from exec_test.sh 2. Used FeatureBase instead 3. Removed the legacy security scan code Change-Id: I1984ec951973f337f275e50543b277cd90d9a202 Signed-off-by: helenyao <yaohelan@huawei.com>
2017-02-07Integrating PyTest contained in SNAPS as a replacement to the oldspisarski1-0/+16
bash healthcheck. JIRA: FUNCTEST-570 Change-Id: Ia90dc152d48144c9c53967d5c30256389793ce91 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-02-07Exclude Moon feature for DanubeMorgan Richomme2-12/+0
Moon will come back mid March with a micro service version Moon testing could be enabled on this new version Change-Id: I160fab5d609bad2b0e8a8c81a4a180498c935b2f Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-02-07Merge "Move api_check and connection check to healthcheck category"Jose Lausuch1-35/+34
2017-02-06Merge "Add netvirt to odl tests"Jose Lausuch1-0/+4
2017-02-06Migrates more commands to openstack-pythonclient cmdsTim Rozet1-3/+3
Change-Id: I7be6a89d7b0fb7997ea05607d45e792e0ce57051 Signed-off-by: Tim Rozet <trozet@redhat.com>