yardstick.git
7 years agoHamonization of the titles of the documents (Testing group) 67/45467/2
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 agoMerge "Fio: support input job file configuration"
Jing Lu [Wed, 18 Oct 2017 05:59:24 +0000 (05:59 +0000)]
Merge "Fio: support input job file configuration"

7 years agoMerge "scale-out testcase template"
Ross Brattain [Wed, 18 Oct 2017 04:08:03 +0000 (04:08 +0000)]
Merge "scale-out testcase template"

7 years agoscale-out testcase template 93/37993/16
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 agoadd opnfv_os-odl-fdio_dvr-noha testsutie for Apex 19/45419/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>
7 years agoNSB: MultiPortConfig adjust start_core 09/45409/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 agoMerge "validate_non_string_sequence: use six.string_types"
Ross Brattain [Tue, 17 Oct 2017 18:04:37 +0000 (18:04 +0000)]
Merge "validate_non_string_sequence: use six.string_types"

7 years agoMerge "BugFix: Fix to Load Balancer - Previously Dropped packets was acceptable"
Ross Brattain [Tue, 17 Oct 2017 15:48:50 +0000 (15:48 +0000)]
Merge "BugFix: Fix to Load Balancer - Previously Dropped packets was acceptable"

7 years agoMerge "Enable static cgnapt functionality."
Ross Brattain [Tue, 17 Oct 2017 15:45:43 +0000 (15:45 +0000)]
Merge "Enable static cgnapt functionality."

7 years agoEnable static cgnapt functionality. 97/42997/14
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 35/45035/4
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 agoMerge "BugFix: Fix to negative dropped packets appearing in results."
Ross Brattain [Tue, 17 Oct 2017 15:18:25 +0000 (15:18 +0000)]
Merge "BugFix: Fix to negative dropped packets appearing in results."

7 years agoMerge "Update the traffic profile to support sample multi-port"
Ross Brattain [Tue, 17 Oct 2017 15:09:05 +0000 (15:09 +0000)]
Merge "Update the traffic profile to support sample multi-port"

7 years agoMerge "BugFix: limit the count to supported range in min/max"
Ross Brattain [Tue, 17 Oct 2017 15:08:32 +0000 (15:08 +0000)]
Merge "BugFix: limit the count to supported range in min/max"

7 years agoMerge "fix invalid chracters in ansible scripts"
Ross Brattain [Tue, 17 Oct 2017 15:07:40 +0000 (15:07 +0000)]
Merge "fix invalid chracters in ansible scripts"

7 years agoMerge "Adding sample multi-port ansible script"
Ross Brattain [Tue, 17 Oct 2017 15:07:10 +0000 (15:07 +0000)]
Merge "Adding sample multi-port ansible script"

7 years agoNSB: rename private->uplink, public->downlink in example 91/45291/2
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 agovalidate_non_string_sequence: use six.string_types 93/45293/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 agoFio: support input job file configuration 89/44989/6
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>
7 years agoMerge "bugfix: remove pod_name in host and unify host parameter"
Ross Brattain [Mon, 16 Oct 2017 08:29:32 +0000 (08:29 +0000)]
Merge "bugfix: remove pod_name in host and unify host parameter"

7 years agoAdding sample multi-port ansible script 09/45209/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 83/45183/4
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 agoCreate test suite opnfv_os-nosdn-openbaton-ha_daily 73/45173/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>
7 years agoUpdate the traffic profile to support sample multi-port 39/45139/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 agoMerge "Relocate iniparser to yardstick.network_services.helpers"
Ross Brattain [Sat, 14 Oct 2017 22:32:39 +0000 (22:32 +0000)]
Merge "Relocate iniparser to yardstick.network_services.helpers"

7 years agoresource: move make_resource_profile to ResourceProfile 81/45081/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 agoRelocate iniparser to yardstick.network_services.helpers 47/45047/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. 09/45009/2
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 agoMerge "task: use CONF_FILE from constants"
Rex Lee [Fri, 13 Oct 2017 06:57:28 +0000 (06:57 +0000)]
Merge "task: use CONF_FILE from constants"

