yardstick.git
5 years agoStart nginx and uwsgi servicies only in not container mode 19/58919/3
Stepan Andrushko [Tue, 15 May 2018 15:42:55 +0000 (18:42 +0300)]
Start nginx and uwsgi servicies only in not container mode

No need to execute nginx and uwsgi when running in container mode.

JIRA: YARDSTICK-1179

Change-Id: I253f3adab388a14886b70e6589936f6eb27ac4c0
Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
(cherry picked from commit 3decdca3d0732a1df845650562e7bcb8fbfd87a7)

5 years agoMigrate install.sh script to ansible 17/58917/3
John O Loughlin [Fri, 16 Feb 2018 15:29:58 +0000 (15:29 +0000)]
Migrate install.sh script to ansible

Ansible scripts to install yardstick.

These scripts will take a few options:
  INSTALLATION_MODE : Container or Baremetal
  YARDSTICK_DIR: Location of Yardstick directory
  VIRTUAL_ENVIRONMENT: Should a virtual environment be used
  NSB_DIR: Location of NSB directory

JIRA: YARDSTICK-1126

Change-Id: I4a13e07e96650ffd971dfb18472f2563cfd51aa9
Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
(cherry picked from commit 0b976dd02421a181674acc837127ac741ccfccea)

5 years agoFix "os.path" mock problems during tests 45/59045/1
Emma Foley [Tue, 26 Jun 2018 14:37:52 +0000 (15:37 +0100)]
Fix "os.path" mock problems during tests

This patch removes the global mocking applied on "os.path".

Change-Id: Ia18d2c90195c5408a1852792bdf05b6f0c1ad21f
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
(cherry picked from commit d7f8717c3beb1854976e77d56823f482497ffff3)

5 years agoMerge "Refactor RFC2455 TRex traffic profile injection" into stable/fraser
Emma Foley [Tue, 26 Jun 2018 13:56:01 +0000 (13:56 +0000)]
Merge "Refactor RFC2455 TRex traffic profile injection" into stable/fraser

5 years agoStop time.sleep mocks in unit tests 17/58817/14
Rodolfo Alonso Hernandez [Thu, 14 Jun 2018 13:14:27 +0000 (14:14 +0100)]
Stop time.sleep mocks in unit tests

tVpeApproxVnf and TestProxSocketHelper classes mock "time.sleep" in
the setUp method without deleting it at the end of the test execution.

JIRA: YARDSTICK-1243

Change-Id: Iff31d9c7b400ad8a47f37792aeb0d20328b9d9e1
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit 9b22f5b23050a0be67f8237e4d0b412f58b43472)

5 years agoRefactor RFC2455 TRex traffic profile injection 93/58993/2
Rodolfo Alonso Hernandez [Thu, 24 May 2018 13:02:03 +0000 (14:02 +0100)]
Refactor RFC2455 TRex traffic profile injection

The TRex RFC2455 traffic profile configures the duration of the traffic
injection. Once the traffic is started, the traffic profile should poll
the traffic injector client for the injection status. When the injection
is finished, the traffic execution should end.

Instead of this, the traffic profile waits a fixed time (using time.sleep
method) and then stops the traffic. This approach is not accurate and may
cause shorter injection periods.

JIRA: YARDSTICK-1197

Change-Id: I5090df81ef4ec7945ff6c1aff070656b48e0fe77
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit 340be73be5fd20067c23a7ddce9073639e355d3a)

5 years agoMove tests: unit/network_services/helpers 63/58763/9
Emma Foley [Fri, 27 Apr 2018 10:33:17 +0000 (10:33 +0000)]
Move tests: unit/network_services/helpers

* Fix pylint errors
* Add TODOs

Some errors are ignored locally, as they were a symptom of other problems.
These issues have been flagged with a TODO, and should be fixed later.

JIRA: YARDSTICK-837
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Change-Id: If0b77a6e0b102071ecfb212362647c62a621e4f9
(cherry-picked from commit 065c00d3147d12c692d43179d9c1c9afadb97825)

5 years agoMerge "Move tests: unit/network_services/vnf_generic" into stable/fraser
Emma Foley [Tue, 26 Jun 2018 11:02:43 +0000 (11:02 +0000)]
Merge "Move tests: unit/network_services/vnf_generic" into stable/fraser

5 years agoMerge "Standalone XML machine type is not longer valid" into stable/fraser
Emma Foley [Tue, 26 Jun 2018 10:17:47 +0000 (10:17 +0000)]
Merge "Standalone XML machine type is not longer valid" into stable/fraser

5 years agoMove tests: unit/network_services/vnf_generic 65/58765/16
Emma Foley [Fri, 27 Apr 2018 10:30:20 +0000 (10:30 +0000)]
Move tests: unit/network_services/vnf_generic

* Fix pylint errors
* Add TODOs

Some errors are ignored locally, as they were a symptom of other problems.
These issues have been flagged with a TODO, and should be fixed later.

JIRA: YARDSTICK-837

Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Change-Id: I3d95537a64bde923703421510d27bac0d6dd92bd
(cherry-picked from commit 98294f2c8153f663c3b3a4e4cb98910e9d5cb602)

5 years agoMerge "Remove instantiated contexts in "test_task"" into stable/fraser
Emma Foley [Tue, 26 Jun 2018 09:30:47 +0000 (09:30 +0000)]
Merge "Remove instantiated contexts in "test_task"" into stable/fraser

5 years agoRemove instantiated contexts in "test_task" 81/58781/9
Rodolfo Alonso Hernandez [Thu, 31 May 2018 17:54:31 +0000 (18:54 +0100)]
Remove instantiated contexts in "test_task"

During unit testing, all contexts instantiated must be deleted at the end
of the test to avoid clashes with other tests.

JIRA: YARDSTICK-1209

Change-Id: I1994b915001b4a518e096833a0c5d33febbd8de6
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit 5e4d95ba299ce92588701d9481657c343b8ef609)

5 years agoMerge "Move tests: unit/network_services/nfvi" into stable/fraser
Emma Foley [Mon, 25 Jun 2018 15:08:31 +0000 (15:08 +0000)]
Merge "Move tests: unit/network_services/nfvi" into stable/fraser

