yardstick.git
6 years agoIntroduced ansible playbook to setup NSB. 99/40899/4
Maciej Skrocki [Fri, 1 Sep 2017 22:33:53 +0000 (15:33 -0700)]
Introduced ansible playbook to setup NSB.

Change-Id: I5865cd50d5fde26e9e9fc265d4385372d668413f
Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoMerge "Adding intel_pmu tools plugin for collectd"
Ross Brattain [Tue, 5 Sep 2017 03:43:55 +0000 (03:43 +0000)]
Merge "Adding intel_pmu tools plugin for collectd"

6 years agoAdding intel_pmu tools plugin for collectd 39/40939/5
Deepak S [Sun, 3 Sep 2017 02:28:08 +0000 (19:28 -0700)]
Adding intel_pmu tools plugin for collectd

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>
6 years agoFix Ixload KPIs collection & hang issues. 61/40961/3
Deepak S [Sun, 3 Sep 2017 19:47:45 +0000 (12:47 -0700)]
Fix Ixload KPIs collection & hang issues.

Change-Id: If679333dc1cb9e041a332fb374c55f72eaab1b28
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agotest_create_keypair: fix op_utils mock and mock paramiko 67/40967/1
Ross Brattain [Mon, 4 Sep 2017 03:30:40 +0000 (20:30 -0700)]
test_create_keypair: fix op_utils mock and mock paramiko

Change-Id: I5c039c0d4f4ba651209c7d5ca4e748f9151b5630
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoadd opnfv_os-odl-nofeature-noha_daily.yaml for odl_l3 to odl rename 95/40895/1
Ross Brattain [Sat, 2 Sep 2017 01:31:03 +0000 (18:31 -0700)]
add opnfv_os-odl-nofeature-noha_daily.yaml for odl_l3 to odl rename

Change-Id: Ib7cfb36d89551a187f5ee681454e61444a08c585
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoMerge "Adding support for updating the count/packetsize for given testcase"
Ross Brattain [Fri, 1 Sep 2017 23:15:37 +0000 (23:15 +0000)]
Merge "Adding support for updating the count/packetsize for given testcase"

6 years agosample_vnf: default to 16GB of 2048Kb hugepages 71/40871/2
Ross Brattain [Fri, 1 Sep 2017 17:55:29 +0000 (10:55 -0700)]
sample_vnf: default to 16GB of 2048Kb hugepages

8192 * 2048kB = 16GB

Change-Id: I82bf420794e5174e88cfaea08b9fab0d77c2be7f
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoMerge "Adding vfw scale-up test with ixia as tg"
Ross Brattain [Fri, 1 Sep 2017 17:05:43 +0000 (17:05 +0000)]
Merge "Adding vfw scale-up test with ixia as tg"

6 years agoAdding cgnapt scale-up test with ixia as tg 65/40865/1
Deepak S [Fri, 1 Sep 2017 09:06:38 +0000 (02:06 -0700)]
Adding cgnapt scale-up test with ixia as tg

Change-Id: I834d733aff2da5af12db08f4159be2e9c6361aab
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoAdding vfw scale-up test with ixia as tg 63/40863/1
Deepak S [Fri, 1 Sep 2017 09:01:59 +0000 (02:01 -0700)]
Adding vfw scale-up test with ixia as tg

Change-Id: I4f476d16dd11a12f5ffa9047af78d2236a4fbbc2
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoMerge "Introduced default values and remove unnecessary ones from ansible code image...
Ross Brattain [Fri, 1 Sep 2017 07:34:41 +0000 (07:34 +0000)]
Merge "Introduced default values and remove unnecessary ones from ansible code image build code."

6 years agoAdding support for updating the count/packetsize for given testcase 45/40845/2
Deepak S [Thu, 31 Aug 2017 08:21:52 +0000 (01:21 -0700)]
Adding support for updating the count/packetsize for given testcase

Change-Id: I3ec1a6d3710d44df5ddac6bd8967d28ad58e8d33
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoMerge "Added TC for vFW in heat context with ixia TG"
Ross Brattain [Fri, 1 Sep 2017 03:16:33 +0000 (03:16 +0000)]
Merge "Added TC for vFW in heat context with ixia TG"

6 years agoAdded TC for vFW in heat context with ixia TG 35/40535/17
Maciej Skrocki [Tue, 29 Aug 2017 00:24:05 +0000 (17:24 -0700)]
Added TC for vFW in heat context with ixia TG

