yardstick.git
7 years agoDocs: add yardstick gui descrption in userguide 45/45945/1 opnfv-5.0.RC1
JingLu5 [Fri, 20 Oct 2017 03:04:12 +0000 (03:04 +0000)]
Docs: add yardstick gui descrption in userguide

Change-Id: I09bc55e296d2c641f10819972ec0d48a289432b8
Signed-off-by: JingLu5 <lvjing5@huawei.com>
7 years agoDocs: update new test cases in release note 19/45919/1
JingLu5 [Thu, 19 Oct 2017 09:49:51 +0000 (09:49 +0000)]
Docs: update new test cases in release note

Change-Id: Ie5ff6fe4f867ce68a33a3a857d8d051ba0020395
Signed-off-by: JingLu5 <lvjing5@huawei.com>
(cherry picked from commit b463496e6515a42e29b814194d8b19ed2f639239)

7 years agoDRAFT: update release notes for Euphrates 17/45917/1
Ross Brattain [Wed, 18 Oct 2017 22:18:52 +0000 (15:18 -0700)]
DRAFT: update release notes for Euphrates

Change-Id: I7e437612ca52b75b71e38962a84d0dcdb453d5dd
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
(cherry picked from commit 540659ee051d8c5b570541e1e4e0b92fa8b0e2ec)

7 years agoMerge "Add missing RFC2544 Ethernet frame sizes" into stable/euphrates
Jing Lu [Fri, 20 Oct 2017 01:51:55 +0000 (01:51 +0000)]
Merge "Add missing RFC2544 Ethernet frame sizes" into stable/euphrates

7 years agoAdd missing RFC2544 Ethernet frame sizes 15/45915/1
Dino Madarang [Thu, 19 Oct 2017 01:14:28 +0000 (01:14 +0000)]
Add missing RFC2544 Ethernet frame sizes

RFC2544 tests should include the following frame sizes:

9.1 Frame sizes to be used on Ethernet

       64, 128, 256, 512, 1024, 1280, 1518

Change-Id: I6ab9cccf2bb3b2678f50da157a9a49c0d9564cbd
Signed-off-by: Dino Simeon Madarang <dinox.madarang@intel.com>
Reviewed-by: Alain Jebara <alain.jebara@intel.com>
Reviewed-by: Deepak S <deepak.s@linux.intel.com>
Reviewed-by: Ross Brattain <ross.b.brattain@intel.com>
Reviewed-by: Edward MacGillivray <edward.s.macgillivray@intel.com>
(cherry picked from commit 7046a9139a60e0bc3e65f5dc6dcb8e6999528136)

7 years agonsb_installation: updates 13/45913/1
Ross Brattain [Tue, 17 Oct 2017 21:38:39 +0000 (14:38 -0700)]
nsb_installation: updates

JIRA: YARDSTICK-500

Change-Id: I6eef884ef6262abe49fc13bc353ca14a72a5b648
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Martin Banszel <martinx.banszel@intel.com>
Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
(cherry picked from commit 97b961aee6653553c5a35ecee5cb766924cd10f1)

7 years agoNSB: fix trex config to use dpdk port number 51/45851/1
Ross Brattain [Thu, 19 Oct 2017 01:14:13 +0000 (18:14 -0700)]
NSB: fix trex config to use dpdk port number

From some reason Heat/Neutron is now creating
interfaces such that xe0 and xe1 are swapped.

xe0  fa:16:3e:38:c7:66  0000:00:05.0
xe1  fa:16:3e:2f:f3:e2  0000:00:03.0

this causes the DPDK port numbering to be swapped.

xe0 is DPDK port 1 because it has higher PCI address
xe1 is DPDK port 0 because it has lower PCI address.

The VNF is configured correctly because it uses DPDK port numbers,
whereas TRex was using interface list ordering.

Modify trex_cfg.yaml to use DPDK port ordering.  This also
requires running generate_cfg() after setup() in instantiate()

+------------------------------------+-------------------+------------------------------+--------+
| Name                               | MAC Address       | Fixed IP Addresses           | Status |
+------------------------------------+-------------------+------------------------------+--------+
| vnf_0.yardstick-af5ccb47-xe0-port  | fa:16:3e:66:a5:e4 | ip_address='10.1.0.7',       | ACTIVE |
| vnf_0.yardstick-af5ccb47-mgmt-port | fa:16:3e:fa:98:fe | ip_address='10.0.1.10',      | ACTIVE |
| tg_0.yardstick-af5ccb47-xe1-port   | fa:16:3e:2f:f3:e2 | ip_address='10.1.1.9',       | ACTIVE |
| vnf_0.yardstick-af5ccb47-xe1-port  | fa:16:3e:f3:1d:f5 | ip_address='10.1.1.4',       | ACTIVE |
|                                    | fa:16:3e:e3:8c:65 | ip_address='10.0.1.1',       | ACTIVE |
|                                    | fa:16:3e:ff:d1:b7 | ip_address='11.191.14.110',  | N/A    |
| tg_0.yardstick-af5ccb47-xe0-port   | fa:16:3e:38:c7:66 | ip_address='10.1.0.8',       | ACTIVE |
|                                    | fa:16:3e:ff:53:5f | ip_address='11.191.14.101',  | DOWN   |
|                                    | fa:16:3e:23:5d:2c | ip_address='10.0.1.2',       | ACTIVE |
| tg_0.yardstick-af5ccb47-mgmt-port  | fa:16:3e:7a:df:4e | ip_address='10.0.1.5',       | ACTIVE |
|                                    | fa:16:3e:22:65:36 | ip_address='11.191.14.109',  | N/A    |
+------------------------------------+-------------------+------------------------------+--------+

/sys/devices/pci0000:00/0000:00:03.0/virtio0/net/ens3/address:fa:16:3e:2f:f3:e2
/sys/devices/pci0000:00/0000:00:05.0/virtio2/net/ens5/address:fa:16:3e:38:c7:66

Change-Id: Iaef2c7d9a5af7f45bd805a8ad6ee545ce0495cb1
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
(cherry picked from commit 7ed018cddf88ac1c5a92f71fa5e421e66d259bc0)