5 years agoMerge "Add "duration" parameter to test case definition" into stable/fraser
Rodolfo Alonso Hernandez [Mon, 25 Jun 2018 14:41:59 +0000 (14:41 +0000)]
Merge "Add "duration" parameter to test case definition" into stable/fraser

5 years agoMerge "Remove print out of logger exception in TestUtils" into stable/fraser
Rodolfo Alonso Hernandez [Mon, 25 Jun 2018 14:40:34 +0000 (14:40 +0000)]
Merge "Remove print out of logger exception in TestUtils" into stable/fraser

5 years agoMerge "Cleanup TestYardstickNSCli class" into stable/fraser
Rodolfo Alonso Hernandez [Mon, 25 Jun 2018 14:40:13 +0000 (14:40 +0000)]
Merge "Cleanup TestYardstickNSCli class" into stable/fraser

5 years agoMerge "Document for Fraser test case results" into stable/fraser
Emma Foley [Mon, 25 Jun 2018 14:38:17 +0000 (14:38 +0000)]
Merge "Document for Fraser test case results" into stable/fraser

5 years agoMove tests: unit/network_services/nfvi 61/58761/7
Emma Foley [Fri, 27 Apr 2018 10:41:10 +0000 (10:41 +0000)]
Move tests: unit/network_services/nfvi

* Fix pylint errors
* Add TODOs

Some errors are ignored locally, as they were a symptom of other problems.
These issues have been flagged with a TODO, and should be fixed later.

JIRA: YARDSTICK-837
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Change-Id: Id330ee1c89d54ef487edb7fe160e5a31d9a3094f
(cherry-picked from commit e12f98c2bbed5191714bdc553e7b269b1437cecd)

5 years agoAdd "duration" parameter to test case definition 61/58861/4
Rodolfo Alonso Hernandez [Wed, 23 May 2018 08:16:39 +0000 (09:16 +0100)]
Add "duration" parameter to test case definition

Add "duration" parameter to test case definition, in scenario:options
section. This parameter will be rendered in the traffic profile.

If the parameter is not present in the test case scenario options, the
default time written in the traffic profile options will be 30 seconds
(TrafficProfile.DEFAULT_DURATION = 30). If the traffic profile
injection time is not defined, the default injection time will be 30
seconds.

  testcase:scenario:options:duration (default = 30)
      render --> traffic_profile:duration
          parse --> TrafficProfile.duration (default = 30)

Target traffic profiles (RFC2544):
  - RFC2544Profile
  - IXIARFC2544Profile

JIRA: YARDSTICK-1194

Change-Id: I968922e6bb882d7ee15aa1c4db4037face7a3492
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit 1517319fd210d71db72c5e4bfa00fc49ae4fa877)

5 years agoImprove IXIA IxNetwork library and traffic profile (4) 11/58811/6
Rodolfo Alonso Hernandez [Thu, 12 Apr 2018 14:08:58 +0000 (15:08 +0100)]
Improve IXIA IxNetwork library and traffic profile (4)

This patch implements an active wait for the traffic injection. Once the
traffic is started, the traffic generator class will poll periodically the
IXIA traffic generator chassis to retrieve the status of the traffic
("started", "stopped").

Now the latency statistics are retrieved and reported for each injection
period.

JIRA: YARDSTICK-1116

Change-Id: I4422e2c88b4fc97b7cac3de8a82b2d75467c4117
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
(cherry picked from commit a3399d07b83ce0e50d9c0144d00a7ba83a73390f)

5 years agoImprove IXIA IxNetwork library and traffic profile (3) 09/58809/6
Rodolfo Alonso Hernandez [Wed, 11 Apr 2018 17:32:52 +0000 (18:32 +0100)]
Improve IXIA IxNetwork library and traffic profile (3)

This patch modifies IP packet parameters.

"IxNextgen.update_ip_packet" modifies the L3 packet according to the
test case and setup the IP addresses.

JIRA: YARDSTICK-1116

Change-Id: I46ff75ab1989d0e6f5cc876418a015386717e06f
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
(cherry picked from commit e5c78ae3ec1bcf0cb44646c6031fb9c04dd63e4a)

5 years agoImprove IXIA IxNetwork library and traffic profile (2) 07/58807/6
Rodolfo Alonso Hernandez [Tue, 10 Apr 2018 08:15:55 +0000 (09:15 +0100)]
Improve IXIA IxNetwork library and traffic profile (2)

This patch modifies the way the packet frame and the flow is configured
before the injection.

"IxNextgen.update_frame" modifies the L2 frame according to the
test case and setup the frame rate, frame size, traffic injection
duration and MAC addresses.

JIRA: YARDSTICK-1116

Change-Id: Ife08f15a4eda24d7835c92c4172b450854d112ee
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
(cherry picked from commit 8d10a6a8447fc2798491a6f3856e21b85fa309ba)

5 years agoImprove IXIA IxNetwork library and traffic profile (1) 05/58805/5
Rodolfo Alonso Hernandez [Tue, 10 Apr 2018 07:39:16 +0000 (08:39 +0100)]
Improve IXIA IxNetwork library and traffic profile (1)

This patch introduces a new way to configure the TCL IxNetwork server.
All the configuration is done using the TCL API, removing the need of
using the pre-saved configuration file.

"IxNextgen.assign_ports" creates and assigns the virtual ports for each
physical port defined in the test case.

"IxNextgen.create_traffic_item" creates one traffic item and two flow
groups per pair of ports, in both directions.

"IxNextgen.gt_statistics" retrieves only the required statistics to
generate the samples blob in the traffic generator.

JIRA: YARDSTICK-1116

Change-Id: I8f1c0c55e99c274b2ed8276ed9a385c502e16d93
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
(cherry picked from commit ee721fd3e8b77ccfe4252a107a9af8dc41ccc389)

5 years agoMerge "Add active wait function" into stable/fraser
Rodolfo Alonso Hernandez [Mon, 25 Jun 2018 09:20:44 +0000 (09:20 +0000)]
Merge "Add active wait function" into stable/fraser

5 years agoMerge "Add IxNetwork API Python Binding package" into stable/fraser
Rodolfo Alonso Hernandez [Mon, 25 Jun 2018 09:20:39 +0000 (09:20 +0000)]
Merge "Add IxNetwork API Python Binding package" into stable/fraser

