summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-08-22bugfix: push_result_to_db exception showSerenaFeng1-0/+5
When pod is not exist in DB, exception will be shown as 'Error pushing results into Database '<type 'exceptions.TypeError'>'', very unclear, make it very difficult to fix the problem. Modify it to show as the testapi returned 'HTTPError: HTTP 404: Not Found (Could not find pod [zte-no])' JIRA: FUNCTEST-424 Change-Id: I55fc4639d745b84f6d32a148bd13793d236e2a09 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-08-22Improve errors and status codes managementCédric Ollivier1-11/+12
Run returns the number of errors which is irrelevant to catch as they are published to DB. Useless generated files are desactivated too. Change-Id: I2baf6d5242c5f4095302a47ff90272fb95103457 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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 Richomme3-150/+62
2016-08-22Merge "Protect again changes of unix permissions"Morgan Richomme1-0/+3
2016-08-22Merge "refactor vping"Morgan Richomme4-544/+322
2016-08-22refactor vpingSerenaFeng4-544/+322
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-21Protect again changes of unix permissionsCédric Ollivier1-0/+3
It adds chmods in Dockerfile to ensure python and bash scripts can be executed. Change-Id: I9d75e87fcb1eb2e6fa37039fa5a070ef21cf0efb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-08-21Chmod 755 all py files which can be executedCédric Ollivier4-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 Ollivier3-150/+62
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-19Merge "Fix print when push_results_to_db fails"Morgan Richomme1-2/+2
2016-08-19Fix print when push_results_to_db failsCédric Ollivier1-2/+2
Change-Id: I82741a8727fc17bc6648e1b1e92511b3efd93b8a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-08-19Merge "Modify data sent to testAPI"Morgan Richomme1-19/+12
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-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-19Merge "functest compass usage document"Morgan Richomme1-0/+58
2016-08-19Merge "Remove useless odlreport2db args"Morgan Richomme2-32/+7
2016-08-19Merge "Colorado Release note"Morgan Richomme1-147/+174
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-19Colorado Release noteMorgan Richomme1-147/+174
FUNCTEST-420 Change-Id: I3fab0637fedc04bcb61a76e61f91da5df5c732c1 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-08-19fix Pillow version 3.3.0Ryota MIBU1-0/+1
The latest docker build for functest container has failed while installing Pillow-3.3.1 [1], where the previous build had succeeded [2]. Let's pin the version of Pillow to 3.3.0 . [1] https://build.opnfv.org/ci/view/functest/job/functest-docker-build-push-master/589 [2] https://build.opnfv.org/ci/view/functest/job/functest-docker-build-push-master/588 Change-Id: I18e46340aa8f43ec56aef5e3d208cac59af10a9c Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-08-18functest compass usage documentMatthewLi1-0/+58
JIRA: FUNCTEST-333 add some information in configuration file Change-Id: I6ec91d15c859b9739904d602aef3a0927f6561b6 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-08-18Merge "complement Parser related userguide"Morgan Richomme3-4/+12
2016-08-18complement Parser related userguideSerenaFeng3-4/+12
JIRA: FUNCTEST-423 Change-Id: Ib52e04a873a2a924102832fe5461ebab2296464d Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-08-18Merge "Config guide workflow simplification"Morgan Richomme2-496/+454
2016-08-18Config guide workflow simplificationJuha Haapavirta2-496/+454
Workflow simplification for config guide. Several good improvement ideas taken into account. Work is not totally complete yet and may need separate handling. Added link to chapter "Apex installer tips" which was accidentally dropped off. Moved commands specific to apex to appropriate section. Took away the Rally as an example of the test case execution behind a proxy. Rally does not nesessarily need internet connectivity. I finally removed the dreaded "Whiteschpace" at EOL in several places. Adding minor tweaks and finetuning. Corrected the phrasing of docker installation. JIRA: FUNCTEST-347 Change-Id: I35c094d1d89538a2991a384bbc70b48b0d18e75d Signed-off-by: Juha Haapavirta <juha.haapavirta@nokia.com>
2016-08-18Remove useless odlreport2db argsCédric Ollivier2-32/+7
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-18Merge "Minor fixes for Doctor Project"Morgan Richomme1-3/+4
2016-08-18Merge "Convert to Unix format"Morgan Richomme1-85/+85
2016-08-18Minor fixes for Doctor ProjectBertrand Souville1-3/+4
Note: The correct links to Doctor/Promise user guides will be added once we cut colorado branch Change-Id: Ib3a75027e7e8a94f8cb31ab827208ec391f2e2a8 Signed-off-by: Bertrand Souville <souville@docomolab-euro.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-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-17Check the response status codeCédric Ollivier1-0/+1
Now an HTTPError exception is raised in case of a 4XX or 5XX error response. Change-Id: Idd91c1d2b2a1b81a1cf7d075527cb302099cdb4e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-08-17Merge "Add reporting flag to push reuslts only from CI"Morgan Richomme6-82/+91
2016-08-17bugfix: wrong directorymeimei1-1/+1
Change-Id: I0b39277118ff26496553f9639a1c219fd5783b8f Signed-off-by: meimei <meimei@huawei.com>
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 Richomme6-82/+91
JIRA: FUNCTEST-416 Change-Id: I1a5800be0dcf75573f44e6214b23917aadc1cbf7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-08-17Merge "[multisite] set the criteria as 100%"Morgan Richomme1-1/+1
2016-08-17[moon] install moonclient in dockermeimei1-0/+1
Change-Id: Ie8b46620dfa995038c0f40e23133ac301496438a Signed-off-by: meimei <meimei@huawei.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-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-17Merge "output logger info for Parser tests"Morgan Richomme1-1/+4
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>