summaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2016-08-12[Yardstick-233]latency measurment by using pktgen-dpdkwu.zhihui2-0/+182
VM A runs pktgen-dpdk as a traffic generator and is connected back-to-back with VM B running testpmd for forwarding packets. 1. use linux expect to fetch the latency statics data. 2. fetch 10 samples of latency and calculate avg_latency. 3. use screen to keep test scripts running in the background. 4. add a function send_command() for screen in ssh.py JIRA:YARDSTICK-233 Change-Id: I90ae64b3d198c79f159275ae35715eb284f05080 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-07-20Add test case description and task file for TC069JingLu51-0/+38
Change-Id: I9172cbc8a4645197493659a3f93e28042cf97f94 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2016-07-20Merge "add support for suite to support constraints and task_args"liang gao7-11/+161
2016-07-20add support for suite to support constraints and task_argsrexlee87767-11/+161
suite.yaml has constraint and task_args parameter, so each task_case can be able to add constaints (currently support pod_name and installer), also support parameters to be replace for special test case like tc043. JIRA: YARDSTICK-299 Change-Id: I2b2c8f9858893da03aaa8bcac20a474a2d434509 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2016-07-20Merge "Modify ComputeCapacity scenario host key name"liang gao1-1/+1
2016-07-19Merge "Bug fix and extended unit tests"liang gao1-2/+16
2016-07-18Modify ComputeCapacity scenario host key nameJingLu51-1/+1
Adjust target node key name. Signed-off-by: JingLu5 <lvjing5@huawei.com> Change-Id: I5daee8c2579aa1f14aac076c49803eb8b5029a97
2016-07-18code clean uptjuyinkanglin6-20/+20
JIRA: YARDSTICK-272 Change-Id: Id2f1b3d1beff8843700cdfcaaa1e8f496f445ed9 Signed-off-by: tjuyinkanglin <14_ykl@tongji.edu.cn>
2016-07-18Merge "change ci from base-on-pod to base-on-scenario (in progress)"liang gao13-2/+246
2016-07-18Merge "throughput between nodes (in progress)"liang gao1-0/+127
2016-07-15Bug fix and extended unit testsManuel Buil1-2/+16
There was a bug in how the mock was created and a new unit test is added in order to cover the "else" of the if conditions Change-Id: I3c8dfcd81240cb93ecdec1f63f7974f5342947c0 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-07-15change ci from base-on-pod to base-on-scenario (in progress)rexlee877613-2/+246
1. first need to change in yardstick 2. then change in releng to modify the input parameter JIRA: YARDSTICK-299 Change-Id: I3d707721acbc1d63be34da4e98138f845dc93466 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2016-07-14throughput between nodes (in progress)rexlee87761-0/+127
JIRA: YARDSTICK-256 Change-Id: I48d66081dcfabf4462ef1ff15c9a3ad28132aaf9 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2016-07-14Merge "Add test case description and task file for TC049"liang gao1-0/+42
2016-07-14Merge "Add test case description and task file for TC048"liang gao1-0/+43
2016-07-14Merge "Add test case description and task file for TC047"liang gao1-0/+42
2016-07-14Merge "Add test case description and task file for TC046"liang gao1-0/+42
2016-07-11Merge "Creating Director and related codes."liang gao2-0/+168
2016-07-08bug fix for huawei-pod2kubi1-2/+0
Since TC027 depends on specific pod configure, so it only should be run at huawei-pod1 JIRA:- Change-Id: Ib85daae64ce97cad907dbaa8309c80cf4f0153b5 Signed-off-by: kubi <jean.gaoliang@huawei.com>
2016-07-08Creating Director and related codes.lihuan2-0/+168
Add a new scenario type 'ScenarioGeneral' that support orchestrating general HA test scenarios. Director, ActionPlayer and RollbackPlayer are uesed to execute the test scenario (or test flow). JIRA: YARDSTICK-288 Change-Id: Ied2ccd4712f3c3efde6771bfa4538c1e9e137c11 Signed-off-by: lihuan <lihuansse@tongji.edu.cn>
2016-07-08Merge "Enhence CPUload scenario"liang gao2-72/+101
2016-07-08Merge "Creating result checker classes"liang gao2-0/+201
2016-07-08Merge "vsperf: Initial integration with VSPERF"liang gao1-0/+132
2016-07-08Merge "Add Yardstick TC044 TEST CASE"liang gao1-0/+87
2016-07-08Merge "Add test case description and task file for TC045"liang gao1-0/+43
2016-07-08Merge "Add fuel test suite"liang gao1-0/+12
2016-07-07Enhence CPUload scenarioJingLu52-72/+101
Enhence CPUload to measure maximum, minimum and average CPU usage. Change-Id: I22d5e56a120ef6bb6ab93094bb053d9999173b32 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2016-07-07Add test case description and task file for TC049tjuyinkanglin1-0/+42
JIRA: YARDSTICK-295 Change-Id: I9c13bee1bb986f515f4bc41e4455176240e2f19d Signed-off-by: tjuyinkanglin <14_ykl@tongji.edu.cn>
2016-07-07Add test case description and task file for TC048tjuyinkanglin1-0/+43
JIRA: YARDSTICK-294 Change-Id: Ie6a9271a4cbc81bce47f7f59e609b90a9de1e909 Signed-off-by: tjuyinkanglin <14_ykl@tongji.edu.cn>
2016-07-07Add test case description and task file for TC047tjuyinkanglin1-0/+42
JIRA: YARDSTICK-293 Change-Id: I23a0e78a297cdc5742fa8d1234e6f271e076f359 Signed-off-by: tjuyinkanglin <14_ykl@tongji.edu.cn>
2016-07-07Add test case description and task file for TC046tjuyinkanglin1-0/+42
JIRA: YARDSTICK-292 Change-Id: I552c8357bd9378bea70a12872497d09711c91eef Signed-off-by: tjuyinkanglin <14_ykl@tongji.edu.cn>
2016-07-06Add test case description and task file for TC045tjuyinkanglin1-0/+43
JIRA: YARDSTICK-291 Change-Id: I85081c075fb795ee7839009952e49ad13b9cf2bf Signed-off-by: tjuyinkanglin <14_ykl@tongji.edu.cn>
2016-07-06Creating result checker classeslihuan2-0/+201
JIRA: YARDSTICK-276 Change-Id: I63c4f2c36108e95f5d3b7da42e66cb8c9b16c817 Signed-off-by: lihuan <lihuansse@tongji.edu.cn>
2016-07-06Add Yardstick TC044 TEST CASEJingLu51-0/+87
JIRA:yardstick-290 Change-Id: I2537f6561221226cf8961a2f8221f039cecf7fe0 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2016-07-06Merge "Creating a generic opertion"liang gao2-0/+149
2016-07-06Add fuel test suiteJingLu51-0/+12
This file is used for verifing yardstick in fuel integration. Change-Id: Ied9f714763f974af5a3abd953f66c966f196c4ec Signed-off-by: JingLu5 <lvjing5@huawei.com>
2016-07-06Merge "Add Yardstick TC004 TEST CASE"liang gao1-0/+85
2016-07-05Creating a generic opertionlihuan2-0/+149
Operation class is used to do some work on the target system such as creating a VM instance. JIRA: YARDSTICK-275 Change-Id: Ib62846824b74dcdae51f143bc59fba385cc7d84c Signed-off-by: lihuan <lihuansse@tongji.edu.cn>
2016-07-05Merge "SFC Yardstick test"liang gao2-42/+12
2016-07-05Add Yardstick TC004 TEST CASEJingLu51-0/+85
JIRA:yardstick-14 Change-Id: I9ff76265db4677298bf60358a5259f3fb48f24a0 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2016-07-05SFC Yardstick testManuel Buil2-42/+12
Modifications of the SFC Yardstick test The test creates two chains. One chain blocks HTTP the other one blocks SSH. We doublecheck that HTTP works in one but not in the other and the same for SSH. There are some things that must be modified manually as ODL is not yet ready for ovs 2.5.90. Here are the instructions: https://wiki.opnfv.org/display/sfc/Yardstick Change-Id: Ide6588a682f3491ab58c47ee7335205868c109fc Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-07-05Merge "Creating a generic monitor"liang gao2-0/+79
2016-07-04Add support for multiple VMsJingLu51-2/+2
Verify and add support for multiple target VMs. This is related to further work with SDNVPN project. In the task configration file, use 'target' for specifying one target VM and use 'targets' for specifying multiple target VMs. Change-Id: I682188ef4c2c2c012d5ab00417b69f5b31b87137 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2016-07-01vsperf: Initial integration with VSPERFMartin Klozik1-0/+132
New scenario class allows to execute vsperf installed inside VM. Vsperf is executed in trafficgen mode. It means, it will only configure and execute traffic by external HW traffic generator based on custom configuration file. After traffic generator stops, then test results will be converted from vsperf CSV format into JSON and passed to yardstick for further processing. Currently, traffic is passed only through external bridge. In the future, test scenarios will launch VNFs and traffic will be properly routed to them. Proper routing can be ensured by OVS flows configuration via setup-script executed during setup phase. Testcase definition yaml files inside vsperf/ directory won't be pushed to the yardstick, but they will be stored inside vsperf repository. They are part of the draft review only to show how it is done. JIRA: VSPERF-288 Change-Id: I13a519ed39091fe89d1a43cc522738044fb3c609 Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: <sunshine.wang@huawei.com> Reviewed-by: <lvjing5@huawei.com> Reviewed-by: <jean.gaoliang@huawei.com> Reviewed-by: <david.j.chou@intel.com>
2016-06-30Creating a generic monitorlihuan2-0/+79
JIRA: YARDSTICK-274 Change-Id: Iac8c525b36b2778767177b17e6107866cc514e40 Signed-off-by: lihuan <lihuansse@tongji.edu.cn>
2016-06-30Merge "Add plugin Command"liang gao2-0/+143
2016-06-30fix ssh bug when running tc043 on huawei_pod1rexlee87761-2/+2
Change-Id: I333122dae5c00da3ad9fa495e0ca9e8f5d23ae4f Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2016-06-28Add plugin CommandJingLu52-0/+143
Change-Id: I8976ddf3dd43813ee38051dc4b0030265b85c3ef Signed-off-by: JingLu5 <lvjing5@huawei.com>
2016-06-25Creating a generic attackerqiujuan1-0/+55
JIRA: YARDSTICK-273 Change-Id: Id81b554b559d14ced440a1fa004d14d791fd2306 Signed-off-by: qiujuan <juan_qiu@tongji.edu.cn>
2016-06-12add compute capacity/scale scenarioJingLu51-0/+63
JIRA: YARDSTICK-271 This scenario reads hardware specification, including number of cpus, number of cores, number of threads, available memory size and total cache size of a host. Change-Id: Icb6c2e103f63fdd61be2461d25c1cf1f4115f161 Signed-off-by: JingLu5 <lvjing5@huawei.com>