5 years agoMerge "Use TRex release v2.41 to support both x86 and aarch64" into stable/fraser
Rodolfo Alonso Hernandez [Mon, 25 Jun 2018 07:48:11 +0000 (07:48 +0000)]
Merge "Use TRex release v2.41 to support both x86 and aarch64" into stable/fraser

5 years agoAdd active wait function 03/58803/4
Rodolfo Alonso Hernandez [Thu, 19 Apr 2018 13:58:38 +0000 (14:58 +0100)]
Add active wait function

Added function "wait_until_true". This function will make an active
wait until the predicate passed as an argument returns True.

If the timeout expires, the function will raise a generic exception
or a user defined one passed as an argument.

This function will be used in YARDSTICK-1127.

JIRA: YARDSTICK-1128

Change-Id: I9854e465ac6b586bf4be39ab4b266d5625b39e30
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from 099108aab37d1fae1b27f4e2e20136c234df1a52)

5 years agoAdd IxNetwork API Python Binding package 01/58801/3
Rodolfo Alonso Hernandez [Thu, 29 Mar 2018 14:39:49 +0000 (15:39 +0100)]
Add IxNetwork API Python Binding package

Add IxNetwork python package to the requirements list.

This module is needed for the "NSPerf" scenarios using IXIA as traffic
generator, when IxNetwork is the program used to handle the IXIA
generator.

The latest version of this module is 8.40.1124.9 [1]. The license type
is MIT.

[1] https://pypi.python.org/pypi/ixnetwork

JIRA: YARDSTICK-1106

Change-Id: I279933c95994f5120930256a104c4192a0b9900d
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
5 years agoMerge "Configure ACL via static file" into stable/fraser
Emma Foley [Fri, 22 Jun 2018 16:45:56 +0000 (16:45 +0000)]
Merge "Configure ACL via static file" into stable/fraser

5 years agoMerge "Move tests: unit/network_services/traffic_profile" into stable/fraser
Emma Foley [Fri, 22 Jun 2018 16:39:35 +0000 (16:39 +0000)]
Merge "Move tests: unit/network_services/traffic_profile" into stable/fraser

5 years agoMerge "Cleanup BaseMonitor unit tests" into stable/fraser
Emma Foley [Fri, 22 Jun 2018 16:37:53 +0000 (16:37 +0000)]
Merge "Cleanup BaseMonitor unit tests" into stable/fraser

5 years agoMove tests: unit/network_services/traffic_profile 59/58759/5
Emma Foley [Fri, 27 Apr 2018 10:37:37 +0000 (10:37 +0000)]
Move tests: unit/network_services/traffic_profile

* Fix pylint errors
* Add TODOs

Some errors are ignored locally, as they were a symptom of other problems.
These issues have been flagged with a TODO, and should be fixed later.

JIRA: YARDSTICK-837
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Change-Id: Id983a2e415d66633331e7fea96a377e2a7589980
(cherry-picked from commit cfc40ad1bb36889e54bc99cb779cfcfa1f3b04dd)

5 years agoMerge "MQ startup process refactor" into stable/fraser
Abhijit Sinha [Fri, 22 Jun 2018 15:46:31 +0000 (15:46 +0000)]
Merge "MQ startup process refactor" into stable/fraser

5 years agoMerge "Add "host_name_separator" variable to Context class" into stable/fraser
Emma Foley [Fri, 22 Jun 2018 15:21:59 +0000 (15:21 +0000)]
Merge "Add "host_name_separator" variable to Context class" into stable/fraser

5 years agoMerge "Move IncorrectConfig, IncorrectSetup and IncorrectNodeSetup to exceptions...
Emma Foley [Fri, 22 Jun 2018 15:13:32 +0000 (15:13 +0000)]
Merge "Move IncorrectConfig, IncorrectSetup and IncorrectNodeSetup to exceptions" into stable/fraser

5 years agoUse TRex release v2.41 to support both x86 and aarch64 27/58927/1
trevortao [Wed, 23 May 2018 04:42:28 +0000 (12:42 +0800)]
Use TRex release v2.41 to support both x86 and aarch64

Currently Yardstick uses Cisco's TRex release v2.28 which
can only support x86, for the consideration of
multi-arch support of Yardstick, the trex release v2.41
is now available and it can support multi-arch(both x86
and aarch64) now.

For the external lib of v2.41, for x86_64, it looks like:
external_libs/pyzmq-14.5.0/python2/intel/ucs4/64bit/zmq
for arm64, it looks like:
external_libs/pyzmq-14.5.0/python2/arm/ucs4/64bit/zmq
So replace the trex release v2.28 with v2.41.

JIRA: YARDSTICK-1191

Change-Id: I22dc3499283d48a89da1145cc480fd7d2a93a1cc
Signed-off-by: trevortao <trevor.tao@arm.com>
(cherry picked from commit 13f19d35a04ffb46ca673e81385779bc46c48781)

5 years agoConfigure ACL via static file 25/58925/1
Mytnyk, Volodymyr [Thu, 31 May 2018 09:03:10 +0000 (10:03 +0100)]
Configure ACL via static file

This patch allows user to configure ACL/vFW SampleVNF ACL
via configuration file provided in TC definition. The
Yardstick applies the rules to SampleVNF from specified config
file + rules generated by Yardstick (default rules).

The example of SampleVNF ACL CLI commands generated/applied
by Yardstick can be found at (using default ACL config file):

ACL VNF ACL CLI commands:
  acl/tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex.yaml
  http://paste.openstack.org/show/723303/

vFW VNF ACL CLI commands:
  vfw/tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex.yaml
  http://paste.openstack.org/show/723304/

Change-Id: I76a630261a982083b628e3985fc3bec14ca495db
Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
(cherry picked from commit 3fdca97ff5053770161059a34a95fd39463eaecd)

5 years agoMQ startup process refactor 23/58823/2
Chornyi, TarasX [Wed, 4 Apr 2018 08:26:09 +0000 (11:26 +0300)]
MQ startup process refactor

JIRA: YARDSTICK-1112

Change-Id: Id30236e190bae9fb0f5b5ebd4c5e04798e4fd443
Signed-off-by: Chornyi, TarasX <tarasx.chornyi@intel.com>
(cherry picked from commit d38bd854fb2c3eb6c0c4dd34ace2a52af7cf892d)

