summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-27Corrected path for clean_openstack.pyvitikkan3-3/+3
Signed-off-by: vitikkan <viktor.tikkanen@nokia.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-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>
2016-04-21Fix Flake8 Violations in the Functest scriptsjose.lausuch26-681/+848
JIRA: FUNCTEST-213 Change-Id: I66c02dd6ff12ffb9798ebe44a4cfe7bfc73e76c3 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-20Add Tier scripts handlers and list of test cases yamljose.lausuch2-0/+179
JIRA: FUNCTEST-190 Change-Id: If63034be36e5a7a5d8b3f549444d53fb9ce28b55 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-20Print openstack info only if CI_DEBUG==truejose.lausuch1-17/+18
JIRA: FUNCTEST-205 Change-Id: I550d26ba1fddcedf5697dadd38a85148ecef2d44 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-20Remove RALLY_REPO in config_functest since it is not usedjose.lausuch1-1/+0
Change-Id: Ifb3b338543b4ce3b961564a6e9cb1e943634af3d Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-19Dockerfile, fix typo in git clone commandjose.lausuch1-1/+1
Change-Id: Ic14f81362357d0a653bf174b1ccdc859bd7cea5e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-19Small adaptations in prepare_env,run_tests and commonjose.lausuch3-18/+13
Change-Id: I5f31392b04b168247e332bc2ea97efeb733cdf97 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-19Adapt Functest output to the env variable CI_DEBUGjose.lausuch1-9/+12
JIRA: FUNCTEST-205 Apply CI_DEBUG environment variable in the call to the scripts Change-Id: Ia8da993de8a60517b475f763c22ce06e9ce35b3e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-19Merge "Quote missing"Morgan Richomme1-1/+1
2016-04-19Quote missingTim Rozet1-1/+1
The missing " was causing some problems, like the REPOS_DIR variable missing Previous: Fixes unset REPOS_DIR var REPOS_DIR never gets set in the script, and it looks like it should be /home/opnfv/repos according to what is in the container. This patch defaults it to that location. Change-Id: I739f7df52f4a0f3506fd77d72dfb09a4658f06c0 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-04-18Merge "Author: Luke Hinds <lhinds@redhat.com> Date: Mon 18 Apr 11:48:27 ↵Morgan Richomme3-0/+349
2016 +0100"
2016-04-18Merge "Generating test lists for tempest"Morgan Richomme6-256/+161
2016-04-18Remove all the repo handling in prepare_envjose.lausuch5-207/+4
JIRA: FUNCTEST-203 Since almost all the repos always pull from master and latest, this is about saving some time and to avoid needing internet to pull or checkout the repos. The needed repos content has to be present in the docker image. Change-Id: Ia6e1ed2b5d5b2aff8661a38eb64a081cc8016019 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-18Allow rally to use existing glance imageCiprian Barbu1-4/+7
This allows to use a prebuilt glance image without deleting it after the test. For ARM platforms this is especially helpful because the test image is three-part and can be created before running any tests. Change-Id: Ia79f519d10fc9155ab2fb44a3e427ae3bb1ce399 Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
2016-04-18Author: Luke Hinds <lhinds@redhat.com>lukehinds3-0/+349
Date: Mon 18 Apr 11:48:27 2016 +0100 JIRA: FUNCTEST-169 Inital commit of security test code The following code peforms NFVi based SCAP security scans. This code is still pending integration with functest scripts, for when flashtest development is complete. Amend: Removed pyc file, requirements.txt and fixed flake8 Change-Id: Ie182ae5c21d36218f5c9b389c4b6e63ecbf1d151 Signed-off-by: lukehinds <lukehinds@gmail.com>
2016-04-18Generating test lists for tempestvitikkan6-256/+161
'testr list-tests' command is now used for generating smoke and full test case lists for tempest. test_list.txt file is replaced by defcore_req.txt file which contains latest (2016.01) DefCore test case for possible references. Partly implements JIRA: FUNCTEST-196 Change-Id: I993aa8a3919b97d50f081725ced686dbe6ffc4b7 Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
2016-04-18Add healthcheck test case to test_exec_priorityjose.lausuch1-10/+11
JIRA: FUNCTEST-199 Change-Id: I7ced0a78a93387d94709501fbbaba1c67c93c1cb Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-15Update python-openstackclient to version 2.3.0jose.lausuch1-2/+2
Change-Id: Ic9e68ade15e93f76d17db715c5790eaa31b49209 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-15[BGPVPN] Exclude vims and vping_ssh from testlistNikolas Hermanns1-1/+2
Since vims and vping_ssh are meant to fail for bgpvpn scenario we will exclude them from testlist. Change-Id: Id9da6fdd3d9a1d7c1fb5c7fb1379c13720af34af
2016-04-15Merge "[BGPVPN] Use system wide installation of tempest"Jose Lausuch1-3/+5
2016-04-15[BGPVPN] Use system wide installation of tempestNikolas Hermanns1-3/+5
Since rally setup tempest system-wide now we do not integrate with the virtual env of tempest anymore. Change-Id: Ia5f132371c4eb0b67ac84bf044b349480195f633
2016-04-15Revert "[BGPVPN] Rally create the v-env which is needed"Nikolas Hermanns1-1/+2
This reverts commit 07beceb07f8cf8d6e86d2c188b3ad81688a9827f. Change-Id: I22c9e3726abee28db3fa311aae8e273e8b353402
2016-04-15[BGPVPN] Rally create the v-env which is neededNikolas Hermanns1-2/+1
Since we rely on the v-env which is created by rally we run bgpvpn testcases after rally. Change-Id: Ie54e3332c9130dc337303855a4b5c36df4e3d1fb
2016-04-15Adding Apex able to run BGPVPN testsNikolas Hermanns1-1/+1
Change-Id: Ia346f5843fc4a1242c9a60f4dbe07e54c4920f46
2016-04-14Add healthcheck test case to config_functest.yamljose.lausuch2-1/+2
JIRA: FUNCTEST-199 Change-Id: I82fa45eafd078490162e275877673e263479bb8f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-14Create health check test casejose.lausuch3-117/+175
JIRA: FUNCTEST-199 Change-Id: Iee40f182cdbe848d0f87619b7dd06fbce34d0440 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-13Merge "add bash script to config pip and easy_install"Jose Lausuch1-0/+26