yardstick.git
6 years agoStandalone XML machine type is not longer valid 71/57671/1
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>
6 years agoError when adding SR-IOV interfaces in SR-IOV context 59/57659/4
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>
6 years agoMerge "Test case spec for SDN Virtual Switch resilience."
Emma Foley [Sun, 20 May 2018 20:29:53 +0000 (20:29 +0000)]
Merge "Test case spec for SDN Virtual Switch resilience."

6 years agoMerge changes from topics 'YARDSTICK-1154', 'YARDSTICK-1160'
Rodolfo Alonso Hernandez [Thu, 17 May 2018 14:30:05 +0000 (14:30 +0000)]
Merge changes from topics 'YARDSTICK-1154', 'YARDSTICK-1160'

* changes:
  Kubernetes API "delete_service" missing parameter
  Bump Kubernetes Python client to version 6.0.0
  Avoid "volumeMounts" with "configMap" fixed permissions

6 years agoMerge "Parse "dispatcher" options correctly from InfluxDB client"
Rodolfo Alonso Hernandez [Thu, 17 May 2018 14:29:21 +0000 (14:29 +0000)]
Merge "Parse "dispatcher" options correctly from InfluxDB client"

6 years agoMerge "Fix PEP8 errors in prox_binseach"
Abhijit Sinha [Thu, 17 May 2018 10:47:49 +0000 (10:47 +0000)]
Merge "Fix PEP8 errors in prox_binseach"

6 years agoMerge "Add --hwlb options as a command line argument for SampleVNF"
Rodolfo Alonso Hernandez [Wed, 16 May 2018 10:26:02 +0000 (10:26 +0000)]
Merge "Add --hwlb options as a command line argument for SampleVNF"

6 years agoAdd --hwlb options as a command line argument for SampleVNF 01/56901/8
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>
6 years agoMerge "Move tests: unit/network_services/helpers"
Rodolfo Alonso Hernandez [Wed, 16 May 2018 08:40:48 +0000 (08:40 +0000)]
Merge "Move tests: unit/network_services/helpers"

6 years agoMerge "Move tests: unit/network_services/nfvi"
Rodolfo Alonso Hernandez [Wed, 16 May 2018 08:40:42 +0000 (08:40 +0000)]
Merge "Move tests: unit/network_services/nfvi"

6 years agoMerge "Move tests: unit/network_services/traffic_profile"
Rodolfo Alonso Hernandez [Wed, 16 May 2018 08:40:37 +0000 (08:40 +0000)]
Merge "Move tests: unit/network_services/traffic_profile"

6 years agoMerge "Test case description and configuration file for yardstick_tc088"
Jing Lu [Wed, 16 May 2018 08:14:06 +0000 (08:14 +0000)]
Merge "Test case description and configuration file for yardstick_tc088"

6 years agoMerge "Test case description and configuration file for yardstick_tc089"
Jing Lu [Wed, 16 May 2018 08:13:48 +0000 (08:13 +0000)]
Merge "Test case description and configuration file for yardstick_tc089"

6 years agoMove tests: unit/network_services/helpers 77/56777/4
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

6 years agoMove tests: unit/network_services/nfvi 75/56775/4
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

6 years agoMove tests: unit/network_services/traffic_profile 73/56773/4
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

6 years agoMerge "Start nginx and uwsgi servicies only in not container mode"
Rodolfo Alonso Hernandez [Tue, 15 May 2018 17:04:34 +0000 (17:04 +0000)]
Merge "Start nginx and uwsgi servicies only in not container mode"

6 years agoStart nginx and uwsgi servicies only in not container mode 09/57409/2
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>
6 years agoMerge "Fix PROX throughput result calculation"
Abhijit Sinha [Tue, 15 May 2018 15:46:39 +0000 (15:46 +0000)]
Merge "Fix PROX throughput result calculation"

6 years agoFix PEP8 errors in prox_binseach 61/57361/3
Abhijit Sinha [Mon, 14 May 2018 13:38:52 +0000 (14:38 +0100)]
Fix PEP8 errors in prox_binseach

