aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-09-11Merge "change outage_time from 20 to 30s"Kubi9-18/+18
2017-09-11Merge "Add API(v1) to get real time log"Rex Lee2-0/+51
2017-09-11Bugfix: cleanup command not foundchenjiankun1-1/+3
JIRA: YARDSTICK-808 This bug is from CI, see log: https://build.opnfv.org/ci/view/yardstick/job/yardstick-joid-baremetal-daily-master/1560/consoleFull The reason is we don not have cleanup function in the script. It is in another script clean_image.sh. so I remove it, and call clean_image.sh when in openstack scenario. Change-Id: I844cd9e8f0b6e1e8ff7a6094be37789d35a2c345 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-09-08Merge "testcase: add rate parameter for spec cpu 2006"Jing Lu2-1/+8
2017-09-08Merge "Adding nfvi flag to enable data collection"Ross Brattain22-0/+23
2017-09-08Merge "Adding latency test for vfw"Ross Brattain2-0/+50
2017-09-08Merge "Yardstick TC083: Move sample test case netperf"Ross Brattain1-0/+90
2017-09-08Merge "Yardstick TC082: move sample test case perf.yaml"Ross Brattain1-0/+64
2017-09-08change outage_time from 20 to 30srexlee87769-18/+18
Change-Id: I255c71a75d748f8e7401815a2a5890111a1ee2f5 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2017-09-07Merge "Adding ixia latency support for dynamic cgnapt"Ross Brattain6-26/+129
2017-09-07Adding ixia latency support for dynamic cgnaptDeepak S6-26/+129
Change-Id: I346f6064c39cb5662c2b17ca0f520addbe5eae4c Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-09-07Merge "updating the traffic profile to enable static cgnapt for ixnet"Ross Brattain5-1/+6
2017-09-07Merge "update yardstick ha test cases dashboard"Kubi7-31/+2430
2017-09-07Merge "Bugfix: ha test case criteria pass when sla not pass"Kubi6-11/+60
2017-09-06Merge "decrease default hugepages, depends on VNF of course"Ross Brattain1-1/+1
2017-09-06Merge "test_kubernetes: mock file operations in test_ssh_key"Ross Brattain1-1/+6
2017-09-06Merge "test_vsperf_dpdk: mock time to speedup unitests"Ross Brattain1-11/+14
2017-09-06Addition of Prox NSB tests in yardstickAbhijit Sinha23-0/+6963
JIRA: YARDSTICK-802 Added Prox L3FWD and Packet buffering tests - The tests supports BM and Openstack Heat - L3FWD tests suports 2 and 4 ports - Packet flow buffering test is a 1 port test - Grafana Dashboards are added TODO: Latency stats are missing in KPI collection Need to invetigate that Coverage if needed! Change-Id: I216a170488d5578622cf8c3748a6277b380f016a Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
2017-09-06ansible: update package proxy codeRoss Brattain4-84/+66
re-enable retries Change-Id: I77738250e8aa8de3c8a8a1019093af04ce785ae0 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-06Merge "Adding NSB documentation for SV and Baremetal"Ross Brattain2-21/+530
2017-09-05Add fixes for heat deployed UDP_Replay and TRexMartin Banszel11-715/+1016
- 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-05nsb_setup: fixup typoRoss Brattain1-1/+1
Change-Id: I7fcbf0a3c3f21065d82ffb23b5ea8c1e774a1d67 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-06Merge "ansible: remove default openrc_file"Ross Brattain1-1/+0
2017-09-05ansible: remove default openrc_fileRoss Brattain1-1/+0
when clause is re-evaluated after default Change-Id: I2f9b093a4cb0e2d024f8d6beb935f336ac1df637 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-05nsb_setup: pin pip versions for ansible, shade, dockerRoss Brattain1-1/+1
Change-Id: Ia1f1c26becdc776ce664b4ab2fb0254049087318 Signed-off-by: Ross Brattain <ross.b.brattain@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-05Adding NSB documentation for SV and BaremetalDeepak S2-21/+530
Change-Id: I6db301b88af67256b52f5d197dfffe3c0719e132 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-09-05Merge "Addition of Prox NSB changes in yardstick"Ross Brattain77-1207/+15382
2017-09-05ansible: fix corrupt /etc/fstab boot errorRoss Brattain1-1/+7
Change-Id: I71fdef5deff75cad434bf19f0a7e507c1dcc4ed3 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-05Introduced ansible playbook to setup NSB.Maciej Skrocki19-321/+235
Change-Id: I5865cd50d5fde26e9e9fc265d4385372d668413f Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-05Merge "Adding intel_pmu tools plugin for collectd"Ross Brattain4-5/+42
2017-09-04Adding intel_pmu tools plugin for collectdDeepak S4-5/+42
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 S3-7/+11
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 yardstickabhijitsinha77-1207/+15382
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-03apiserver: mock socket.gethostbynameRoss Brattain1-0/+6
we don't want use external DNS requests during unittest Change-Id: I5ed67b700ef1dab4b650ae5071a3cf641a17ae4c Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-03test_create_keypair: fix op_utils mock and mock paramikoRoss Brattain1-5/+6
Change-Id: I5c039c0d4f4ba651209c7d5ca4e748f9151b5630 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-03test_kubernetes: mock file operations in test_ssh_keyRoss Brattain1-1/+6
tests take too long and we should not be createing/deleting files during unittests, filesystems operations introduce too many external issues Change-Id: I989c9d0a84187becdf63497c0c1ac6e10c5eac70 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-03test_vsperf_dpdk: mock time to speedup unitestsRoss Brattain1-11/+14
If you put time.sleep(1) all over your code you need to mock time.sleep() in your unittests lest the unittests take forever. Change-Id: I9ebbf9e21c98e8c46bab727bbb22f33045db4361 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-03Adding nfvi flag to enable data collectionDeepak S22-0/+23
Change-Id: Ieafefb5501dc3a20fee41726a7daa9e4bb28599f Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-09-02Adding latency test for vfwDeepak S2-0/+50
Change-Id: Ibed8bf057a76f55a9e4cc5c55a104350e43a2a6e Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-09-02updating the traffic profile to enable static cgnapt for ixnetDeepak S5-1/+6
Change-Id: I49e9c5c69bc997d3ba33387e691459c167f3e4bc Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-09-01add opnfv_os-odl-nofeature-noha_daily.yaml for odl_l3 to odl renameRoss Brattain1-0/+56
Change-Id: Ib7cfb36d89551a187f5ee681454e61444a08c585 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-01Merge "Adding support for updating the count/packetsize for given testcase"Ross Brattain6-44/+71
2017-09-01sample_vnf: default to 16GB of 2048Kb hugepagesRoss Brattain2-2/+2
8192 * 2048kB = 16GB Change-Id: I82bf420794e5174e88cfaea08b9fab0d77c2be7f Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-01Merge "Adding vfw scale-up test with ixia as tg"Ross Brattain1-0/+49
2017-09-01Adding cgnapt scale-up test with ixia as tgDeepak S1-0/+49
Change-Id: I834d733aff2da5af12db08f4159be2e9c6361aab Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-09-01Adding vfw scale-up test with ixia as tgDeepak S1-0/+49
Change-Id: I4f476d16dd11a12f5ffa9047af78d2236a4fbbc2 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-09-01decrease default hugepages, depends on VNF of courseRoss Brattain1-1/+1
Change-Id: I5e8d1461e158c0b499a8864099fbb218965a429f Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-01Merge "Introduced default values and remove unnecessary ones from ansible ↵Ross Brattain7-39/+11
code image build code."
2017-09-01update yardstick ha test cases dashboardrexlee87767-31/+2430
Change-Id: I169e3dc7eb94efa7fe27fc4e82444f53452ccaba Signed-off-by: rexlee8776 <limingjiang@huawei.com>