summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-09-08make use of functest_utils.get_parameter_from_yamlSerenaFeng20-310/+310
JIRA: FUNCTEST-463 Change-Id: I1d54a65c5bfa2542f2fd3a2e408967641e6e4ac9 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-07Merge "remove imported FUNCTEST_REPO object"Morgan Richomme14-43/+49
2016-09-07Exclude Rally/Nova tests for lxd scenarioMorgan Richomme1-3/+3
JIRA: FUNCTEST-464 Change-Id: I521f1ccd88579ba411d3691e4c222a2e8b41e1f8 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-09-07remove imported FUNCTEST_REPO objectSerenaFeng14-43/+49
According to openstack style guidelines in http://docs.openstack.org/developer/hacking/ **** Do not import objects, only modules (*) **** so direct FUNCTEST_REPO import should be avoided from functest.utils.functest_utils import FUNCTEST_REPO as FUNCTEST_REPO JIRA: FUNCTEST-459 Change-Id: Iac0d07a54957cd7419391de183660ac1ce0efd49 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-06Merge "Clone the proper branches in the dockerfile"jose.lausuch1-16/+30
2016-09-06Clone the proper branches in the dockerfilejose.lausuch1-16/+30
JIRA: FUNCTEST-458 Related: https://gerrit.opnfv.org/gerrit/#/c/20431/ Change-Id: I234b1ed9c61411d7f328340612c28dffe12bb605 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-09-06Merge "Fix image format set for rally test cases"Morgan Richomme2-3/+4
2016-09-06Fix image format set for rally test casesJuha Kosonen2-3/+4
Always use image format defined in config_functest.yaml when creating glance images. JIRA: FUNCTEST-460 Change-Id: Ica6b35605301bc14290daa23a1480114cf6294c0 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2016-09-06Remove source-sans-pro directory, fonts not used and license conflictMorgan Richomme14-84/+0
Change-Id: I0ecdc71fe6cd58923c6fa9ad1bc01a0cc13bf72b Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-09-06Merge "Reduce logging in the SFC test case"Jose Lausuch3-16/+52
2016-09-06Reduce logging in the SFC test caseGeorge Paraskevopoulos3-16/+52
JIRA: FUNCTEST-446 Reduce the logs that appear in the Jenkins CI console to make the output of the SFC test case more readable - Redirect tacker installation logs to results folder /home/opnfv/functest/results/odl-sfc.log - Split odl-sfc preparation into a new script - Pipe STDERR in the sfc.py script so that "Added to known hosts" messages do not show in the output Change-Id: Ibf871ade6827d4817f33623b935c5f1d904086bb Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-09-06Merge "[Promise] Fix bug opening the json result file"jose.lausuch1-2/+2
2016-09-06[Promise] Fix bug opening the json result filejose.lausuch1-2/+2
Change-Id: I8882ffc8139095a79b6542c508a6293ae231f232 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-09-06Merge "Add support of arm for doctor"Jose Lausuch1-2/+9
2016-09-06Add support of arm for doctorcristinapauna1-2/+9
This is half of the fix to make the doctor suite run on arm. The other half is at https://gerrit.opnfv.org/gerrit/#/c/20369/ In this fix I set an enviroment variable, to be used by the doctor suite when ran with functest. The variable is set only when present in config_functest.yaml, which we use as a custom file when running functest on arm. Change-Id: If34d3e7734a194bf9fe8b525a362e029767caa4f Signed-off-by: cristinapauna <cristina.pauna@enea.com>
2016-09-06Merge "[Promise test case] Use proper way to get parameters from yaml"jose.lausuch2-51/+51
2016-09-06Merge "Add blacklist handling for rally test cases"Morgan Richomme3-17/+79
2016-09-05[Promise test case] Use proper way to get parameters from yamljose.lausuch2-51/+51
Since there is a function in functest_utils to get a value from the config_functest.yaml directly, there is no need to load again that file. Better to use common functions that are designed for that. Also, Replace location of the results json file to the results directory. It will be also pushed to artifacts repository. Change-Id: Ic6422ed78ccd0f8b40b519342a7dcf38c502924e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-09-05Add blacklist handling for rally test casesJuha Kosonen3-17/+79
Test cases can be excluded from execution based on installer/scenario via blacklist file. JIRA: FUNCTEST-451 Change-Id: I17bbd5f1364a890b88bc196cbc5f49c492df1cb1 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2016-09-05Redirect dominio's output to a log fileCarlos Goncalves1-2/+7
Change-Id: Ic4daa57ddbf6587660f982acd915cd4363d3ccbc Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-09-05Merge "solve bidirectional dependencies between ci and utils modules"Morgan Richomme1-15/+14
2016-09-05Merge "[Doctor test case] Redirect output to a log file"jose.lausuch1-5/+12
2016-09-05Merge "Switch print to logging.info"Morgan Richomme5-32/+44
2016-09-05[Doctor test case] Redirect output to a log filejose.lausuch1-5/+12
The output shown in the Jenkins console will now be redirected to a file which will be available and linked to the artifacts repository. Change-Id: I2e9b5c2ab681a787aa0fc249844cc13feb581764 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-09-05Revert excluding floating IP cases from odl_l3vitikkan2-21/+4
Only restrictions table in release notes is updated. Change-Id: I8f27a876058eabe1c490fc5980de5626aed665a3 Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
2016-09-05solve bidirectional dependencies between ci and utils modulesSerenaFeng1-15/+14
Ci module's run_tests.py references utils module's functest_utils, and functest_utils references ci module's tier_handler. Form a bidirectional dependencies between two packages. JIRA: FUNCTEST-456 Change-Id: Idbdd4896fb1ec786fcfd656832bfe2d4048a8278 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-02Merge "Exclude test cases that use floating IP from odl_l3 scenarios"Morgan Richomme2-0/+24
2016-09-02Exclude test cases that use floating IP from odl_l3 scenariosvitikkan2-0/+24
All the tempest_smoke_serial test cases that use floating IP addresses for accessing instances are excluded because of ODL bug https://bugs.opendaylight.org/show_bug.cgi?id=5586 JIRA: FUNCTEST-445 Change-Id: I19468be108a25e989c0cfef031bbe5f2b9db0964 Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
2016-09-02Merge "Print all the Copper test output to a log file"jose.lausuch1-6/+10
2016-09-02Print all the Copper test output to a log filejose.lausuch1-6/+10
To keep the jenkins console clean and readable, dump all the output that the Copper test case generates to a log file and push it to artifact repository at the end. Change-Id: If4812c7e92b4d050757ca07333f7c353a0220056 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-09-02Merge "Print all the Parser test output to a log file"jose.lausuch1-6/+9
2016-09-02Print all the Parser test output to a log filejose.lausuch1-6/+9
To keep the jenkins console clean and readable, dump all the output that the Parser test case generates to a log file and push it to artifact repository at the end. Change-Id: I04c8507fda535c7bcb0919fc3bc5877336664942 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-09-02Merge "Add print-to-a-file option when executing a command in functest_utils"jose.lausuch1-4/+11
2016-09-02Merge "Change default memory for Promise flavor"jose.lausuch1-1/+1
2016-09-02Merge "Fixes cleaning up HA Neutron objects"Jose Lausuch1-0/+11
2016-09-02Merge "Force python-keystoneclient to version 2.3.1 for tacker to work"jose.lausuch1-0/+1
2016-09-01Fixes cleaning up HA Neutron objectsTim Rozet1-0/+11
This fixes a race condition where the cleanup method is trying to remove HA networks, while Neutron is also trying to remove the network - after the HA router is removed. This only applies to installations where Neutron L3 HA is enabled (nosdn cases only). JIRA: FUNCTEST-454 Change-Id: If06b6f6297e99dcce4b0f2aff8ec80b47488ee90 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-09-01Change debug mode for commands that generate too much output in sec_scanjose.lausuch1-6/+7
The security scan test case generates sometimes too much output messages and makes Jenkins unreadable. For example: https://build.opnfv.org/ci/job/functest-apex-apex-daily-colorado-daily-colorado/65/console 80% of the output belongs to this test case. This patch will reduce it since debug information is not showed in Jenkins but it is pushed as part of functest.log to artifacts. Change-Id: I56b3adf87d302d118ee5c15eb86bc10237a7cc4e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-09-01Change default memory for Promise flavorjose.lausuch1-1/+1
In some scenarios (bgpvpn) the timeout defined in promise to boot/delete vms is too tight. Having less memory might fix the problem as it will take less time and it doesn't impact the promise test case. Change-Id: Ib3165ea5d6518d88384f76c8edd10dddb0b529a3 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-09-01Add router association utility functionGeorge Paraskevopoulos1-0/+5
Add function to create an association between a router and a bgpvpn Change-Id: I23449a0363f9d8f3c77ea3be1e104586d3c111d1 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-09-01Add print-to-a-file option when executing a command in functest_utilsjose.lausuch1-4/+11
Change-Id: I8b91979380d0f4794d5ceaf8edb2a9d80cd7170f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-09-01Fix some bugsboucherv2-2/+2
Change-Id: Iaf0859775933ba09cbbe170af3ce4ed1e6d3e9a1 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-09-01Switch print to logging.infoCédric Ollivier5-32/+44
It follows the recommendations described in the next review [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/19795/ Change-Id: Ie7ce28451122c554f135caad068844c0303deaeb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-09-01Force python-keystoneclient to version 2.3.1 for tacker to workjose.lausuch1-0/+1
Tacker client is installed from Tim Rozet repository, it doesn't support version 3 of the keystone client. Change-Id: Ie2005b1590dfccf93442995e96e0c02b4629edea Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-09-01stop hardcoded FUNCTEST_REPO path everywhereSerenaFeng17-72/+54
functest repo is used by almost every testcase, each place we get it like: REPOS_DIR = os.getenv('repos_dir') FUNCTEST_REPO = ("%s/functest" % REPOS_DIR) provide a common interface in functest_util.py JIRA: FUNCTEST-453 Change-Id: Ie0635dacc761ed2d05b7e606530368844f32ebaf Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-01Merge "unify functest_yaml obtain process"Jose Lausuch14-71/+38
2016-09-01Merge "Add a specific logger for orchestrator class"Jose Lausuch2-60/+45
2016-08-31Remove copper from lxd scenarioMorgan Richomme1-1/+1
JIRA: FUNCTEST-452 Change-Id: I35c6417e6650ce190e499384f9cf9cca1fa35eb1 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-08-31Refactor SFC testcaseGeorge Paraskevopoulos1-49/+54
- Change the way the test checks if the vxlan_tool has started. Now the vxlan_tool is detected even if another python process is up. - Log the exceptions in the vxlan_tool check block. The exceptions that occur are not destructive for the testcase but it's better to be visible. - Add a 60 seconds sleep before the testcase starts to give plenty of time to ODL to add the correct flows. - Move the testcase success/fail check blocks inside the try blocks. The checks are performed on the stdout variable which is in scope only inside the try blocks. Change-Id: I49dec176fb83117e9896ac1d19e8a5bd95e3d7cf Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-08-31Add a specific logger for orchestrator classboucherv2-60/+45
JIRA: FUNCTEST-428 Change-Id: I1aab08f8f92df3b5527e6f8121cdf45aec2f5c17 Signed-off-by: boucherv <valentin.boucher@orange.com>