summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-04-28Docs for Danube 2.0yuyang5-35/+58
JIRA: BOTTLENECK-165 Documents adapted to Danube 2.0 Change-Id: Ic46cc0ad2f2706986b294f539bba1264ec6f8b0b Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-04-25Merge "Add more information to Table for stress ping"Yu Yang (Gabriel)1-1/+1
2017-04-21Add more information to Table for stress pingyuyang1-1/+1
JIRA: BOTTLENECK-164 Table for stress ping is showing results categories for different number of users. It does not show the results for every testing round, just show uniquely testing round with different success rates. This patch is to make sure showing every results. Change-Id: I3a33164024e3da23de31d546767f0fb29952983d Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-04-20Bugfix of docker-compose file for privilegedyuyang1-0/+3
JIRA: BOTTLENECK-163 privileged option in docker-compose file should be true to avoid "permission deny" error when accessing directories Change-Id: I1a57146236efb5fe71405c5b7682af706a8814bf Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-04-11Fix code style issues for specificed pathyuyang4-4/+20
JIRA: BOTTLENECK-100 Fix code syle issues for the path flake8 specified before flake8 check merged into CI pipeline. Change-Id: Iee59bada206fafd4740023e90d08a4b4a7a030db Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-03-31Finalize docs for Danube 1.0yuyang3-26/+75
JIRA: BOTTLENECK-145 Polishing docs and finalizing docs for Danube 1.0. Change-Id: Iea5490785bce802aff37b7f52172d7f14ea358e0 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-03-29Merge "bugfix: bottlenecks devguide in docs.opnfv.org"Yu Yang (Gabriel)7-0/+0
2017-03-29bugfix: bottlenecks devguide in docs.opnfv.orgyuyang7-0/+0
JIRA: BOTTLENECK-149 Adjust the directory structure to make Bottlenecks devguide on docs.opnfv.org. Change-Id: Ib773a26ca5f4eaee94834ff641ec45531ef3025c Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
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>