7 years agoBugFix: Negative dropped packets in Prox tests 45/45845/2
Abhijit Sinha [Wed, 18 Oct 2017 15:44:45 +0000 (16:44 +0100)]
BugFix: Negative dropped packets in Prox tests

Removed the abs function which can potentially mask
negative dropped packets.

Dropped packets in Prox workload VNF = max((tx_packets - rx_packets), 0)

Change-Id: I510a351e899cdf9a1f366d632b9f0528b1d9dcce
Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
(cherry picked from commit a27278dacaa54ae60cd3bdfa6e6145643f76fa02)

7 years agoMerge "Adding sample trex example" into stable/euphrates
Ross Brattain [Thu, 19 Oct 2017 15:16:28 +0000 (15:16 +0000)]
Merge "Adding sample trex example" into stable/euphrates

7 years agoMerge "tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex.yaml updated" into stable/euphrates
Ross Brattain [Thu, 19 Oct 2017 15:12:42 +0000 (15:12 +0000)]
Merge "tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex.yaml updated" into stable/euphrates

7 years agoAdding sample trex example 35/45835/1
Deepak S [Wed, 18 Oct 2017 21:59:58 +0000 (14:59 -0700)]
Adding sample trex example

Change-Id: I3b79d33dba5cc559634122a135ff469f054214fc
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
(cherry picked from commit 255a77da00dd047ee0c5ab1e849cf7e6ce75ecf6)

7 years agoMerge "Docs: update new implemented APIs" into stable/euphrates
Jing Lu [Thu, 19 Oct 2017 09:49:51 +0000 (09:49 +0000)]
Merge "Docs: update new implemented APIs" into stable/euphrates

7 years agoBugfix: move opnfv_os-odl-fdio_dvr-noha_daily.yaml to 'test_suites' directory 79/45779/1
JingLu5 [Thu, 19 Oct 2017 08:26:13 +0000 (08:26 +0000)]
Bugfix: move opnfv_os-odl-fdio_dvr-noha_daily.yaml to 'test_suites' directory

The opnfv_os-odl-fdio_dvr-noha_daily.yaml test suite file is wrongly put in Yardstick root directory,
this patch moves this file to the 'test_suites' directory.

Change-Id: Ib3f75845c7af658dc6f96ac2de737cfbd1faf15a
Signed-off-by: JingLu5 <lvjing5@huawei.com>
(cherry picked from commit 14050ee3f720eb6aafaca256fc7bd982ac127cc7)

7 years agoDocs: update new implemented APIs 69/45769/1
JingLu5 [Thu, 19 Oct 2017 03:07:39 +0000 (03:07 +0000)]
Docs: update new implemented APIs

Change-Id: If6b70791213099d53c82993bd22ac9eed6000c32
Signed-off-by: JingLu5 <lvjing5@huawei.com>
(cherry picked from commit a4e465a23a41dfee5419085c43ed21aee3a0d97c)

7 years agoMerge "Create the ovs-vswitchd logging directory" into stable/euphrates
Ross Brattain [Thu, 19 Oct 2017 04:44:12 +0000 (04:44 +0000)]
Merge "Create the ovs-vswitchd logging directory" into stable/euphrates

7 years agotc_heat_rfc2544_ipv4_1rule_1flow_64B_trex.yaml updated 35/45735/1
Ross Brattain [Wed, 18 Oct 2017 05:34:28 +0000 (22:34 -0700)]
tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex.yaml updated

Change-Id: Ie9cee3e0567e771cbf11a9802bd33a420cc1ee7a
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
(cherry picked from commit 041aeb7d3505e98af5b167a5ee05bb72c3c87a26)

7 years agoCreate the ovs-vswitchd logging directory 33/45733/1
Martin Banszel [Wed, 18 Oct 2017 05:59:03 +0000 (07:59 +0200)]
Create the ovs-vswitchd logging directory

Change-Id: Id7f55f7fcb2fec2866b76821595776908ac30c04
Signed-off-by: Martin Banszel <martinx.banszel@intel.com>
(cherry picked from commit bdcae10b04debea07e4553aab6e4ce43011d5f62)

7 years agoNSB: update vfw scale-out testcases 31/45731/1
Ross Brattain [Thu, 19 Oct 2017 03:53:53 +0000 (20:53 -0700)]
NSB: update vfw scale-out testcases

Change-Id: I6bd8a87f70954f288975e3e73e3cfbd36ae561dc
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
(cherry picked from commit 39ead7aee3610dddbdeae33a5776ae5b98dfabea)

7 years agoadd CheckConnectivity scenario 21/45721/1
JingLu5 [Wed, 11 Oct 2017 05:54:25 +0000 (05:54 +0000)]
add CheckConnectivity scenario

Change-Id: I9d246828790467c2a57ba410826ee9751fff89c5
Signed-off-by: JingLu5 <lvjing5@huawei.com>
(cherry picked from commit 4712d72a570dc9e2799227d489ee41768881a06d)

7 years agoMerge changes from topic 'euphrates-sync-2017-10-18' into stable/euphrates
Ross Brattain [Thu, 19 Oct 2017 02:59:06 +0000 (02:59 +0000)]
Merge changes from topic 'euphrates-sync-2017-10-18' into stable/euphrates

* changes:
  tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex_correlated_scale_2: fix indent
  Hamonization of the titles of the documents (Testing group)
  scale-out testcase template

7 years agoMerge "Resolve full path to adminrc file if full path is not provided" into stable...
Ross Brattain [Thu, 19 Oct 2017 02:58:50 +0000 (02:58 +0000)]
Merge "Resolve full path to adminrc file if full path is not provided" into stable/euphrates

7 years agoMerge "add VNF scale-up template" into stable/euphrates
Ross Brattain [Thu, 19 Oct 2017 02:58:42 +0000 (02:58 +0000)]
Merge "add VNF scale-up template" into stable/euphrates

7 years agoadd VNF scale-up template 91/45691/1
Ross Brattain [Mon, 24 Jul 2017 08:47:30 +0000 (01:47 -0700)]
add VNF scale-up template