There were some pep8 errors in the
prox_binsearch.py file. These are fixed here.

JIRA: YARDSTICK-1173

Change-Id: I817bba89c6ba298bb0f27b2538aa7585cb286754
Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
6 years agoFix PROX throughput result calculation 59/57359/8
Abhijit Sinha [Mon, 14 May 2018 13:31:52 +0000 (14:31 +0100)]
Fix PROX throughput result calculation

The success criteria needed a fix for throughput
calculation. The results on success criteria were
muliplied by 1000*1000 which is not correct and
not needed as this was leading to false results
in grafana.

JIRA: YARDSTICK-1172

Change-Id: I56b24a700f8a565db80897aeab796e7039cae5c9
Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
6 years agoMerge "Replace cinder detach volume with shade client."
Rodolfo Alonso Hernandez [Tue, 15 May 2018 08:07:47 +0000 (08:07 +0000)]
Merge "Replace cinder detach volume with shade client."

6 years agoMerge "Replace cinder delete volume with shade client."
Rodolfo Alonso Hernandez [Tue, 15 May 2018 08:03:46 +0000 (08:03 +0000)]
Merge "Replace cinder delete volume with shade client."

6 years agoMerge "Replace cinder create volume with shade client."
Rodolfo Alonso Hernandez [Tue, 15 May 2018 08:03:41 +0000 (08:03 +0000)]
Merge "Replace cinder create volume with shade client."

6 years agoMerge "Document for Euphrates test case results"
Jing Lu [Tue, 15 May 2018 06:56:01 +0000 (06:56 +0000)]
Merge "Document for Euphrates test case results"

6 years agoMerge "Do not start collectd twice when SampleVNF is running on Baremetal"
Rodolfo Alonso Hernandez [Mon, 14 May 2018 09:39:36 +0000 (09:39 +0000)]
Merge "Do not start collectd twice when SampleVNF is running on Baremetal"

6 years agoMerge "[docs] Add info on gerrit groups to the devguide."
Emma Foley [Mon, 14 May 2018 09:39:29 +0000 (09:39 +0000)]
Merge "[docs] Add info on gerrit groups to the devguide."

6 years agoDo not start collectd twice when SampleVNF is running on Baremetal 79/54979/16
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>
6 years agoMerge "Fix Prox L2fwd generator packet"
Abhijit Sinha [Mon, 14 May 2018 08:27:15 +0000 (08:27 +0000)]
Merge "Fix Prox L2fwd generator packet"

6 years ago[docs] Add info on gerrit groups to the devguide. 29/57329/2
Emma Foley [Fri, 11 May 2018 15:00:03 +0000 (15:00 +0000)]
[docs] Add info on gerrit groups to the devguide.

Added the yardstick-reviewers and yardstick-committers groups
as an alternative to adding individual developers to a code review.

Change-Id: I1ebba56ba27dac00f7e7af7858b3c599a0f1eae8
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
6 years agoMerge "nsb_setup: parametrize docker image"
Emma Foley [Thu, 10 May 2018 09:18:23 +0000 (09:18 +0000)]
Merge "nsb_setup: parametrize docker image"

6 years agoMerge "Update samples/test_suite.yaml"
Abhijit Sinha [Thu, 10 May 2018 09:01:02 +0000 (09:01 +0000)]
Merge "Update samples/test_suite.yaml"

6 years agoMerge "Re enable pip package unit tests"
Rodolfo Alonso Hernandez [Wed, 9 May 2018 16:57:19 +0000 (16:57 +0000)]
Merge "Re enable pip package unit tests"

6 years agoKubernetes API "delete_service" missing parameter 73/57073/6
Rodolfo Alonso Hernandez [Fri, 4 May 2018 16:46:03 +0000 (17:46 +0100)]
Kubernetes API "delete_service" missing parameter

Kubernetes method "delete_service" calls core API function
"delete_namespaced_service". The parameter "body" [1] is missing:

    :param V1DeleteOptions body: (required)

