aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick
AgeCommit message (Collapse)AuthorFilesLines
2017-09-07Merge "Bugfix: ha test case criteria pass when sla not pass"Kubi5-3/+23
2017-09-05Add fixes for heat deployed UDP_Replay and TRexMartin Banszel6-250/+239
- Added a PROTOCOL_MAP to map the protocol names to codes -- the scapy requires the code, it fails if the proto is set e.g. to 'udp' - ip addresses must be str, not unicode -- explicit conversion to str added - removed unittest for setup_vnf_environment in test_tg_trex.py as it is the same function as already tested in test_sample_vnf.py - traffic_profile refactored -- code repetition decreased, unittest adapted Known issues: - there is a an attempt to stop already stopped trex. It fires an exception that stop command is issued on the disconnected client. Change-Id: I87e9029630f48b30e8f5b4f9d88ab3b25fd65f03 Signed-off-by: Martin Banszel <martinx.banszel@intel.com>
2017-09-05PROX: catch ports stats parse errorRoss Brattain1-2/+8
for some reason port status returned fewer fields, catch this for debug and return empty result dict so test continues and hopefully we get a valid stat read on next call. Change-Id: I54f1a86707d2a00efcb82a7e0239d12f90a6542c Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-05Merge "Addition of Prox NSB changes in yardstick"Ross Brattain7-359/+566
2017-09-05Merge "Adding intel_pmu tools plugin for collectd"Ross Brattain3-5/+37
2017-09-04Adding intel_pmu tools plugin for collectdDeepak S3-5/+37
Change-Id: I81ff3d43d209e98188855c8b2eb302835bb5d417 Signed-off-by: Neha Vadnere <neha.r.vadnere@intel.com> Signed-off-by: Deepak S <deepak.s@linux.intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-04Fix Ixload KPIs collection & hang issues.Deepak S1-6/+9
Change-Id: If679333dc1cb9e041a332fb374c55f72eaab1b28 Signed-off-by: Deepak S <deepak.s@linux.intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-04Addition of Prox NSB changes in yardstickabhijitsinha7-359/+566
JIRA: YARDSTICK-802 Addition of Prox L2Fwd, MPLS test cases for BM and Heat. updates: Most of tg_prox and prox_vnf were absorbed into the base classes. delete most of ProxDpdkVnfSetupEnvHelper, it is handled by DpdkVnfSetupEnvHelper baseclass use standard _build_pipeline_kwargs methods don't use terminate() use baseclass version add new method kill_vnf that runs pkill -x replace resource_helper.execute() with vnf_execture for dumping stats In order to share code between tg_prox and vnf_prox refactor to have tg_prox hold and wrap a ProxApproxVnf instance and call methods on that class. Do this instead of multiple-inheritance. Implement ProxApproxVnf.terminate() using prox socket command based exit, (stop_all, quit, force_quit). vnf_execute calls resource_helper.execute() which calls socket methods on the sut object. Since tg_prox wraps the VNF object, we can call terminate on the VNF object and it should work correctly. move prox config generation to parent process we need to get core number info from config file inside the TG processes, so we need to generate the config in the parent process so the data is copied to the child during the fork. moved more config file methods to the setup_helper class. we run force_quit after quit, so the socket should already be closed this will trigger socket error, so add _ignore_errors option for vnf_execute to ignore socket errors Fixed the terminate issue. Added MPLS tests. Added TG Stats in_packet/out_packet Fixed compile (pep8) issues Fixed MPLS TG port stats, in/out packets Added Grafana dashboards for L2FWD and MPLS Traffic profiles modified for tolerated loss and precision as per DATS tests. Added unit test case for Mpls Single port test stats collection support. Change-Id: Idd9493f597c668a3bb7d90e167e6a418546106e8 Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-01Merge "Adding support for updating the count/packetsize for given testcase"Ross Brattain2-0/+3
2017-09-01sample_vnf: default to 16GB of 2048Kb hugepagesRoss Brattain1-1/+1
8192 * 2048kB = 16GB Change-Id: I82bf420794e5174e88cfaea08b9fab0d77c2be7f Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-31Adding support for updating the count/packetsize for given testcaseDeepak S2-0/+3
Change-Id: I3ec1a6d3710d44df5ddac6bd8967d28ad58e8d33 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-09-01Merge "Added TC for vFW in heat context with ixia TG"Ross Brattain3-14/+27
2017-09-01testcase: add rate parameter for spec cpu 2006JingLu51-0/+3
Change-Id: I5f1634d2a30eb93b4632e4773cee3f8b7a151b1f Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-09-01Bugfix: ha test case criteria pass when sla not passrexlee87765-3/+23
ha test cases didn't store moniter info and report fail when sla didn't pass Change-Id: I0e5637e37a66e1bf03b47fe09d17e0a1acfa11c1 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2017-08-31Added TC for vFW in heat context with ixia TGMaciej Skrocki3-14/+27
- added common method to get relative paths - added 'Ixia' APP_NAME Change-Id: I7966798bab71af66d3efbeb1e13b07e8fbb41e88 Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
2017-08-31Merge "Enable update ip headers for given testcase"Ross Brattain2-3/+3
2017-08-31Enable update ip headers for given testcaseDeepak S2-3/+3
Change-Id: I008b3f09695f5e3f484b39d4e70b83e5942de863 Signed-off-by: Deepak S <deepak.s@linux.intel.com> Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
2017-08-31Rabbitmq user fix for collectdDhaval Patel1-0/+6
After rabbitmq server reset we need to setup user profile so that collectd and rabbitmq can communitcate. This profile should match amqp plugin configuration in collectd. Change-Id: I7eef3617d983d909418d484f8ded9e269d5d715d Signed-off-by: Dhaval Patel <dhaval.r.patel@intel.com>
2017-08-31KVMFORNFV:Livemigration testcase changes in YardstickRajithaY2-2/+6
This patch includes few changes like retrieving the parameters in qemu_migrate_benchmark.bash and providing the results for live migration testcase in yardstick Change-Id: Ie7f85973b3043ddc3880e06aae0d311e56ac15a3 Signed-off-by:RajithaY<rajithax.yerrumsetty@intel.com>
2017-08-31Merge "sample_vnf: run_traffic loop, check if tg_process is alive"Ross Brattain1-0/+3
2017-08-30_get_ip_flow_range: fix bug with single IP rangesRoss Brattain1-1/+7
If we have a /32 or for some reason find a range of IPs to use, we can default to the single IP specified on the interface. Change-Id: Ieaa1d57b04e1d57e8cef344d5a53bbca05e7887f Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-30sample_vnf: run_traffic loop, check if tg_process is aliveRoss Brattain1-0/+3
if the tg_process crashes, this loop won't terminate unless we check tg_process.is_alive() wait 1 second before checking in case is_alive needs time to become True Change-Id: Ia0b8fd884dcfeb75ebb8e36caaf1f0b70dab079d Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-30Merge "Fix Scale-up issue in HWLB"Ross Brattain1-2/+12
2017-08-29Merge "DRAFT: model: remove vld_id not needed"Ross Brattain2-2/+0
2017-08-29Merge "utils: catch SyntaxError during import"Ross Brattain1-1/+1
2017-08-29Merge "Add common openstack opertation scenarios: router & port"Ross Brattain7-1/+317
2017-08-28DRAFT: model: remove vld_id not neededRoss Brattain2-2/+0
it seems vld_id is not needed now that we add it in _resolve_topology. Remove it from the model and Heat context first and see what happens Needs testing Change-Id: I30d13c80bd90246ee3be67a2bd3439db45e20bcd Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-28Merge "Collectd Fixes"Ross Brattain1-23/+13
2017-08-28Merge "Kubernetes context adoption when run in CI"Ross Brattain2-17/+18
2017-08-28Kubernetes context adoption when run in CIchenjiankun2-17/+18
JIRA: YARDSTICK-801 We need kubernetes test case run in CI. We have one scenario k8-nosdb-lb-noha for kubernetes. But for now, we need to do some adoption in CI script. Also I move check OS_AUTH_URL in heat.py. Change-Id: Iff86caf77fd74e70469ad2dc43f2238097ce0001 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-08-28utils: catch SyntaxError during importRoss Brattain1-1/+1
bad modules can also throw SyntaxError besides ImportError Change-Id: I4fa912505753cba3c06f127105354572b7f5ddd8 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-28Merge "DRAFT: update yardstick generic test cases dashboard"Ross Brattain1-1/+1
2017-08-26Merge "Test case: Fio volume benchmark testcase using job file"Jing Lu1-37/+79
2017-08-26Merge "Raise Exception if HA test case failed"Kubi2-0/+10
2017-08-26Merge "bugfix: tc063 fails to get the correct result in ubuntu node"Rex Lee1-2/+2
2017-08-26Merge "improve tc055 results"Ross Brattain1-7/+6
2017-08-26Raise Exception if HA test case failedJingLu52-0/+10
Change-Id: Ia3677724075c1c1408f50bbfcebd3cbcde251d66 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-08-25Merge "collectd: disable auto-provision"Ross Brattain1-12/+16
2017-08-25collectd: disable auto-provisionRoss Brattain1-12/+16
auto-provision requires Internet access inside the VNF, which may not be the case. Change-Id: I2b5b73e1b80074356943c5e3152c3e6a318f3ca4 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-25Enabling ACL test for provider network.Maciej Skrocki2-3/+6
Properly re-using network_type from model. Change-Id: I40180eb53080a360b4099c034038eac67716f8d1 Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
2017-08-25Trex: fix KPI collectionRoss Brattain2-2/+2
return super result Change-Id: I723a37281da15c1887ae1b3cf91d7e957b1924d1 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-25Merge "Add rpm,image directories and SLA options to Livemigration"Rex Lee1-1/+16
2017-08-25Merge "Fixed invalid vfw/vacl rulw config issues"Ross Brattain1-2/+2
2017-08-25Merge "Add function to upload image from local/url in GUI"Jing Lu1-0/+1
2017-08-25Add common openstack opertation scenarios: router & portJingLu57-1/+317
JIRA: YARDSTICK-781 This patch adds some common openstack opertation scenarios Change-Id: Id436a201aa04f8f6b98576e8fbf599ca3654827c Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-08-24Merge "add ppm into result of pktgen to make result clear"Ross Brattain1-6/+7
2017-08-24Standardized TRex client library pathMaciej Skrocki6-45/+50
- path should be defined via TREX_CLIENT_LIB environmental variable e.g. TREX_CLIENT_LIB=/opt/trex_client/stl - refactored unit tests Change-Id: I18767e48daf774432c010f1b88d18a4f0ee4e156 Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-24Add function to upload image from local/url in GUIchenjiankun1-0/+1
JIRA: YARDSTICK-782 As user, we need to upload image from local/url. If upload image from local, user need to choose local image, then we will load it to openstack. If upload image from url, we will download it and load it to openstack. Change-Id: Ia9a42fda15a1dfc91476643635343a2f77a94a6b Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-08-23Fixed invalid vfw/vacl rulw config issuesDeepak S1-2/+2
Change-Id: Ib96bc4bec359005e04e4a839846779d918881ba4 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-08-23Fixed 1C/2T configuration issues.Deepak S1-1/+1
Change-Id: I361d88043076c2f901ff6df22f2849edc7559ba0 Signed-off-by: Deepak S <deepak.s@linux.intel.com>