adjust worker_threads based on number of vcpus

Change-Id: Ie5444a64c15711a0e813905c69581f189432fe0b
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
(cherry picked from commit bc6c77102684f69bccdce8509723e00ef38c69cf)

7 years agoResolve full path to adminrc file if full path is not provided 89/45689/1
Charlie Kang [Tue, 17 Oct 2017 22:42:52 +0000 (15:42 -0700)]
Resolve full path to adminrc file if full path is not provided

Change-Id: I7e9d8074b5d956c864a0b3264926eee89e66dc35
Signed-off-by: Charlie Kang <charlie.kang@intel.com>
(cherry picked from commit baa6c60b3216a41978a136b9d32e054c52153935)

7 years agotc_heat_rfc2544_ipv4_1rule_1flow_64B_trex_correlated_scale_2: fix indent 87/45687/1
Ross Brattain [Wed, 18 Oct 2017 15:26:54 +0000 (08:26 -0700)]
tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex_correlated_scale_2: fix indent

bad YAML indent

Change-Id: I6aaf53b9bbf6005b6be4c2d6c69cefd41949f8c6
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoNSB: MultiPortConfig adjust start_core 81/45681/1
Ross Brattain [Tue, 17 Oct 2017 23:24:48 +0000 (16:24 -0700)]
NSB: MultiPortConfig adjust start_core

Change-Id: I8f4b6af898c9d3783f7b45471088a69e51c8baba
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoHamonization of the titles of the documents (Testing group) 85/45685/1
Morgan Richomme [Wed, 18 Oct 2017 07:39:05 +0000 (09:39 +0200)]
Hamonization of the titles of the documents (Testing group)

Change-Id: I6065fb416a90544539316666aac92735ee84177a
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoAdded required ubuntu packages to run IxLoad client 79/45679/1
Maciej Skrocki [Tue, 17 Oct 2017 21:41:50 +0000 (14:41 -0700)]
Added required ubuntu packages to run IxLoad client

To fully enable IxLoad, after installing the IXIA client,
check /opt/ixia/ixload/<ver>/bin/ixloadpython and make sure
you can run this cmd inside the yardstick container. Usually
user is required to copy or link /opt/ixia/python/<ver>/bin/ixiapython
to /usr/bin/ixiapython<ver>.

Change-Id: I6bc633802ad6c70329581014ec89c75bb7f8d688
Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
7 years agoscale-out testcase template 83/45683/1
Ross Brattain [Mon, 24 Jul 2017 09:55:00 +0000 (02:55 -0700)]
scale-out testcase template

use anonymous flavors
force num_vnfs to int

added provider network examples

we have to disable port security for provider networks

removed vld_id, not needed

adjust num_vfs to allocate two physnets per VNF.

fix for multiports

Change-Id: Ic4c8314dc07f6295b9559188989d81058bb48eb0
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agopmu mirror creation ansible error fix 77/45677/1
Dhaval Patel [Tue, 17 Oct 2017 17:52:02 +0000 (10:52 -0700)]
pmu mirror creation ansible error fix

  While creating the mirror for pmu event list generation, some of
  the links would fail, throwing error. This fixes that.

Change-Id: I52e96b1a6eacb5a9611845e815ecff9052df168a
Signed-off-by: Dhaval Patel <dhaval.r.patel@intel.com>
7 years agoEnable static cgnapt functionality. 75/45675/1
Deepak S [Fri, 22 Sep 2017 05:13:09 +0000 (22:13 -0700)]
Enable static cgnapt functionality.

Change-Id: Ie770ca69ebdc66589ed6ca5c25bfc9a75afb8938
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
7 years agoBugFix: Fix to Load Balancer - Previously Dropped packets was acceptable 73/45673/1
DanielMartinBuckley [Fri, 13 Oct 2017 15:48:09 +0000 (16:48 +0100)]
BugFix: Fix to Load Balancer - Previously Dropped packets was acceptable

Dropped packets were tolerated. Now no longer tolerated (except 0.01%)

Change-Id: I69d4f1a84d82e03a091a61419fa05fea13176c1c
Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
7 years agovalidate_non_string_sequence: use six.string_types 71/45671/1
Ross Brattain [Tue, 17 Oct 2017 06:59:26 +0000 (23:59 -0700)]
validate_non_string_sequence: use six.string_types

Change-Id: I7248d97a55974091daf20f0fba4b612101a0e4c5
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoDisable spoof check on vfs in sriov setup 69/45669/1
Deepak S [Mon, 16 Oct 2017 21:49:20 +0000 (14:49 -0700)]
Disable spoof check on vfs in sriov setup

Change-Id: I8577231c2e78776cb30f7f7ded353a4fbc585aaa
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
7 years agoAdding cpu set to enable affinity for given vcpu 67/45667/1
Deepak S [Mon, 16 Oct 2017 08:21:12 +0000 (01:21 -0700)]
Adding cpu set to enable affinity for given vcpu

Change-Id: If2e079966939b7faa33d2833d81caad0a3669036
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
7 years agoAdding sample multi-port ansible script 65/45665/1
Deepak S [Sun, 15 Oct 2017 23:52:09 +0000 (16:52 -0700)]
Adding sample multi-port ansible script

- trex
- ixia
- ixia correlated

Change-Id: I7d1414227c27c2bb03454eac94592e07c434f070
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
7 years agofix invalid chracters in ansible scripts 63/45663/1
Deepak S [Mon, 16 Oct 2017 00:19:03 +0000 (17:19 -0700)]
fix invalid chracters in ansible scripts

Change-Id: I3d1a491e4c0f0554a861d9bb24fbd0ac94835759
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
7 years agoUpdate the traffic profile to support sample multi-port 61/45661/1
Deepak S [Sat, 14 Oct 2017 23:57:11 +0000 (16:57 -0700)]
Update the traffic profile to support sample multi-port

Change-Id: Iaf8b3e0aa3855443b0628573a1df98d177f27c76
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
7 years agoRelocate iniparser to yardstick.network_services.helpers 59/45659/1
Edward MacGillivray [Fri, 13 Oct 2017 21:01:39 +0000 (14:01 -0700)]
Relocate iniparser to yardstick.network_services.helpers