5 years agoMerge "Do not start collectd twice when SampleVNF is running on Baremetal" into stabl...
Rodolfo Alonso Hernandez [Fri, 22 Jun 2018 11:43:07 +0000 (11:43 +0000)]
Merge "Do not start collectd twice when SampleVNF is running on Baremetal" into stable/fraser

5 years agoAdd scale out TCs with availability zone support 07/58907/1
Mytnyk, Volodymyr [Wed, 4 Apr 2018 15:30:08 +0000 (16:30 +0100)]
Add scale out TCs with availability zone support

Add PROX and vFW scale out TCs with availability zone
configuration. To be able to specify the availability
zone for specific VNF or TG the following example of
command line option shoud be used:

  yardstick -d task start --task-args='{
    "num_vnfs": 2, "availability_zone":
     {
      "vnf_0": "az_0", "tg_0": "az_0",
      "vnf_1": "az_1", "tg_1": "az_1",
      ... }}' <SCALE-OUT-TC-FILE>

The steps to run new scale-out TCs is documented in the
userguide.

JIRA: YARDSTICK-1203

Change-Id: Ib3878485c5483981fe9b48ab02995712bcc31ae5
Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
(cherry picked from commit 0156b5c37e08f91a37dda08edb854758bbba7413)

5 years agoMerge "Add --hwlb options as a command line argument for SampleVNF" into stable/fraser
Rodolfo Alonso Hernandez [Fri, 22 Jun 2018 07:23:19 +0000 (07:23 +0000)]
Merge "Add --hwlb options as a command line argument for SampleVNF" into stable/fraser

5 years agoStandalone XML machine type is not longer valid 85/58785/5
Rodolfo Alonso Hernandez [Tue, 22 May 2018 10:47:52 +0000 (11:47 +0100)]
Standalone XML machine type is not longer valid

Current XML machine type definition [1] is not longer valid. According to
[2], the default machine type should be "pc-i440fx-xenial".

NOTE: StandAlone physical nodes are deployed using Ubuntu OS.

[1]https://github.com/opnfv/yardstick/blob/master/yardstick/benchmark/contexts/standalone/model.py#L48
[2]https://wiki.ubuntu.com/QemuKVMMigration#Upgrade_machine_type

JIRA: YARDSTICK-1192

Change-Id: I77b1379aaf416b1225e91af2c3ac746cb101f774
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit 6414a61a988a73ee1b939e2d5de2f0afdde4319a)

5 years agoMove IncorrectConfig, IncorrectSetup and IncorrectNodeSetup to exceptions 99/58799/2
Rodolfo Alonso Hernandez [Fri, 1 Jun 2018 15:54:11 +0000 (16:54 +0100)]
Move IncorrectConfig, IncorrectSetup and IncorrectNodeSetup to exceptions

JIRA: YARDSTICK-1218

Change-Id: I804065e9bce3e728f5bf9e756a78df8fd28f74ac
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit dc0e675f47f4dbf1b54ce9c22878e2e876bc26e8)

5 years agoMove ErrorClass definition to exceptions module 93/58793/3
Rodolfo Alonso Hernandez [Fri, 1 Jun 2018 12:49:38 +0000 (13:49 +0100)]
Move ErrorClass definition to exceptions module

JIRA: YARDSTICK-1216

Change-Id: I82556e1d1b0c723221a58e188067cbce560b8338
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit 2bdda85878ed1507d1a91f69c3489bb9ba9d447d)

5 years agoMerge "Convert SSH custom exceptions to Yardstick exceptions" into stable/fraser
Rodolfo Alonso Hernandez [Thu, 21 Jun 2018 13:28:03 +0000 (13:28 +0000)]
Merge "Convert SSH custom exceptions to Yardstick exceptions" into stable/fraser

5 years agoMerge "Remove AnsibleCommon class method mock" into stable/fraser
Rodolfo Alonso Hernandez [Thu, 21 Jun 2018 13:08:42 +0000 (13:08 +0000)]
Merge "Remove AnsibleCommon class method mock" into stable/fraser

5 years agoMerge "Error when adding SR-IOV interfaces in SR-IOV context" into stable/fraser
Rodolfo Alonso Hernandez [Thu, 21 Jun 2018 13:04:55 +0000 (13:04 +0000)]
Merge "Error when adding SR-IOV interfaces in SR-IOV context" into stable/fraser

5 years agoMerge "Remove __init__ method overriding in HeatContextTestCase" into stable/fraser
Rodolfo Alonso Hernandez [Thu, 21 Jun 2018 13:04:50 +0000 (13:04 +0000)]
Merge "Remove __init__ method overriding in HeatContextTestCase" into stable/fraser

5 years agoMerge "Bump oslo.messaging version to 5.36.0" into stable/fraser
Rodolfo Alonso Hernandez [Thu, 21 Jun 2018 13:04:21 +0000 (13:04 +0000)]
Merge "Bump oslo.messaging version to 5.36.0" into stable/fraser

5 years agoMerge "Set "cmd2" library to version 0.8.6" into stable/fraser
Rodolfo Alonso Hernandez [Thu, 21 Jun 2018 13:04:08 +0000 (13:04 +0000)]
Merge "Set "cmd2" library to version 0.8.6" into stable/fraser

5 years agoError when adding SR-IOV interfaces in SR-IOV context 83/58783/2
Rodolfo Alonso Hernandez [Mon, 21 May 2018 16:38:50 +0000 (17:38 +0100)]
Error when adding SR-IOV interfaces in SR-IOV context

Method "add_sriov_interfaces" in Libvirt class throws an error when trying
to add SR-IOV interfaces in the XML file.

Function "setup_sriov_context" in SriovContext if passing to
"_enable_interfaces" method the XML file name instead of passing the XML
string.

JIRA: YARDSTICK-1189

Change-Id: If021c102311ecb98cb26934f78067dfc720e4291
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit 72df0eaac4a2a1f23439af7f249c2b5d18d1b819)

5 years agoRemove __init__ method overriding in HeatContextTestCase 87/58787/3
Rodolfo Alonso Hernandez [Fri, 1 Jun 2018 08:38:28 +0000 (09:38 +0100)]
Remove __init__ method overriding in HeatContextTestCase