[1] https://github.com/kubernetes-client/python/blob/6.0.0/kubernetes/client/apis/core_v1_api.py

JIRA: YARDSTICK-1154

Change-Id: I40bca2af0f5359eaa788d3b81d82897a770329f0
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
6 years agoBump Kubernetes Python client to version 6.0.0 65/57065/6
Rodolfo Alonso Hernandez [Fri, 4 May 2018 13:47:55 +0000 (14:47 +0100)]
Bump Kubernetes Python client to version 6.0.0

Bump Kubernetes Python client to version 6.0.0. This versions supports
Kubernetes service from 1.4 to 1.10 (current version) [1].

Current version of Kubernetes service: 1.10.2

[1] https://github.com/kubernetes-client/python/tree/6.0.0#compatibility-matrix

JIRA: YARDSTICK-1153

Change-Id: I96e855a68e39b17af02cd362040f8c765a9531f0
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
6 years agoAvoid "volumeMounts" with "configMap" fixed permissions 45/57045/5
Rodolfo Alonso Hernandez [Fri, 4 May 2018 07:44:56 +0000 (08:44 +0100)]
Avoid "volumeMounts" with "configMap" fixed permissions

To access to the container without using a password, the jumphost
RSA public key is copied to each container, using "volumeMounts"
defined as "configMap", to /root/.ssh/authorized_keys.

To work properly, the following permissions must be set:
  - /root/.ssh: 700
  - /root/.ssh/authorized_keys: 600

Because of [1][2], the mounted folders have fixed permissions and
cannot be modified.

[1]https://groups.google.com/forum/#!topic/kubernetes-dev/eTnfMJSqmaM
[2]https://github.com/kubernetes/kubernetes/issues/28317

JIRA: YARDSTICK-1149

Change-Id: I821064da56699c5b4f509d233c33e55af119fd56
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
6 years agoUpdate samples/test_suite.yaml 21/55821/3
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>
6 years agoMerge "Bug Fix: correct the file path to build docker file"
Emma Foley [Wed, 9 May 2018 10:34:56 +0000 (10:34 +0000)]
Merge "Bug Fix: correct the file path to build docker file"

6 years agoFix Prox L2fwd generator packet 03/57203/1
Abhijit Sinha [Wed, 9 May 2018 09:34:30 +0000 (10:34 +0100)]
Fix Prox L2fwd generator packet

The Prox L2-fwd test case has a bad packet, which fails
the test case to run in OpenStack context as it's dropped
by the neutron.

This fix is needed to successfully run the L2fwd 2 and
4 port test cases in heat based test cases.

Change-Id: I86df31a6df1eaa6f968e46af159ac6a0157f402c
JIRA: YARDSTICK-1164
Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
6 years agoBug Fix: correct the file path to build docker file 73/57173/4
ting wu [Tue, 8 May 2018 11:51:47 +0000 (13:51 +0200)]
Bug Fix: correct the file path to build docker file

To be able to build a docker file, the path to file
"exec_tests.sh" should be modifed from .docker/exec_tests.sh
to ./exec_tests.sh.

JIRA: YARDSTICK-1157

Change-Id: I0f707ba579039d0efc8f2185b596e23b901c09df
Signed-off-by: ting wu <ting.wu@enea.com>
6 years agoMerge "Fix log typos in benchmark/scenarios/availability"
Emma Foley [Wed, 9 May 2018 09:11:40 +0000 (09:11 +0000)]
Merge "Fix log typos in benchmark/scenarios/availability"

6 years agoMerge "Replace cinder get_volume_id with shade client."
Rodolfo Alonso Hernandez [Wed, 9 May 2018 07:43:37 +0000 (07:43 +0000)]
Merge "Replace cinder get_volume_id with shade client."

6 years agoReplace cinder detach volume with shade client. 71/55571/16
Shobhi Jain [Tue, 10 Apr 2018 14:17:35 +0000 (15:17 +0100)]
Replace cinder detach volume with shade client.

