summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-05-15Fix PROX throughput result calculationAbhijit Sinha2-2/+1
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>
2018-05-14Merge "Fix Prox L2fwd generator packet"Abhijit Sinha2-12/+7
2018-05-10Merge "nsb_setup: parametrize docker image"Emma Foley2-1/+9
2018-05-10Merge "Update samples/test_suite.yaml"Abhijit Sinha1-1/+2
2018-05-09Merge "Re enable pip package unit tests"Rodolfo Alonso Hernandez1-0/+88
2018-05-09Update samples/test_suite.yamlEmma Foley1-1/+2
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>
2018-05-09Merge "Bug Fix: correct the file path to build docker file"Emma Foley2-13/+12
2018-05-09Fix Prox L2fwd generator packetAbhijit Sinha2-12/+7
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>
2018-05-09Bug Fix: correct the file path to build docker fileting wu2-13/+12
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>
2018-05-09Merge "Fix log typos in benchmark/scenarios/availability"Emma Foley8-40/+36
2018-05-09Merge "Replace cinder get_volume_id with shade client."Rodolfo Alonso Hernandez2-3/+24
2018-05-08Merge "Implement Virtual Switch resilience test case"Ross Brattain3-0/+329
2018-05-08Merge "Bug Fix: Start openvswitch service in Centos distro"Ross Brattain1-4/+2
2018-05-08Merge "Add support for restarting a service"Ross Brattain1-3/+4
2018-05-08Merge "Add ODL HA testcase"Ross Brattain2-0/+283
2018-05-08Merge "Add pod.yaml files for Apex"Ross Brattain3-0/+153
2018-05-08Fix log typos in benchmark/scenarios/availabilityMiikka Koistinen8-40/+36
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>
2018-05-08Replace cinder get_volume_id with shade client.Shobhi Jain2-3/+24
Function get_volume_id now uses shade client. JIRA: YARDSTICK-891 Change-Id: I45ae40982a64f677dbbdeb6c9510a0ec9ac973f1 Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
2018-05-08Re enable pip package unit testsRodolfo Alonso Hernandez1-0/+88
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>
2018-05-08Merge "Add IxNetwork API Python Binding package"Rodolfo Alonso Hernandez17-116/+65
2018-05-07Jörgen Karlsson standing down as Yardstick committerRoss Brattain2-5/+0
https://lists.opnfv.org/pipermail/opnfv-tsc/2018-May/004333.html Change-Id: Ida2692c9f5f8e41580a653c8e9b5a05b5d99df00 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2018-05-04Merge "Add "os_cloud_config" as a new context flag parameter"Emma Foley9-27/+97
2018-05-04Merge "Update the dummy-scenario-heat-context testcase"Rodolfo Alonso Hernandez1-3/+4
2018-05-04Merge changes from topics 'YARDSTICK-1147', 'YARDSTICK-1144'Rodolfo Alonso Hernandez2-8/+10
* changes: Fix ansible scripts for running in container Correctly set PYTHONPATH in Dockerfile
2018-05-04Add IxNetwork API Python Binding packageRodolfo Alonso Hernandez17-116/+65
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>
2018-05-03Fix ansible scripts for running in containerJohn O Loughlin2-6/+8
JIRA: YARDSTICK-1147 Change-Id: I52dae85a2d97192bc8a48c5aeea3173b3d4de003 Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
2018-05-03MQ startup process refactorChornyi, TarasX4-34/+67
YARDSTICK-1112 Change-Id: Id30236e190bae9fb0f5b5ebd4c5e04798e4fd443 Signed-off-by: Chornyi, TarasX <tarasx.chornyi@intel.com>
2018-05-03Merge "Remove unused methods in SampleVNF"Abhijit Sinha2-90/+0
2018-05-03Implement Virtual Switch resilience test caseDimitrios Markou3-0/+329
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>
2018-05-03Bug Fix: Start openvswitch service in Centos distroDimitrios Markou1-4/+2
JIRA: YARDSTICK-1142 Change-Id: I82c479c95e10de37416081eacf2d8bee396e50dc Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
2018-05-03Add support for restarting a serviceDimitrios Markou1-3/+4
JIRA: YARDSTICK-1138 Change-Id: Id57defb574eb7e0f5be81b52803cdb05f46796ab Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
2018-05-03Replace nova get flavor with shade client.Shobhi Jain5-31/+104
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>
2018-05-03Replace nova get server with shade client.Shobhi Jain5-78/+125
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>
2018-05-03Add "os_cloud_config" as a new context flag parameterRodolfo Alonso Hernandez9-27/+97
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>
2018-05-02Merge "Fix nsb_setup.sh script"Abhijit Sinha2-20/+1
2018-05-02Merge "Move tests: unit/network_services/{lib/,collector/,*.py}"Abhijit Sinha9-26/+8
2018-05-02Fix nsb_setup.sh scriptJohn O Loughlin2-20/+1
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>
2018-05-02Correctly set PYTHONPATH in DockerfileJohn O Loughlin1-2/+2
JIRA: YARDSTICK-1144 Change-Id: I8c0fe229ed620417a85356e017b171260373c43f Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
2018-05-02Merge "Replace nova attach volume to server with shade client."Rodolfo Alonso Hernandez5-35/+115
2018-05-02Move tests: unit/network_services/{lib/,collector/,*.py}Emma Foley9-26/+8
* 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
2018-04-30Update Dockerfile.aarch64.patchCristina Pauna1-18/+12
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>
2018-04-30Merge "Add active wait function"Rodolfo Alonso Hernandez3-2/+84
2018-04-30Replace nova attach volume to server with shade client.Shobhi Jain5-35/+115
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>
2018-04-27Merge "Migrate install.sh script to ansible"Rodolfo Alonso Hernandez20-32/+550
2018-04-27Add active wait functionRodolfo Alonso Hernandez3-2/+84
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>
2018-04-26Merge "Get HA test case results on failure"Ross Brattain5-75/+55
2018-04-26Migrate install.sh script to ansibleJohn O Loughlin20-32/+550
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>
2018-04-26Merge "OpenStack deployment using kolla"Rodolfo Alonso Hernandez21-30/+1059
2018-04-26Merge "Replace nova delete keypair with shade client."Rodolfo Alonso Hernandez5-32/+92
2018-04-26Merge "Replace nova client create keypair with shade."Rodolfo Alonso Hernandez5-51/+102