summaryrefslogtreecommitdiffstats
path: root/ci
AgeCommit message (Collapse)AuthorFilesLines
2016-07-26Generate Functest report at the end of the executionjose.lausuch2-11/+175
JIRA: FUNCTEST-89 Change-Id: I10c41efdd6a7f737f57ab15158c8c8d49f392271 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-25Turn off vPing_ssh for odl_l3 scenarios due to odl bugjose.lausuch1-1/+1
https://bugs.opendaylight.org/show_bug.cgi?id=5586 JIRA: FUNCTEST-363 Change-Id: I4d195ae7ebbe10cfc4fe2947eecf5f0c051fd4e3 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-25Create a flag in the tests to indicate if they should be blocking or notjose.lausuch4-11/+46
JIRA: FUNCTEST-380 Change-Id: I737d71a47ddac80bf0222a1f004af05f509c5971 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-22Add duration message after test executionjose.lausuch1-0/+6
Change-Id: Ida68009ba02b2a5135dc4f3ae958fc77088389d7 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-22bugfix: Don't try to run a tier if it doesn't contain any enabled testjose.lausuch1-7/+14
- Add separation (blank lines) between the test cases output JIRA: FUNCTEST-349 Change-Id: I54a5d4f33d5776b4754641168c3775d19ca50e4a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-20Bugfix: ODL report to DB failsjose.lausuch1-9/+9
JIRA: FUNCTEST-370 Change-Id: I48c8927f3490b86fcf1c95656324429b70201653 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-20Add kingbird endpoint information to functest.Dimitri Mazmanov1-1/+8
The patch multihops to the fuel node and dynamically retrieves kingbird endpoint information. It also resolves the controller ip instead of using the hardcoded value from the config ONLY if the installer type is Fuel. Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com> Change-Id: I5161df5df3da7283f6374efa6bd1108246c1095a
2016-07-18Don't take openstack snapshot when "-n" option is setjose.lausuch1-1/+2
JIRA: FUNCTEST-236 Change-Id: I37bfa4ebe88a8cf02f2cddc8fc4cce70ad87b775 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-18[multisite] run on the env of fuel and compassmeimei1-1/+1
Change-Id: Ie590a99e8b571af66cc2164c291dd8e9eed47e4a Signed-off-by: meimei <meimei@huawei.com>
2016-07-15Use blacklist of Tempest test cases for SDNVPN scenariojose.lausuch2-2/+15
This patch disables tempest smoke from being executed in bgpvpn scenarios. Since there is a known upstream issue which won't be resolved before Colorado, it doesn't make sense to run the test cases in Tempest that will fail due to that issue. The Tempest suite will be triggered along with the "features" tier, with a given blacklist of the known test that will fail. JIRA: FUNCTEST-369 Change-Id: Ifc533077207e9d62d49bcedcc3cd0936df312891 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-15Revert "Disable ODL test."Jose Lausuch1-1/+1
This reverts commit adf9811e8c0f2fa92ca1c45658a3360e1de8be7e. JIRA: FUNCTEST-371 Change-Id: I677ed08e017e2b147eec9433b050d3fa480565a2 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-15Disable ODL test.jose.lausuch1-1/+1
It triggers a lot of errors. See log in the JIRA ticket: JIRA: FUNCTEST-371 Change-Id: Ia039d36773158850f7746ae6d3a2a65fb350e382 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-15Disable ODL reporting to DBjose.lausuch1-9/+9
The script odlreport2db.py fails and it needs more investigation and troubleshooting. For now, we disable it to not block CI JIRA:FUNCTEST-370 Change-Id: I9952fd7c5238212d6ed1437f1595fdadde9208f2 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-15[bug] miss a ; in case statementmeimei1-0/+1
Change-Id: I2e3d99203450d2abc93e5f472c6be701a385a3c6 Signed-off-by: meimei <meimei@huawei.com>
2016-07-14Enable domino multi-node test case in FunctestUlas Kozat2-1/+10
This includes: - Add domino.py script - Add call to domino.py - Add the Domino repo in the Dockerfile - Add the test case definition in testcases.yaml JIRA: FUNCTEST-246 Change-Id: I5a8c3345a14c43fa80e6e86678ae5fb1417b3147 Signed-off-by: Ulas Kozat <ulas.kozat@gmail.com>
2016-07-14Enable new SDNVPN test cases in Functestjose.lausuch1-1/+1
JIRA:FUNCTEST-99 The tempest execution has been moved to the sdnvpn to leverage the logic of execution and collecting the results from the executor wrapper: sdnvpn/test/functest/run_tests.py Change-Id: Ic4763f4ab45dde81f91b241ae91073b9ea47e333 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-14Use common way to get the openstack clientsjose.lausuch1-1/+0
Instead of repeating the code in all the scripts and importing the openstack libraries, the clients shall be given by openstack utils, which is its purpose JIRA: FUNCTEST-163 Change-Id: I1ccc05a3af44ee1ab5938ea9e4e01dbe55f4816d Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-14Switch to $SDN_CONTROLLER_IP instead of $neutron_ipCédric Ollivier1-2/+2
ODL IP is now set to $SDN_CONTROLLER_IP in case of Apex and default. It follows the next patch [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/16779/ Change-Id: I60238705e45ed31a67da1518ec586e3f2970c13f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-07-14[multisite] integrate kingbird tempest testcasesmeimei1-0/+2
JIRA: FUNCTEST-179 Change-Id: I4a8ae43e2814b3d859c32a6278671f87155aa855 Signed-off-by: meimei <meimei@huawei.com>
2016-07-13Bump to cloudify-manager 3.3.1boucherv1-1/+1
Change-Id: Ica223edb7e2b29ce11634774d8355634b00cada4 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-07-13Propose a new python file to launch ODL testingCédric Ollivier1-3/+5
OpenDaylightTesting.py safely replaces start_tests.sh. It also adds the report of the basic test of RESTConf which was previously ignored. JIRA: FUNCTEST-367 Change-Id: I8ba288271455fd9f31cf87aa65bf45cfb53cd8d6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-07-13Enhance ips, ports and creds managementCédric Ollivier1-1/+3
It follows the next ODL patch [1] which splits Keystone and Neutron IPs in Robotframework files. It also adds ODL creds, ODL ports and tenant name as inputs. Classical default values are also used now. [1] https://git.opendaylight.org/gerrit/#/c/41554/ Change-Id: I867f1d4c003c4b96a5d4c3e2f982b5a0e3139217 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-07-13[multisite] add interface of multisite test suitemeimei2-0/+11
JIRA: FUNCTEST-179 Change-Id: I23ae0f73a6efb410e54fedd75537bb2e219344e0 Signed-off-by: meimei <meimei@huawei.com>
2016-07-12Chmod 755 all py files which can be executedCédric Ollivier2-0/+0
All files where __main__ is checked can now be executed by everyone. It results from [1]. [1] find . -name "*.py" |xargs grep __main__ |cut -d\: -f 1 |xargs chmod 755 Change-Id: I9ad153cfdde0447213e35dac102e668d9e754cf9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-07-12Stop creating the useless ODL results dirCédric Ollivier1-7/+0
Outputs and logs are pushed in ${FUNCTEST_RESULTS_DIR}/odl (instead of ${FUNCTEST_RESULTS_DIR}/ODL). And this directory is created by the related testing script. Change-Id: Ie4ad6228d81d3578e777029da45700da09dba8fc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-07-08Create vnf directory in testcasesMorgan Richomme2-2/+2
JIRA: FUNCTEST-358 Change-Id: I00dacef2a07e3980cc33cdbfad7ea238c1153599 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-07-06Add Moon in FunctestMorgan Richomme2-0/+12
JIRA: FUNCTEST-210 Change-Id: Ibc8792f74c4c62122856cff355e55cda88fc691e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-07-06Add copper for CI integrationMorgan Richomme3-0/+13
JIRA: FUNCTEST-67 Change-Id: Idffa4ccae4eb51ad335a5c49876bb18731990e84 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-07-05Enable doctor test scenario in masterRyota MIBU1-2/+1
The doctor testing script has fixed and improved by adding timeout function, now it can be back to enable. Change-Id: I5b5602dc3453cdbca14fc78aa567b69b27896a5d Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-07-05Merge "Add interface to run sfc functests."Morgan Richomme2-6/+7
2016-07-04Add example script creating an instancejose.lausuch1-0/+11
This is to be used by feature projects or newcomers to functest. SFC or BGPVPN test cases can be based on this one. The script creates an instance and assigns a floating IP to it. Change-Id: If35495631031187bfb5382ba8c0a8884dfaa3d7f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> Depends-On: Ie10d55872bc8c5a404b0d0156ee49a9d94482008
2016-07-04Add interface to run sfc functests.wuwb19892-6/+7
Varified only in fuel. Prerequisite: no floating ip exists. Change-Id: If6ef4c395992ba1544559b47c5c97f7cd5ce004c Signed-off-by: wuwb1989 <wuwenbin2@huawei.com>
2016-07-04Merge "Change OpenStack clean behaviour"jose.lausuch4-14/+16
2016-07-04Change OpenStack clean behaviourjose.lausuch4-14/+16
JIRA: FUNCTEST-236 The openstack snapshot generation is now triggered before running a test case and removed from prepare_env Change-Id: I4d1bc95dedd7f59d4b1d5866f288e1c1a70ec69e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-01Remove OVNO test for ColoradoMorgan Richomme1-10/+0
JIRA: FUNCTEST-260 Change-Id: I745ac49b47ad97185868f4e7277410c609fcdbf1 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-30Remove old test dependency in config_functest.yamljose.lausuch1-92/+0
JIRA: FUNCTEST-342 Change-Id: I1133bb05eb03fac1cbdcf0725280aa6aad2841fb Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-06-29Suspend Doctor execution on Master for apex scenarioMorgan Richomme1-1/+2
Change-Id: I6a0e8969484ced97a08b87e1fc48a4e53e57bb9d Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-16Fixed auth url in v2.PasswordLuke Hinds1-1/+1
Completes "Added use of OS_AUTH_URL to security_scan and exec_test.sh" [1] [1] https://gerrit.opnfv.org/gerrit/#/c/15633/ Change-Id: I756c10091c3e7fe9e7c8978e2747582bb0f4d281 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-06-15Added use of OS_AUTH_URL to security_scan and exec_test.shLuke Hinds1-1/+3
JIRA: FUNCTEST-315 Change-Id: I1f8ac20cd93ce25548dbf47d62fc6a076d347d62 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-06-14Enable security scanningLuke Hinds1-2/+1
Change-Id: Ib179ee6b2fcc7cf6c9ac522fdb83755ecbb99f52 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-06-13Creating Glance image for Tempest suitevitikkan1-1/+1
If not yet existing, Cirros-0.3.4 image is created before running Tempest test suite. Source file for the image is included into opnfv/functest Docker container. JIRA: FUNCTEST-195 Change-Id: I980193c4207c1301ca4e3b6e850b4056e6aa0130 Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
2016-06-08Adapt functest testcase to APi refactoringMorgan Richomme1-1/+1
JIRA: FUNCTEST-303 Change-Id: Ia276d9ca6e8d62b496c3b5f81561b14b02c43fd7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-02Stop the job and quit with error if a test case failsjose.lausuch1-0/+4
JIRA: FUNCTEST-282 Change-Id: I9fd638c19333772040481140f9e2324b7d80772f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-06-02Merge "Add criteria in testcases.yaml and Test class"Morgan Richomme3-1/+23
2016-06-01Add criteria in testcases.yaml and Test classjose.lausuch3-1/+23
JIRA: FUNCTEST-257 Added example of usage in vping_ssh Change-Id: Iac143b811db163f0f86682b0688948c20843ede5 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-31Add Apex based security scan codelukehinds1-2/+2
JIRA: FUNCTEST-169 Performs a SCAP based security scan of all overcloud nodes, followed by report download to functest dashboard Change-Id: I9058227e19c0877e5f8913931febdd667a908cdd Signed-off-by: lukehinds <lukehinds@gmail.com>
2016-05-26Take report arg into accountCédric Ollivier1-1/+2
$report is now tested before calling odlreport2db.py Change-Id: I92be1488f710065dbc0a0c00e8023c6201028c2f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-05-25Add security_scan in Functest CI pipelineMorgan Richomme2-1/+15
JIRA: FUNCTEST-258 Change-Id: Idbf6006910982a9a165952ca3031966855bcb29d Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-25Push results if INSTALLER_TYPE and NODE_NAME are definedCédric Ollivier1-1/+3
INSTALLER_TYPE and NODE_NAME are also checked before pushing ODL results in DB Change-Id: If92c8b50d3ae7618475aeb25ab732c6dddb08019 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-05-25Allow unknown ci_installer or ci_scenario in is_compatibleCédric Ollivier1-4/+9
ci_installer and ci_scenario are only tested if they are set. At least one of theses variables must be set to get dependencies It modifies the previous logic introduced by the first implementation of tier_handler.py [1] [1] https://gerrit.opnfv.org/gerrit/#/c/12579/ Change-Id: Icc9663a620f0b18f502b3eff7c0ce0d71e4e5910 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>