summaryrefslogtreecommitdiffstats
path: root/utils
AgeCommit message (Collapse)AuthorFilesLines
2019-03-05Forwarding flavor parameters in stress testopnfv-8.0.0stable/hunterxudan1-0/+3
JIRA: BOTTLENECK-248 Change-Id: Idb7c7f94341e948e6df1c8151937283b2a1d10a6 Signed-off-by: xudan <xudan16@huawei.com>
2019-02-25bugfix: right cols to get available podsYang (Gabriel) Yu1-1/+1
JIRA: BOTTLENECK-251 It seems the displaying of kubectl get pods changes and the number of available pods is at the 4th cols. Change-Id: I4b00bd084133a47907a0c7c9c655852b1ea52324 Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
2019-02-21bug-fix: fix timeout sshing to get k8s configYang (Gabriel) Yu1-1/+1
JIRA: BOTTLENECK-251 Change-Id: Ia04d335f39471522078fbc7352be308c49eecd14 Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
2018-11-29Merge "Remove useless files in Bottlenecks repo"Yang (Gabriel) Yu13-1286/+0
2018-11-29Merge "bug-fix: add BRANCH var for apex config prep"Yang (Gabriel) Yu1-0/+1
2018-09-17bug-fix: kubectl not installed in Bottlenecks dockerYang (Gabriel) Yu2-1/+15
JIRA: BOTTLENECK-246 Resulting in falure in executing k8s capacity test in Bottlenecks CI Change-Id: Ibf94ccc3d9ce6963ddbc76f8e2168b3a841e347b Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
2018-09-15bug-fix: get k8s configYang (Gabriel) Yu1-2/+2
JIRA: BOTTLENECK-243 Geting k8s config using sshpass will fail when frst time loginning to k8s master. Add -o StrictHostKeyChecking=no to input the prompt. Change-Id: Ib9ab3617b6d50ab85be317faf715f751fcda9149 Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
2018-09-07Merge "add k8s capacity test case"Yang (Gabriel) Yu2-8/+47
2018-09-06Change naming and veriy test-scheduler functionYang (Gabriel) Yu1-0/+5
Changes: 1. Testing-scheduler -> Test-scheduler 2. lots of windows breaks '\r' and '^M' in files, batch changes to unix breaks '$' 3. Add ui/build Change-Id: I1f2c98ab9348460d4e68bfbfab664dae82b761ba Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
2018-08-16add k8s capacity test caseYang (Gabriel) Yu2-8/+47
JIRA: BOTTLENECK-243 Change-Id: I0f36aac10cf0e05560051c785ada397e0c97e112 Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
2018-08-13add k8s util functions for compatibility of upstream changesYang (Gabriel) Yu1-0/+28
JIRA: BOTTLENECK-243 Change-Id: Idcbe75a4bcd8fedde4e4b95ae999eebbaaa01645 Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
2018-08-11add k8s test configs preparationYang (Gabriel) Yu6-0/+94
JIRA: BOTTLENECK-243 Change-Id: I994c71f03c4c2429d62618920cfc92fc1ed16abe Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
2018-07-31bug-fix: error function causes script quitYang (Gabriel) Yu1-2/+2
Change-Id: Ib56e7e99a16d76768c2167917bb4c732cf0af13f Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
2018-07-28Merge "bug-fix: insecure option for quota setting"Yu Yang (Gabriel)1-7/+9
2018-07-27Remove useless files in Bottlenecks repoYang (Gabriel) Yu13-1286/+0
Change-Id: I14bc29234851f57aa9b327b716f48b34076328ff Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
2018-07-27Add golang installationYang (Gabriel) Yu2-0/+113
Bottlenecks container does not have golang installed. This patch is to add golang installation script for later usage. Change-Id: I1456bae1e0f0ab018014d0dc9ae6df334123bc9f Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
2018-07-27Merge "Add kubectl installation for jump server"Yu Yang (Gabriel)2-0/+33
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-19Add kubectl installation for jump serverYang (Gabriel) Yu2-0/+33
Bottlenecks container does not support kubectl. This patch is to add installation script. Change-Id: I4e066aaffd0dda76b91b71a35e515a78acd5d823 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-06-21bug-fix: add BRANCH var for apex config prepYang (Gabriel) Yu1-0/+1
utils/env_pre/config_pre.sh need BRANCH var to locate apex overcloudrc.v3 file Change-Id: I283d3d3af90b0a19b3ae9e4242a468d6a9abf3ce 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>