- added common method to get relative paths
- added 'Ixia' APP_NAME

Change-Id: I7966798bab71af66d3efbeb1e13b07e8fbb41e88
Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
6 years agoMerge "Enable update ip headers for given testcase"
Ross Brattain [Thu, 31 Aug 2017 22:53:16 +0000 (22:53 +0000)]
Merge "Enable update ip headers for given testcase"

6 years agoEnable update ip headers for given testcase 65/40765/2
Deepak S [Thu, 31 Aug 2017 08:08:41 +0000 (01:08 -0700)]
Enable update ip headers for given testcase

Change-Id: I008b3f09695f5e3f484b39d4e70b83e5942de863
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
6 years agoIntroduced default values and remove unnecessary ones from ansible code image build... 23/40723/6
Maciej Skrocki [Thu, 31 Aug 2017 01:29:31 +0000 (18:29 -0700)]
Introduced default values and remove unnecessary ones from ansible code image build code.

Change-Id: Id711d6fdacaddeafb8550290503d6cb6c814ea70
Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
6 years agoRabbitmq user fix for collectd 77/40777/2
Dhaval Patel [Tue, 29 Aug 2017 21:34:43 +0000 (14:34 -0700)]
Rabbitmq user fix for collectd

After rabbitmq server reset we need to setup user profile so that
collectd and rabbitmq can communitcate. This profile should match amqp
plugin configuration in collectd.

Change-Id: I7eef3617d983d909418d484f8ded9e269d5d715d
Signed-off-by: Dhaval Patel <dhaval.r.patel@intel.com>
6 years agoMerge "sample_vnf: run_traffic loop, check if tg_process is alive"
Ross Brattain [Thu, 31 Aug 2017 05:32:44 +0000 (05:32 +0000)]
Merge "sample_vnf: run_traffic loop, check if tg_process is alive"

6 years ago_get_ip_flow_range: fix bug with single IP ranges 25/40525/3
Ross Brattain [Wed, 23 Aug 2017 22:27:01 +0000 (15:27 -0700)]
_get_ip_flow_range: fix bug with single IP ranges

If we have a /32 or for some reason find a range of IPs
to use, we can default to the single IP specified on the interface.

Change-Id: Ieaa1d57b04e1d57e8cef344d5a53bbca05e7887f
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agosample_vnf: run_traffic loop, check if tg_process is alive 67/40667/2
Ross Brattain [Tue, 29 Aug 2017 23:31:59 +0000 (16:31 -0700)]
sample_vnf: run_traffic loop, check if tg_process is alive

if the tg_process crashes, this loop won't terminate unless
we check tg_process.is_alive()

wait 1 second before checking in case is_alive needs time
to become True

Change-Id: Ia0b8fd884dcfeb75ebb8e36caaf1f0b70dab079d
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agossh: fix unittest race condition 09/40709/1
Ross Brattain [Wed, 30 Aug 2017 16:35:14 +0000 (09:35 -0700)]
ssh: fix unittest race condition

os.stat is being called multiple times for some reason

we only care that is it called at some point.

======================================================================
FAIL: tests.unit.test_ssh.SSHRunTestCase.test__put_file_sftp
tags: worker-1
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jenkins/opnfv/slave_root/workspace/yardstick-verify-master/.tox/py3/lib/python3.5/site-packages/mock/mock.py", line 1305, in patched
    return func(*args, **keywargs)
  File "/home/jenkins/opnfv/slave_root/workspace/yardstick-verify-master/tests/unit/test_ssh.py", line 458, in test__put_file_sftp
    mock_stat.assert_called_once_with("localfile")
  File "/home/jenkins/opnfv/slave_root/workspace/yardstick-verify-master/.tox/py3/lib/python3.5/site-packages/mock/mock.py", line 947, in assert_called_once_with
    raise AssertionError(msg)
AssertionError: Expected 'stat' to be called once. Called 3 times.
Ran 1209 tests in 2.618s
FAILED (id=0, failures=1)
error: testr failed (1)
+ testr failing
======================================================================
FAIL: tests.unit.test_ssh.SSHRunTestCase.test__put_file_sftp
tags: worker-1
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jenkins/opnfv/slave_root/workspace/yardstick-verify-master/.tox/py3/lib/python3.5/site-packages/mock/mock.py", line 1305, in patched
    return func(*args, **keywargs)
  File "/home/jenkins/opnfv/slave_root/workspace/yardstick-verify-master/tests/unit/test_ssh.py", line 458, in test__put_file_sftp
    mock_stat.assert_called_once_with("localfile")
  File "/home/jenkins/opnfv/slave_root/workspace/yardstick-verify-master/.tox/py3/lib/python3.5/site-packages/mock/mock.py", line 947, in assert_called_once_with
    raise AssertionError(msg)