Function detach volume now uses shade client.

JIRA: YARDSTICK-891

Change-Id: Ie437ccf1172cb82dc869963f0d62e31a5ab23ebb
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
6 years agoReplace cinder delete volume with shade client. 23/55423/13
Shobhi Jain [Tue, 10 Apr 2018 13:13:50 +0000 (14:13 +0100)]
Replace cinder delete volume with shade client.

Function delete volume now uses shade client.

JIRA: YARDSTICK-891

Change-Id: I016e1d3bf5972879cad176b56c7282e35413945e
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
6 years agoMerge "Implement Virtual Switch resilience test case"
Ross Brattain [Tue, 8 May 2018 08:57:56 +0000 (08:57 +0000)]
Merge "Implement Virtual Switch resilience test case"

6 years agoMerge "Bug Fix: Start openvswitch service in Centos distro"
Ross Brattain [Tue, 8 May 2018 08:57:44 +0000 (08:57 +0000)]
Merge "Bug Fix: Start openvswitch service in Centos distro"

6 years agoMerge "Add support for restarting a service"
Ross Brattain [Tue, 8 May 2018 08:57:30 +0000 (08:57 +0000)]
Merge "Add support for restarting a service"

6 years agoMerge "Add ODL HA testcase"
Ross Brattain [Tue, 8 May 2018 08:57:19 +0000 (08:57 +0000)]
Merge "Add ODL HA testcase"

6 years agoMerge "Add pod.yaml files for Apex"
Ross Brattain [Tue, 8 May 2018 08:57:04 +0000 (08:57 +0000)]
Merge "Add pod.yaml files for Apex"

6 years agoFix log typos in benchmark/scenarios/availability 57/56757/5
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>
6 years agoReplace cinder create volume with shade client. 05/55405/14
Shobhi Jain [Fri, 6 Apr 2018 13:44:33 +0000 (14:44 +0100)]
Replace cinder create volume with shade client.

Adds get_volume function.
Function create volume now uses shade client.

JIRA: YARDSTICK-891

Change-Id: I0b2fae5f2cf52eaf2e4a0062c858d49bc4ce9ccd
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
6 years agoReplace cinder get_volume_id with shade client. 35/55335/13
Shobhi Jain [Fri, 6 Apr 2018 10:41:54 +0000 (11:41 +0100)]
Replace cinder get_volume_id with shade client.

Function get_volume_id now uses shade client.

JIRA: YARDSTICK-891

Change-Id: I45ae40982a64f677dbbdeb6c9510a0ec9ac973f1
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
6 years agoRe enable pip package unit tests 07/54207/11
Rodolfo Alonso Hernandez [Tue, 20 Mar 2018 14:45:47 +0000 (14:45 +0000)]
Re enable pip package unit tests

In [1] the pip unit test cases were removed, because of a problem in pip3
library. Currently there is a reported error in pip 9.0.2 version, in
_vendor.urllib3 library [2].

This error is solved in [3].

[1]I43b1edc23cebe0db97b6b56a551acd376986dfea
[2]https://github.com/pypa/pip/issues/5079
[3]I2ee28749f146cd3b0e1bf4ed92b51cbe6db8b2f3

JIRA: YARDSTICK-1087

Change-Id: Id4f0e1accf3240b5f27d3698323e679a27f63f87
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
6 years agoMerge "Add IxNetwork API Python Binding package"
Rodolfo Alonso Hernandez [Tue, 8 May 2018 07:02:00 +0000 (07:02 +0000)]
Merge "Add IxNetwork API Python Binding package"

6 years agoJörgen Karlsson standing down as Yardstick committer 33/57133/2
Ross Brattain [Mon, 7 May 2018 17:53:22 +0000 (10:53 -0700)]
Jörgen Karlsson standing down as Yardstick committer

https://lists.opnfv.org/pipermail/opnfv-tsc/2018-May/004333.html