Change-Id: I1f457c9c24f2ca84dde61b64f58edaff8952670a
Signed-off-by: Edward MacGillivray <edward.s.macgillivray@intel.com>
7 years agoBugFix: Fix to negative dropped packets appearing in results. 57/45657/1
DanielMartinBuckley [Fri, 13 Oct 2017 10:34:49 +0000 (11:34 +0100)]
BugFix: Fix to negative dropped packets appearing in results.

As per defect:
   the "VNF packets dropped" time series is negative - negative number of packets dropped
   is not meaningful.

Solution:
   Return a positive value.

Change-Id: I358006a691f2d6b5954333b9f7a745aba97ae44f
Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
7 years agoBugFix: limit the count to supported range in min/max 55/45655/1
Deepak S [Fri, 13 Oct 2017 01:02:37 +0000 (18:02 -0700)]
BugFix: limit the count to supported range in min/max

In trex, giving count beyond the allowed range causes trex client to
fail. Check the range and reset the count before starting the traffic

Change-Id: I58e54f47edb5f249087b8f7178b807ddfb13b03c
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
7 years agoDocs: test case description for TC080 and TC081 99/45499/1
JingLu5 [Wed, 18 Oct 2017 06:55:43 +0000 (06:55 +0000)]
Docs: test case description for TC080 and TC081

JIRA: YARDSTICK-825

Change-Id: Ib2f8d0b88378c0dd0bd20ba38141a205fa7ae486
Signed-off-by: JingLu5 <lvjing5@huawei.com>
7 years agoFio: support input job file configuration 45/45445/1
JingLu5 [Fri, 13 Oct 2017 08:15:18 +0000 (08:15 +0000)]
Fio: support input job file configuration

Change-Id: I4bb15a398819e54f7fb3e9eac17daa4059c03376
Signed-off-by: JingLu5 <lvjing5@huawei.com>
(cherry picked from commit a5d0491b47fd1bab27fa603353861ea8eaba8da5)

7 years agoadd opnfv_os-odl-fdio_dvr-noha testsutie for Apex 21/45421/1
JingLu5 [Wed, 18 Oct 2017 01:37:07 +0000 (01:37 +0000)]
add opnfv_os-odl-fdio_dvr-noha testsutie for Apex

Change-Id: Idd60153e6097cbef6513942653429d2ec96a8c17
Signed-off-by: JingLu5 <lvjing5@huawei.com>
(cherry picked from commit b122091bcc2e780be3694cf0faa1b771994798f6)

7 years agoNSB: rename private->uplink, public->downlink in example 97/45297/1
Ross Brattain [Tue, 17 Oct 2017 07:20:23 +0000 (00:20 -0700)]
NSB: rename private->uplink, public->downlink in example

Change-Id: Ieb8943a432a59375b7e68a708666ad4caa4affd2
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoresource: move make_resource_profile to ResourceProfile 95/45295/1
Ross Brattain [Fri, 13 Oct 2017 22:18:16 +0000 (15:18 -0700)]
resource: move make_resource_profile to ResourceProfile

move factory method from Collector to ResourceProfile

Change-Id: I1ddf3cffed7a3b2d45aa9cbffd3c0a5925c325d6
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agobugfix: remove pod_name in host and unify host parameter 91/45191/2
rexlee8776 [Fri, 13 Oct 2017 02:25:04 +0000 (02:25 +0000)]
bugfix: remove pod_name in host and unify host parameter

for none-ha test case, use host to be parameter
for ha test case, use attack_host as parameter

Change-Id: I053df00adab17814dd54584a1ae081548163dc68
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
(cherry picked from commit 18b2c357c3d281fbdf5261958ef60abb98915486)

7 years agoCreate test suite opnfv_os-nosdn-openbaton-ha_daily 77/45177/1
chenjiankun [Mon, 16 Oct 2017 04:04:10 +0000 (04:04 +0000)]
Create test suite opnfv_os-nosdn-openbaton-ha_daily

JIRA: YARDSTICK-823

We need to create test sutie opnfv_os-nosdn-openbaton-ha_daily.yaml
to enable this scenario.

Change-Id: Ia800a9c74aaecf0d73e6f0fd559630b741ad2432
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
(cherry picked from commit 164d60cedff53c520e4c36a37cb1a02bf873f7fb)

7 years agoSupport to add multiple src/dst ports in flow 75/45075/1
Deepak S [Thu, 12 Oct 2017 22:44:59 +0000 (15:44 -0700)]
Support to add multiple src/dst ports in flow

Change-Id: I888a6029efaad8308de8df6b6787dd46af5f1c55
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
7 years agotask: use CONF_FILE from constants 73/45073/1
Ross Brattain [Thu, 12 Oct 2017 05:46:57 +0000 (22:46 -0700)]
task: use CONF_FILE from constants

I'm not sure why we hardcoded config_file when
the CONF_FILE constant will work.

Change-Id: I45a1dc17ac2b185c659725f55462214acb74838d
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agocollectd: set intel_pmu events path and OVS socket path 71/45071/1
Ross Brattain [Tue, 10 Oct 2017 22:03:22 +0000 (15:03 -0700)]
collectd: set intel_pmu events path and OVS socket path

switch from hardcoded path to dynamic path
based on bin_path

also enable proxy for install_collectd

add barometer settings for virt and ovs_stats

Change-Id: Id138aef548332a3e3fcb3963b746e7c9f10c0948
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoVersion changes for collectd, pmu-tools, intel_cmt_cat 69/45069/1
Dhaval Patel [Thu, 12 Oct 2017 18:01:57 +0000 (11:01 -0700)]
Version changes for collectd, pmu-tools, intel_cmt_cat

  Bumping collectd version to include pmu plugin enablement,
  bounding pmu-tools and intel_cmt_cat to a commit-id

Change-Id: I666d52c5574cec0caebb07535332984fa77e5b65
Signed-off-by: Dhaval Patel <dhaval.r.patel@intel.com>
7 years agoNSB Prox Grafana dashboard updates 67/45067/1
Abhijit Sinha [Thu, 12 Oct 2017 10:51:50 +0000 (11:51 +0100)]
NSB Prox Grafana dashboard updates