7 years agoMerge "Move arp route tbl to script and update defailt vnf config files"
Ross Brattain [Fri, 13 Oct 2017 06:36:42 +0000 (06:36 +0000)]
Merge "Move arp route tbl to script and update defailt vnf config files"

7 years agoMerge "ping: always save rtt data, influxdb ignore empty data"
Ross Brattain [Fri, 13 Oct 2017 06:22:34 +0000 (06:22 +0000)]
Merge "ping: always save rtt data, influxdb ignore empty data"

7 years agoMerge "Updating NSBperf to print right testcase"
Ross Brattain [Fri, 13 Oct 2017 03:47:35 +0000 (03:47 +0000)]
Merge "Updating NSBperf to print right testcase"

7 years agotask: use CONF_FILE from constants 71/44871/2
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 agoping: always save rtt data, influxdb ignore empty data 49/44849/9
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>
7 years agoMerge "task: drain background runner queues"
Ross Brattain [Fri, 13 Oct 2017 03:24:57 +0000 (03:24 +0000)]
Merge "task: drain background runner queues"

7 years agoMerge "KVMFORNFV: To verify the execution of the bash script"
Jing Lu [Fri, 13 Oct 2017 03:04:31 +0000 (03:04 +0000)]
Merge "KVMFORNFV: To verify the execution of the bash script"

7 years agobugfix: remove pod_name in host and unify host parameter 61/44961/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>
7 years agoMerge "Bugfix: Add opnfv_os-nosdn-ovs_dpdk testsuite for Compass4nfv"
Jing Lu [Fri, 13 Oct 2017 02:34:58 +0000 (02:34 +0000)]
Merge "Bugfix: Add opnfv_os-nosdn-ovs_dpdk testsuite for Compass4nfv"

7 years agoBugfix: Add opnfv_os-nosdn-ovs_dpdk testsuite for Compass4nfv 63/44963/2
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 57/44957/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 agoBugFix: limit the count to supported range in min/max 91/44991/2
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 agoSupport to add multiple src/dst ports in flow 87/44987/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 agoMerge "increase number of open files for collectd"
Ross Brattain [Thu, 12 Oct 2017 23:40:04 +0000 (23:40 +0000)]
Merge "increase number of open files for collectd"

7 years agocollectd: set intel_pmu events path and OVS socket path 23/44723/12
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 agoMerge "NSB Prox Grafana dashboard updates"
Ross Brattain [Thu, 12 Oct 2017 20:26:39 +0000 (20:26 +0000)]
Merge "NSB Prox Grafana dashboard updates"

7 years agoVersion changes for collectd, pmu-tools, intel_cmt_cat 47/44947/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 21/44921/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 57/44757/4
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 agoChange 'SUCCESS' to 'PASS' when report to MongoDB 73/44873/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>
7 years agoMove arp route tbl to script and update defailt vnf config files 15/44815/3
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 agoBugfix: Reference for the tool used in TC044 mentioned in the user guide is wrong 61/44861/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 "Bug in NSB Prox ACL Test 4 Port"
Ross Brattain [Thu, 12 Oct 2017 01:37:33 +0000 (01:37 +0000)]
Merge "Bug in  NSB Prox ACL Test 4 Port"

7 years agoMerge "Doc amendment: env prepare command"
Ross Brattain [Thu, 12 Oct 2017 00:46:19 +0000 (00:46 +0000)]
Merge "Doc amendment: env prepare command"

7 years agoMerge "Use "protocol" parameters in iperf3 yaml and task file"
Ross Brattain [Thu, 12 Oct 2017 00:45:26 +0000 (00:45 +0000)]
Merge "Use "protocol" parameters in iperf3 yaml and task file"

7 years agocgnat: duplicate keys are not allowed 47/44847/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 35/44835/3
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 37/44837/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 27/44827/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 13/44813/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 agoUse "protocol" parameters in iperf3 yaml and task file 35/42035/15
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>
7 years agoprivate-> uplink and public->downlink 99/44799/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 83/44683/5
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 agoTC008 Interrupt Affinity Fix 11/44711/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 agoDoc amendment: env prepare command 25/44625/6
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>
7 years agoBugfix: Update HW lb config VNF thread to start from core 1 15/44615/1
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 37/41637/13
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 agoMerge "libyajl: install from pkg"
Ross Brattain [Fri, 6 Oct 2017 22:36:20 +0000 (22:36 +0000)]
Merge "libyajl: install from pkg"