Change-Id: Ida2692c9f5f8e41580a653c8e9b5a05b5d99df00
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoTest case spec for SDN Virtual Switch resilience. 29/56329/4
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>
6 years agoMerge "Add "os_cloud_config" as a new context flag parameter"
Emma Foley [Fri, 4 May 2018 14:54:16 +0000 (14:54 +0000)]
Merge "Add "os_cloud_config" as a new context flag parameter"

6 years agoMerge "Update the dummy-scenario-heat-context testcase"
Rodolfo Alonso Hernandez [Fri, 4 May 2018 13:16:52 +0000 (13:16 +0000)]
Merge "Update the dummy-scenario-heat-context testcase"

6 years agoMerge changes from topics 'YARDSTICK-1147', 'YARDSTICK-1144'
Rodolfo Alonso Hernandez [Fri, 4 May 2018 09:36:32 +0000 (09:36 +0000)]
Merge changes from topics 'YARDSTICK-1147', 'YARDSTICK-1144'

* changes:
  Fix ansible scripts for running in container
  Correctly set PYTHONPATH in Dockerfile

6 years agoParse "dispatcher" options correctly from InfluxDB client 03/56403/6
Rodolfo Alonso Hernandez [Tue, 24 Apr 2018 15:53:11 +0000 (16:53 +0100)]
Parse "dispatcher" options correctly from InfluxDB client

The InfluxDB client needs first to retrieve which dispatchers
are available from "DEFAULT:dispatcher". This parameter accepts
comma separated values. "get_data_db_client" method needs to search
for "influxdb" in this string parameter.

JIRA: YARDSTICK-1136

Change-Id: I5efafcffbd3dbf906ca9bebd75b3717df8bbb75d
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
6 years agoAdd IxNetwork API Python Binding package 15/54615/14
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>
6 years agoFix ansible scripts for running in container 27/57027/2
John O Loughlin [Thu, 3 May 2018 13:19:29 +0000 (14:19 +0100)]
Fix ansible scripts for running in container

JIRA: YARDSTICK-1147

Change-Id: I52dae85a2d97192bc8a48c5aeea3173b3d4de003
Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
6 years agoMQ startup process refactor 87/54887/13
Chornyi, TarasX [Wed, 4 Apr 2018 08:26:09 +0000 (11:26 +0300)]
MQ startup process refactor

YARDSTICK-1112

Change-Id: Id30236e190bae9fb0f5b5ebd4c5e04798e4fd443
Signed-off-by: Chornyi, TarasX <tarasx.chornyi@intel.com>
6 years agoMerge "Remove unused methods in SampleVNF"
Abhijit Sinha [Thu, 3 May 2018 10:59:45 +0000 (10:59 +0000)]
Merge "Remove unused methods in SampleVNF"

6 years agoImplement Virtual Switch resilience test case 87/56487/14
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>
6 years agoBug Fix: Start openvswitch service in Centos distro 67/56767/7
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>
6 years agoAdd support for restarting a service 91/56491/8
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>
6 years agoReplace nova get flavor with shade client. 01/55001/16
Shobhi Jain [Thu, 5 Apr 2018 15:04:08 +0000 (16:04 +0100)]
Replace nova get flavor with shade client.

Rename get_flavor_by_name with get_flavor.
Function get_flavor now uses shade client.

JIRA: YARDSTICK-1088

Change-Id: Ic82127e475baf39643be0a254b177f3058b85748
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
6 years agoReplace nova get server with shade client. 11/54911/20
Shobhi Jain [Fri, 30 Mar 2018 09:45:54 +0000 (10:45 +0100)]
Replace nova get server with shade client.

Rename get_server_by_name with get_server.
Function get_server now uses shade client.

JIRA: YARDSTICK-1088

Change-Id: I69c59145cefdb565f3ece27baaaf932905e1b757
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
6 years agoAdd "os_cloud_config" as a new context flag parameter 77/56677/6
Rodolfo Alonso Hernandez [Thu, 26 Apr 2018 14:24:44 +0000 (15:24 +0100)]
Add "os_cloud_config" as a new context flag parameter

