summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-01-23Merge "Add paths to flake8 style check"Yu Yang (Gabriel)2-3/+4
2017-01-17Modify utils/ code into PEP8 styleliyin3-4/+3
JIRA: BOTTLENECK-100 Modify all the code in the utils folder into PEP8 style. Using more standard way to realize our function. Change-Id: Ie75c57f7fdd2a9d03849c3cb240918a6779d6be9 Signed-off-by: liyin <liyin11@huawei.com>
2017-01-17Merge "Bottlenecks stack environment prepare"Yu Yang (Gabriel)7-201/+145
2017-01-17Merge "bottlenecks create stack image"Yu Yang (Gabriel)2-0/+215
2017-01-13bottlenecks create stack imageliyin2-0/+215
JIRA:BOTTLENECK-125 This code incloud the actions below: 1)download unbuntu image. 2)modify this image bu mount it. 3)pack all files into a new image. those two files are copied from yardstick and slightly modified. Change-Id: I99c1ab266202767717906aed544d7e96cfeaa1a3 Signed-off-by: liyin <liyin11@huawei.com>
2017-01-12Merge "Modify utils/ code into PEP8 style"Yu Yang (Gabriel)8-16/+26
2017-01-12Modify utils/ code into PEP8 styleliyin8-16/+26
JIRA: BOTTLENECK-100 Modify all the code in the utils folder into PEP8 style. Using more standard way to realize our function. Change-Id: I965c507390adcb4404d33710f783b22241542890 Signed-off-by: liyin <liyin11@huawei.com>
2017-01-12Bottlenecks stack environment prepareliyin7-201/+145
JIRA: BOTTLENECK-124 This code is for Bottlenecks to have a common way to prepare stack environment. those action are divided into three part: fetch os file, source file and adding ext-net to source file. those function also need change other file like fetch_os_creds.sh. And add some config to config file. remove parser file logging function. This code is relying on the patch: Modify utils/ code into PEP8 style Change-Id: I54405776b6dc3f5fb939e511c96963a9c1624938 Signed-off-by: liyin <liyin11@huawei.com>
2017-01-12Add paths to flake8 style checkyuyang2-3/+4
JIRA: BOTTLENECK-100 Add paths utils/ to flake8 style check and change tests.sh->verify.sh to make it self-explanatory Change-Id: I653dd4412633c026a47472abd25df021bcd093a4 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-01-10Bottlenecks frame support parser configliyin2-0/+58
JIRA: BOTTLENECK-123 This code is for Bottlenecks to have a common way to parser config. those config are divided into three part: common config, test config and stack config. those function could build a frame of config read. we will modify it after a few times. Change-Id: I7d3ddc2c8af3043dc9cd89b519e506eca6a03514 Signed-off-by: liyin <liyin11@huawei.com>
2017-01-09Merge "Bottlenecks frame support log information"Yu Yang (Gabriel)1-0/+59
2017-01-09Bottlenecks frame support log informationliyin1-0/+59
JIRA: BOTTLENECK-122 This code is for Bottlenecks to have a common way to export log information the way to use it is: xxx = Logger.(__name__).getLogger() xxx.info('xxxxxx') It will only out info if you don't set DEBUG=true. the default log file located '/tmp/bottlenecks.log' we will add configuring log file function when config funtion complate. Change-Id: I11cdc8a27f657736c3ec0e0bc1195f0ce0a2fce4 Signed-off-by: liyin <liyin11@huawei.com>
2017-01-09Merge "Bottlenecks frame support stack create"Yu Yang (Gabriel)3-0/+19
2017-01-04Merge "bottlenecks openstack Newton support"Yu Yang (Gabriel)4-580/+329
2017-01-04Bottlenecks frame support stack createliyin3-0/+19
JIRA: BOTTLENECK-120 add the common.py,manager.py,template.py, could use the function import utils.infra_setup.heat.x then the code could import the package. Change-Id: I7bbd115bd13d87c4f43b7e4bb35e6a6bf8465bc8 Signed-off-by: liyin <liyin11@huawei.com>
2017-01-04bottlenecks openstack Newton supportliyin4-580/+329
JIRA: BOTTLENECK-119 Change the file of template.py manager.py and common.py file This change helps Bottlenecks project support Newton. template.py support stack operation. manager.py support nova and glance operation. common.py support some operations of openstack Newton. Change-Id: Ibee110a2b7918c80b2651bb86a9fb7160414e842 Signed-off-by: liyin <liyin11@huawei.com>
2016-12-27bugfix: remove timeField for Kibana index-patternyuyang1-1/+0
JIRA: BOTTLENECK-121 Remove timeField item in index-pattern which causes kibana no reading test results. Change-Id: I855dba186cc0e0db8e5c9dbd7aa21df80722d70e Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2016-12-22Merge "Add flake8 style config and for POSCA"Yu Yang (Gabriel)17-159/+203
2016-12-21Add flake8 style config and for POSCAyuyang17-159/+203
JIRA: BOTTLENECK-100 Adding flake8 configuration and fix for POSCA Change-Id: Ib822d5abde535263a4473d67c15cc17995f1417b Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2016-12-19bugfix: correct typo in Dockerfileyuyang1-1/+1
JIRA: BOTTLENECK-108 Typo in Dockerfile that causing $BRANCH var not effective Change-Id: I1f156e5b554ebd6f9a1b2d689b1c23c783a4e8af Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2016-12-15bugfix:enabling the repo branch choosingyuyang1-1/+1
JIRA: BOTTLENECK-108 Enabling the git repo branch choosing in dockerfile for Bottlenecks. Change-Id: Id03c39e59cb1b38d198ec37f613c9660bcf335cd Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2016-12-15bugfix:fix the version support problem of setuptoolsyuyang1-1/+1
JIRA: BOTTLENECK-108 Due the version problem, docker build job fails each time. Change-Id: I179ec56295f344fbd14ffeb8650c8d4625507379 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2016-12-07cpu_burden script&configureliyin2-86/+82
JIRA: BOTTLENECK-118 This patch add a new function cpu_burden. there are two things: 1.add configure file of cpu_burden, this default file could run test case 2.add script of cpu_burden, this script use the configure file could use yardstick restful api call date. Change-Id: Icd88b317fb97d8f12d81279eaffc2d3effc8ab65 Signed-off-by: liyin <liyin11@huawei.com>
2016-12-06docker-compose yardstick file changeliyin2-13/+1
JIRA: BOTTLENECK-117 This patch change the docker-compose file. because of yardstick dockerfile. so bottlenecks also need to change the style of docker-compose. Change-Id: Idb82120c5b00ef8595a993886fa3fc0d6b6c4c32 Signed-off-by: liyin <liyin11@huawei.com>
2016-12-02dashboard log info checkliyin1-1/+6
JIRA: BOTTLENECK-115 This patch change an error that last patch haven't covered. so i need to correct it. Change-Id: I1ab1fbe4e60463482728ec3ab58ec71c4e1d7049 Signed-off-by: liyin <liyin11@huawei.com>
2016-12-02dashboard bug: can't deploy dashboardliyin3-8/+34
JIRA: BOTTLENECK-116 This patch fix the bug that bottlenecks project can't establish dashboard, error message is elasticsearch is not install. after install elasticsearch, the error message is can't get ip. to fix this bug, change file requriment.txt and dashboard file. Change-Id: Ibad0dc46ab44d500b799bbf67e169d76c59e7199 Signed-off-by: liyin <liyin11@huawei.com>
2016-12-02add more debug infoliyin2-7/+9
JIRA: BOTTLENECK-115 This patch add some debug info to screen. so test situation will be displayed to every one. And it's could be easier to understand Change-Id: Iecf767eedf42825a13dae59235ab99d1767e744e Signed-off-by: liyin <liyin11@huawei.com>
2016-12-02bug fix patchliyin1-0/+2
JIRA: BOTTLENECK-114 this patch fix a problem that docker can't run because of lacking pyroute2. the way to solve it is add return value judgement to avoid circle return value error, is return relue when get into circle function Change-Id: I3af9abdb417abc5cf04c0e4db7eed576222bb1ea Signed-off-by: liyin <liyin11@huawei.com>
2016-12-01bug fix patchliyin4-5/+7
JIRA: BOTTLENECK-113 this patch fix a problem that docker can't run because of lacking pyroute2. the next is docker-compose file have some error that yardstick can't pull inluxdb container. the next is fix some bug incode. Change-Id: I238b69b456d2810e84bae5c134e6b05a8fc5da63 Signed-off-by: liyin <liyin11@huawei.com>
2016-12-01docker-compose dockerfile changeliyin2-2/+2
JIRA: BOTTLENECK-112 this patch change the yardstick and bottlenecks dockerfile from stable to latest Change-Id: I095957dc6aba25d76bb8e60be97c171c4a59ce57 Signed-off-by: liyin <liyin11@huawei.com>
2016-12-01posca test suite urls changeliyin2-13/+15
JIRA: BOTTLENECK-111 This patch add two functions to bottlenecks project: 1.change yardstick urls and some return value. 2.bottlenecks project wait time change. Change-Id: I1a7f98f69676cda8cb0dc62276704c2cfcf240d8 Signed-off-by: liyin <liyin11@huawei.com>
2016-12-01Merge "Add virtual enviroment support for cli"Yu Yang (Gabriel)2-0/+73
2016-11-30posca test suite support influxDB containerliyin2-0/+10
JIRA: BOTTLENECK-110 This patch support bottlenecks testsuites posca support use yardstick rest api to pull InfluxDB container. the yardstick use this container to store its test result. Change-Id: I6ad6b5d7a9748c385787567b3d6d1dfe4cee167f Signed-off-by: liyin <liyin11@huawei.com>
2016-11-30Merge "posca system bandwidth dashboard"Yu Yang (Gabriel)2-0/+103
2016-11-30posca system bandwidth dashboardliyin2-0/+103
JIRA: BOTTLENECK-109 this patch provide a dashboard of system_bandwidth test case when the test over this script would be run. and you could login host:5601 to see the view of dashboard. Change-Id: Ifb9717baa56a16fb2231a4e20d5688e34647d45b Signed-off-by: liyin <liyin11@huawei.com>
2016-11-30Merge "POSCA test case complete"Yu Yang (Gabriel)4-96/+214
2016-12-01Add new CI docker build supportyuyang1-0/+3
JIRA: BOTTLENECK-108 Releng has updated the parameter input method. So the Docker file need BRANCH argument to specify the docker image source. Change-Id: I6c8eee3aaf7729964f0b810c209ccdcf9b75a233 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2016-11-30POSCA test case completeliyin4-96/+214
JIRA: BOTTLENECK-107 JIRA: BOTTLENECK-106 This patch has done the flowings: 1.Using the RESTful API form yardstick 2.Common function reuse. 3.If there is no test_ip it would use host ip and port as test_ip. 4.A little demo of dashboard. Now is can't work Change-Id: I1063176c762c40238019c73f5359f23bc5aab19c Signed-off-by: liyin <liyin11@huawei.com>
2016-11-29Add virtual enviroment support for cliyuyang2-0/+73
JIRA: BOTTLENECK-65 Add installation of VIRTUALENV and deletion of it. Change-Id: I4a339e8e87775fc2ea1e12d8fbf473850076bbd3 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2016-11-29Merge "Add CLI framework for Bottlenecks"Yu Yang (Gabriel)7-0/+124
2016-11-28Add CLI framework for Bottlenecksyuyang7-0/+124
JIRA: BOTTLENECK-65 Adding cli framwork for Bottlenecks. Usage: bottlenecks testcase run <testcase> Currently only the cli framwork and testcase command group is added. run, list, etc., commands and openstack command group will added afterwards. Two setup entries are added. One is within the top directory and the other is within the cli directory. Change-Id: I304f6f2e9b29b9f582953c2739806c1fb3e87fed Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2016-11-28POSCA docker-compose adaptingliyin6-0/+145
JIRA: BOTTLENECK-105 there are files which be need to support docker-compose. some files are docker configure file. some files are used to build docker image. kibana docker is bottlenecks project dashboard. elasticsearch docker is bottlenecks project database. influxdb docker is yardstick project database. yardstick docker is used to run test case. Change-Id: I7f0927c940a400f9f66ac77174f06236a1f4f265 Signed-off-by: liyin <liyin11@huawei.com>
2016-11-05Add stack created judging logicyuyang1-4/+8
JIRA: BOTTLENECK-103 The stack created judging logic in Rubbos testsuite is optimized by replacing the wating method with judging from the stack created return value. Change-Id: Ie96476fbfb8baf995237f71b993cf9d381b94217 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2016-11-03Bugfix for random key generationyuyang2-1/+6
JIRA: BOTTLENECK-103 Fixing the bug when key generation within rubbos controller Change-Id: Ib444b3a8fab14217bda75bee307ea18652e8b4e4 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2016-11-01Merge "Add random key generation"Yu Yang (Gabriel)1-0/+17
2016-10-31Add random key generationYang (Gabriel) Yu1-0/+17
JIRA: BOTTLENECK-103 Add random key generation in fixed directory path. Changes: 1. Add random key generation method 2. Add logic to cleanup the used key Change-Id: I405d1d670422b9381879d0e58cb9c9fc1370f954 Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
2016-10-25Modify POSCA code into PEP8 styleliyin7-299/+450
JIRA: BOTTLENECK-102 Modify all the code in the testcase POSCA into PEP8 style. Using more standard way to realize our function. Change-Id: Ic014678db454b8a36b36395c32b4769f6cf700be Signed-off-by: liyin <liyin11@huawei.com>
2016-10-21Add successful committer nominee INFOyuyang1-5/+6
Add election result for Yang throuth email: https://lists.opnfv.org/pipermail/opnfv-tsc/2016-October/003088.html Achievements/Conbributions include: https://gerrit.opnfv.org/gerrit/#/q/owner:Gabriel.yuyang%2540huawei.com+project:bottlenecks 1. Adding POSCA test suite in Bottlenecks a) POSCA testing framework i. https://jira.opnfv.org/browse/BOTTLENECK-92 ii. https://gerrit.opnfv.org/gerrit/#/c/20837/ b) Adding Factor Test case System_Bandwidth i. https://jira.opnfv.org/browse/BOTTLENECK-94 ii. https://gerrit.opnfv.org/gerrit/#/c/21351/ c) Adding Factor Test case CPU_Burden i. https://jira.opnfv.org/browse/BOTTLENECK-95 ii. https://gerrit.opnfv.org/gerrit/#/c/21355/ d) Adding Factor Test case TX PKT Size i. https://jira.opnfv.org/browse/BOTTLENECK-99 ii. https://gerrit.opnfv.org/gerrit/#/c/21563/ e) Adding Factor Test case RX_PKT_Size i. https://jira.opnfv.org/browse/BOTTLENECK-97 ii. https://gerrit.opnfv.org/gerrit/#/c/21401/ f) Adding Factor Test case TX_Cache_Size i. https://jira.opnfv.org/browse/BOTTLENECK-98 ii. https://gerrit.opnfv.org/gerrit/#/c/21561/ g) Adding Factor Test case RX_Cache_Size i. https://jira.opnfv.org/browse/BOTTLENECK-96 ii. https://gerrit.opnfv.org/gerrit/#/c/21379/ 2. Refactoring Bottlenecks documentations a) Correcting table format error in userguide docs i. https://jira.opnfv.org/browse/BOTTLENECK-88 ii. https://gerrit.opnfv.org/gerrit/#/c/19043/ b) Adding framework illustration in Bottlenecks docs i. https://jira.opnfv.org/browse/BOTTLENECK-88 ii. https://gerrit.opnfv.org/gerrit/#/c/19131/ c) Adding Release Notes Doc Framework i. https://jira.opnfv.org/browse/BOTTLENECK-88 ii. https://gerrit.opnfv.org/gerrit/#/c/22309/ 3. Flake8 fix for Bottlenecks project a) https://jira.opnfv.org/browse/BOTTLENECK-101 b) https://gerrit.opnfv.org/gerrit/#/c/22593/ 4. Organizing the Bottlenecks weekly meeting and maintaining WIKI a) Meeting minutes and meterial i. https://wiki.opnfv.org/pages/viewpage.action?pageId=6828202 ii. https://wiki.opnfv.org/download/attachments/2926187/Proposals%20in%20Bottlenecks.pdf?version=7&modificationDate=1472176386000&api=v2 b) Release Planning WIKI pages 5. Design and sharing the POSCA test suite a) POSCA test suite in Bottlenecks D release i. https://wiki.opnfv.org/download/attachments/2926187/POSCA%20in%20Bottlenecks%20D%20Release.pptx?version=1&modificationDate=1475983276813&api=v2 b) Sharing POSCA in Bottlenecks weekly meeting i. https://wiki.opnfv.org/download/attachments/2926187/2016-09-22%20Sharing%20POSCA%20in%20Bottlenecks.mp4?version=1&modificationDate=1475993554550&api=v2 Change-Id: I59980f6e8ff378e845af1297cf294e058be56880 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2016-10-08Merge "Add Factor Testcase CPU_Burden"Jun Li2-0/+132
2016-10-08Merge "Add Factor Testcase RX_Cache_Size"Jun Li2-0/+128