summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-09-26Ensure that at least one handler is availableEdward MacGillivray4-18/+49
https://jira.opnfv.org/browse/YARDSTICK-773?filter=-3 Remove dependency of yardstick on utils methods Change-Id: Iadf502364a7f08c279a8f0d17d7e45e8047f4066 Signed-off-by: Edward MacGillivray <edward.s.macgillivray@intel.com>
2017-09-26Merge "Enable IP_ROUTING for netperf UDP_STREAM test"Ross Brattain1-0/+4
2017-09-26Merge "Read user & password from yardstick.conf in Grafana configuration"Rex Lee2-20/+8
2017-09-26Merge "bugfix: tc055 fail due to options with no value"Jing Lu1-1/+0
2017-09-26Merge "Add nodeSelector to enable selecting the desired Kubernetes running ↵Rex Lee2-3/+15
node when creating containers for Kubernetes context"
2017-09-26bugfix: tc055 fail due to options with no valuerexlee87761-1/+0
JIRA: YARDSTICK-816 Change-Id: Ib7eb411b940775915c6c9f87ac5cdc9825069467 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2017-09-25task: fixup s/exe_info/exc_infoRoss Brattain1-1/+1
JIRA: YARDSTICK-785 Change-Id: Ib37498e8df6a520f1d03256b73346fcedab3a177 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-25Merge "Log each test case status in a task"Ross Brattain1-2/+5
2017-09-25Merge "tg_rfc2544_ixia: log exceptions and fix list iter"Ross Brattain2-14/+20
2017-09-25Merge "bugfix: tc025 should use ipmi to poweroff"Rex Lee3-32/+37
2017-09-25Merge "Add service in kubernetes context"Jing Lu5-21/+181
2017-09-22tg_rfc2544_ixia: log exceptions and fix list iterRoss Brattain2-14/+20
Change-Id: Ia9722604b7c8ae23e784e780f113d012de544d4b Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-21Merge "tg_rfc2544_ixia: use traffic id from JSON to update mac"Ross Brattain3-42/+55
2017-09-21Add service in kubernetes contextchenjiankun5-21/+181
JIRA: YARDSTICK-803 Currently kubernetes test case can only run in master node. We need to support it run in jump server. So I add service and use nodePort type. Then we can login the pod using nodePort. Change-Id: Ia7900d263f1c5323f132435addec27ad10547ef9 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-09-21Merge "Add host&targer in scenario['options']['server_name'] support"Jing Lu1-31/+37
2017-09-21Add nodeSelector to enable selecting the desiredTrevor Tao2-3/+15
Kubernetes running node when creating containers for Kubernetes context For example, a yaml file may looks like: servers: host: image: xxx command: /bin/bash nodeSelector: xxx: yyy Synchronously change the unit test for this function Change-Id: If74c9dad9b1a70395bb79f34708a0fde04e7e650 Signed-off-by: Trevor Tao <trevor.tao@arm.com>
2017-09-21Merge "requirements: bump Ansible version to 2.3"Ross Brattain1-1/+1
2017-09-21Merge "Introduced timeout to post method of HttpClient"Ross Brattain2-11/+15
2017-09-21bugfix: tc025 should use ipmi to poweroffroot3-32/+37
if it use shutdown, it'll take several minutes to shutdown, leads to the ipmi power on command fails Change-Id: I74b61325cbcc3a6ec070d2fa103accf84f29b0fa Signed-off-by: root <limingjiang@huawei.com>
2017-09-21Introduced timeout to post method of HttpClientMaciej Skrocki2-11/+15
We seen cases where grafana container bring-up code would fail, because of too quick access to the http api. Added 10sec timeout for the first query of the API. Change-Id: Ifc95a626d0ab5552a1f26fb167fc3f65791392d7 Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
2017-09-20tg_rfc2544_ixia: use traffic id from JSON to update macRoss Brattain3-42/+55
we were using raw sort index of the interfaces to set the MAC address, but we should be using the traffic id from the static JSON instead. Change-Id: I13284db04abb3eaf8c9826974a9e5aa1c37b3891 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-21Merge "tg_rfc2544_ixia: renamed traffic_profile.execute to ↵Ross Brattain1-2/+2
traffic_profile.execute_traffic tg_rfc2544_ixia: pass ports to generate_samples"
2017-09-21Bumped samplevnfs flavor disk size to 6G.Maciej Skrocki20-29/+28
Since we increased the images size the 4G is not sufficient anymore. Change-Id: Iae25cf4cfb7a6cc69c8d28771c183a2342ac38d0 Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
2017-09-20tg_rfc2544_ixia: renamed traffic_profile.execute to ↵Ross Brattain1-2/+2
traffic_profile.execute_traffic tg_rfc2544_ixia: pass ports to generate_samples Change-Id: I90d12fa2ce8cd4d1c2a18bdcf70027f6d9e3f77f Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-20Merge "nsb_setup.sh: update to Ansible 2.3.2"Ross Brattain1-1/+1
2017-09-20Merge "cgnapt: mock time.sleep in unitests"Ross Brattain1-2/+4
2017-09-20heat: fixup unittest block with pkeyRoss Brattain1-4/+4
get pkey after we have found the node Change-Id: I0e67834b87ed5ba268ea9cb5cffb6c214aedeebb Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-20nsb_setup.sh: update to Ansible 2.3.2Ross Brattain1-1/+1
Change-Id: I2f700fbb169d02d126fe7ea22721bebf127c1206 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-20cgnapt: mock time.sleep in unitestsRoss Brattain1-2/+4
Change-Id: I26957977e6dcd0392078a543a6907a550711c702 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-20Merge "Generate pod.yaml from current context"Ross Brattain5-3/+49
2017-09-20Merge "Heat: use pkey from string instead of key_filename"Ross Brattain3-14/+28
2017-09-20requirements: bump Ansible version to 2.3Ross Brattain1-1/+1
Change-Id: Ib429ba24d2b7287b6ec4e749386da0e1242d6a20 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-20Merge "ansible: resize VNF image"Ross Brattain1-0/+18
2017-09-20Merge "Tweaked nsb_setup to always re-download latest container and ↵Ross Brattain1-2/+4
re-create the container."
2017-09-20Tweaked nsb_setup to always re-download latest container and re-create the ↵Maciej Skrocki1-2/+4
container. Change-Id: I21204ddf97e2cccc2d5a762f5d910068bda1a948 Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
2017-09-20Merge "prox: fix TG KPIs"Ross Brattain4-12/+21
2017-09-20Merge "prox: use find_relative_file when uploading"Ross Brattain2-2/+3
2017-09-20Enable IP_ROUTING for netperf UDP_STREAM testTrevor Tao1-0/+4
To avoid the following ERROR when netperf test between 2 different subnets: ERROR netperf: send_omni: send_data failed: Network is unreachable For detail, please see: https://serverfault.com/questions/802320/netperf-iptables-\ masquerade-network-unreachable Or: https://stackoverflow.com/questions/11981480/error-in-running-\ netperf-udp-stream-over-openvpn Change-Id: I62b202844861440deaf3bf0f65b41561bd87ae87 Signed-off-by: Trevor Tao <trevor.tao@arm.com>
2017-09-20prox: fix TG KPIsRoss Brattain4-12/+21
The problem is that we share the same ProxResourceHelper for both VNF and TG. For VNF we want to talk to resource.py and get collectd KPIs. For TG we need to read from the queue the TG calculated KPIs and we also want collectd KPIs. workaround is to use a different method name collect_collectd_kpi for VNFs Change-Id: Icc2132758e37ce210f5600a0cd433077930208e5 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-20Addition of PROX NSB tests to yardstickDanielMartinBuckley36-125/+11531
JIRA: YARDSTICK-802 Addition of PROX L2FWD_Multiflow, ACL, Load Balancing plus grafana dashboards Supports 2 and 4 port Baremetal & Heat Change-Id: I1f3990d5451de265ee3901302569c355ece3b146 Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
2017-09-20prox: use find_relative_file when uploadingRoss Brattain2-2/+3
the prox files were being found correctly. if we use find_relative_file they will lookup relative to the task_path Change-Id: Ifde5d07df5ccfbfeba015b2f43bd8b53e89a00b7 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-20Merge "prox testcases: private -> uplink,public -> downlink, vnf_0, tg_0"Ross Brattain22-258/+346
2017-09-20Merge "prox: pass prox_config_dict between Processes using queue"Ross Brattain9-93/+86
2017-09-19add opnfv_os-odl-fdio-dvr-ha_daily.yaml scenarioRoss Brattain1-0/+38
Change-Id: I723477edf810a220816a2e67aa80f7f144efb3a6 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-19prox: pass prox_config_dict between Processes using queueRoss Brattain9-93/+86
we generate the prox_config_dict in the _run Process, but we also need it in the _traffic_runner Process to get core info. use a queue to pass the config list between the processes enable collect_kpi Change-Id: Ibaf41d606e559a87addf43d6ddaed206dbd2d20c Signed-off-by: Ross Brattain <ross.b.brattain@intel.com> Signed-off-by: Edward MacGillivray <edward.s.macgillivray@intel.com>
2017-09-19Merge "Fixed few gaps when running on a minimal version of system"Ross Brattain2-1/+2
2017-09-19Fixed few gaps when running on a minimal version of systemMaciej Skrocki2-1/+2
- we need to make sure we have lsof installed - we need to update cache inside the image, because we are unable to install some of them Change-Id: Ic555489779e9096540001cb9c62ea2ab25c1ae90 Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
2017-09-19Merge "UDP_Replay: enable collectd KPIs"Ross Brattain1-1/+1
2017-09-19Merge "add scenario opnfv_os-nosdn-bar-ha_daily.yaml for Barometer"Ross Brattain2-0/+223
2017-09-19prox testcases: private -> uplink,public -> downlink, vnf_0, tg_0Ross Brattain22-258/+346
Change-Id: I85afff4582bf538fcd0be5b4db1405a4da2573f9 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>