JIRA: YARDSTICK-802

Updating the Grafana dashboards with common data
format for all BM and Opensatck Prox tests and
adding minor improvements

- Correct the test description
- Re-run the tests and verify that all the
  fields are graph correct
- Label the axes correctly.
  eg: For Throughput added label "MPPS"

Change-Id: I62b471926fe3c4c8876b70053a92d06f4373e296
Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
7 years agoKVMFORNFV: To verify the execution of the bash script 65/45065/1
Navya [Wed, 11 Oct 2017 07:30:02 +0000 (13:00 +0530)]
KVMFORNFV: To verify the execution of the bash script

This patch is used to verify the parameters passed and
the flow of qemu_migrate_benchmark.bash script to handle
the bugs

Change-Id: Ifc1bfa7a91a2eed178b9dc984c222074f06e0599
Signed-off-by: Navya Bathula <navyax.bathula@intel.com>
7 years agoMove arp route tbl to script and update defailt vnf config files 63/45063/1
Deepak S [Wed, 11 Oct 2017 10:28:51 +0000 (03:28 -0700)]
Move arp route tbl to script and update defailt vnf config files

Change-Id: I8674caa15c9fc32cfacb17f558da5fb31094877e
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agocgnat: duplicate keys are not allowed 61/45061/1
Ross Brattain [Wed, 11 Oct 2017 23:31:18 +0000 (16:31 -0700)]
cgnat: duplicate keys are not allowed

the current ConfigParser does not handle duplicate keys
in ini files.

Change-Id: Iaafbbab740a809a59edfd93c84d0029ef10ac6f3
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoincrease number of open files for collectd 59/45059/1
Ross Brattain [Wed, 11 Oct 2017 08:40:56 +0000 (01:40 -0700)]
increase number of open files for collectd

for collectd KPIs we need may need to open 10,000+ files

one file for each core * number of CPU counters we read.

Use the ansible pam_limits moules to increase the nofile
setting.  This should allow the VNF to boot with increased
number of files open

Change-Id: I46b75d5ca59e8e359c985a1e37daaee89897884c
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agotask: drain background runner queues 57/45057/1
Ross Brattain [Wed, 11 Oct 2017 20:30:14 +0000 (13:30 -0700)]
task: drain background runner queues

We were not draining the queues in the background
runners.

Modify the main runner_join loop to loop over
all the runners and drain them.

The runner join method does extra work for periodic actions
so we can't change its behavior.

Instead create a new poll() method and use that
to check runner status

Change-Id: I9466ba40a6a4c45c82cedff279cbb4817c6b66ad
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoBug in NSB Prox ACL Test 4 Port 55/45055/1
DanielMartinBuckley [Wed, 11 Oct 2017 17:59:13 +0000 (18:59 +0100)]
Bug in  NSB Prox ACL Test 4 Port

JIRA: YARDSTICK-802

Generator was incorrectly configured to generated traffic for p0, p1 (twice), and p3

Should be p0, p1, p2 and p3

Change-Id: Ib62a3c6523b1eda635b8c727c36e140fd480003e
Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
7 years agoUpdating NSBperf to print right testcase 53/45053/1
Deepak S [Wed, 11 Oct 2017 09:39:34 +0000 (02:39 -0700)]
Updating NSBperf to print right testcase

Change-Id: I7be7bc61624fa14eb552477bdc701a44d65e68b7
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
7 years agoprivate-> uplink and public->downlink 51/45051/1
Deepak S [Wed, 11 Oct 2017 07:09:58 +0000 (00:09 -0700)]
private-> uplink and public->downlink

changing private and public to new uplink/downlink name

Change-Id: I8c3f582ba5592418a397e2500e0b998c3eed54f2
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
7 years agoEnable intel_pmu plugin in collectd 49/45049/1
Deepak S [Tue, 10 Oct 2017 06:47:17 +0000 (12:17 +0530)]
Enable intel_pmu plugin in collectd

Change-Id: I62c6416e5c79d0b90880985bb5c076b65e34192e
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
7 years agoping: always save rtt data, influxdb ignore empty data 69/44969/1
Ross Brattain [Wed, 11 Oct 2017 22:16:53 +0000 (15:16 -0700)]
ping: always save rtt data, influxdb ignore empty data

If the SLA was failing we were raising AssertionError and not storing
the rtt in the data dict.  This caused influxdb parse errors because the
data was empty.

Fixup influxdb to ignore records with no data, so we don't try to parse
no data.

Change the ping logic to always record the rtt result even if the SLA
was not met.

Also fixup ping logic in cases where ping does not return results.  If
SLA is defined use SLA * 10 otherwise use large float that doesn't break
the grafana scale too much, maybe 999999

JIRA: YARDSTICK-809

Change-Id: Id2d51216581644a80e8c7b9aa98919a766008adf
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
(cherry picked from commit af011b16787e8fd9fc6f918b1d1427dd1be562ec)

7 years agoBugfix: Add opnfv_os-nosdn-ovs_dpdk testsuite for Compass4nfv 65/44965/1
JingLu5 [Fri, 13 Oct 2017 02:26:56 +0000 (02:26 +0000)]
Bugfix: Add opnfv_os-nosdn-ovs_dpdk testsuite for Compass4nfv

Change-Id: I35e6471bb561eb773bd188b36b912969188955d2
Signed-off-by: JingLu5 <lvjing5@huawei.com>
7 years agoBugfix: Add opnfv_os-odl_l2-moon-ha_daily testsuite for Compass4nfv 59/44959/1
JingLu5 [Fri, 13 Oct 2017 02:19:40 +0000 (02:19 +0000)]
Bugfix: Add opnfv_os-odl_l2-moon-ha_daily testsuite for Compass4nfv

Change-Id: I46c6b56e1293c3d594804d77a73c391922f03653
Signed-off-by: JingLu5 <lvjing5@huawei.com>
7 years agoChange 'SUCCESS' to 'PASS' when report to MongoDB 93/44893/1
chenjiankun [Thu, 12 Oct 2017 06:27:11 +0000 (06:27 +0000)]
Change 'SUCCESS' to 'PASS' when report to MongoDB

