summaryrefslogtreecommitdiffstats
path: root/testsuites/posca/testcase_script
AgeCommit message (Collapse)AuthorFilesLines
2018-03-16Add life-cycle throughputs testcaseGabriel Yu2-2/+134
JIRA: BOTTLENECK-186 Add skeleton of this test case: 1. Quotas modification 2. Call Yardstick to run test Change-Id: I02726bbfb2104151e5ef3c52a214775d30f9e743 Signed-off-by: Gabriel Yu <Gabriel.yuyang@huawei.com>
2018-03-14bugfix: stress ping for offline supportYang Yu1-1/+1
JIRA: BOTTLENECK-226 See above Change-Id: Iba5d21348355a80d6c17deb1a12114d1d07e5c15 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2018-03-12bottlenecks offiline supportliyin5-33/+24
JIRA: BOTTLENECK-224 This patch for bottlenecks support offiline. By use some offiline image rather than yardstick env prepare. This will solve some problem happened in yardstick image builder. Change-Id: I62b6606570c2ea6ce365212c79777af01c47c9a6 Signed-off-by: liyin <liyin11@huawei.com>
2018-02-26Moon testcase bug fixAce Lee2-85/+86
JIRA: BOTTLENECK-220 The JIRA ticket is to suit moon version 4.3. There are some bugs to fix. Change-Id: Idf8b9a2b4dea6508738283e76457b8d1d25ceae9 Signed-off-by: Ace Lee <liyin11@huawei.com>
2018-02-26Merge "Testcase to find multi-stack storage bottlenecks"Ace Lee1-0/+236
2018-02-09Testcase to find multi-stack storage bottlenecksShubham Agarwal1-0/+236
JIRA: BOTTLENECK-203 This patch is used for multistack storage performance bottlenecks using yardstick as runner. Change-Id: I99f5b3caa3e454d75e293de2ad7dccbe6ce13887 Signed-off-by: Shubham Agarwal <shubham.agarwal.coder@gmail.com>
2018-02-09Testcase to find storage bottlenecks using Yardstick for MultistackShubham Agarwal1-0/+164
JIRA: BOTTLENECK-217 This patch is used to find storage bottlenecks while using yardstick for multistack. Change-Id: I8e64ff4145244a4aa822cf63c82d3a90a6579486 Signed-off-by: Shubham Agarwal <shubham.agarwal.coder@gmail.com>
2017-12-15Merge "VNF scale-out testcase"Yu Yang (Gabriel)2-125/+151
2017-12-15VNF scale-out testcaseAce Lee2-125/+151
JIRA: BOTTLENECK-214 Bottlenecks VNF scale out testcase Change-Id: I05c4dec483062dd59c4b062516c8a6c1bc83ad6e Signed-off-by: Ace Lee <liyin11@huawei.com>
2017-10-17Add moon feature tenant testcaseliyin1-0/+166
JIRA: BOTTLENECKS-212 Add moon feature tenant testcase to Bottlenecks Change-Id: I3795470fa5fab1866da346ec376dbd8f00f8205b Signed-off-by: liyin <liyin11@huawei.com>
2017-10-12Add moon feature resource testcaseliyin1-0/+133
JIRA: BOTTLENECKS-212 Add moon feature resource testcase to Bottlenecks Change-Id: Ib9bddfcd980e38c40d4a76b6cfd48bb9a656c81e Signed-off-by: liyin <liyin11@huawei.com>
2017-10-10Bottlenecks testpmd scale-up testcase.liyin2-0/+142
JIRA: BOTTLENECK-205 This is the script of testpmd scale-up feature testcase. we will debug the dashboard. Change-Id: I4a6de0e7e1ea7c04639ece78a7b11b75128d8d2f Signed-off-by: liyin <liyin11@huawei.com>
2017-08-10Merge "VNF characterizaion scale_out test, untested"Yu Yang (Gabriel)1-0/+125
2017-08-10Merge "VNF characterization scale_up test, untested"Yu Yang (Gabriel)1-0/+132
2017-08-09VNF characterizaion scale_out test, untestedRoss Brattain1-0/+125
The purpose of this test is to increase the number of VNFs being tested while monitoring aggregate performance scaling. requires https://gerrit.opnfv.org/gerrit/#/c/37993 Change-Id: I0015ef0326859512c7b9ab4c57ef9b5a710ca852 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-09VNF characterization scale_up test, untestedRoss Brattain1-0/+132
The purpose of this test is to increase the amount of resources provided to the VNF and monitor the ablilty of the VNF to scale requires https://gerrit.opnfv.org/gerrit/#/c/37991/ Change-Id: I4e2384ef120dea2348a623acc1d439696d95e73b Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-07system bandwidth testcase frame rebuildliyin2-42/+70
JIRA: BOTTLENECK-177 This patch will debug some error in system bandwidth testcase. use the new docker way to test this testcase. Bug fix about dashboard and test framework. Change-Id: I7167ffd75efab9a7780407aa5b9a4337ebb9b4c7 Signed-off-by: liyin <liyin11@huawei.com>
2017-08-02Merge "Add yardstick danube3.1 support."Yu Yang (Gabriel)1-7/+5
2017-08-02Add yardstick danube3.1 support.Ace Lee1-7/+5
JIRA: BOTTLENECK-173 This patch will add a result handle for Yardstick danube This is only for bottlenecks danube to use. This will change time to 2 min to wait for Yardstick result back Change-Id: Icbd9d89f3e3816df947eaf6f70a12c86f74a2812 Signed-off-by: Ace Lee <liyin11@huawei.com>
2017-08-02Bottlenecks testcase rebuildAce Lee1-8/+12
JIRA: BOTTLENECK-175 After this patch, Bottlenecks will try to find the stress of the openstack system. we try to create 20 stacks one time. And 20 stacks the other time. we will try to find if openstack will pass threshhold twice. This patch only affact latest version Change-Id: I6146cf5c6fe0ac4968337cc36e07f715b64191d0 Signed-off-by: Ace Lee <liyin11@huawei.com>
2017-07-20Bug fix: Bottlenecks sometimes deadlockAce Lee1-11/+22
JIRA: BOTTLENECK-173 This patch will change the way to call multithreading. And change some encoding error about Yardstick config Change-Id: I04803bff6acaad1089d180b104652049f1f0a485 Signed-off-by: Ace Lee <liyin11@huawei.com>
2017-07-17Bug fix of Bottlenecks can't use CLIliyin1-1/+1
JIRA: BOTTLENECK-171 Bug fix of Bottlenecks can't use CLI to start test. Some docker-compose function delete to fit elk docker support. After this patch you could use bottlenecks testcase run posca_factor_ping to start this test. you also need to put the rc file to bottlenecks docker. Change-Id: I340e31185a499c81f9595a902df89d8f0ddf0cd3 Signed-off-by: liyin <liyin11@huawei.com>
2017-07-14Add frame support of elk one docker supportliyin1-29/+41
JIRA: BOTTLENECK-171 Add support of Bottlenecks docker frame refact, After this patch we will provide the ability of several installer. Add Yardstick_TAG to adjust yardstick docker version Change-Id: Ib431f8acf4a76b59f9d5e8783bcc7d2e5be208ae Signed-off-by: liyin <liyin11@huawei.com>
2017-03-25Add task selection to test suite entrance fileyuyang1-0/+0
JIRA: BOTTLENECK-143 Add task selection to test suite entrance file Change-Id: Ia21b3121d104a457a66e2c77e3caf091e102f388 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-03-09Add liscense to file headersyuyang1-8/+0
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-02-21quota limit for posca_stress_pingliyin1-2/+8
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_codeliyin1-3/+43
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 testcaseliyin1-0/+94
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 reconstructionliyin1-7/+34
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 supportyuyang1-2/+3
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 initliyin1-11/+6
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 POSCA testing code reconstructionliyin1-91/+44
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>
2016-12-21Add flake8 style config and for POSCAyuyang7-74/+70
JIRA: BOTTLENECK-100 Adding flake8 configuration and fix for POSCA Change-Id: Ib822d5abde535263a4473d67c15cc17995f1417b Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2016-12-07cpu_burden script&configureliyin1-78/+72
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-02dashboard bug: can't deploy dashboardliyin1-1/+1
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 patchliyin2-3/+4
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-01posca test suite urls changeliyin1-6/+8
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-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-30POSCA test case completeliyin2-92/+209
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-10-25Modify POSCA code into PEP8 styleliyin6-290/+437
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-08Merge "Add Factor Testcase CPU_Burden"Jun Li1-0/+117
2016-10-08Merge "Add Factor Testcase RX_Cache_Size"Jun Li1-0/+117
2016-10-08Merge "Add Factor Testcase RX_PKT_Size"Jun Li1-0/+122
2016-10-08Merge "Add Factor Testcase System_Bandwidth"Jun Li1-0/+123
2016-10-08Merge "Add Factor Testcase TX_Cache_Size"Jun Li1-0/+117
2016-09-22Add Factor Testcase TX PKT Sizeyuyang1-0/+122
JIRA: BOTTLENECK-99 Add factor testcase to locate the bottleneck of tx pkt size. A separated logic for determine if the tx pkt size is the system bottleneck is provided. Change-Id: I9ccbe19c88a72170b66fffd7f1bd7e5a45dbdc27 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>