Unit test case clases should implement setUp() method instead of overriding
__init__() method.

JIRA: YARDSTICK-1210

Change-Id: I0f9a10575f9aeebf76dfa84619e59589b3ea83f6
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit 619bed631f064a94ab20ac296802d467ebe32318)

5 years agoCorrectly set PYTHONPATH in Dockerfile 49/58849/1
John O Loughlin [Wed, 2 May 2018 07:50:53 +0000 (08:50 +0100)]
Correctly set PYTHONPATH in Dockerfile

JIRA: YARDSTICK-1144

Change-Id: I8c0fe229ed620417a85356e017b171260373c43f
Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
(cherry picked from commit a114dc39f003beb1bb1ed12ed17fd3a6d0e7deaa)

5 years agoDocument for Fraser test case results 47/58847/1
JingLu5 [Tue, 15 May 2018 08:22:50 +0000 (08:22 +0000)]
Document for Fraser test case results

JIRA: YARDSTICK-1132

In B and C releases, Yardstick provides an overview of the results of test cases developed by Yardstick, executed on OPNFV community labs.

This work has not been done for the D and E releases, although result analysis for Euphrates is available at (https://wiki.opnfv.org/display/yardstick/Euphrates+release+test+results+analysis). We plan to restart to provide a basic test case results analysis for Fraser and compare performance data with Euphrates.

This JIRA ticket will be resolved into 3 commits: 1. Document for E release test case data; 2. Document for F release test case data; 3. Document for results analysis.

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

5 years agoConvert SSH custom exceptions to Yardstick exceptions 97/58797/2
Rodolfo Alonso Hernandez [Fri, 1 Jun 2018 11:21:20 +0000 (12:21 +0100)]
Convert SSH custom exceptions to Yardstick exceptions

JIRA: YARDSTICK-1215

Change-Id: I5ecfd3dccd91b07cd8de5309dfa1a372eff16ed0
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit dde8fa628483deec352e176cea8decdbf6bed7e8)

5 years agoAdd --hwlb options as a command line argument for SampleVNF 29/58829/1
Chornyi, TarasX [Mon, 30 Apr 2018 14:17:26 +0000 (17:17 +0300)]
Add --hwlb options as a command line argument for SampleVNF

To enable HWLB queues in samplevnf on supported hardware
(e.g Intel  Fortville) --hwlb option needs to be passed
as a VNF command line argument.

JIRA: YARDSTICK-1159

Change-Id: I6e5c098dc71a711252b545c7622ee52085fa81f0
Signed-off-by: Chornyi, TarasX <tarasx.chornyi@intel.com>
(cherry picked from commit 1c8bfeb11a620c63ffd9fcd7f8735ded4521e077)

5 years agoDo not start collectd twice when SampleVNF is running on Baremetal 27/58827/1
Chornyi, TarasX [Thu, 5 Apr 2018 08:59:20 +0000 (11:59 +0300)]
Do not start collectd twice when SampleVNF is running on Baremetal

JIRA: YARDSTICK-1167

Change-Id: I7591bbb2a84ee4039a20c5da2914f1e374299015
Signed-off-by: Chornyi, TarasX <tarasx.chornyi@intel.com>
(cherry picked from commit ba2ca2819a8b0312627742d126030c3dac15052f)

5 years agoCleanup BaseMonitor unit tests 21/58821/1
Rodolfo Alonso Hernandez [Fri, 8 Jun 2018 15:43:40 +0000 (16:43 +0100)]
Cleanup BaseMonitor unit tests

Stop multiprocessing queues to avoid BrokenPipe exception.
Assert correctly the raise of exceptions.

JIRA: YARDSTICK-1229

Change-Id: I1a1c92c49a439283a35c9a69b59d6866f35ec09a
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit 94d56c9f7cd99baea08629eaf3e580d020494383)

5 years agoAdd "host_name_separator" variable to Context class 19/58819/1
Rodolfo Alonso Hernandez [Mon, 21 May 2018 11:53:03 +0000 (12:53 +0100)]
Add "host_name_separator" variable to Context class

This feature will provide Kubernetes context the ability to handle the
context name inside the class itself, providing to the developer an
abstraction of the possible naming limitations in Kubernetes. E.g.:
"dot" character in Pod names is no allowed [1].

[1] https://github.com/fabric8io/fluent-plugin-kubernetes_metadata_filter/issues/58

JIRA: YARDSTICK-1188

Change-Id: I82121f970b550170357a443b6340be7900602a57
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit a2ee61016721386b40caa4e2d72f61be8adec94a)

5 years agoRemove print out of logger exception in TestUtils 91/58791/2
Rodolfo Alonso Hernandez [Thu, 7 Jun 2018 16:50:30 +0000 (17:50 +0100)]
Remove print out of logger exception in TestUtils

Remove print out of logger exception while executing
"TestUtils.test_parse_ini_file_missing_section_header" test case.

JIRA: YARDSTICK-1225

Change-Id: I2a4e447c5d119fb9585b477d74f3d0a002c8278e
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit 99d51230daac3452f5295b4ea39890d8920e6ca3)

5 years agoCleanup TestYardstickNSCli class 89/58789/1
Rodolfo Alonso Hernandez [Thu, 7 Jun 2018 16:13:09 +0000 (17:13 +0100)]
Cleanup TestYardstickNSCli class

Remove the console output during the test execution. Refactor the
"parse_arguments" test case.

JIRA: YARDSTICK-1224

Change-Id: I68954b986dbea70752adb121e0445e162bdfddcb
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit a8ddeef62ee1f9795881994380f49ce88a760102)

5 years agoBump oslo.messaging version to 5.36.0 79/58779/1
Rodolfo Alonso Hernandez [Mon, 28 May 2018 15:25:26 +0000 (16:25 +0100)]
Bump oslo.messaging version to 5.36.0

A decoding error was introduced in the AMQP libraries installed by
oslo.messaging version 5.30.2.

Error example:

File "/home/jenkins/opnfv/slave_root/workspace/yardstick-verify-master/
        .tox/functional/local/lib/python2.7/site-packages/amqp/utils.py",
         line 89, in str_to_bytes
  return s.encode('utf-8')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd2 in position 3: ordinal not in range(128)

This problem is fixed in the library versions installed in version 5.36.0.

JIRA: YARDSTICK-1204