JIRA: YARDSTICK-822

To keep consistent with other testing project, we need to
change 'SUCCESS' to 'PASS', 'FAILED' to 'FAIL'.

Change-Id: I392e4dc6dd2e028cd43cba0d1bf8ee04618326d7
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
(cherry picked from commit f4680c872fbb34816d809c41852740f5cb960fd1)

7 years agoBugfix: Reference for the tool used in TC044 mentioned in the user guide is wrong 65/44865/1
JingLu5 [Thu, 12 Oct 2017 02:42:13 +0000 (02:42 +0000)]
Bugfix: Reference for the tool used in TC044 mentioned in the user guide is wrong

JIRA: YARDSTICK-821

Change-Id: I09b189008df4ec2e6db92cf24c45d8206ed2062f
Signed-off-by: JingLu5 <lvjing5@huawei.com>
7 years agoMerge "Doc amendment: env prepare command" into stable/euphrates
Jing Lu [Thu, 12 Oct 2017 01:47:54 +0000 (01:47 +0000)]
Merge "Doc amendment: env prepare command" into stable/euphrates

7 years agoDoc amendment: env prepare command 55/44855/1
JingLu5 [Tue, 10 Oct 2017 08:19:54 +0000 (08:19 +0000)]
Doc amendment: env prepare command

JIRA: YARDSTICK-637

Change-Id: I7e5e1afb7b5a7e97aa070c03cded3be285d97cc2
Signed-off-by: JingLu5 <lvjing5@huawei.com>
(cherry picked from commit d91ddc83daa7ac112c764e74621b48455d038e7f)

7 years agoUse "protocol" parameters in iperf3 yaml and task file 53/44853/1
Ace Lee [Fri, 15 Sep 2017 06:14:19 +0000 (06:14 +0000)]
Use "protocol" parameters in iperf3 yaml and task file

JIRA: YARDSTICK-755

There is a history problem that iperf use udp to set a net protocol.
This code will change it to protocol.
so you could use 'tcp','udp' and other protocol.

Change-Id: I1a101013dfe58165a3ed08aa77f0aa2f73d57a12
Signed-off-by: Ace Lee <liyin11@huawei.com>
(cherry picked from commit 10f85b332c4b1f55e651aeb9c45b328e1ebdc2af)

7 years agoTC008 Interrupt Affinity Fix 35/44735/1
Jing Zhang [Tue, 10 Oct 2017 18:20:33 +0000 (14:20 -0400)]
TC008 Interrupt Affinity Fix
The smp_affinity takes hex mask, currently it is given hex number.

Change-Id: Id738bfe10551dad1f5df48910a230b12f50d1b3d
JIRA: YARDSTICK-818
Signed-off-by: Jing Zhang <jing.c.zhang@nokia.com>
7 years agoBugfix: Update HW lb config VNF thread to start from core 1 09/44709/2
Deepak S [Mon, 9 Oct 2017 21:35:18 +0000 (14:35 -0700)]
Bugfix: Update HW lb config VNF thread to start from core 1

Change-Id: Ib0007fa3689b90346598baaef5c6e88d4fdf444a
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
7 years agoinstall pmu tools collectd plugin 33/44733/1
Ross Brattain [Mon, 11 Sep 2017 23:36:49 +0000 (16:36 -0700)]
install pmu tools collectd plugin

Added review dependency, removed collectd commit-id
replicating bash script, added pmu roles to playbook

Create local mirror for event list generation, copy script
to image, and run event list generation at runtime if
intel_pmu is enabled.

Change-Id: Ie46a2b197f4d2037cf3eed194764ce9eb5670415
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoNSB Prox vPE Test 31/44731/1
Abhijit Sinha [Thu, 5 Oct 2017 09:23:39 +0000 (10:23 +0100)]
NSB Prox vPE Test

JIRA: YARDSTICK-802

Addition of Prox vPE test case
- The tests supports BM, Openstack Heat
- Supports 4 ports
- Grafana dashboards included
- Added support for parameters.lua
  for prox additional files
- Unit tests for code coverage

Change-Id: I5cccb351dacba88a293ae4b8aba1f0a803d62e6d
Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
Signed-off-by: Daniel MArtin Buckley <daniel.m.buckley@intel.com>
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoKVMFORNFV:Livemigration testcase changes in Yardstick 29/44729/1
Navya [Fri, 6 Oct 2017 06:01:45 +0000 (23:01 -0700)]
KVMFORNFV:Livemigration testcase changes in Yardstick

This patch includes changing the function call to place the
respective bash file to the given TARGET_SCRIPT path.

Change-Id: Iba2adf4bdb6d9045493f5099e29ade4e8e6b5cd3
Signed-off-by: Navya <navyax.bathula@intel.com>
7 years agolibyajl: install from pkg 27/44727/1
Dhaval Patel [Thu, 5 Oct 2017 22:05:25 +0000 (15:05 -0700)]
libyajl: install from pkg

libyajl needed for ovs_events and ovs_stats, removed installing
from src and rather installing as deb pkg

Change-Id: Ic1ebf88304bbc7f4fa7b9b51c95f1e8e729e71e3
Signed-off-by: Dhaval Patel <dhaval.r.patel@intel.com>
7 years agoUpdate load_images.sh to MCP@aarch64 25/44525/1
Cristina Pauna [Fri, 6 Oct 2017 15:19:32 +0000 (18:19 +0300)]
Update load_images.sh to MCP@aarch64

The load_images.sh script still contained old functionality.
The changes are:
- don't use TestVM anymore, MCP does not load that by default like Fuel did
  upload the cirros image instead
- don't upload the kernel separately for aarch64, one part image works now
- add the needed extra-properties accordingly to each image

The script was tested on arm, the test are running now without errors

JIRA: ARMBAND-285

Change-Id: Iee8ce6cde43bebceb2edbb1310ea81c665876aff
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
(cherry picked from commit af71c468fe83a5149e0e18cdb233e059302209e3)

