aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-11Removed obsolete modulesvitikkan2-122/+0
testcases/VIM/OpenStack/CI/libraries/check_os.sh testcases/VIM/OpenStack/CI/libraries/os_defaults.yaml Change-Id: I835bfbdc9aa43903ca2ad6041a38216fd68263a5 Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
2016-05-11Split tempest into smoke and full modesvitikkan3-20/+20
"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.lausuch5-19/+35
JIRA: FUNCTEST-244 Change-Id: I11bf28baff52b75b0f6c58845edc22f266dfcbe8 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-10Merge "CLI implementation"jose.lausuch13-151/+461
2016-05-10Create a private shared network for RallyJuha Kosonen2-4/+31
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 Tempestvitikkan2-36/+29
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.lausuch13-151/+461
JIRA: FUNCTEST-243 Change-Id: Ibf0ef9bcc5f3aeda96b050827b954ce060317613 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-09Generic Function to create a private networkjose.lausuch5-131/+99
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-05Add results dir to Dockerfilejose.lausuch1-1/+2
This will allow to create the functest.log used by logger in /home/opnfv/functest/results/functest.log Change-Id: Iebc1130942c4e4a5f592cfa247e7ba7403559a59 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-05Don't exit on error when destroying rally deploymentjose.lausuch2-30/+45
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.lausuch3-3/+4
Change-Id: I3b28eb7015f6f1418ef04ca91103e313f71f74e3 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-04Refactor, add logger handler to collect all the logs to a file as welljose.lausuch5-250/+55
JIRA: FUNCTEST-190 Also: - remove old code that are not used any more - improve execute_command function - fix logger output for run_tempest Change-Id: Ib268738ada1b9de2a418ef01e684a90e6f4e02ed Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-04Refactor improvementsjose.lausuch24-894/+131
JIRA: FUNCTEST-190 - Deleted unnecessary old scripts - Fixed healtcheck logging - Moved config_functest.yaml to /ci/ - Created env var CONFIG_FUNCTEST_YAML pointing to that new location - Modified all scripts which open config_functest.yaml using the new env var Change-Id: Ic4f0e40a70c02ac08287a1d621956f602bdee177 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-03Merge "Create CLI template for Functest"Morgan Richomme8-0/+204
2016-05-02Add command to execute the actual testsjose.lausuch3-20/+23
JIRA: FUNCTEST-190 Run_tests was generating the tests cases to be executed, but not actually running them. This patch also includes a small enhancement to avoid too much output when showing which tiers to be tested. Change-Id: Id70cfe44a8263ce7f598386668a33c67a8961b42 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-02Enhance output when showing tiers and testcases infojose.lausuch2-9/+66
JIRA: FUNCTEST-190 Change-Id: I43e26700ee3c92be64d79243c6762a3ccd5d42d3 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-02Create CLI template for Functestjose.lausuch8-0/+204
JIRA: FUNCTEST-235 Change-Id: I235a53781fbcde91ccf15d15ea52c96ee2ee9433 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-02Source the credentials in run_tests.pyjose.lausuch2-1/+12
JIRA: FUNCTEST-227 JIRA: FUNCTEST-190 OpenStack clean was failing due to this. Change-Id: Ia4dcf084becb532f157c0924baf44bb2441f6379 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-29Functest - documentation small correctionsDavid Blaisonneau2-2/+4
Signed-off-by: David Blaisonneau <david.blaisonneau@orange.com>
2016-04-29Merge "Add a step to enable docker run without sudo"Morgan Richomme1-0/+1
2016-04-29Execute successive scenarios after task failureJuha Kosonen1-2/+20
Log the result of task validation and proceed executing next rally scenario when the current task start-up fails. JIRA: FUNCTEST-230 Change-Id: I5544a9559636f671035578f9cc5cf6f934bcbcd8 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2016-04-29Merge "Create run_test.py using the tier mechanism to run the tests"jose.lausuch8-110/+462
2016-04-29Add a step to enable docker run without sudoDavid Blaisonneau1-0/+1
Signed-off-by: David Blaisonneau <david.blaisonneau@orange.com>
2016-04-28Create run_test.py using the tier mechanism to run the testsjose.lausuch8-110/+462
JIRA: FUNCTEST-227 JIRA: FUNCTEST-190 Change-Id: I5445ad36ec65e62d48c8f5b16352caea2e51e3c9 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-27Merge "Replace all the loggers by the functest logger module"Morgan Richomme8-147/+47
2016-04-27Merge "Prepare Brahmaputra 3.0 release"Morgan Richomme9-64/+5036
2016-04-27Prepare Brahmaputra 3.0 releaseMorgan Richomme9-64/+5036
Change-Id: I12530573ff6cac7764e169225e130d46455ce54f Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-04-27Replace all the loggers by the functest logger modulejose.lausuch8-147/+47
JIRA: FUNCTEST-228 Change-Id: If7a3c8cb08e9fbdf155fc5eff5330f79e5f8d234 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-27Create prepare_env.py from prepare_env.sh and config_functest.pyjose.lausuch11-52/+410
JIRA: FUNCTEST-227 Change-Id: I1aa890b9f91ec524c766ba3c460666ed227f2126 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-27Corrected path for clean_openstack.pyvitikkan3-3/+3
Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
2016-04-26Move functest_utils and openstack_utils to directory /utilsjose.lausuch14-18/+23
JIRA: FUNCTEST-226 Change-Id: I74d09f6322844b25ab45a02156317ae76ab40d8a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-26Merge "Add Functest Logger centralized Class"jose.lausuch3-1/+50
2016-04-26Add Functest Logger centralized Classjose.lausuch3-1/+50
JIRA: FUNCTEST-228 This is to be used by all the scripts using logging mechanisms. Usage: import functest_logger as fl logger = fl.Logger("<script_name>").getLogger() # treat it as a normal logger object, as before: logger.info("message to be shown with - INFO - ") logger.debug("message to be shown with - DEBUG -") Change-Id: I94e248523bc9bc148c9d171c978804b5d1865dd9 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-26Corrected logging.Formatter parametersvitikkan1-2/+2
Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
2016-04-25Merge "Add untracked files to ignore"Jose Lausuch1-0/+3
2016-04-25Corrected if statement for clean_openstackvitikkan1-1/+1
Change-Id: I3d8c0cb81dc4906ea989bd36dc8c29bf9f1f6396 Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
2016-04-25Remove backslashs for line continuationCédric Ollivier17-334/+313
JIRA: FUNCTEST-213 Change-Id: Ia50521cf8fcf60a847aa44fe0ea59b6e64830e92 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-04-25Add untracked files to ignoreCédric Ollivier1-0/+3
.gitignore also lists pyc, .project and .pydevproject files Change-Id: Ica9997b54476108f2fcea865e10f3faef831a852 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-04-25Add tier_handler and tier_builderjose.lausuch5-176/+328
tier_handler: defines the classes for Tier,TestCase and Dependency tier_builder: reads the testcases.yaml and creates a list of objects that will be used later on to execute the tests JIRA: FUNCTEST-190 Change-Id: Iabef344aff036ad3b525088af59fb21b16b02fc8 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-25ConfigParser is used for tempest.conf updatingvitikkan1-19/+10
Bash commands are replaced with python's ConfigParser routines for configuration file reading/updating. Removed updating of ssh_user_regex parameter since it is now into upstream Rally code. JIRA: FUNCTEST-198 Change-Id: I95f926948a395993e28e993bf7ea2872d6b5c969 Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
2016-04-22Merge "Introduce a sanity test mode for Rally test"Morgan Richomme5-206/+251
2016-04-22Introduce a sanity test mode for Rally testJuha Kosonen5-206/+251
In a sanity test mode the number of iterations is reduced and only a subset of tests is executed. JIRA: FUNCTEST-220 Change-Id: I722f12b8cc6df29bfcb81b8798d8d0802b207d94 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2016-04-22Fix regex to exclude vPing_ssh and vIMS for scenario dealing with bgpvpnMorgan Richomme1-2/+2
previous regex was excluding most of the scenario Change-Id: I7dd9e2b3a844eab232a2b44af382202fca2253ca Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-04-22Affect version field in results for all the testcasesMorgan Richomme10-13/+24
Previously version was scenario JIRA: FUNCTEST-225 Change-Id: Ia86f83dbe98ad5f9dbced60c46e57f58eccba7e9 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-04-22Enable PYTHONPATH env variable inside the containerjose.lausuch13-62/+54
JIRA: FUNCTEST-224 Change-Id: Ib10dc312a761b06fe36174c5c19a0165f746593e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-21prepare_env CI_DEBUG when calling generate_defaults.pyjose.lausuch1-1/+1
JIRA: FUNCTEST-205 Change-Id: I3887f5ab408667437675e12c9247c7075080f0f8 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-21Remove cleanup from vPing scripts, and use the existing cleanup scriptjose.lausuch3-193/+6
JIRA: FUNCTEST-215 Change-Id: I1ec494097a9b70de142da9f90136256535af5100 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>