Change-Id: I4719d8e0a0891ebbb3b87c31d593d15f897ef53a
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry-picked from commit bcc841699c8072a74378774593729931e81b4398)

5 years agoSet "cmd2" library to version 0.8.6 77/58777/1
Rodolfo Alonso Hernandez [Mon, 28 May 2018 16:55:51 +0000 (17:55 +0100)]
Set "cmd2" library to version 0.8.6

Last "cmd2" version, 0.9.0, removed Python 2+ support [1]. In order to
support Python 2.7, version 0.8.6 (or earlier) must be installed.

[1] https://github.com/python-cmd2/cmd2/commit/e54e5a5b891548df4df0acb04b6e607ad8f871b1

JIRA: YARDSTICK-1205

Change-Id: Ic2fe57438720de5b21c75f9456e653c6facf3ae9
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit c4d821c58858418ce8dfec95426f06ae11b25c7b)

5 years agoRemove AnsibleCommon class method mock 69/58769/1
Rodolfo Alonso Hernandez [Fri, 1 Jun 2018 10:48:33 +0000 (11:48 +0100)]
Remove AnsibleCommon class method mock

In [1], several methods in "AnsibleCommon" class are mocked, but those
mocks are not removed after the test execution. Depending on the test
execution order, this affects other results.

[1] https://github.com/opnfv/yardstick/blob/stable/fraser/yardstick/tests/unit/service/test_environment.py#L20

JIRA: YARDSTICK-1214

Change-Id: I85ef702b3b5b2fda5cf453a21b9f0bec61b155f0
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit e204c5063ab86d4ed2bff296959afae43866890f)

5 years agoMove tests: unit/network_services/{lib/,collector/,*.py} 51/58751/1
Emma Foley [Fri, 27 Apr 2018 10:29:27 +0000 (10:29 +0000)]
Move tests: unit/network_services/{lib/,collector/,*.py}

* Fix pylint errors
* Add TODOs

Some errors are ignored locally, as they were a symptom of other problems.
These issues have been flagged with a TODO, and should be fixed later.

JIRA: YARDSTICK-837
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Change-Id: Idc2e70291b6d9b4cf7e7249a10c4a290b999206c
(cherry picked from commit 2e75e6d27240945ec985998bbe9ec6241d11626a)

5 years agoUpdate pmd/lcore mask for OVS-DPDK context 11/58711/1
Stepan Andrushko [Mon, 18 Jun 2018 11:23:16 +0000 (14:23 +0300)]
Update pmd/lcore mask for OVS-DPDK context

Added default values for pmd/lcore mask to the SampleVNF test case for
Trex TG.
lcore mask - specifies the CPU cores used for non-datapath OVS-DPDK
threads.
pmd mask - specifies the CPU cores used for data path packet processing.
Updated documentation for Standalone OVS-DPDK context.

JIRA: YARDSTICK-1246

Change-Id: I8d008a185c94d2047ffa4769d7974bc4d283fd7f
Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
(cherry picked from commit 779a868348c3361f2a3054f06002807fd69a6549)

5 years agoMerge "Bugfix: openrc api dump should be safe_dump" into stable/fraser
Abhijit Sinha [Thu, 14 Jun 2018 13:32:40 +0000 (13:32 +0000)]
Merge "Bugfix: openrc api dump should be safe_dump" into stable/fraser

6 years agoMerge "[release] Yardstick release note 6.1.0" into stable/fraser opnfv-6.1.0
Ross Brattain [Fri, 25 May 2018 21:13:52 +0000 (21:13 +0000)]
Merge "[release] Yardstick release note 6.1.0" into stable/fraser

6 years agoMerge "Get HA test case results on failure" into stable/fraser
Ross Brattain [Fri, 25 May 2018 20:35:44 +0000 (20:35 +0000)]
Merge "Get HA test case results on failure" into stable/fraser

6 years agoMerge "Bugfix: Yardstick GUI build fails on Fraser 6.1.0" into stable/fraser
Ross Brattain [Fri, 25 May 2018 18:29:37 +0000 (18:29 +0000)]
Merge "Bugfix: Yardstick GUI build fails on Fraser 6.1.0" into stable/fraser

6 years agoMerge "update docker image tag to 6.1.0" into stable/fraser
Ross Brattain [Fri, 25 May 2018 17:44:17 +0000 (17:44 +0000)]
Merge "update docker image tag to 6.1.0" into stable/fraser

6 years ago[release] Yardstick release note 6.1.0 85/57885/1
rexlee8776 [Thu, 17 May 2018 02:28:30 +0000 (10:28 +0800)]
[release] Yardstick release note 6.1.0

JIRA: YARDSTICK-1182

Change-Id: I3baca52e9bc0360b43f2ce61ea2f166a70e8c90a
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
(cherry picked from commit 23d911a604f5686ade4fbbf80e0e046a2160dc8c)

6 years agoBugfix: Yardstick GUI build fails on Fraser 6.1.0 81/57881/1
rexlee8776 [Fri, 25 May 2018 07:49:43 +0000 (07:49 +0000)]
Bugfix: Yardstick GUI build fails on Fraser 6.1.0

Yardstick web GUI build fails due to angular version

JIRA: YARDSTICK-1202

Change-Id: Ie075d18cb2eac2070267759978cbdb7c784599ef
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
(cherry picked from commit 81059ba8c7293a50aee72251afee89eb65547562)

6 years agoupdate docker image tag to 6.1.0 75/57875/1
Ross Brattain [Fri, 25 May 2018 04:17:26 +0000 (21:17 -0700)]
update docker image tag to 6.1.0

Change-Id: Ia7a0668c1c2461fceb97425bcb6ade5bdb105c79
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoDockerfile: add ping for prepare_env.sh 23/57823/1
Ross Brattain [Thu, 24 May 2018 14:17:32 +0000 (07:17 -0700)]
Dockerfile: add ping for prepare_env.sh

INFO: Creating openstack credentials ..
Verifying connectivity to 10.20.0.2...
/home/opnfv/repos/yardstick//tests/ci/prepare_env.sh: line 56: ping: command not found
/home/opnfv/repos/yardstick//tests/ci/prepare_env.sh: line 56: ping: command not found