7 years agoMerge "NSB Prox vPE Test"
Ross Brattain [Fri, 6 Oct 2017 20:44:50 +0000 (20:44 +0000)]
Merge "NSB Prox vPE Test"

7 years agoNSB Prox vPE Test 43/44343/11
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 agoMerge "fix random test_task unittest fail due to os.environ mock"
Ross Brattain [Fri, 6 Oct 2017 20:20:49 +0000 (20:20 +0000)]
Merge "fix random test_task unittest fail due to os.environ mock"

7 years agofix random test_task unittest fail due to os.environ mock 91/44491/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>
7 years agoUpdate load_images.sh to MCP@aarch64 69/44469/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>
7 years agoKVMFORNFV:Livemigration testcase changes in Yardstick 07/44407/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 agoFixed compilation of latest samplevnf 13/43513/6
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 agolibyajl: install from pkg 99/44399/2
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 agoMerge "Adding scale out templates for ovs_dpdk/sriov using 2 node setup"
Ross Brattain [Thu, 5 Oct 2017 20:47:58 +0000 (20:47 +0000)]
Merge "Adding scale out templates for ovs_dpdk/sriov using 2 node setup"

7 years agoMerge "Adding 2 node ixia generic scale-out test case generation"
Ross Brattain [Thu, 5 Oct 2017 20:47:44 +0000 (20:47 +0000)]
Merge "Adding 2 node ixia generic scale-out test case generation"

7 years agoMerge "Adding auto generate scale-out support for correlated traffic"
Ross Brattain [Thu, 5 Oct 2017 20:47:31 +0000 (20:47 +0000)]
Merge "Adding auto generate scale-out support for correlated traffic"

7 years agoMerge "Added example TC with collectd on compute node"
Ross Brattain [Thu, 5 Oct 2017 20:45:31 +0000 (20:45 +0000)]
Merge "Added example TC with collectd on compute node"

7 years agoMerge "heat: add port name as port"
Ross Brattain [Thu, 5 Oct 2017 20:31:01 +0000 (20:31 +0000)]
Merge "heat: add port name as port"

7 years agoMerge "add wait_for_instantiate"
Ross Brattain [Thu, 5 Oct 2017 20:28:37 +0000 (20:28 +0000)]
Merge "add wait_for_instantiate"

7 years agoMerge "Add intermediate variables for attacker,monitor,result_checker"
Ross Brattain [Thu, 5 Oct 2017 16:11:01 +0000 (16:11 +0000)]
Merge "Add intermediate variables for attacker,monitor,result_checker"

7 years agoMerge "Adding sample testcases to run on standalone context"
Ross Brattain [Thu, 5 Oct 2017 16:03:53 +0000 (16:03 +0000)]
Merge "Adding sample testcases to run on standalone context"

7 years agoMerge "rewrite _generate_pod_yaml to combine name and pkey setting"
Ross Brattain [Thu, 5 Oct 2017 15:51:32 +0000 (15:51 +0000)]
Merge "rewrite _generate_pod_yaml to combine name and pkey setting"

7 years agoadd wait_for_instantiate 81/44381/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 79/44379/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 agoMerge "NSB Prox minor refactor of BNG"
Ross Brattain [Thu, 5 Oct 2017 15:04:17 +0000 (15:04 +0000)]
Merge "NSB Prox minor refactor of BNG"

7 years agoMaking sure yardstick container uses hosts timezone 85/44285/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 77/44277/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 87/39187/8
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 31/44231/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 33/41133/2
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 59/44159/2
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 29/42529/13
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 57/43657/2
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 51/43451/2
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 31/42531/4
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 agoMerge "NSB PROX test hang fixes"
Ross Brattain [Tue, 3 Oct 2017 22:00:55 +0000 (22:00 +0000)]
Merge "NSB PROX test hang fixes"

7 years agoNSB PROX test hang fixes 21/43421/18
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 agoMerge "exec_tests: remove releng clone code"
Ross Brattain [Tue, 3 Oct 2017 17:57:50 +0000 (17:57 +0000)]
Merge "exec_tests: remove releng clone code"