7 years agofix random test_task unittest fail due to os.environ mock 93/44493/1
Ross Brattain [Tue, 19 Sep 2017 23:38:44 +0000 (16:38 -0700)]
fix random test_task unittest fail due to os.environ mock

sometime Jenkins fails due to what I guess are concurrency problems
in os.environ mock

======================================================================
FAIL: tests.unit.benchmark.core.test_task.TaskTestCase.test_parse_suite_with_constraint_no_args
tags: worker-10
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.5/unittest/mock.py", line 1157, in patched
    return func(*args, **keywargs)
  File "/home/jenkins/opnfv/slave_root/workspace/yardstick-verify-euphrates/tests/unit/benchmark/core/test_task.py", line 208, in test_parse_suite_with_constraint_no_args
    task_files, task_args, task_args_fnames = t.parse_suite()
  File "/home/jenkins/opnfv/slave_root/workspace/yardstick-verify-euphrates/yardstick/benchmark/core/task.py", line 455, in parse_suite
    cur_pod = os.environ.get('NODE_NAME', None)
  File "/usr/lib/python3.5/unittest/mock.py", line 917, in __call__
    return _mock_self._mock_call(*args, **kwargs)
  File "/usr/lib/python3.5/unittest/mock.py", line 976, in _mock_call
    result = next(effect)
StopIteration
Ran 1262 tests in 2.375s
FAILED (id=0, failures=1)
error: testr failed (1)
+ testr failing

Replace the mock decorator with a context manager to try to
reduce the scope and duration of the mock.

Change-Id: I342fe6c403e66c53ac4c39fd88fa9047cdfae5d9
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
(cherry picked from commit 2fadf7aec9e2761c39d29d8af1ee7d69d154652d)

7 years agoFixed compilation of latest samplevnf 39/44439/1
Maciej Skrocki [Thu, 28 Sep 2017 21:13:39 +0000 (14:13 -0700)]
Fixed compilation of latest samplevnf

added download_civetweb and install_civetweb roles.

Change-Id: Id4f60cc07b3befc7edb3cfc38773fe1a73a44c1f
Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
7 years agoadd wait_for_instantiate 37/44437/1
Ross Brattain [Wed, 27 Sep 2017 03:34:47 +0000 (20:34 -0700)]
add wait_for_instantiate

Change-Id: Idc54fc907dba4603984712fc43a0db8dfd4b7374
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoheat: add port name as port 35/44435/1
Ross Brattain [Sun, 17 Sep 2017 23:10:43 +0000 (16:10 -0700)]
heat: add port name as port

Change-Id: Ibd159359c6f57d573a909d6841c121c15bf692c1
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoMaking sure yardstick container uses hosts timezone 33/44433/1
Maciej Skrocki [Wed, 4 Oct 2017 22:33:09 +0000 (15:33 -0700)]
Making sure yardstick container uses hosts timezone

This is required for influxdb results being reported
"in the future" when the timezones do not match.

Change-Id: Ic41e19d26c46b6ccfa6dacddb595236af19e437a
Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
7 years agorewrite _generate_pod_yaml to combine name and pkey setting 31/44431/1
Ross Brattain [Wed, 4 Oct 2017 20:17:40 +0000 (13:17 -0700)]
rewrite _generate_pod_yaml to combine name and pkey setting

just deepcopy and change.  This will probably break in
the future if we use anything other than dicts and list.

Change-Id: I9a9b0c5b09b3e3ebd7ed593bf6339ea030605f93
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoDisable VNF deploy by default 29/44429/1
Deepak S [Mon, 18 Sep 2017 03:58:43 +0000 (20:58 -0700)]
Disable VNF deploy by default

Change-Id: I27bcc41c855f34fb1fd0332fc24e7bf0b2af4ec2
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoNSB Prox minor refactor of BNG 27/44427/1
Abhijit Sinha [Wed, 4 Oct 2017 15:02:16 +0000 (16:02 +0100)]
NSB Prox minor refactor of BNG

JIRA: YARDSTICK-802

- Updated the BNG code with minor refactor.
- Corrected the CPE core name
- Update binsearch traffic profile with 64B

Change-Id: Iae0be766edb986520045655fa567651711813a8b
Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
7 years agoAdd intermediate variables for attacker,monitor,result_checker 25/44425/1
qiujuan [Sun, 3 Sep 2017 04:31:13 +0000 (12:31 +0800)]
Add intermediate variables for attacker,monitor,result_checker

JIRA: YARDSTICK-790

Change-Id: I6bb36c98b8673155d3142fc54cfb39315d5ce613
Signed-off-by: qiujuan <juan_qiu@tongji.edu.cn>
7 years agoAdded example TC with collectd on compute node 23/44423/1
Maciej Skrocki [Tue, 3 Oct 2017 22:19:15 +0000 (15:19 -0700)]
Added example TC with collectd on compute node

To be used with yardstick/etc/yardstick/nodes/pod.yaml.collectd.sample

Change-Id: I6eff4f6adf57596e06c685ab87b83699696ad7b6
Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
7 years agoAdding sample testcases to run on standalone context 21/44421/1
Deepak S [Tue, 19 Sep 2017 19:35:39 +0000 (12:35 -0700)]
Adding sample testcases to run on standalone context

- vFW
- vCGNAPT
- vACL
- UDP Replay
- vPE (Only OVS supported)

Change-Id: Idbc4d1d6bc1283e40d2fcb9457a871a9198ad147
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
7 years agoAdding auto generate scale-out support for correlated traffic 19/44419/1
Deepak S [Fri, 29 Sep 2017 10:45:06 +0000 (03:45 -0700)]
Adding auto generate scale-out support for correlated traffic

Change-Id: I2755b596068545c1a3a672ceff47d814a44ae050
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
7 years agoAdding 2 node ixia generic scale-out test case generation 17/44417/1
Deepak S [Tue, 26 Sep 2017 02:04:49 +0000 (19:04 -0700)]
Adding 2 node ixia generic scale-out test case generation