AssertionError: Expected 'stat' to be called once. Called 3 times.
Ran 1 tests in 0.110s
FAILED (id=0, failures=1)

Change-Id: I73370996e6e0543419eec8ecbe81be424ec15822
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoMerge "Fix Scale-up issue in HWLB"
Ross Brattain [Wed, 30 Aug 2017 15:25:46 +0000 (15:25 +0000)]
Merge "Fix Scale-up issue in HWLB"

6 years agoMerge "DRAFT: model: remove vld_id not needed"
Ross Brattain [Tue, 29 Aug 2017 22:29:30 +0000 (22:29 +0000)]
Merge "DRAFT: model: remove vld_id not needed"

6 years agoMerge "utils: catch SyntaxError during import"
Ross Brattain [Tue, 29 Aug 2017 06:44:36 +0000 (06:44 +0000)]
Merge "utils: catch SyntaxError during import"

6 years agoMerge "Add common openstack opertation scenarios: router & port"
Ross Brattain [Tue, 29 Aug 2017 00:07:35 +0000 (00:07 +0000)]
Merge "Add common openstack opertation scenarios: router & port"

6 years agoDRAFT: model: remove vld_id not needed 21/40521/3
Ross Brattain [Sun, 27 Aug 2017 20:40:51 +0000 (13:40 -0700)]
DRAFT: model: remove vld_id not needed

it seems vld_id is not needed now that
we add it in _resolve_topology.

Remove it from the model and Heat context first
and see what happens

Needs testing

Change-Id: I30d13c80bd90246ee3be67a2bd3439db45e20bcd
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoMerge "Collectd Fixes"
Ross Brattain [Mon, 28 Aug 2017 22:32:27 +0000 (22:32 +0000)]
Merge "Collectd Fixes"

6 years agoMerge "Kubernetes context adoption when run in CI"
Ross Brattain [Mon, 28 Aug 2017 17:24:04 +0000 (17:24 +0000)]
Merge "Kubernetes context adoption when run in CI"

6 years agoKubernetes context adoption when run in CI 73/40373/1
chenjiankun [Mon, 28 Aug 2017 09:55:05 +0000 (09:55 +0000)]
Kubernetes context adoption when run in CI

JIRA: YARDSTICK-801

We need kubernetes test case run in CI.
We have one scenario k8-nosdb-lb-noha for kubernetes.
But for now, we need to do some adoption in CI script.

Also I move check OS_AUTH_URL in heat.py.

Change-Id: Iff86caf77fd74e70469ad2dc43f2238097ce0001
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
6 years agoutils: catch SyntaxError during import 61/40361/1
Ross Brattain [Fri, 25 Aug 2017 04:52:41 +0000 (21:52 -0700)]
utils: catch SyntaxError during import

bad modules can also throw SyntaxError besides ImportError

Change-Id: I4fa912505753cba3c06f127105354572b7f5ddd8
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoMerge "DRAFT: update yardstick generic test cases dashboard"
Ross Brattain [Mon, 28 Aug 2017 09:19:28 +0000 (09:19 +0000)]
Merge "DRAFT: update yardstick generic test cases dashboard"

6 years agoMerge "Test case: Fio volume benchmark testcase using job file"
Jing Lu [Sat, 26 Aug 2017 06:15:09 +0000 (06:15 +0000)]
Merge "Test case: Fio volume benchmark testcase using job file"

6 years agoMerge "Raise Exception if HA test case failed"
Kubi [Sat, 26 Aug 2017 03:46:39 +0000 (03:46 +0000)]
Merge "Raise Exception if HA test case failed"

6 years agoMerge "Create test suite k8-nosdn-lb-noha run with k8s context"
Rex Lee [Sat, 26 Aug 2017 03:21:15 +0000 (03:21 +0000)]
Merge "Create test suite k8-nosdn-lb-noha run with k8s context"