https://build.opnfv.org/ci/view/yardstick/job/yardstick-fuel-baremetal-daily-master/2400/console

JIRA: YARDSTICK-1201

Change-Id: Ib9e139046724ece4be7a85cc1ae74cbb0ec8e203
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoGet HA test case results on failure 97/57797/2
Miikka Koistinen [Mon, 9 Apr 2018 14:40:39 +0000 (17:40 +0300)]
Get HA test case results on failure

Now, yardstick HA test cases (which have 'sla action: monitor') do
not output results if the test case SLA validation fails.
This patch modifies the task runner and the serviceHA scenario so
that during an SLA validation failure the test result data is
captured correctly.

Do similar changes in the general scenario.

fix missing variable k
s/envrioment/environment

JIRA: YARDSTICK-1115

Change-Id: I648a8b229600c0ad089320ac3f803698f73aa800
Signed-off-by: Miikka Koistinen <miikka.koistinen@nokia.com>
(cherry picked from commit dd87e15c9c4f0aff3577c1bcd68bd86dd2d64898)
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoTest case spec for SDN controller resilience in HA config 99/57799/1
Georg Kunz [Tue, 23 Jan 2018 12:43:24 +0000 (13:43 +0100)]
Test case spec for SDN controller resilience in HA config

This is the test case specification for verifying the HA capabilities
of a SDN controller running in a HA configuration.

JIRA: HA-33
JIRA: YARDSTICK-955

Change-Id: I016ec1ef7bb51b79f8c21440abf8f04c923ef9dc
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
6 years agoBugfix: openrc api dump should be safe_dump 29/57729/1
rexlee8776 [Wed, 9 May 2018 09:52:27 +0000 (09:52 +0000)]
Bugfix: openrc api dump should be safe_dump

1. fix safe_dump
2. fix pep8 problem, use flask_restapi custom error handling [1]

[1] https://flask-restful.readthedocs.io/en/latest/extending.html#custom-error-handlers

JIRA: YARDSTICK-1165

RestApi openrc dump clouds.yaml error

it now use yarml.dump, should be yaml.safe_dump.

dump would gererate !!python/unicode and cause error when upload openrc file in gui

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

6 years agoTest case spec for SDN Virtual Switch resilience. 97/57597/1
Dimitrios Markou [Tue, 24 Apr 2018 08:09:37 +0000 (11:09 +0300)]
Test case spec for SDN Virtual Switch resilience.

This is a test case for verifying the proper functionality of
SDN Vswitches which are located in the Compute nodes of an OpenStack
environment.
This test case is unaware of the configuration (non-HA,HA)

JIRA: HA-34
JIRA: YARDSTICK-955

Change-Id: I701bf1f9527b1a31b9cb52e102734e10c4162766
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
(cherry picked from commit 4cc2882c73a64e243f98c0448ca2d1f9a677953c)

6 years agoMerge "Update samples/test_suite.yaml" into stable/fraser
Rodolfo Alonso Hernandez [Thu, 17 May 2018 08:11:02 +0000 (08:11 +0000)]
Merge "Update samples/test_suite.yaml" into stable/fraser

6 years agoMerge "Fix log typos in benchmark/scenarios/availability" into stable/fraser
Rodolfo Alonso Hernandez [Thu, 17 May 2018 07:46:38 +0000 (07:46 +0000)]
Merge "Fix log typos in benchmark/scenarios/availability" into stable/fraser

6 years agoMerge "Remove unused methods in SampleVNF" into stable/fraser
Rex Lee [Thu, 17 May 2018 02:25:29 +0000 (02:25 +0000)]
Merge "Remove unused methods in SampleVNF" into stable/fraser

6 years agoFix log typos in benchmark/scenarios/availability 01/57201/2
Miikka Koistinen [Mon, 7 May 2018 09:12:33 +0000 (12:12 +0300)]
Fix log typos in benchmark/scenarios/availability

This commit fixes multiple log message typos and all the emerged pylint
errors.

MonitorProcess/MonitorOpenstackCmd.verify_SLA() repeat already logged
information, so these prints are removed.

JIRA: YARDSTICK-1145

Change-Id: Ifef26e4b4ff7766089caec24785511969c2d663e
Signed-off-by: Miikka Koistinen <miikka.koistinen@nokia.com>
(cherry picked from commit 6fa51bdcc7ad7e4d407f2803fc05b1cfaf66c115)

6 years agoMerge "Update the dummy-scenario-heat-context testcase" into stable/fraser
Rodolfo Alonso Hernandez [Wed, 16 May 2018 08:41:34 +0000 (08:41 +0000)]
Merge "Update the dummy-scenario-heat-context testcase" into stable/fraser

6 years agoMerge "Document for Euphrates test case results" into stable/fraser
Jing Lu [Wed, 16 May 2018 04:05:10 +0000 (04:05 +0000)]
Merge "Document for Euphrates test case results" into stable/fraser

6 years agoDocument for Euphrates test case results 95/57395/1
JingLu5 [Mon, 23 Apr 2018 02:47:08 +0000 (02:47 +0000)]
Document for Euphrates test case results

JIRA: YARDSTICK-1132

In B and C releases, Yardstick provides an overview of the results of test cases
developed by Yardstick, executed on OPNFV community labs.

