aboutsummaryrefslogtreecommitdiffstats
path: root/ci
AgeCommit message (Collapse)AuthorFilesLines
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>
2016-05-11Fix typos in testcases.yamlCédric Ollivier1-2/+2
Change-Id: I7b014c55b626a06c0b4aaba006691f726f88acac Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-05-11Fix a few nits in prepare_env and dockerfilejose.lausuch1-1/+1
Change-Id: Idb407ab80a41be0838c35d79819f8953885ba668 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-11Specify the field id in neutron argumentsCédric Ollivier1-1/+1
It fixes the parsing error when 2 subnets are created on a specific network. Change-Id: I46154a65d0e916387faea5b506ae6a93240c6726 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-05-11Split tempest into smoke and full modesvitikkan2-19/+19
"tempest_smoke_serial" and "tempest_full_parallel" test cases replace the original "tempest" case. Corrected fetching tempest results from "rally verify list" output (last result is taken instead of the first one). This correction is needed when "rally verify start" is run multiple times. JIRA: FUNCTEST-242 Change-Id: I544a22081655af819dbaaaafc0ba0fa6eae1e4ea Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
2016-05-10Enable sanity mode of Rally test for the CI runsJuha Kosonen2-12/+15
JIRA: FUNCTEST-241 Change-Id: Ie37657bf9e8c01ae4126c1c45146d8aadb2c5775 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2016-05-10Adapt tiers to run depending on WEEKLY/DAILYjose.lausuch4-18/+34
JIRA: FUNCTEST-244 Change-Id: I11bf28baff52b75b0f6c58845edc22f266dfcbe8 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-10Merge "CLI implementation"jose.lausuch4-55/+52
2016-05-10Create a private shared network for RallyJuha Kosonen1-0/+4
Since functest-net will be obsolete, own private network, subnet and router is created for Rally tests. JIRA: FUNCTEST-240 Change-Id: I8a30e2b4fe12238dba526c21188c85f75bacc0b8 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2016-05-10Creating private network for Tempestvitikkan1-2/+4
Since functest-net will be obsolete, own private network, subnet and router is taken into use for Tempest test. JIRA: FUNCTEST-239 Change-Id: I2b9f6aae74dc36decf305a4531fe0a071031aca3 Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
2016-05-09CLI implementationjose.lausuch4-55/+52
JIRA: FUNCTEST-243 Change-Id: Ibf0ef9bcc5f3aeda96b050827b954ce060317613 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-09Generic Function to create a private networkjose.lausuch1-0/+4
This is to be used by all the tests which need a private network to work, for example Tempest, Rally, vPing, ssh.. Added example for vPing and promise scripts. Change-Id: I5d79e7b60b81b0f34230ea3ef2f3076697a1958c Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-09Fix shebang of python scriptsJuha Kosonen2-2/+2
Change-Id: I8a05fd6fbb0d392a27f354a6b8cacf33073bf17f Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2016-05-05Don't exit on error when destroying rally deploymentjose.lausuch1-17/+17
Also, some improvements in execute_command function Change-Id: I8271d55202b8859701275d5f7322a7bd4894e475 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-05Fix bug config_functest.yaml locationjose.lausuch1-1/+1
Change-Id: I3b28eb7015f6f1418ef04ca91103e313f71f74e3 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>