6 years agoMerge "bugfix: tc063 fails to get the correct result in ubuntu node"
Rex Lee [Sat, 26 Aug 2017 03:20:23 +0000 (03:20 +0000)]
Merge "bugfix: tc063 fails to get the correct result in ubuntu node"

6 years agoMerge "improve tc055 results"
Ross Brattain [Sat, 26 Aug 2017 01:14:25 +0000 (01:14 +0000)]
Merge "improve tc055 results"

6 years agoMerge "improve tc002 to make packet size parameterize"
Ross Brattain [Sat, 26 Aug 2017 01:14:10 +0000 (01:14 +0000)]
Merge "improve tc002 to make packet size parameterize"

6 years agoRaise Exception if HA test case failed 93/36793/7
JingLu5 [Fri, 30 Jun 2017 09:22:00 +0000 (09:22 +0000)]
Raise Exception if HA test case failed

Change-Id: Ia3677724075c1c1408f50bbfcebd3cbcde251d66
Signed-off-by: JingLu5 <lvjing5@huawei.com>
6 years agoMerge "collectd: disable auto-provision"
Ross Brattain [Fri, 25 Aug 2017 22:33:35 +0000 (22:33 +0000)]
Merge "collectd: disable auto-provision"

6 years agocollectd: disable auto-provision 79/40279/3
Ross Brattain [Fri, 25 Aug 2017 20:10:37 +0000 (13:10 -0700)]
collectd: disable auto-provision

auto-provision requires Internet access inside
the VNF, which may not be the case.

Change-Id: I2b5b73e1b80074356943c5e3152c3e6a318f3ca4
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoEnabling ACL test for provider network. 47/40047/5
Maciej Skrocki [Thu, 24 Aug 2017 01:35:30 +0000 (18:35 -0700)]
Enabling ACL test for provider network.

Properly re-using network_type from model.

Change-Id: I40180eb53080a360b4099c034038eac67716f8d1
Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
6 years agoMerge "Added external versions for vFW and cgnat TCs."
Ross Brattain [Fri, 25 Aug 2017 20:00:24 +0000 (20:00 +0000)]
Merge "Added external versions for vFW and cgnat TCs."

6 years agoMerge "ansible: update dpdk, trex and samplevnf install"
Ross Brattain [Fri, 25 Aug 2017 20:00:13 +0000 (20:00 +0000)]
Merge "ansible: update dpdk, trex and samplevnf install"

6 years agoAdded external versions for vFW and cgnat TCs. 71/40271/1
Maciej Skrocki [Fri, 25 Aug 2017 18:31:12 +0000 (11:31 -0700)]
Added external versions for vFW and cgnat TCs.

Change-Id: I6778dac0c60f090238ed1f4860470e62a64c7d69
Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
6 years agoTrex: fix KPI collection 69/40269/2
Ross Brattain [Fri, 25 Aug 2017 17:48:30 +0000 (10:48 -0700)]
Trex: fix KPI collection

return super result

Change-Id: I723a37281da15c1887ae1b3cf91d7e957b1924d1
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoCreate test suite k8-nosdn-lb-noha run with k8s context 13/40213/2
chenjiankun [Fri, 25 Aug 2017 07:42:04 +0000 (07:42 +0000)]
Create test suite k8-nosdn-lb-noha run with k8s context

JIRA: YARDSTICK-800

We have k8-nosdn-lb-noha scenario with kubernetes deployment.
So we need to add k8-nosdn-lb-noha test suite to run test case.

Change-Id: Id6dc73ad999733ddfa2e03673c20f7e92a8250a3
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
6 years agoMerge "Add rpm,image directories and SLA options to Livemigration"
Rex Lee [Fri, 25 Aug 2017 06:17:53 +0000 (06:17 +0000)]
Merge "Add rpm,image directories and SLA options to Livemigration"

6 years agoMerge "Removed unnecessary image definitions and flavor names."
Ross Brattain [Fri, 25 Aug 2017 04:55:56 +0000 (04:55 +0000)]
Merge "Removed unnecessary image definitions and flavor names."

6 years agoMerge "Fixed invalid vfw/vacl rulw config issues"
Ross Brattain [Fri, 25 Aug 2017 04:52:05 +0000 (04:52 +0000)]
Merge "Fixed invalid vfw/vacl rulw config issues"

6 years agoMerge "Test case: add test config file for TC078 and TC079"
Jing Lu [Fri, 25 Aug 2017 02:10:04 +0000 (02:10 +0000)]
Merge "Test case: add test config file for TC078 and TC079"