Change-Id: I7da2d5bcd7c58c669e28a7271e4c6848c003e84a
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
7 years agoAdding scale out templates for ovs_dpdk/sriov using 2 node setup 15/44415/1
Deepak S [Sat, 16 Sep 2017 04:14:46 +0000 (21:14 -0700)]
Adding scale out templates for ovs_dpdk/sriov using 2 node setup

2 - node setup:
  - Traffic generator starts new stream on both uplink and downlink

This patch addes amsible scripts to enable scale_out testcases

- vfw

Change-Id: I0340636bce3e74cd6175f728b9e7e014a4eb2fd5
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
7 years agoNSB PROX test hang fixes 37/44237/1
Ross Brattain [Thu, 28 Sep 2017 07:10:43 +0000 (00:10 -0700)]
NSB PROX test hang fixes

The PROX tests were hanging in the duration
runner.

These are fixes for various errors:

raise error in collect_kpi if VNF is down

move prox dpdk_rebind after collectd stop
fix dpdk nicbind rebind to group by drivers

prox: raise error in collect_kpi if the VNF is down
prox: add VNF_TYPE for consistency

sample_vnf: debug and fix kill_vnf
pkill is not matching some executable names,
add some debug process dumps and try switching
back to killall until we can find the issue

sample_vnf: add default timeout, so we can override
default 3600 SSH timeout

collect_kpi is the point at which we check
the VNFs and TGs for failures or exits

queues are the problem make sure we aren't silently blocking on
non-empty queues by canceling join thread in subprocess

fixup duration runner to close queues
and other attempt to stop duration runner
from hanging

VnfdHelper: memoize port_num

resource: fail if ssh can't connect
at the end of 3600 second test our ssh connection
is dead, so we can't actually stop collectd
unless we reconnect

fix stop() logic to ignore ssh errors

Change-Id: I6c8e682a80cb9d00362e2fef4a46df080f304e55
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoSwitched nsb_setup to pull stable yardstick docker image 61/44161/1
Maciej Skrocki [Tue, 3 Oct 2017 22:49:03 +0000 (15:49 -0700)]
Switched nsb_setup to pull stable yardstick docker image

Change-Id: I4474ee65899d5f60e657835e8d80de0d372abd22
Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
7 years agoEnable multi-port perf in trex as TG 57/44157/1
Deepak S [Wed, 30 Aug 2017 09:22:07 +0000 (02:22 -0700)]
Enable multi-port perf in trex as TG

set TRex -c option for threads per port based on
hardware number of queues.

We can't auto-detect number of queues and we can't
use more than one thread per core on systems with single-queue
interfaces, so move the option to the config file

options:
  tg_0:
    queues_per_port: 2

also enable trex debug by removing >/dev/null redirection

options:
  tg_0:
    trex_server_debug: true

Change-Id: I46da187849282bf28f4ef5b333e1ae890e202768
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agorunners: add timeout to queue put 55/44155/1
Ross Brattain [Mon, 2 Oct 2017 21:21:18 +0000 (14:21 -0700)]
runners: add timeout to queue put

we don't want to block the test waiting to put KPIs
Add moderate timeout.  In case we do timeout, it
doesn't matter if we drop intermitten KPIs

Change-Id: I049c785355993e6b286748a5c897d54dd2923dc9
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoadd collectd resource node capability 53/44153/1
Ross Brattain [Thu, 28 Sep 2017 07:10:43 +0000 (00:10 -0700)]
add collectd resource node capability

allow manually adding collectd nodes using Node context.

if a node is present with a collectd config dict then
we can create a ResourceProfile object for it
and connect to collectd.

example

nodes:
-
    name: compute_0
    role: Compute
    ip: 1.1.1.1
    user: root
    password: r00t
    collectd:
        interval: 5
        plugins:
            ovs_stats: {}

Change-Id: Ie0c00fdb58373206071daa1fb13faf175c4313e0
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoOptimize Core usage for the sampleVNFs 51/44151/1
Deepak S [Sat, 23 Sep 2017 03:40:35 +0000 (20:40 -0700)]
Optimize Core usage for the sampleVNFs

Change-Id: I80aa7e796b9ca4c4881c78310860e293a4a75560
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoProx L3FWD 2-port test fix 49/44149/1
Abhijit Sinha [Mon, 2 Oct 2017 12:56:43 +0000 (13:56 +0100)]
Prox L3FWD 2-port test fix

JIRA: YARDSTICK-802

Updated the handle config for l3fwd 2 port test
The tx and rx descripters is removed as they
were not there in original DATS config.
The BM test was dropping packets beacuse of this.

Change-Id: I40d113267cbb3376a772b5a5aaecf74bea9d06fb
Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
7 years agodrain runner queue and undo cancel_join_thread 47/44147/1
Ross Brattain [Fri, 29 Sep 2017 22:39:04 +0000 (15:39 -0700)]
drain runner queue and undo cancel_join_thread

Sometimes the runners can hang.  Initially
debugging lead to the queue join thread, so I thought
we could cancel all the join threads and everything would be okay.

But it turns out canceling the queue join threads can lead
to corruption of the queues, so when we go to drain the queues
the task hangs.

But it also turns out that we were not properly draining
the queues in the task process.  We were waiting for all
the runners to exit, then draining the queues.

This is bad and will cause the queues to fill up and hang
and/or drop data or corrupt the queues.

The proper fix seems to be to draining the queues in a
loop before calling join with a timeout.

Also modified the queue drain loops to no block on queue.get()

Revert "cancel all queue join threads"

This reverts commit 75c0e3a54b8f6e8fd77c7d9d95decab830159929.

Revert "duration runner: add teardown and cancel all queue join threads"

This reverts commit 7eb6abb6931b24e085b139cc3500f4497cdde57d.

Change-Id: Ic4f8e814cf23615621c1250535967716b425ac18
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoexec_tests: remove releng clone code 45/44145/1
Ross Brattain [Thu, 28 Sep 2017 00:20:45 +0000 (17:20 -0700)]
exec_tests: remove releng clone code

we bind-mount the credentials into the container
so we don't need to clone releng

Change-Id: I838745a1470015a693f1801c93b930e8df06ef4b
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>