summaryrefslogtreecommitdiffstats
path: root/utils
AgeCommit message (Collapse)AuthorFilesLines
2018-07-27bug-fix: insecure option for quota settingYang (Gabriel) Yu1-7/+9
JIRA: BOTTLENECK-240 Setting quotas will raise exception if either of insecure and os_cacert are not set. It is not resonable. Change-Id: Ie97f0580624a6d539e9c4cfe799714090a288487 Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
2018-07-18add support for dpdk scenarioYang (Gabriel) Yu1-0/+4
Dovetail test ran by bii shows that dpdk var needed to be set to let VM be successfully created by openstack Change-Id: I44ab09f313e38942ff1175ad05fc7521f49b855b Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
2018-05-28adaption to installers/pod configsYang (Gabriel) Yu1-57/+72
Change-Id: I1083c96229a8d79bc9cf1bee4aa00de6aeae9d14 Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
2018-05-19bug-fix: idenity env not definedYang (Gabriel) Yu1-12/+23
OS_TENANT_NAME is wrongly used in getting openstack project information and is deprecated in keystone v3. Use OS_PROJECT_NAME to fix Change-Id: I941c612989ea5373ccf8a9d2e88ebd3eabcece73 Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
2018-04-21Lazy creation of VM pairs for soak throuputs testsYang Yu1-1/+1
Add the lazy creation progress of VM pairs while testing dataplane traffic using netperf Change-Id: I3228ff444ea074b99cb1afaec138191358064e40 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2018-03-14bugfix: stress ping for offline supportYang Yu1-1/+7
JIRA: BOTTLENECK-226 See above Change-Id: Iba5d21348355a80d6c17deb1a12114d1d07e5c15 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2018-03-12Merge "bottlenecks offiline support"Yu Yang (Gabriel)5-12/+50
2018-03-12bottlenecks offiline supportliyin5-12/+50
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-03-01roll back the bug-fix for source methodYang Yu1-1/+0
JIRA: BOTTLENECK-222 It seems the issue related to environments. Just roll back for further actions. Change-Id: I9578fb0c2a3aed2fe5b1c704c6baea2e56ca39a9 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2018-02-26Moon testcase bug fixAce Lee2-0/+60
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-24bug-fix: python mimic source methodYang Yu1-1/+3
JIRA: BOTTLENECK-222 Details could be referred to the above JIRA ticket Change-Id: I07d89ee85e18a78d060959cfac5ded82aa83ef32 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2018-01-16bug-fix: support insecure option for quota settingYang Yu1-2/+25
JIRA: BOTTLENECK-221 Quota setting has openstack cmd executed by bash not supporting insecure option for https Change-Id: I223080b67af9aa1677e2e39daaf727f3a6c0ea97 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2018-01-05bug-fix: wrong line to modify for getting resultsYang Yu2-1/+11
In Danube, should modify no.12 line of yardstick config file to let yardstick record result in file instead of reporting to MongoDB. After Danube, it should be no.13 line of that file. Also return to Danube:3.1 and will fix the line issue for VNF scaling test in another ticket Change-Id: I309e9c609967efdda8eaaf289d788ccf1693308e Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-12-25buf-fix: sfc quota settingYang Yu1-5/+1
JIRA: BOTTLENECK-215 compass master does not enable sfc, only eupurates. changing sfc quota will cause error for "not valide attributes" Change-Id: I77fab2d957d88bed6ed28c06bff9d3c2f7fb0da7 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-12-22bug-fix: neutron quota for euphratesYang Yu1-1/+5
JIRA: BOTTLENECK-215 It seems SFC is enabled defaultly in euphrates. So modify the quota for SFC Change-Id: Id8b88f03b029ca6a4c1c13098d799958601f1bb6 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-12-21Merge "Add Storperf API usage in bottlenecks"Ace Lee1-0/+171
2017-12-21bug-fix: fix neutron quota settingYang Yu1-1/+3
JIRA: BOTTLENECK-215 also fix the bug for type error: converted string Change-Id: Ic56b5ab5c49d8fdbcf49ba4571c2286d5f7bc422 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-12-15VNF scale-out testcaseAce Lee2-12/+2
JIRA: BOTTLENECK-214 Bottlenecks VNF scale out testcase Change-Id: I05c4dec483062dd59c4b062516c8a6c1bc83ad6e Signed-off-by: Ace Lee <liyin11@huawei.com>
2017-12-01Add Storperf API usage in bottlenecksShubham Agarwal1-0/+171
JIRA: BOTTLENECK-213 This is to use Storperf API in bottlenecks. Change-Id: I3a3fbb3bfd9c278740c070b167222ff122df1d49 Signed-off-by: Shubham Agarwal <shubham.agarwal.coder@gmail.com>
2017-10-20Bug fix in CIopnfv-5.0.0liyin1-1/+2
Bug fix in CI yardstick docker image problem. Change-Id: Ie25c82b19cb7ae54fd4f2563f09c97cafbf6e584 Signed-off-by: liyin <liyin11@huawei.com>
2017-10-10Bottlenecks testpmd scale-up testcase.liyin4-3/+23
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-09-07Add local support for config preparation before testingYang Yu1-0/+156
JIRA: BOTTLENECK-103 Lcoal support for finding openstack certs and pod yamls Change-Id: Ia0f0ee2fd841a4f88e82ac3f504613a6f431107e Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-08-07system bandwidth testcase frame rebuildliyin1-0/+1
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-02Add modify output file functionliyin2-8/+8
JIRA: BOTTLENECK-176 Add function which could modify outfile name. Also a bug fix about yardstick docker version should be danube.3.1 Change-Id: I0e0bb5b26cae44358311d17932c698505560974c Signed-off-by: liyin <liyin11@huawei.com>
2017-08-02Merge "Add yardstick danube3.1 support."Yu Yang (Gabriel)1-1/+1
2017-08-02Add yardstick danube3.1 support.Ace Lee1-1/+1
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-2/+8
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-08-01Bottlenecks Https supportAce Lee1-15/+8
JIRA: BOTTLENECK-174 Bottlenecks Https Support After this patch, you could use https method to run Bottlenecks Motion that if you want to use https, you need to write down the cacert at Bottlenecks /tmp/ dir Change-Id: I86fda57c76179d52e7d4c06c7289e2fcc15a4bc0 Signed-off-by: Ace Lee <liyin11@huawei.com>
2017-07-20Bug fix: Bottlenecks sometimes deadlockAce Lee1-1/+1
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-18Bug fix: fit Yardstick 3.1 version.liyin1-1/+11
JIRA: BOTTLENECK-173 This patch will add a file to create some yardstick conf, Yardstick will use this file to manage output file type. Change-Id: I1d265af9f0b9b5132dc63c4d6d95d5bc194c7ff6 Signed-off-by: liyin <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 supportliyin4-18/+77
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-07-12Add docker container manage functionliyin1-0/+91
JIRA: BOTTLENECK-171 This patch will add a file to create some function, Bottlenecks will use those function to manage docker. for example: docker ip address , create docker ,remove docker. Change-Id: I60e70ed9c6c7805e85b183ea3b19295fce68f657 Signed-off-by: liyin <liyin11@huawei.com>
2017-05-25Add reporting to MongoDByuyang1-1/+1
JIRA: BOTTLENECK-158 Add reporting function to community MongoDB Change-Id: Idebc191b20ad238dbdd129ce38131b79e7133e35 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-05-10Delete testcase of rubbos and vstf.liyin21-963/+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-04-11Fix code style issues for specificed pathyuyang1-3/+9
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-28bugfix: fix bugs for running 'teststory run'yuyang1-1/+1
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-09Add liscense to file headersyuyang23-2110/+9
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_pingliyin2-2/+78
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-2/+19
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-1/+1
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-0/+15
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-09Add POSCA jenkins job supportyuyang1-2/+1
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 initliyin2-3/+14
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.liyin2-3/+213
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)4-9/+173
2017-02-07Bottlenecks POSCA testing code reconstructionliyin4-9/+173
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-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)6-200/+141