6 years agoMerge "Add function to upload image from local/url in GUI"
Jing Lu [Fri, 25 Aug 2017 00:50:21 +0000 (00:50 +0000)]
Merge "Add function to upload image from local/url in GUI"

6 years agoAdd common openstack opertation scenarios: router & port 41/40041/4
JingLu5 [Thu, 24 Aug 2017 01:02:21 +0000 (01:02 +0000)]
Add common openstack opertation scenarios: router & port

JIRA: YARDSTICK-781

This patch adds some common openstack opertation scenarios

Change-Id: Id436a201aa04f8f6b98576e8fbf599ca3654827c
Signed-off-by: JingLu5 <lvjing5@huawei.com>
6 years agoRemoved unnecessary image definitions and flavor names. 75/40175/1
Maciej Skrocki [Thu, 24 Aug 2017 21:42:48 +0000 (14:42 -0700)]
Removed unnecessary image definitions and flavor names.

Change-Id: I13464d997ff9aba09a6cff7d3ff62f29df770a38
Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
6 years agoMerge "add ppm into result of pktgen to make result clear"
Ross Brattain [Thu, 24 Aug 2017 21:30:52 +0000 (21:30 +0000)]
Merge "add ppm into result of pktgen to make result clear"

6 years agoMerge "nsb: update HEAT testcases"
Ross Brattain [Thu, 24 Aug 2017 21:30:32 +0000 (21:30 +0000)]
Merge "nsb: update HEAT testcases"

6 years agoAdded proxy setup for standard cloudimage playbooks. 69/40169/1
Maciej Skrocki [Thu, 24 Aug 2017 21:04:23 +0000 (14:04 -0700)]
Added proxy setup for standard cloudimage playbooks.

Change-Id: I4f29f584395d58b2fcece1ca8fcbda78a64e3a66
Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
6 years agoStandardized TRex client library path 91/35291/13
Maciej Skrocki [Fri, 18 Aug 2017 22:43:21 +0000 (15:43 -0700)]
Standardized TRex client library path

- path should be defined via TREX_CLIENT_LIB environmental variable e.g. TREX_CLIENT_LIB=/opt/trex_client/stl
- refactored unit tests

Change-Id: I18767e48daf774432c010f1b88d18a4f0ee4e156
Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agonsb: update HEAT testcases 45/40045/2
Ross Brattain [Thu, 24 Aug 2017 01:32:05 +0000 (18:32 -0700)]
nsb: update HEAT testcases

use yardstick-samplevnfs image name
always create DPDK flavor, we require 1 socket, 10 cores
remove hardcoded external network
add gateway_ip: null to prevent multiple default gateways ssh bug with Heat
add enable_dhcp: false

Change-Id: I85787b72bf6ebf1c330f20f50f7a7a2b12aa995e
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoansible: update dpdk, trex and samplevnf install 53/39653/9
Ross Brattain [Fri, 18 Aug 2017 20:36:02 +0000 (13:36 -0700)]
ansible: update dpdk, trex and samplevnf install

we now clone samplevnf from git repo
made install_samplevnf role that takes as parameter VNF name
added ubuntu_server_cloudimg_modify_samplevnfs playbook

Change-Id: I5724e3b844b3137542a5c293516893a5c80f5c61
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoAdd function to upload image from local/url in GUI 17/39117/6
chenjiankun [Fri, 11 Aug 2017 09:26:22 +0000 (09:26 +0000)]
Add function to upload image from local/url in GUI

JIRA: YARDSTICK-782

As user, we need to upload image from local/url.
If upload image from local, user need to choose local image, then
we will load it to openstack.
If upload image from url, we will download it and load it to openstack.

Change-Id: Ia9a42fda15a1dfc91476643635343a2f77a94a6b
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
6 years agoFixed invalid vfw/vacl rulw config issues 73/40073/2
Deepak S [Wed, 23 Aug 2017 10:46:17 +0000 (03:46 -0700)]
Fixed invalid vfw/vacl rulw config issues

Change-Id: Ib96bc4bec359005e04e4a839846779d918881ba4
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoFixed 1C/2T configuration issues. 71/40071/2
Deepak S [Wed, 23 Aug 2017 10:45:23 +0000 (03:45 -0700)]
Fixed 1C/2T configuration issues.

