summaryrefslogtreecommitdiffstats
path: root/utils/test
AgeCommit message (Collapse)AuthorFilesLines
2016-09-27refactor elastic_access.pySerenaFeng4-30/+39
JIRA: FUNCTEST-495 Change-Id: I639c9b4838ba026cf48c01081810f663467163a8 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-27Merge "template-ize kibana visualization"Morgan Richomme4-66/+166
2016-09-26template-ize kibana visualizationSerenaFeng4-66/+166
JIRA: FUNCTEST-492 Change-Id: I7235ff371ee16ae7f2e759d73735e1aa9b248c1c Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-23Merge "Add hyperlink on scenarios"Morgan Richomme5-16/+61
2016-09-23Add hyperlink on scenariosMorgan Richomme5-16/+61
JIRA: FUNCTEST-482 Change-Id: Ibe19f153dc79ae1a9b78ec9eb52bb48898d63d7e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-09-22Merge "Remove Brhamaputra dashboard process from testapi"Morgan Richomme13-1639/+0
2016-09-22Remove Brhamaputra dashboard process from testapiSerenaFeng13-1639/+0
Now, ELK is the framework used for dashboarding JIRA: FUNCTEST-489 Change-Id: I51e8bc83e7309a226515f603eb4c468b7e7a69bd Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-22rebuild directory structure of Kibana dashboardSerenaFeng20-40/+41
JIRA: FUNCTEST-465 Change-Id: Icecd350b2f67105c8aaa9d71fd76d24827515545 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-21use configure file rather than arguments to organize the configurationSerenaFeng5-48/+144
JIRA: FUNCTEST-480 Change-Id: Id5706de5f05d6841a1e9d8bafae7df0255c22a26 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-20Remove Brhamaputra dashboard from repoMorgan Richomme8-441/+0
ELK is now the framework used for dashboarding Change-Id: I3b56df32ab1dd16d23eb528addf599ba644df686 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-09-20Make a black list for yardstick reportingchenjiankun3-0/+26
JIRA: YARDSTICK-353 Change-Id: Ic4821ff279401cc4eb26d172c0b649e9eeb2da48 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2016-09-20Merge "only publish testcases appear in testcases.py to save time"Morgan Richomme5-148/+208
2016-09-19only publish testcases appear in testcases.py to save timeSerenaFeng5-148/+208
JIRA: FUNCTEST-474 Change-Id: Icb9f2ceaaf87f6b18d2aa342f093fefb3598f719 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-19Change display way of reporting status, add last ten days scorechenjiankun18-32/+78
JIRA: YARDSTICK-350 Change-Id: Iea1d8a30cf3464c8b9a0b8b6ac2e0ce41adea00d Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2016-09-14Add gauge metrics for Functest reporting dashboardjose.lausuch16-11/+42
JIRA: FUNCTEST-476 Change-Id: Ia39ffa8b39a1085a081d6128871cee20436e051c Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-09-14Merge "merge N days and whole database process and not publish existed data ↵Morgan Richomme4-95/+92
any way"
2016-09-14Merge "Fix security issues of eval-s in testapi"Morgan Richomme13-30/+35
2016-09-14Fix security issues of eval-s in testapiSerenaFeng13-30/+35
results from security audit show risks and recommendations to fix them JIRA: RELENG-144 Change-Id: If128cc3ae230150a912b581dfb1ded543d851eb5 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-14merge N days and whole database process and not publish existed data any waySerenaFeng4-95/+92
JIRA: FUNCTEST-473 Change-Id: I2631fa04b0922afda2746cfd6be6f35587d534ba Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-13Merge "Bugfix: reporting shows more than 4 days result"Morgan Richomme1-0/+2
2016-09-13Merge "add logger common process for releng scripts"Jose Lausuch3-13/+70
2016-09-13Bugfix: reporting shows more than 4 days resultchenjiankun1-0/+2
JIRA: YARDSTICK-346 Change-Id: Ife5334f9c7d6a1546eee6995ce4b1b36d0f2c008 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2016-09-13Merge "Implements use of yaml.safe_load as per sec audit"Morgan Richomme1-1/+1
2016-09-13Bugfix:[yardstick reporting] reporting status is not true due to select a ↵chenjiankun1-2/+8
wrong keyword JIRA: RELENG-146 Change-Id: I9bea896c3be02b7533ab170b3e91117499eef06f Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2016-09-13add logger common process for releng scriptsSerenaFeng3-13/+70
JIRA: FUNCTEST-468 Change-Id: I03fb25ef26db521bceb740ec2808106a00e55165 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-12Implements use of yaml.safe_load as per sec auditLuke Hinds1-1/+1
Change-Id: I9b8d9746e8a3beebc1aff9f883dcec39928831d7 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-09-12Merge "utils: arm-pod3 test logs push enable"Morgan Richomme1-1/+1
2016-09-12refactor modify_mongo_entry of kibana_dashboardSerenaFeng6-278/+226
JIRA: FUNCTEST-469 Change-Id: Ifd6598232fb0a1615352e0f27aefd51beeedbcbc Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-12Merge "bugfix: yardstick reporing in stable branch omit stable/"Morgan Richomme1-1/+1
2016-09-12bugfix: yardstick reporing in stable branch omit stable/rexlee87761-1/+1
JIRA: YARDSTICK-343 Change-Id: I926d1fcb308feb118663ba4db7adf3bc9eab7cbe Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2016-09-09utils: arm-pod3 test logs push enableAlexandru Avadanii1-1/+1
arm-pod3 is a CI POD deployed with Fuel on AArch64 hardware, and also runs Functest jobs for it. Enable pushing logs from this POD, as well as listing it in the dashboard. Closes-bug: ARMBAND-73 Change-Id: I8ed833f6a0b3a96d7473539129de662f8ddde95e Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-09-08Fix security issues reported by the security auditMorgan Richomme6-9/+9
JIRA: RELENG-143 Change-Id: Ia20c6ce86e72924ab8ab5f93bdc956d7f6a40a93 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-09-07Merge "Add stable/colorado to versions"Morgan Richomme1-1/+1
2016-09-07template-ize _testcases in create_kibana_dashboards.pySerenaFeng2-491/+186
Visualization items of test cases is written in _testcases variable in create_kibana_dashboards.py, make it rather difficult to integrate other testcases. Use a yaml configuration file to simplify it JIRA: FUNCTEST-461 Change-Id: If64f6e18ea72dd864c9e9e067655aa951406b291 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-07Add stable/colorado to versionschenjiankun1-1/+1
Change-Id: Ieccb04d20ca23265af30e6a671cd999b6d1cd349 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2016-09-05make mongo_to_elasticsearch.py skip resolve-failed resultsSerenaFeng1-18/+24
mongo_to_elasticsearch.py exit when encounter can-not-be-parsed results, for example: File "mongo_to_elasticsearch.py", line 58, in _convert_duration hours, minutes, seconds = duration.split(":") ValueError: need more than 2 values to unpack File "mongo_to_elasticsearch.py", line 228, in modify_functest_odl test_statuses = _get_dicts_from_list(testcase, testcase['details']['details'], KeyError: 'details' change the logic, try...Except the Exception, logger it as error, then continue processing the rest results Change-Id: I18facd457ba3e8f661f5c9a1da1e6c200af6fc4e Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-02correct backup-db.sh in kibana repo to keep consistent with testapiSerenaFeng1-6/+6
We change some interfaces in testapi, but this file doesn't change with that JIRA: FUNCTEST-455 Change-Id: I105a82557244481bbdf9885fc166ebe975b050ea Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-01Fix test results dashboard homepage navbar linksDaniel Farrell2-7/+11
The previous versions were the wrong paths, 404'd. Change-Id: I9368db672a18b5bb0394cfacf016cd7f5821d886 Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
2016-08-30Merge "Add the function of yardstick testcase reporter"Morgan Richomme12-0/+304
2016-08-27Add the function of yardstick testcase reporterrexlee877612-0/+304
JIRA: YARDSTICK-324 Change-Id: I58969265f88d5c20f46f0b1097f5b0ccb1d9a40d Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2016-08-25Add colorado reporting for tempest and vimsMorgan Richomme6-180/+190
Change-Id: I978799cd1cd777b5033e55a0146c41865e9c2bf5 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-08-22adapt reportingMorgan Richomme5-2/+2
- no odl-SFC test reported to DB - add link to scenario scoring wiki page - add +x on executable python files Change-Id: I6724408e3ed5d6a2ba78aff40d80d692c1e0780b Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-08-17Add parser in automatic reportingMorgan Richomme1-2/+4
Change-Id: I3d9c09b0da471e03647c09e96ca8b7ec89afb300 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-08-17Merge "update testapi only with one command"Morgan Richomme3-17/+113
2016-08-15update testapi only with one commandSerenaFeng3-17/+113
when using ansible to do the update, we need to config ansible's hosts file/add ssh_key to ssh_agent/check the connectivity of ansible and playbook...etc, here playbook-update.sh will do all the job automatically JIRA: FUNCTEST-411 Change-Id: Ie635eb9eccd1f4e39a94a352f649e56268744091 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-08-12Add copper in reportingMorgan Richomme2-3/+3
JIRA: FUNCTEST-67 Change-Id: I4881b2ba0c20a65567a59fb9fc7645c438a341ad Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-08-12Merge "support docker build image during updating testapi"Fatih Degirmenci3-1/+19
2016-08-10Fix unknown projects in reportingMorgan Richomme3-10/+20
Change-Id: Ia3d21694b8bf5e7131110124a520ecc0b9234509 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-07-28support docker build image during updating testapiSerenaFeng3-1/+19
add rm_images.sh script modify README.md add build image operations in update.yml JIRA: FUNCTEST-395 Change-Id: Ia9bd6e8e6d1096b9b946cb5508f4cac5ea6e6e25 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-07-27update testapi server in testresults.opnfv.orgSerenaFeng3-27/+47
support body of post results carries no trust_indicator add unittest of no trust_indicator in post results body specify changes in db JIRA: FUNCTEST-391 Change-Id: Ic61a5edbad1bca7689d618761bca94ef69dea80b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>