summaryrefslogtreecommitdiffstats
path: root/testcases
AgeCommit message (Collapse)AuthorFilesLines
2016-08-22Merge "Bug fix - Better way to grab file from gerrit"valentin boucher1-3/+5
2016-08-22Catch exception if output.xml failedCédric Ollivier1-15/+19
It protects against a direct call to push_to_db without a previous run even if it can not happen in the current implementation. Change-Id: Ifa00aed60912fa8b96b80d581067548ac6727fb5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-08-22Merge "Add reporting to DB in OpenDaylightTesting"Morgan Richomme2-140/+56
2016-08-22Merge "refactor vping"Morgan Richomme3-542/+320
2016-08-22refactor vpingSerenaFeng3-542/+320
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 Ollivier3-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 Ollivier2-140/+56
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-19Bug fix - Better way to grab file from gerritManuel Buil1-3/+5
We changed the way to download a single file from gerrit We point now to the original file as bugs in tacker were fixed Change-Id: I566b2f95ac1ab6032f22180bb42d0fa49482058c Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-08-19Modify data sent to testAPICédric Ollivier1-19/+12
It mainly removes prefixes, '#' and '@' and changes details to tests. It deletes useless comments too. Change-Id: I7807a7429a90e7c7c15f8662008a5a768f96be98 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-08-18Remove useless odlreport2db argsCédric Ollivier1-30/+6
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 "Convert to Unix format"Morgan Richomme1-85/+85
2016-08-17Reorder importsCédric Ollivier1-1/+3
It conforms to OpenStack Style Guidelines [1] [1] http://docs.openstack.org/developer/hacking/ Change-Id: I995ff7fa3be995ca59e59c070b93394cd7200066 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-08-17Convert to Unix formatCédric Ollivier1-85/+85
Change-Id: I3ddb9c38010c6f19ebd507990b57c9c498f49da8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-08-17Merge "Add reporting flag to push reuslts only from CI"Morgan Richomme4-75/+75
2016-08-17Add reporting flag to push reuslts only from CIMorgan Richomme4-75/+75
JIRA: FUNCTEST-416 Change-Id: I1a5800be0dcf75573f44e6214b23917aadc1cbf7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-08-17Modify joid tempest list for onoswuwb19891-5/+16
Change-Id: I0ae03b1f13bbc8801d8c14fa6ff1b93117c80e91 Signed-off-by: wuwb1989 <wuwenbin2@huawei.com>
2016-08-17Merge "blacklist.txt file format corrected"Morgan Richomme1-0/+2
2016-08-17blacklist.txt file format correctedvitikkan1-0/+2
Only last part of blacklist.txt file was loaded by yaml.safe_load() function. File format is corrected. JIRA: FUNCTEST-418 Change-Id: I9c922b1a7b739e7d0c0d5afa3e0ea700749f9d50 Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
2016-08-17output logger info for Parser testsSerenaFeng1-1/+4
Parser testcase fails in Functest. Because there's on Parser debug info, make it difficult to track failures. JIRA: FUNCTEST-417 Change-Id: I04152de702f216dc053bdd7922a5672b5712aaff Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-08-16Add onos blacklist for tempestCNlucius1-0/+17
Change-Id: If722e0d3376b8d04766b1eb871caadc5bc6e7c18 Signed-off-by: CNlucius <lukai1@huawei.com>
2016-08-16Fix joid test bug that creation of vm failswuwb19891-0/+16
Change-Id: I54d56cb2266ae627e4518f06b14705b672e6f74e Signed-off-by: wuwb1989 <wuwenbin2@huawei.com>
2016-08-16[multisite]push result to dbmeimei1-0/+2
Change-Id: Idda3a3a5c8fb20f6894675eb087417e150f8646d Signed-off-by: meimei <meimei@huawei.com>
2016-08-15Merge "copper push to DB fix"Morgan Richomme1-17/+23
2016-08-12Provides connection check for package download.Luke Hinds2-15/+62
JIRA: FUNCTEST-388 Performs simple connection test, using socket from std python library. If no connection can be made, socket will timeout and gracefully move to trying the next compute / control node. Change-Id: I0048d74d607c8824688c73791c9646f9e9186756 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-08-12copper push to DB fixMorgan Richomme1-17/+23
JIRA: FUNCTEST-67 Change-Id: I03620f7f41f78da0ab004d55f72da88e9a30a1ea Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-08-12Merge "Bug fix to eliminate undeterministic behaviour"valentin boucher1-0/+3
2016-08-12Merge "Improve LXD scenario support"Morgan Richomme1-2/+3
2016-08-12Improve LXD scenario supportboucherv1-2/+3
JIRA: FUNCTEST-268 Change-Id: I8c8a3eff4a7e94b963c0307010a60723dc13a537 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-08-12Merge "Tacker post script link changed"Morgan Richomme1-3/+3
2016-08-12Tacker post script link changedManuel Buil1-3/+3
The tacker post script was modified in the fuel plug-in and thus the link must be changed Change-Id: I541eb43baf70171cb7c7ceb3fae284309a1a458b Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-08-12[bugfix] should create result folder for multisitemeimei1-0/+4
Change-Id: I004225131de57f1597edc62558a3a3e42f31b504 Signed-off-by: meimei <meimei@huawei.com>
2016-08-12[bugfix] pass the wrong argument to rallymeimei1-1/+2
Change-Id: I23ff06b53e45e9aa226f430e7d2fb75025281b9e Signed-off-by: meimei <meimei@huawei.com>
2016-08-11Bug fix to eliminate undeterministic behaviourManuel Buil1-0/+3
When changing the classifier, ODL needs some seconds to update the switches and sometimes they are not changed when the script executes the second part of the test ==> test fails Change-Id: I1fa3306eb7b283d708dbd736d2365456559db9b9 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-08-11Merge "Create config_functest patch to update the conf with scenario"boucherv4-4/+8
2016-08-11add report flag to parserSerenaFeng1-7/+16
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"meimei2-86/+130
2016-08-11Merge "Bug fix in functest ODL-SFC"valentin boucher2-5/+13
2016-08-11[multisite] refactor the scripts of multistemeimei2-86/+130
Change-Id: I07f0f5e253b04c9ac70e6dc4ea210e7cecf22c6a Signed-off-by: meimei <meimei@huawei.com>
2016-08-10Create config_functest patch to update the conf with scenarioboucherv4-4/+8
Adding support of LXD scenario JIRA: FUNCTEST-268 Change-Id: I5891ff9de674d99d32d8db747be501ee8a2e6609 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-08-10Merge "parser integration bugfix"Morgan Richomme1-1/+1
2016-08-10Add SKIP status if Domino Test Case is skippedUlas Kozat1-8/+15
Change-Id: I099010496dadabc18952de88fd6b3740592fc583 Signed-off-by: Ulas Kozat <ulas.kozat@gmail.com>
2016-08-10parser integration bugfixSerenaFeng1-1/+1
JIRA: FUNCTEST-407 Change-Id: I9f202cb09935d9b77c5a977234bec6b505e296fd Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-08-10Bug fix in functest ODL-SFCManuel Buil2-5/+13
Change-Id: I496ade3ea5888967e933231f515a340369bffe8f Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-08-09Merge "Use Kingbird Bind host URL for Tempest"mei mei1-5/+49
2016-08-08Update test with the new SF and new tacker scriptManuel Buil4-6/+6
- A new SF image was created with a new name. Several files must be updated - There is a new tacker branch for OPNFV Colorado, an update was made Change-Id: Ib5ed364467baca32fa204155655318cb1ec189f5 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-08-08Use Kingbird Bind host URL for TempestAshish Singh1-5/+49
Earlier, there was external URL for accessing KB services in tempest.conf which is not accessible from functest docker. Use bind host URL for KB service to access from the docker. Change-Id: I147ffc2cd9883a6913080f9e1ab245807e0ca707 Signed-off-by: ashish singh <ashishsingh2k8@gmail.com>
2016-08-07Merge "Bug fixes odl-sfc + new features"valentin boucher3-18/+99
2016-08-05Bug fixes odl-sfc + new featuresManuel Buil3-18/+99
* 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/+3
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 "Re-generating tempest.conf file before starting tests"valentin boucher1-2/+6