This new parameter will contain the OpenStack cloud specific configuration
used by Shade client. This new flag is used only in Heat context.

By default, this new parameter (dict) will contain this content:
  'os_cloud_config': {'verify': False}

This field will be used by HeatStack [1] to create a Shade cloud. Shade
retrieves, if not defined, the OpenStack configuration from
"os_client_config". This configuration is used to generate the cloud
configuration, which is the description of the OpenStackCloud returned.

The default parameter defined, "verify", refers to the related bug. By
default, in case of using SSL certificate it will not be verified.

[1] https://github.com/opnfv/yardstick/blob/b338d3091bb0beb89d4ad9f7c144f43a31a19a74/yardstick/orchestrator/heat.py#L47

JIRA: YARDSTICK-1139

Change-Id: I875a7018401b84e51dab775b8194174645d27e06
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
6 years agoMerge "Fix nsb_setup.sh script"
Abhijit Sinha [Wed, 2 May 2018 16:49:19 +0000 (16:49 +0000)]
Merge "Fix nsb_setup.sh script"

6 years agoMerge "Move tests: unit/network_services/{lib/,collector/,*.py}"
Abhijit Sinha [Wed, 2 May 2018 16:46:29 +0000 (16:46 +0000)]
Merge "Move tests: unit/network_services/{lib/,collector/,*.py}"

6 years agoFix nsb_setup.sh script 61/56961/2
John O Loughlin [Wed, 2 May 2018 09:03:20 +0000 (10:03 +0100)]
Fix nsb_setup.sh script

Ansible role install_dependencies was renamed
to install_dependencies_jumphost in previous patch.

JIRA: YARDSTICK-1146

Change-Id: Idf7c191151961c1c0e63ad2f75aa0aab8ed2b2fa
Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
6 years agoCorrectly set PYTHONPATH in Dockerfile 57/56957/2
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>
6 years agoMerge "Replace nova attach volume to server with shade client."
Rodolfo Alonso Hernandez [Wed, 2 May 2018 07:24:29 +0000 (07:24 +0000)]
Merge "Replace nova attach volume to server with shade client."

6 years agoMove tests: unit/network_services/{lib/,collector/,*.py} 67/48267/17
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

6 years agoUpdate Dockerfile.aarch64.patch 93/56893/1
Cristina Pauna [Mon, 30 Apr 2018 11:12:49 +0000 (14:12 +0300)]
Update Dockerfile.aarch64.patch

The patch doesn't apply anymore for the latest docker builds.
Updated the patch to accomodate the latest changes to the Dockerfile

Change-Id: Ia8a35337a421b3628c90be3060f049c655446758
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
6 years agoMerge "Add active wait function"
Rodolfo Alonso Hernandez [Mon, 30 Apr 2018 10:26:03 +0000 (10:26 +0000)]
Merge "Add active wait function"

6 years agoReplace nova attach volume to server with shade client. 61/54561/21
Shobhi Jain [Wed, 28 Mar 2018 11:19:35 +0000 (12:19 +0100)]
Replace nova attach volume to server with shade client.

Function attach_volume_to_server now uses shade client
instead of nova client.

JIRA: YARDSTICK-1088

Change-Id: Id00df672c2c195b5c338cbbc30ddf2742a4e4d29
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
6 years agoMerge "Migrate install.sh script to ansible"
Rodolfo Alonso Hernandez [Fri, 27 Apr 2018 08:55:37 +0000 (08:55 +0000)]
Merge "Migrate install.sh script to ansible"

6 years agoAdd active wait function 63/56063/10
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>
6 years agoMerge "Get HA test case results on failure"
Ross Brattain [Thu, 26 Apr 2018 14:11:27 +0000 (14:11 +0000)]
Merge "Get HA test case results on failure"