Change-Id: I361d88043076c2f901ff6df22f2849edc7559ba0
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoFix Scale-up issue in HWLB 69/40069/2
Deepak S [Wed, 23 Aug 2017 10:33:05 +0000 (03:33 -0700)]
Fix Scale-up issue in HWLB

Change-Id: I62e23bf0c9811ecf0eedb1cd8adc8cf541cd4b7e
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoMerge "Add common openstack opertation scenarios: volume & floating ip"
Jing Lu [Thu, 24 Aug 2017 01:04:20 +0000 (01:04 +0000)]
Merge "Add common openstack opertation scenarios: volume & floating ip"

6 years agoMerge "samplevnf_helper: use network address"
Ross Brattain [Wed, 23 Aug 2017 21:04:00 +0000 (21:04 +0000)]
Merge "samplevnf_helper: use network address"

6 years agoMerge "Re-define the framesize and flow dynamic define in testcase"
Ross Brattain [Wed, 23 Aug 2017 21:03:45 +0000 (21:03 +0000)]
Merge "Re-define the framesize and flow dynamic define in testcase"

6 years agoMerge "ssh: add new get_file_obj method to fetch remote files"
Ross Brattain [Wed, 23 Aug 2017 17:05:56 +0000 (17:05 +0000)]
Merge "ssh: add new get_file_obj method to fetch remote files"

6 years agoimprove tc002 to make packet size parameterize 67/39967/1
rexlee8776 [Wed, 23 Aug 2017 08:56:20 +0000 (08:56 +0000)]
improve tc002 to make packet size parameterize

JIRA: YARDSTICK-793

Change-Id: I95d014ad3d2e19dd2df1f5e72d994da2f44d4544
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
6 years agoAdd test case file, document and related scripts of yardstick 81/38981/5
tjuyinkanglin [Wed, 9 Aug 2017 15:06:56 +0000 (23:06 +0800)]
Add test case file, document and related scripts of yardstick
tc057(HA_TC014)

JIRA: YARDSTICK-779

Change-Id: I6a812b1c88229b20a0dd0ce5bc135c9ba15266db
Signed-off-by: tjuyinkanglin <14_ykl@tongji.edu.cn>
6 years agoAdd rpm,image directories and SLA options to Livemigration 45/39945/1
RajithaY [Wed, 23 Aug 2017 04:29:29 +0000 (21:29 -0700)]
Add rpm,image directories and SLA options to Livemigration

This patch includes adding of rpm and image directories in addition
to scripts directory for execution of live migration test case and
SLA options for downtime,totaltime and setuptime.

Change-Id: I22747b978aa16b6c3ee9e3cdd05cf77a10207626
Signed-off-by:RajithaY<rajithax.yerrumsetty@intel.com>

6 years agoTest case: add test config file for TC078 and TC079 37/39937/2
JingLu5 [Wed, 23 Aug 2017 03:40:56 +0000 (03:40 +0000)]
Test case: add test config file for TC078 and TC079

Change-Id: I47c6f1bf85caa814f019a8aec446c99bb8d99f0d
Signed-off-by: JingLu5 <lvjing5@huawei.com>
6 years agoAdd common openstack opertation scenarios: volume & floating ip 27/39927/6
JingLu5 [Wed, 23 Aug 2017 02:15:13 +0000 (02:15 +0000)]
Add common openstack opertation scenarios: volume & floating ip

JIRA: YARDSTICK-781

This patch adds some common openstack opertation scenarios

Change-Id: I1300a61b389202242f112b6d280ab47746379546
Signed-off-by: JingLu5 <lvjing5@huawei.com>
6 years agoMerge "Add test case file and document of Tardstick TC056(HA_TC013)"
Jing Lu [Wed, 23 Aug 2017 01:19:52 +0000 (01:19 +0000)]
Merge "Add test case file and document of Tardstick TC056(HA_TC013)"

6 years agoMerge "Add test case file, document and related scripts of yardstick tc058(HA_TC015)"
Jing Lu [Wed, 23 Aug 2017 01:19:20 +0000 (01:19 +0000)]
Merge "Add test case file, document and related scripts of yardstick tc058(HA_TC015)"

6 years agoCollectd Fixes 45/39645/2
Dhaval Patel [Fri, 18 Aug 2017 23:10:35 +0000 (16:10 -0700)]
Collectd Fixes

This fixes collectd installation as well as configuration:
1) Proxy fix, avoid overriding env proxy if already specified under
   'http_proxy' env var and not specified on cmd
