aboutsummaryrefslogtreecommitdiffstats
path: root/ci
AgeCommit message (Collapse)AuthorFilesLines
2016-08-24Stop calling exec_test.sh in the middle of python scriptsCédric Ollivier1-3/+11
Now run_tests.py calls directly OpenDaylightTesting.functest_run(). It mainly reads env vars as exec_test.sh does. Change-Id: Ibb44a7ca67e9218d34d13b8dd539e772902fe5b8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-08-23Avoid duplicating logs in run_tests.pyCédric Ollivier1-1/+1
When run_tests.py sets logger as execute_command arg, logs are duplicated in functest.log and not shown in console (as every DEBUG message). As logger is mainly managed by the python scripts in charge of testing, it can be safely removed here. stderr is also redirected to stdout in execute_command to print possible relevant data. JIRA: FUNCTEST-431 Change-Id: Ie77544b4679e12e0a0ac7f5e5989d86862fe106b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-08-23Enable security scan for apex scenariosvitikkan1-1/+1
Change-Id: I6c2925237d7ae437f49d60d37ef906ed8029eb03 Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
2016-08-23doctor test support fuel installerdongwenjuan1-1/+1
Change-Id: I9229d4de823568bfefd4f2c1ab5c5c1a1ded6d2c Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2016-08-22Merge "Add reporting to DB in OpenDaylightTesting"Morgan Richomme1-10/+6
2016-08-22Merge "refactor vping"Morgan Richomme1-2/+2
2016-08-22refactor vpingSerenaFeng1-2/+2
There are lots of common processes in vPing_userdata.py and vPing_ssh.py, abstract and refactor them. JIRA: FUNCTEST-414 Change-Id: I4cd2c635318c063319d2a3c31f9a1e512eeea6c8 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-08-21Chmod 755 all py files which can be executedCédric Ollivier1-0/+0
All files where __main__ is checked can now be executed by everyone. It results from [1] like the next commit [2]. [1] find . -name "*.py" |xargs grep __main__ |cut -d\: -f 1 |xargs chmod 755 [2] https://gerrit.opnfv.org/gerrit/#/c/16737/ Change-Id: I75395892e9e6afbf8ac9c995258496be557aad5f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-08-19Add reporting to DB in OpenDaylightTestingCédric Ollivier1-10/+6
It now relies on Robotframework API instead of parsing output.xml. The type of critical and elapsedime fields are now bool and int respectively. start_date and stop_date has been fixed too. JIRA: FUNCTEST-367 Change-Id: I59f3ad2109345395ccf01a714301a14f9323f088 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-08-19Add exec rightCédric Ollivier1-0/+0
Change-Id: I9c3fd786574622977870b12d38b92f8bed8a929c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-08-19Pull down default instance flavorMichael Polenchuk1-1/+1
Set default instance flavor to m1.tiny in order to keep hardware resources requirements at the minimum. Change-Id: If070e25389e1d7978c34dec8621414c8938a262f Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-08-18Remove useless odlreport2db argsCédric Ollivier1-2/+1
It removes useless odlreport2db args as functest_utils parses env vars too and erases this previous values. All mandatory env vars are still checked in exec_test.sh. Change-Id: I3dd299dcad1758b994cf9d53ef65a5b83dc46b97 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-08-18Merge "Add report flag for moon"Morgan Richomme1-1/+1
2016-08-18Merge "resume Parser test run on fuel onos"Morgan Richomme1-1/+1
2016-08-18Add report flag for moonMorgan Richomme1-1/+1
JIRA: FUNCTEST-210 Change-Id: I97be5542ae4ae87f1b8d62394ff66068e77f4082 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-08-18delete extra slash while execute cases test in exec_test.shSerenaFeng1-2/+2
There are two slashes appeared in the path when we execute case test: /home/opnfv/functest/conf//openstack.creds /home/opnfv/repos/functest//testcases/OpenStack/vPing/vPing_userdata.py JIRA: FUNCTEST-421 Change-Id: I4fa8a11499e301dd84d1e1de7c72189b8d84459b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-08-18resume Parser test run on fuel onosSerenaFeng1-1/+1
Parser tests was removed by onos people in change https://gerrit.opnfv.org/gerrit/#/c/18821/. After we talk about this, we found it was a mis-removal. JIRA: FUNCTEST-422 Change-Id: I76da8786cac0fc5c874aa69e937d6ae19b20c6b1 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-08-17Merge "Add reporting flag to push reuslts only from CI"Morgan Richomme1-4/+4
2016-08-17Remove parser tests from fuel onoswuwb19891-1/+1
Change-Id: I72467575ca3eb79cbd0094882d3a5be73c2cf308 Signed-off-by: wuwb1989 <wuwenbin2@huawei.com>
2016-08-17Add reporting flag to push reuslts only from CIMorgan Richomme1-4/+4
JIRA: FUNCTEST-416 Change-Id: I1a5800be0dcf75573f44e6214b23917aadc1cbf7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-08-17[multisite] set the criteria as 100%meimei1-1/+1
Change-Id: I8e6a274c0f250b63c3e6f698b527fc476e1162b8 Signed-off-by: meimei <meimei@huawei.com>
2016-08-16Repoint security_scanning to its own repositoryLuke Hinds1-1/+1
JIRA: FUNCTEST-415 Change-Id: I5ac2bd9b417ae045f4a1c0fa3f4fd2e7c545dbf3 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-08-16Call moon python script to run the moon testsMorgan Richomme1-2/+1
JIRA: FUNCTEST-210 Change-Id: Ic0a5f5620f9ceb42cb443b2509a2376e48d0cc42 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-08-15Merge "add parser to feature tier to make it run daily"Morgan Richomme1-10/+9
2016-08-14add parser to feature tier to make it run dailySerenaFeng1-10/+9
For now parser belongs to vnf tier, but this tier is defined to run weekly, which is not parser wanted, so I move it to feature tier to make it run daily. JIRA: FUNCTEST-413 Change-Id: I5b1fe3e7b140d26fe2e71f0a625e0ffad7937a13 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-08-12Fixing a typoDimitri Mazmanov1-1/+1
Multisite jobs kept failing because of a typo. Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com> Change-Id: I6e484e6457c7b8bae7c0343e9307bd15222e4fe3
2016-08-12Merge "Improve LXD scenario support"Morgan Richomme3-1/+3
2016-08-12Improve LXD scenario supportboucherv3-1/+3
JIRA: FUNCTEST-268 Change-Id: I8c8a3eff4a7e94b963c0307010a60723dc13a537 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-08-11Merge "Create config_functest patch to update the conf with scenario"boucherv2-1/+32
2016-08-11add report flag to parserSerenaFeng1-1/+1
parser has no report flag, every time we run the test the results will be reported to db JIRA: FUNCTEST-410 Change-Id: I6336b4c367fd8edc70e076b81d01d9356580bc22 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-08-11Merge "[multisite] refactor the scripts of multiste"meimei1-1/+2
2016-08-11[multisite] refactor the scripts of multistemeimei1-1/+2
Change-Id: I07f0f5e253b04c9ac70e6dc4ea210e7cecf22c6a Signed-off-by: meimei <meimei@huawei.com>
2016-08-11change parser path from RNC to vRNCSerenaFeng1-1/+1
JIRA: FUNCTEST-409 Change-Id: I83887160a328c6f022efaa1547ca214571a9a01c Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-08-10Create config_functest patch to update the conf with scenarioboucherv2-1/+32
Adding support of LXD scenario JIRA: FUNCTEST-268 Change-Id: I5891ff9de674d99d32d8db747be501ee8a2e6609 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-08-10parser integration bugfixSerenaFeng1-16/+0
JIRA: FUNCTEST-407 Change-Id: I9f202cb09935d9b77c5a977234bec6b505e296fd Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-08-08Merge "Enable Copper functest under JOID"Morgan Richomme1-1/+1
2016-08-07Merge "Bug fixes odl-sfc + new features"valentin boucher1-0/+5
2016-08-05Bug fixes odl-sfc + new featuresManuel Buil1-0/+5
* Doing the test with private IPs as floating are currently not working in ODL * New SF takes more time to start the service. A while loop is added. * Configuration of the compute set-up due to ODL limitations added Change-Id: I5449af940caee456262dac66bc47b66fd05c2a70 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-08-05Reduced timeout for SSH connection attempt in tempest.confvitikkan1-0/+2
Some tempest test cases try to establish SSH connection to Cirros VMs using default 300s timeout. Since Cirros VMs send only three DHCP requests with 1 minute interval, future SSH connection attempts will most probably fail if DHCP response will not be received right after third request. For that reason the optimal timeout is slightly above 2 minutes. JIRA: FUNCTEST-378 Change-Id: I57415ad37a85cd84887d3cac4f7a44f7e145d820 Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
2016-08-04Merge "unify test result check for feature project and apply to parser"valentin boucher1-1/+1
2016-08-04unify test result check for feature project and apply to parserSerenaFeng1-1/+1
add check_test_result() method to unify test result process JIRA: FUNCTEST-405 Change-Id: Iee4d2876cbbf372f8c3e3bf94448036669bc7f7e Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-08-04support "" equals to None check in Testcase.is_compatibleSerenaFeng1-3/+7
when check ci_installer/ci_scenario is None, we also check if ci_installer/ci_scenario is "" JIRA: FUNCTEST-404 Change-Id: Ib8b7b9a98f6eb064d2b3648e5d1334990c69cb2f Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-08-03Enable Copper functest under JOIDblsaws1-1/+1
JIRA: COPPER-4 Change-Id: Ief49cea34ed15ba9c877bf4acd512f4d77cb5016 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-08-01Fix missing directory when calling bgpvpn testsjose.lausuch1-0/+1
Change-Id: Ic9f6b9592202c3bed9d6835eeea7c14971e1c01f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-31Wrap call to the rest api with try-except while generating reportjose.lausuch1-6/+11
When the Rest api is not available for some reason (see associated JIRA), the script fails and it gives also a false output to Jenkins. JIRA: FUNCTEST-399 Change-Id: I81622a2e22661889afcf49526c2421af257920a4 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-30Add onos_sfc scenariowuwenbin22-0/+13
JIRA:ONOSFW-172 Change-Id: I019edf79f8d343f794aa7af151d8e30c18e2c5f6 Signed-off-by: wuwenbin2 <wuwenbin2@huawei.com>
2016-07-29Add dir_repo_domino to fix bugUlas Kozat1-0/+1
JIRA: DOMINO-19 Change-Id: Ib054b859569ef69e32cec650c7dd223199762763 Signed-off-by: Ulas Kozat <ulas.kozat@gmail.com>
2016-07-28Select test cases in tempest to be blacklisted per each scenariojose.lausuch2-15/+2
JIRA: FUNCTEST-396 Added example for SDNVPN test cases Change-Id: I623130fc330c95239d982097552ca09f2a7ea34a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-28Prevent exiting the overall execution when there is a failed test casejose.lausuch1-12/+3
Unless it is a test with the flag blocking=true Change-Id: Iada54319db1c81c73781f1b135eb496bc9f2af1b Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-28Scripts added to enable the SFC-ODL test in CIManuel Buil1-0/+6
We need to install Tacker in the server before running the test cases Change-Id: Id7daee80627bc71c335fcb3efa5d389594641b65 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>