summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-03-28bugfix: fix bugs for running 'teststory run'yuyang4-8/+3
JIRA: BOTTLENECK-144 utils/parser.py:56 has incorrect var:cls which cause pass more var to testcase_read function. Change-Id: I2d4b93f95d19a205e537515529746f6d9e13fe2c Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-03-27Add docker clean-up for run testyuyang2-1/+119
JIRA: BOTTLENECK-148 Currently, only OPNFV CI includes env-cleanup for Bottlenecks. It is preferable to also include the operation locally for test automation and repeatability. Changes: 1. Translate tab into 4 spaces Change-Id: I9f4efb95c155e442afd3141c00f707421c61b2da Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-03-27Merge "CLI acommadation to the current test case calling method"Yu Yang (Gabriel)4-33/+26
2017-03-27Merge "Add task selection to test suite entrance file"Yu Yang (Gabriel)4-37/+68
2017-03-25CLI acommadation to the current test case calling methodyuyang4-33/+26
JIRA: BOTTLENECK-144 Calling method of POSCA test case has changed. CLI for calling the run test case script should also adjust. Change-Id: Ia007b658903c8133c824358943f325b070d1e195 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-03-25Add task selection to test suite entrance fileyuyang4-37/+68
JIRA: BOTTLENECK-143 Add task selection to test suite entrance file Change-Id: Ia21b3121d104a457a66e2c77e3caf091e102f388 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-03-24Update document according to Danube release planyuyang9-85/+163
JIRA: BOTTLENECK-145 Currently, the docs of Bottlenecks still follow the format from Colorado. Some work need to be done regarding reorganizing the contents according to the Danube release. Change-Id: I4ece51abc558bb7128565125224b5e8579a198f7 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-03-23Bugfix: set docker api version to 1.24yuyang1-1/+1
JIRA: BOTTLENECK-146 Set docker api version to 1.24 Change-Id: Id05527e628c7fa6ff3382bd68741bd36fc706fe6 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-03-23Bugfix: fix docker version to 2.1.0yuyang1-1/+1
JIRA: BOTTLENECK-146 Fix the docker API library to 2.1.0 Change-Id: I4cf2801db2adc28325a587411f802515176e8d03 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-03-23Bugfix: fix docker version instead of API versionyuyang1-1/+1
JIRA: BOTTLENECK-146 In 31527, API version is 1.24, docker version should be 1.12 Change-Id: I529f16372aaa00b4fc802344b559453677b7b560 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-03-23bugfix: docker client version newer than docker serveryuyang1-1/+1
JIRA: BOTTLENECK-146 Docker client is needed in Bottlenecks docker for the purpose to use docker command within docker. The inconsistence of docker client version with docker server version causing building falure. Change-Id: Ib4ecf9c40db5492438b27550636413e5f3a69ea3 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-03-23Merge "Update docs structure according to Danube agreement"Yu Yang (Gabriel)17-0/+0
2017-03-23Update test suite running entranceyuyang1-70/+14
JIRA: BOTTLENECK-142 Update the entrance for POSCA test suite.Currently, test case selection for POSCA is not support for this entrance. The function will be added later. For Rubbos and VSTF, after OPNFV Colorado release, they are not updating anymore. This entrance for running them within Bottlenecks is no longer supported. These testsuites are also not in the release plan with Bottlenecks since then. If you want to run Rubbos and VSTF, please refer to ealier releases. Change-Id: Idaf7da147489c6371e46ac3234179133762a05cd Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-03-22Update docs structure according to Danube agreementyuyang17-0/+0
JIRA: BOTTLENECK-141 docs.opnfv.org has trouble indexing all the testing docs. So testing projects have to adjust the docs structure. Change-Id: I586b2c1626ca4fb8e1980130e132e6079a0977a7 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-03-10Merge "Add liscense to file headers"Yu Yang (Gabriel)62-5442/+172
2017-03-09Add liscense to file headersyuyang62-5442/+172
JIRA: BOTTLENECK-133 Some Yaml, XML and __init__.py file do not have liscense headers. This patch is to add headers to those files or delete those are deprecated. Change-Id: Ie059b1f1879eb420eec171f96985247510c74642 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-03-09Apply docs strucutre to Danube agreementyuyang28-15/+12
JIRA: BOTTLENECK-137 According to the agreement in Testperf meeting. Change the structure of docs. Change-Id: Ie370de1e7a24c918aedc8a2cdb2cca0508ef4257 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-03-01Merge "Add Danube Document Framework"Yu Yang (Gabriel)32-144/+492
2017-02-23Add Danube Document Frameworkyuyang32-144/+492
JIRA: BOTTLENECK-137 Bottlenecks document framwork meeting Danube document requirement. Changes: 1. Add POSCA testsuite document 2. Combine configuration and installation directory 2.1 https://wiki.opnfv.org/display/DEV/Documentation+Toolchain 3. Change file names in /user_guide 4. Add requirements notes to release notes 5. Add stress test configuartion details Change-Id: I8d9055097ddae280d985120d4501819d20ad1dcb Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-02-21quota limit for posca_stress_pingliyin5-5/+88
JIRA:BOTTLENECK-140 Those code will update an action of quota. Before out test begin we will make quota no limit. so we could do stress test. Those quota limit will change openstack forever. maybe will create damage for openstack. Change-Id: I0a6a06c6c303589881cb2ab7b754213ecf1a845f Signed-off-by: liyin <liyin11@huawei.com>
2017-02-20stress_test_dashboard_codeliyin8-5/+236
JIRA:BOTTLENECK-138 Those codes will create dashboard for stress test. And we have fixed a bug, that we will increace env prepare in this patch besides: we also add some code of how to yardstick api. Change-Id: I64bb249ee0df9fe37e998a784ba346719bf25197 Signed-off-by: liyin <liyin11@huawei.com>
2017-02-17stress test of ping testcaseliyin9-8/+139
JIRA:BOTTLENECK-136 those code will add a new testcase: posca_stress_ping This will use docker python client to realize the fountion of calling yardstick to test. And yardstick will create several VM pairs to test. Because of the limites of quotas, we now create 2,5,10 VM pairs. Change-Id: I096250c547cd598c7c632a884b31d81c2be125f8 Signed-off-by: liyin <liyin11@huawei.com>
2017-02-14Dashboard and output file code reconstructionliyin5-108/+158
JIRA:BOTTLENECK-134 Those code will change the way to create dashboard. And dashboard as a spare function to show data. And we add log system to dashboard creation. The output file is created anyway. Change-Id: Ia3c4d5a8ada27005702e3eed08757f61610da22f Signed-off-by: liyin <liyin11@huawei.com>
2017-02-13Merge "Bug fix: yardstick result return no content"Yu Yang (Gabriel)1-1/+5
2017-02-09Bug fix: yardstick result return no contentliyin1-1/+5
JIRA:BOTTLENECK-130 this patch will fix this bug: we try to expect this error, And we try to run it again. if failed, then yardstick RestAPI or have some error. Change-Id: I9fa63da637456a16c151f4fe7c566b3f5ff0e01d Signed-off-by: liyin <liyin11@huawei.com>
2017-02-09Add POSCA jenkins job supportyuyang5-23/+70
JIRA: BOTTLENECK-128 This patch is to make the POSCA testsuite could be built automatically for OPNFV CI job. Change-Id: I21d7fd553ce3591aea3391a33fe0a7b8579b57d4 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-02-09Log_dir bug fix&Add function of test_ip initliyin7-53/+61
JIRA:BOTTLENECK-129 This patch fix the error of log_dir can't be found. And change several thing: 1.Add if config don't have test_ip, it will use local:8888 as test ip. 2.Fix the bug in setup.py. 3.Add parser init to logger file. Change-Id: I808c69e2b2ff3c04f271cc7f3e14e1ab406a4d1b Signed-off-by: liyin <liyin11@huawei.com>
2017-02-07Bottlenecks stack config parser.liyin6-3/+249
JIRA:BOTTLENECK-126 realize the function of parsering stack config. include the function all the jira mationed. it's important for stack creating. this patch also include manager.py. This file modify some file such like template intial. Change-Id: Iaa6fdbde6bf9cb1ff9875d47268440dfe70ecc49 Signed-off-by: liyin <liyin11@huawei.com>
2017-02-07Merge "Bottlenecks POSCA testing code reconstruction"Yu Yang (Gabriel)8-172/+322
2017-02-07Bottlenecks POSCA testing code reconstructionliyin8-172/+322
JIRA:BOTTLENECK-103 This is the foundation of adding stack samples. This code change a lot code. but it's a basic. Those code will be changed in the furture. Change-Id: I8d5bbb9cc401b1aaac54ec4dffc4c005a42d17ac Signed-off-by: liyin <liyin11@huawei.com>
2017-02-03Merge "bottlenecks ssh to VM by python"Yu Yang (Gabriel)2-0/+354
2017-01-23Merge "Add paths to flake8 style check"Yu Yang (Gabriel)2-3/+4
2017-01-20bottlenecks ssh to VM by pythonliyin2-0/+354
JIRA:BOTTLENECK-127 This file is a copy of yardstick. This file have been tested. All function could be used in bottlenecks VM. This include some function about how to excute commonds to VM. This will be used in Bottlenecks functional testing. Change-Id: I123a6753d0b7855948ae9bf7bedc245f90c4a3b6 Signed-off-by: liyin <liyin11@huawei.com>
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