2) Install 'libvirt-dev' for 'virt' collectd plugin
3) Using dpdk already downloaded by nsb_setup rather than getting latest
   , because master branch dpdk is failing while building eal_memory
4) Fix typo while checkout new branch

Change-Id: I0cc36f49d48d80f7edc35634dfe77016bd35978a
Signed-off-by: Dhaval Patel <dhaval.r.patel@intel.com>
6 years agoTest case: Fio volume benchmark testcase using job file 55/39855/5
JingLu5 [Tue, 22 Aug 2017 08:38:29 +0000 (08:38 +0000)]
Test case: Fio volume benchmark testcase using job file

JIRA: YARDSTICK-791

In some use cases, Fio is used with a job file instead of parameters.
This work is about adding support for the job file and add a new test case
for volume testing.

Change-Id: I312d61bf6e7d95f23eedb0b6487f6103b7d76355
Signed-off-by: JingLu5 <lvjing5@huawei.com>
6 years agoDRAFT: update yardstick generic test cases dashboard 63/39563/6
rexlee8776 [Fri, 18 Aug 2017 01:13:44 +0000 (01:13 +0000)]
DRAFT: update yardstick generic test cases dashboard

current dashboard is obselete and hard to understand
add local grafana dashboard automatically import by
"yardstick env grafana"
update grafana version to latest steady

Change-Id: Iffae9170231d3e0867a52a1f6b5e99c4650b7326
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
6 years agoMerge "Add common openstack opertation scenarios: subnet & port"
Jing Lu [Tue, 22 Aug 2017 07:13:28 +0000 (07:13 +0000)]
Merge "Add common openstack opertation scenarios: subnet & port"

6 years agoMerge "Enable vnf/tg instantiate as blocking call."
Ross Brattain [Tue, 22 Aug 2017 03:14:08 +0000 (03:14 +0000)]
Merge "Enable vnf/tg instantiate as blocking call."

6 years agossh: add new get_file_obj method to fetch remote files 39/39839/1
Ross Brattain [Mon, 21 Aug 2017 05:09:33 +0000 (22:09 -0700)]
ssh: add new get_file_obj method to fetch remote files

We can either cat remote files, or we can just sftp get
them.

use sftp get for /proc/cpuinfo since it can be so very large
on systems with 88+ cores.

Change-Id: I420b8c5eefdce8bb3e3b13dcc8257583dee537c1
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoMerge "test_vsperf_dpdk: remove unused and incorrect mock open"
Ross Brattain [Tue, 22 Aug 2017 03:07:37 +0000 (03:07 +0000)]
Merge "test_vsperf_dpdk: remove unused and incorrect mock open"

6 years agosamplevnf_helper: use network address 29/39829/3
Ross Brattain [Mon, 21 Aug 2017 19:09:34 +0000 (12:09 -0700)]
samplevnf_helper: use network address

use network address with netmasks to be proper

ports_mac_list is no longer valid, remove it

nd_route_tbl needs to default to something otherwise
the VNF will segfault if it receives IPv6 on the port,
which it will because something in Neutron is sending
out IPv6 packets.

disable use of the routing table gateways to set arp add.
We set the next hop IP to always be the TG IP address,
so we need to always use the TG IP in arp add to send
to the TG MAC address

don't use gateways to get local addresses.

we can't use gateways because with OpenStack if we define
a gateway is breaks the default route and we can no longer
connect to the instance via floating IP.

Change-Id: I0ebefe8ac09812b6030046f73bf772edda1c7d27
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoRe-define the framesize and flow dynamic define in testcase 37/39337/14
Deepak S [Mon, 14 Aug 2017 02:15:55 +0000 (19:15 -0700)]
Re-define the framesize and flow dynamic define in testcase

This patch adds the framesize and flow into test option instead of
adding a seperate file to avoid the multiple file update incase of ip
change.

Change-Id: Ic473c73773ad36422ecc02618b8c646a5336b70a
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
6 years agoMerge "Refactor to make file sys more like class inheritance"
Ross Brattain [Mon, 21 Aug 2017 23:49:42 +0000 (23:49 +0000)]
Merge "Refactor to make file sys more like class inheritance"

6 years agoRefactor to make file sys more like class inheritance 13/39613/4
Edward MacGillivray [Fri, 18 Aug 2017 17:41:03 +0000 (10:41 -0700)]
Refactor to make file sys more like class inheritance