This work has not been done for the D and E releases, although result analysis
for Euphrates is available at (https://wiki.opnfv.org/display/yardstick/Euphrates+release+test+results+analysis).
We plan to restart to provide a basic test case results analysis for Fraser and compare performance data with Euphrates.

This JIRA ticket will be resolved into 3 commits: 1. Document for E release test case data; 2. Document for F release test case data;
3. Document for results analysis.

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

6 years agoUpdate samples/test_suite.yaml 53/57253/1
Emma Foley [Mon, 16 Apr 2018 13:08:25 +0000 (13:08 +0000)]
Update samples/test_suite.yaml

The sample test suite at sample/test_suite.yaml contained incorrect
syntax. It has been updated to add the "default" parameter to
"task_args" when running a testcase.

JIRA: YARDSTICK-1125
Change-Id: I53409168e47d969317145623df1e2c789396cc32
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
(cherry picked from commit 7b00d64494bdd61f2ab37005de76fa5f6496d45d)

6 years agoImplement Virtual Switch resilience test case 63/57163/1
Dimitrios Markou [Wed, 25 Apr 2018 14:32:18 +0000 (17:32 +0300)]
Implement Virtual Switch resilience test case

This testcase tests the resilience of the Virtual
Switch in an OpenStack environment. It can only run in a
non Ubuntu distro because it is limited by this bug [0]

[0]: JIRA: YARDSTICK-1140

Change-Id: Ia1480fba9f3549d1144c80699056b501d3b07a0f
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
(cherry picked from commit 53f5951a47fcaa5a3f8bcd6ea1020e54a1b285d3)

6 years agoBug Fix: Start openvswitch service in Centos distro 57/57157/3
Dimitrios Markou [Fri, 27 Apr 2018 08:51:17 +0000 (11:51 +0300)]
Bug Fix: Start openvswitch service in Centos distro

JIRA: YARDSTICK-1142

Change-Id: I82c479c95e10de37416081eacf2d8bee396e50dc
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
(cherry picked from commit d00660e583ef89fe07149c7f0cffcced7cd72133)

6 years agoAdd support for restarting a service 55/57155/3
Dimitrios Markou [Wed, 25 Apr 2018 14:37:03 +0000 (17:37 +0300)]
Add support for restarting a service

JIRA: YARDSTICK-1138

Change-Id: Id57defb574eb7e0f5be81b52803cdb05f46796ab
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
(cherry picked from commit 131b9f04a360ccc894510a275bd33c57634608fc)

6 years agoAdd ODL HA testcase 53/57153/3
Dimitrios Markou [Fri, 16 Mar 2018 13:51:49 +0000 (15:51 +0200)]
Add ODL HA testcase

This testcase confirms the resiliency of Opendaylight
in a HA deployment

SPEC: https://gerrit.opnfv.org/gerrit/#/c/50991

JIRA: HA-33
JIRA: YARSTICK-955

Change-Id: I4cb39d1970ed0333a43fbb58f8c7138908379dcb
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
(cherry picked from commit d16b2e14fe420a646d4399986bd9f4d1ae3a606d)

6 years agoAdd pod.yaml files for Apex 51/57151/2
Dimitrios Markou [Wed, 21 Mar 2018 14:09:58 +0000 (16:09 +0200)]
Add pod.yaml files for Apex

JIRA: YARDSTICK-1097

Change-Id: If116174c562bc08c0b7602324599bc85d8c60be0
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
(cherry picked from commit 6f374141466640655cc57277b4b49d6deffa9092)

6 years agoUpdate the dummy-scenario-heat-context testcase 67/57067/1
Emma Foley [Wed, 18 Apr 2018 14:17:00 +0000 (14:17 +0000)]
Update the dummy-scenario-heat-context testcase

The testcase is included in the docs to demonstrate definining a heat context.
It previously used cirros, but this is not included by default.
Set-up instructions/scripts add yardstick-image and yardstick-flavor, so these
have been added to the testcase instead.

A default value for context_name was also added.

Change-Id: I5f642086971487b334ae48a5cf5c9b71e9b99e2e
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
(cherry picked from commit f37e4dcf771caec3be52e95047997aa22cbd7a88)

6 years agoRemove unused methods in SampleVNF 25/57025/1
Emma Foley [Thu, 12 Apr 2018 14:45:42 +0000 (14:45 +0000)]
Remove unused methods in SampleVNF

The following private methods are unused in
yardstick/network_services/vnf_generic/vnf/sample_vnf.py:SampleVNF

* _build_ports(self)
* _get_route_data(self, route_index, route_type)
* _get_port0localip6(self)
* _get_port1localip6(self)
* _get_port0prefixlen6(self)
* _get_port1prefixlen6(self)
* _get_port0gateway6(self)
* _get_port1gateway6(self)

They are being removed as:
* _get_port* functions are already implemented and used in MultiPortConfig
* _get_route_data is an auxillary functions used by the previous ones
* _build_ports is implemented in the helpers

JIRA: YARDSTICK-1122
Change-Id: Ie7a706cd87b610ea56f89214118a02e612a70dc0
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
(cherry picked from commit 50bcd3e477bc29abb43ed73643d551ff55a73403)

6 years ago[release] Yardstick Fraser 6.0.0 Release notes 09/56609/1 opnfv-6.0.0
rexlee8776 [Sat, 21 Apr 2018 01:51:04 +0000 (01:51 +0000)]
[release] Yardstick Fraser 6.0.0 Release notes

JIRA: YARDSTICK-1129

Change-Id: I5adb2e9547c58b90d3eafb0e2b90015ce5472cfa
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
(cherry picked from commit a324c1b922ae2598dbe25e9b2885620ef09f4901)

6 years agoBugfix: ansible can't not run without config 61/56561/2
chenjiankun [Tue, 24 Apr 2018 01:58:10 +0000 (01:58 +0000)]
Bugfix: ansible can't not run without config

JIRA: YARDSTICK-1135

Ansible need ansible.cfg when run in the remote node.
However the file name is wrong. Need:
setup.cfg -> ansible.cfg

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

6 years agonsb_setup: pin docker image version to release tag 95/56495/1
Ross Brattain [Wed, 25 Apr 2018 14:42:50 +0000 (07:42 -0700)]
nsb_setup: pin docker image version to release tag

The install scripts pull tags for stable releases.

We need to temporarily pin the image tag to the unreleased tag
because we have to update the code before we actually tag the image.

Or maybe we should make this a parameter to the script

JIRA: YARDSTICK-1137

Change-Id: I2e5f13ffe19d1c19fd7b8e071df28fd225be3d79
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoMerge "extra loopback cleanup" into stable/fraser
Ross Brattain [Tue, 24 Apr 2018 08:41:50 +0000 (08:41 +0000)]
Merge "extra loopback cleanup" into stable/fraser

6 years agoMerge "[docs] Updated baremetal instalation instructions" into stable/fraser
Ross Brattain [Tue, 24 Apr 2018 08:40:29 +0000 (08:40 +0000)]
Merge "[docs] Updated baremetal instalation instructions" into stable/fraser

6 years agoMerge "Bugfix: Can't get image list in API" into stable/fraser
Jack Chan [Tue, 24 Apr 2018 01:41:07 +0000 (01:41 +0000)]
Merge "Bugfix: Can't get image list in API" into stable/fraser