summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-06-05Remove redundant print functionsyuyang1-3/+0
JIRA: BOTTLENECK-158 Remove redundant print functions for report log Change-Id: I35c43fd3e30090bc296823faca55b49c0431a1fb Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-05-26Bugfix: json format transform for reportyuyang1-6/+5
JIRA: BOTTLENECK-158 The details part of report is not json formatted. This patch is to fix it. Change-Id: I089dae0c12e14935e4b7a5e7bdbe69f00e003f98 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-05-25Bugfix: dockerfile does not support basenameyuyang1-1/+1
JIRA: BOTTLENECK-158 Remove basename commond in docker-compose file Change-Id: If06bac1903b2b830f9e5e4133f3315fb9f424c18 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-05-25Add reporting to MongoDByuyang5-13/+72
JIRA: BOTTLENECK-158 Add reporting function to community MongoDB Change-Id: Idebc191b20ad238dbdd129ce38131b79e7133e35 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-05-23Add test name check function and cleanupyuyang5-95/+76
JIRA: BOTTLENECK-158 Add test case/story name check and cleanup environment option. Change-Id: I07609c089ca78b0d2760c09c0312d7d1106c815a Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-05-10Delete testcase of rubbos and vstf.liyin367-27333/+0
JIRA:BOTTLENECK-167 This patch will delete vstf and rubbos testcase code. Include some testcase config file, if there will be someone who want to use this testcase maybe B or C version code will contain those testcase. if you use the D version code to run this two testcase we will info you that: Rubbos testsuite is not updating anymore. This entrance for running Rubbos within Bottlenecks is no longer supported. Change-Id: I04e4042ff3998b3696df2ed47a9ffab6f1620ec3 Signed-off-by: liyin <liyin11@huawei.com>
2017-05-04Merge "Change PTL informatin in INFO"Yu Yang (Gabriel)1-2/+2
2017-05-04Change PTL informatin in INFOyuyang1-2/+2
Due to recent email voting results, change the PTL promotion result in INFO. Detailed information could be found below. https://lists.opnfv.org/pipermail/opnfv-tsc/2017-April/003422.html Change-Id: I5c942668cbe03e697bd0865cc8aee1980afed104 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-05-02Add description of environment clean-upyuyang1-0/+20
JIRA: BOTTLENECK-165 More details of the environment clean-up for ping test case Change-Id: I4b12a219155400235ae2bcb970efb3ba237153d9 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
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>