Change-Id: I5471d2e894ca78407a57f3ba01202264c69ad174
Signed-off-by: Edward MacGillivray <edward.s.macgillivray@intel.com>
6 years agoadd ppm into result of pktgen to make result clear 61/39461/5
rexlee8776 [Thu, 17 Aug 2017 01:35:18 +0000 (01:35 +0000)]
add ppm into result of pktgen to make result clear

Change-Id: I6649960dc9fbc61c22c9b7434805fc335634960b
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
6 years agovnf_generic: fixup topology probe logic 15/39715/1
Ross Brattain [Sat, 19 Aug 2017 01:38:07 +0000 (18:38 -0700)]
vnf_generic: fixup topology probe logic

fix exception handling

Change-Id: I46fd0dbf21f3d3308e4f38fcfae5df2716ad7190
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agobugfix: tc063 fails to get the correct result in ubuntu node 13/39713/1
rexlee8776 [Mon, 21 Aug 2017 03:49:03 +0000 (03:49 +0000)]
bugfix: tc063 fails to get the correct result in ubuntu node

Change-Id: If96dc008d898a77445246aa7e9c98fab160626df
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
6 years agotest_vsperf_dpdk: remove unused and incorrect mock open 09/39709/1
Ross Brattain [Sat, 19 Aug 2017 01:32:02 +0000 (18:32 -0700)]
test_vsperf_dpdk: remove unused and incorrect mock open

need to use create=True with mock open anyway

Change-Id: I3a35688cf8c367434db9d0cf057030d49deddd0d
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoremove apexlake-verify 07/39707/1
Ross Brattain [Fri, 18 Aug 2017 05:22:41 +0000 (22:22 -0700)]
remove apexlake-verify

Change-Id: I5ac8e5d573c390460e2472c7b3b4649cc78dd295
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoAdd common openstack opertation scenarios: subnet & port 87/39687/3
JingLu5 [Mon, 21 Aug 2017 02:44:17 +0000 (02:44 +0000)]
Add common openstack opertation scenarios: subnet & port

JIRA: YARDSTICK-781

This patch adds some common openstack opertation scenarios

Change-Id: Ie59f0d5ae0842f8347824c961436b889a95b1a72
Signed-off-by: JingLu5 <lvjing5@huawei.com>
6 years agoMerge "Add common openstack opertation scenarios: network"
Jing Lu [Mon, 21 Aug 2017 01:44:25 +0000 (01:44 +0000)]
Merge "Add common openstack opertation scenarios: network"

6 years agoMerge "import_modules_from_package: refactor with generators"
Ross Brattain [Sat, 19 Aug 2017 01:30:35 +0000 (01:30 +0000)]
Merge "import_modules_from_package: refactor with generators"

6 years agoMerge "Fix IxLoad traffic generator issue around running the traffic."
Ross Brattain [Sat, 19 Aug 2017 01:06:46 +0000 (01:06 +0000)]
Merge "Fix IxLoad traffic generator issue around running the traffic."

6 years agoMerge "Support traffic generator for testing more than 10 ports"
Ross Brattain [Sat, 19 Aug 2017 00:56:44 +0000 (00:56 +0000)]
Merge "Support traffic generator for testing more than 10 ports"

6 years agoFix IxLoad traffic generator issue around running the traffic. 41/39341/7
Deepak S [Mon, 14 Aug 2017 11:27:49 +0000 (04:27 -0700)]
Fix IxLoad traffic generator issue around running the traffic.

Change-Id: Ic1f13c0d28c1a1b01bbf3c8a6a618a5b3ab5bbeb
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoimport_modules_from_package: refactor with generators 37/39237/4
Ross Brattain [Sun, 13 Aug 2017 05:33:37 +0000 (22:33 -0700)]
import_modules_from_package: refactor with generators

remove ..... split and use os.path.relpath to remove
prefix
use set operations to find missing modules, so we
don't need to check dict contains multiple times

Change-Id: I9531360fb9b2999e83874f144f1d06d825b22b2c
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoFix parsing of the results from collectd plugins 93/39193/6
Deepak S [Sat, 12 Aug 2017 23:14:00 +0000 (16:14 -0700)]
Fix parsing of the results from collectd plugins

Change-Id: I3f7b9ca17164564b11517116e7e73b47f42243b9
Signed-off-by: Deepak S <deepak.s@linux.intel.com>