6 years agoMigrate install.sh script to ansible 35/52935/17
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>
6 years agoMerge "OpenStack deployment using kolla"
Rodolfo Alonso Hernandez [Thu, 26 Apr 2018 09:23:10 +0000 (09:23 +0000)]
Merge "OpenStack deployment using kolla"

6 years agoMerge "Replace nova delete keypair with shade client."
Rodolfo Alonso Hernandez [Thu, 26 Apr 2018 09:04:41 +0000 (09:04 +0000)]
Merge "Replace nova delete keypair with shade client."

6 years agoMerge "Replace nova client create keypair with shade."
Rodolfo Alonso Hernandez [Thu, 26 Apr 2018 09:04:38 +0000 (09:04 +0000)]
Merge "Replace nova client create keypair with shade."

6 years agoMerge "Remove unused nova client functions."
Rodolfo Alonso Hernandez [Thu, 26 Apr 2018 09:04:32 +0000 (09:04 +0000)]
Merge "Remove unused nova client functions."

6 years agoMerge "Replace nova delete instance with shade client."
Rodolfo Alonso Hernandez [Thu, 26 Apr 2018 09:04:28 +0000 (09:04 +0000)]
Merge "Replace nova delete instance with shade client."

6 years agoMerge "Replace nova create instance with shade client."
Rodolfo Alonso Hernandez [Thu, 26 Apr 2018 09:04:25 +0000 (09:04 +0000)]
Merge "Replace nova create instance with shade client."

6 years agoOpenStack deployment using kolla 15/54015/12
Stepan Andrushko [Fri, 16 Mar 2018 18:53:06 +0000 (20:53 +0200)]
OpenStack deployment using kolla

OpenStack deployment using Kolla installer for all-in-one mode and
multinode inside VMs which are already created. Two types of OpenStack
nodes are supported as input in sample files, like
infra_deploy_two.yaml.sample: controller and compute.

JIRA: YARDSTICK-1078

Change-Id: I51616a7a17ac565a01ec6da57b589290237d18ee
Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
6 years agoMerge "Add dashboard for TC058"
Ross Brattain [Thu, 26 Apr 2018 06:37:53 +0000 (06:37 +0000)]
Merge "Add dashboard for TC058"

6 years ago[release] Yardstick Fraser 6.0.0 Release notes 69/56169/15
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>
6 years agonsb_setup: parametrize docker image 93/56493/3
Ross Brattain [Wed, 25 Apr 2018 14:47:35 +0000 (07:47 -0700)]
nsb_setup: parametrize docker image

The user may need to pull a different image stable or a
tagged release version.

Since we can't pull a tagged image before it is tagged
just give up and make it an argument

JIRA: YARDSTICK-1137

Change-Id: I0caf0f8915c191786c7db6d929be2fa350a545af
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoMerge "Fix "os.path" mock problems during tests"
Ross Brattain [Thu, 26 Apr 2018 04:57:44 +0000 (04:57 +0000)]
Merge "Fix "os.path" mock problems during tests"

6 years agoMerge "Bugfix: ansible can't not run without config"
Rex Lee [Thu, 26 Apr 2018 02:04:54 +0000 (02:04 +0000)]
Merge "Bugfix: ansible can't not run without config"

6 years agoFix "os.path" mock problems during tests 19/56119/10
Ross Brattain [Thu, 19 Apr 2018 05:16:32 +0000 (22:16 -0700)]
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>
6 years agoMerge "OpenStack deployment: delete RS or all VMs"
Rodolfo Alonso Hernandez [Wed, 25 Apr 2018 17:14:02 +0000 (17:14 +0000)]
Merge "OpenStack deployment: delete RS or all VMs"

6 years agoMerge "Add docker support for Ubuntu 17.10 with Yardstick"
Rodolfo Alonso Hernandez [Wed, 25 Apr 2018 16:50:25 +0000 (16:50 +0000)]
Merge "Add docker support for Ubuntu 17.10 with Yardstick"

6 years agoDocument for Euphrates test case results 27/56227/7
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>
6 years agoBugfix: ansible can't not run without config 09/56309/1
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>