aboutsummaryrefslogtreecommitdiffstats
path: root/ci
AgeCommit message (Collapse)AuthorFilesLines
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>
2016-05-24Join Rally_full and Tempest_full in the same Tierjose.lausuch1-20/+3
JIRA: FUNCTEST-190 Change-Id: Ib82c59e0a68ed73caba79a0d5b2000861ee31552 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-19fix vPing paths post refactoring effectMorgan Richomme1-2/+2
Change-Id: I24e961965db5103af1625418e7f5ae977bcabf54 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-17Change 'testcases' directory structurejose.lausuch3-29/+24
JIRA: FUNCTEST-226 - Remove all 'CI' subdirs - Remove VIM dir and have OpenStack dir within /testcases/ - Split rally and tempest in 2 different dirs Change-Id: Icfc76d18a84f7a18d93ae1a5ec7dc7a560bb7ce9 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-17Merge "BGPVPN test case refactored"Morgan Richomme1-16/+1
2016-05-17Merge "Catch TypeError exceptions in ci/tier_handler.py"Jose Lausuch1-6/+6
2016-05-16BGPVPN test case refactoredvitikkan1-16/+1
BGPVPN test case is refactored and moved into bgpvpn.py module. JIRA: FUNCTEST-234 Change-Id: Ib0dd6e11f3c568470d9c3837ca192da767c64843 Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
2016-05-13Refactor ODL vars in ci/exec_test.shCédric Ollivier1-10/+5
neutron_ip is set equal to neutron public endpoint and odl_ip to neutron_ip or SDN_CONTROLLER according to INSTALLER_TYPE. It also doesn't exit if INSTALLER_TYPE is unset. Change-Id: I9ffa9f2837216ba88645d9bdfeeedd7a86a50b84 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-05-13Replace error in ci/exec_test.shCédric Ollivier1-2/+2
error undefined in ci/exec_test.sh is now replaced by echo $msg >&2 Change-Id: I90fc44d94680206a2b0e85f9dfa5c48dadf6ac04 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-05-13Catch TypeError exceptions in ci/tier_handler.pyCédric Ollivier1-6/+6
If INSTALLER_TYPE is unset, is_compatible returns False instead of raising an ErrorType exception. Change-Id: I55c219808851907a19e2aa0124eb13d53a5e685d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-05-12Add protections if INSTALLER_TYPE is unsetCédric Ollivier1-5/+5
It avoids unary operator expected errors. Change-Id: Ie717631b651b258d9bf62706f09c6f6b7c534620 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>