yardstick.git
6 years agoMove test requirements into test-requirements.txt 33/47133/6
Emma Foley [Tue, 7 Nov 2017 22:52:42 +0000 (22:52 +0000)]
Move test requirements into test-requirements.txt

Move the packages required for testing into test-requirements.txt
This follows conventions used in OpenStack projects.

JIRA: YARDSTICK-837
Change-Id: If08fc416aa21b11250066bc19a54daa35e863407
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
6 years agotox: Split tests into separate tox environments 73/46873/6
Emma Foley [Tue, 7 Nov 2017 20:29:03 +0000 (20:29 +0000)]
tox: Split tests into separate tox environments

* Add argument parsing to run_tests.sh so tests can be selected
* Define tox environments for:
  * Coverage
  * Unit tests
  * Functional tests
    * for py27 and py3
* Add environments to default env
  * Behaviour is the same when the tests are run
* Updates the py27 environment config, and adds a py3 config.
  * Commands from testenv are moved to py27
  * py3 env uses the same commands, but runs with python3

Change-Id: I22f17c0103101f01ec268b1de9d146780ae67a6d
JIRA: YARDSTICK-837
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
6 years agoTox: add a pep8 target 75/46575/14
Emma Foley [Thu, 2 Nov 2017 16:50:14 +0000 (16:50 +0000)]
Tox: add a pep8 target

Adds a pep8, pep8-full targets to tox:
* pep8 target: runs pylint on the changed files
* pep8-full target: runs pylint on whole repo

Adds scripts to run pylint:
* stored in tools/

Documentation: changeed the command for running tests
(run_tests.sh -> tox). This runs the same set of tests as before.

JIRA: YARDSTICK-832

Change-Id: I652da87723682d958f3fcbc2eb4cd88422636a3b
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
6 years agoMerge "Check requirements against OpenStack requirements"
Ross Brattain [Fri, 17 Nov 2017 09:55:41 +0000 (09:55 +0000)]
Merge "Check requirements against OpenStack requirements"

6 years agoMerge "NSB Prox BM test case fixes for scale up"
Ross Brattain [Fri, 17 Nov 2017 09:48:39 +0000 (09:48 +0000)]
Merge "NSB Prox BM test case fixes for scale up"

6 years agoMerge "Fix controller IP parsing in "nsb_setup.sh" script"
Ross Brattain [Fri, 17 Nov 2017 09:46:46 +0000 (09:46 +0000)]
Merge "Fix controller IP parsing in "nsb_setup.sh" script"

6 years agoMerge "Clean functional tests in "test_cli_scenario""
Ross Brattain [Fri, 17 Nov 2017 09:46:00 +0000 (09:46 +0000)]
Merge "Clean functional tests in "test_cli_scenario""

6 years agoMerge "Create get_description and get_scenario_type for Scenario"
Ross Brattain [Fri, 17 Nov 2017 09:45:55 +0000 (09:45 +0000)]
Merge "Create get_description and get_scenario_type for Scenario"

6 years agoFix controller IP parsing in "nsb_setup.sh" script 11/46311/6
Rodolfo Alonso Hernandez [Fri, 27 Oct 2017 10:43:29 +0000 (11:43 +0100)]
Fix controller IP parsing in "nsb_setup.sh" script

Fixed the controller IP parsing in "nsb_setup.sh" script. The new
regex expression now accepts "OS_AUTH_URL" as:
  * http://10.237.223.168/identity
  * http://10.237.223.168:5000/identity
  * http://hostname/identity
  * http://hostname:5000/identity

JIRA: YARDSTICK-829

Change-Id: Ifaeab991bcbb6aa7b22c3533ab7554527184878b
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
6 years agoNSB "Prox" : Cleanup duplicated traffic profile 67/47367/1
Abhijit Sinha [Thu, 16 Nov 2017 17:40:02 +0000 (17:40 +0000)]
NSB "Prox" : Cleanup duplicated traffic profile

JIRA: YARDSTICK-848

The NSB PROX MPLS test uses Binsearch traffic
profile and the mpls traffic profile is a duplicate.

Change-Id: Ie2124cebf306fd6917b70ecd7c23ae12ef4850dc
Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
6 years agoNSB TRex: convert DPDK port number to logical TRex port number 99/46599/10
Ross Brattain [Thu, 2 Nov 2017 23:54:56 +0000 (16:54 -0700)]
NSB TRex: convert DPDK port number to logical TRex port number

when we create TRex config we sort based on PCI bus address
and create a logical port ordering.

We need to save this port ordering and re-use it everywhere.

redirect vnfd_helper.port_num() to resource_helper.port_num() to
use the logical mapping

Change-Id: Ibff628556d5e11e686e15716a66a3210758c4ff0
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoNSB Prox BM test case fixes for scale up 31/47131/2
Abhijit Sinha [Mon, 13 Nov 2017 17:23:27 +0000 (17:23 +0000)]
NSB Prox BM test case fixes for scale up

YARDSTICK-839

In a scale-up test the VNF number can start from
0 to MAX (num_vnf-1)

The NSB PROX BM test nodes are currently marked as:
    tg__0: trafficgen_1.yardstick
    vnf__0: vnf.yardstick
They need to be changed to the below:
    tg__0: tg_0.yardstick
    vnf__0: vnf_0.yardstick

Changes done are:
- All BM Prox test cases have tg_0 and vnf_0 as default
  test nodes
- The prox-baremetal-1/2/4.yaml sample pod file
- Cleaned Up some unused Prox test/config files

Change-Id: I819011bcb35eda62b17dd3e1035918918c582b13
Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
7 years agoMerge "Remove network_services.vnf_generic.vnf.prox_helpers.ProxSocketHelper.rx_stats"
Ross Brattain [Fri, 10 Nov 2017 15:09:57 +0000 (15:09 +0000)]
Merge "Remove network_services.vnf_generic.vnf.prox_helpers.ProxSocketHelper.rx_stats"

7 years agoMerge "tc053 kill haproxy wrong mismatch"
Ross Brattain [Fri, 10 Nov 2017 15:06:20 +0000 (15:06 +0000)]
Merge "tc053 kill haproxy wrong mismatch"

7 years agoMerge "Heat: add availability_zone"
Ross Brattain [Fri, 10 Nov 2017 15:05:51 +0000 (15:05 +0000)]
Merge "Heat: add availability_zone"

7 years agoMerge "Update links to documentation in README.rst"
Ross Brattain [Fri, 10 Nov 2017 15:04:57 +0000 (15:04 +0000)]
Merge "Update links to documentation in README.rst"

7 years agoMerge "NSB: fix vpe_config license"
Ross Brattain [Fri, 10 Nov 2017 14:59:30 +0000 (14:59 +0000)]
Merge "NSB: fix vpe_config license"

7 years agoMerge "pmu: remove event_download_local workaround script"
Ross Brattain [Fri, 10 Nov 2017 14:58:03 +0000 (14:58 +0000)]
Merge "pmu: remove event_download_local workaround script"

7 years agoNSB: fix vpe_config license 31/47031/1
Ross Brattain [Thu, 9 Nov 2017 15:40:23 +0000 (15:40 +0000)]
NSB: fix vpe_config license

Use Apache 2.0

Change-Id: I199d09f04a5c84a25bd91dceba5e4ed1f93075f6
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoCheck requirements against OpenStack requirements 75/46975/3
Rodolfo Alonso Hernandez [Wed, 8 Nov 2017 17:55:54 +0000 (17:55 +0000)]
Check requirements against OpenStack requirements

Added a new tox environment to check the project requirements against
the OpenStack requirements. The openstack/requirements branch used will
depends on Yardstick release development.

At this point, Yardstick F release must be compliant with OpenStack Pike
release.

Change-Id: I77a4cfa4f99674176c3f5711dc1b6787bb400ecf
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
7 years agoAddition of IPv6 icpm, udp and tcp to Neutron Security Group 61/46661/4
DanielMartinBuckley [Fri, 3 Nov 2017 11:28:23 +0000 (11:28 +0000)]
Addition of IPv6 icpm, udp and tcp to Neutron Security Group

When creating a Neutron security group for a heat template. Add
IPv6 security group rules to access the resouces.

Change-Id: I0b541dfe400121e35908a70778665ee1576f0622
Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
7 years agoMerge "NSB Prox LW_AFTR Test"
Ross Brattain [Thu, 9 Nov 2017 10:18:21 +0000 (10:18 +0000)]
Merge "NSB Prox LW_AFTR Test"

7 years agoRemove network_services.vnf_generic.vnf.prox_helpers.ProxSocketHelper.rx_stats 79/46879/1
Emma Foley [Wed, 8 Nov 2017 17:48:59 +0000 (17:48 +0000)]
Remove network_services.vnf_generic.vnf.prox_helpers.ProxSocketHelper.rx_stats

* Remove the method which is unused and is marked as deprecated.

Change-Id: Ie64084fcd26985283c664445b173a757d3d908ab
JIRA: YARDSTICK-838
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
7 years agopmu: remove event_download_local workaround script 13/46813/3
Ross Brattain [Tue, 7 Nov 2017 19:49:47 +0000 (19:49 +0000)]
pmu: remove event_download_local workaround script

intel_pmu needs to download a config file based on the
CPU model.  When generating VNF images we don't have
access to the actual vCPU that will be used, so we
can't predownload.  This code was meant to be a fix
for that by downloading all the configs and then
selecting one that matched the vCPU.

However we have license issues with intel_pmu enven GPLv2 code,
so remove it for now.

Change-Id: I5257ff7c4ddc1d40537dadb29efa40d1d68cb852
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoFixed incorrect Copyright Notice 07/46807/3
DanielMartinBuckley [Tue, 7 Nov 2017 17:48:18 +0000 (17:48 +0000)]
Fixed incorrect Copyright Notice

Changed Copyright notice on tuples.lua from "Intel Copyright" to Apache 2.0

Change-Id: I85e6f9eb86c116d552f86cddf05b3b368b32f776
Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
7 years agoClean functional tests in "test_cli_scenario" 79/46979/1
Rodolfo Alonso Hernandez [Tue, 7 Nov 2017 16:48:15 +0000 (16:48 +0000)]
Clean functional tests in "test_cli_scenario"

Changed how "test_cli_scenario" tests check the presence
of a string.

Fixed "test_scenario_show_Lmbench": logic in [1] was incorrectly
assigning an string value instead of the result of the "in"
clause.

[1] https://github.com/opnfv/yardstick/blob/stable/euphrates/tests/functional/test_cli_scenario.py#L35-L36

Change-Id: I71fceabad972e4c0d9e78cbfeb85dcd6a5ae4bda
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
7 years agoCreate get_description and get_scenario_type for Scenario 77/46977/1
Rodolfo Alonso Hernandez [Tue, 7 Nov 2017 16:27:43 +0000 (16:27 +0000)]
Create get_description and get_scenario_type for Scenario

Created two new class functions for Scenario class:

* "get_description" will return the first line of the docstring,
  if exists.
* "get_scenario_type" will return the value of "__scenario_type__"
  variable.

Change-Id: I8e3b47e33e0bae101b874c3975bb9c383397d188
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
7 years agoNSB Prox LW_AFTR Test 75/44775/14
DanielMartinBuckley [Wed, 11 Oct 2017 11:05:54 +0000 (12:05 +0100)]
NSB Prox LW_AFTR Test

JIRA: YARDSTICK-802

Addition of PROX LW_AFTR basked on PROX/DATS v037 test_104_lw_aftr.py
- This support BM and Openstack Heat
- This supports 4 Ports ONLY
- Grafana Dashboards included
- Code Coverage / Unit testing

Change-Id: If2170ab458bf687256d5f1a1e840a3b9d2788ef7
Signed-off-by: Daniel MArtin Buckley <daniel.m.buckley@intel.com>
Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
7 years agotest_sample_vnf: mock time 01/46601/1
Ross Brattain [Fri, 3 Nov 2017 01:12:33 +0000 (18:12 -0700)]
test_sample_vnf: mock time

Change-Id: Id8aa734fee431d90cbdc1e0eb2173784ada822fe
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoUpdate links to documentation in README.rst 83/46583/1
Emma Foley [Tue, 31 Oct 2017 15:53:05 +0000 (15:53 +0000)]
Update links to documentation in README.rst

The links to the docs in README were pointing to Colorodo documentation.

For master, this should not be pinned to a particular release, but
should show the most recent docs at all times.

Change-Id: I3186ea0dbc5105812407a0f87e02d99899a951a0
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
7 years agoHeat: add availability_zone 79/40179/7
Ross Brattain [Thu, 24 Aug 2017 22:06:50 +0000 (15:06 -0700)]
Heat: add availability_zone

Users would like to ensure placement of VMs on specific compute nodes so
that the measurements are meaningful. Examples: Measure network
performance in different scenarios (VMs in same host, in different
hosts, across fabric, across tenants)

Example:

context:
  name: yardstick
  placement_groups:
    pgrp1:
      policy: "availability"
  servers:
    tg_0:
      floating_ip: true
      placement: "pgrp1"
      availability_zone: "zone2"
    vnf_0:
      floating_ip: true
      placement: "pgrp1"
      availability_zone: "zone1"

Change-Id: I28a757c25ae3f5b3571ab3edd82d51ceba32c302
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoNSB: remove validate_cpu_cfg and all app cpu methods 49/46349/2
Ross Brattain [Fri, 27 Oct 2017 20:43:28 +0000 (13:43 -0700)]
NSB: remove validate_cpu_cfg and all app cpu methods

We don't really know what core we are going to use for the
VNF before we generate the MultiPortConfig, so these
methods are incorrect.

We may need some more advanced method to validate
the vCPU topology, but that will probably happen
in the MultiPortConfig

Change-Id: Ifee7ae4589ce0fce67771fb8d8b8dce0a0f06409
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoMerge "resource: remove cores args"
Ross Brattain [Tue, 31 Oct 2017 22:37:43 +0000 (22:37 +0000)]
Merge "resource: remove cores args"

7 years agoixia: add 1024 and 1280 byte packet size to Ixia ipv4 traffic profile 45/46145/2
Ross Brattain [Mon, 23 Oct 2017 21:07:01 +0000 (14:07 -0700)]
ixia: add 1024 and 1280 byte packet size to Ixia ipv4 traffic profile

This brings it to parity with its non-Ixia counterpart (ipv4_throughput.yaml).

Change-Id: I4c91d1ae507c7b5e0a23dcf49606b16891b400bd
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agotc053 kill haproxy wrong mismatch 97/46297/2
rexlee8776 [Fri, 27 Oct 2017 09:23:16 +0000 (17:23 +0800)]
tc053 kill haproxy wrong mismatch

JIRA: YARDSTICK-831

Change-Id: I587c486572f439952b8a31da664d1e2c1fb8dc27
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
7 years agoresource: remove cores args 67/45267/6
Ross Brattain [Mon, 16 Oct 2017 21:30:13 +0000 (14:30 -0700)]
resource: remove cores args

We used to try to probe all the cores that the VNF was using
and only dump CPU stats for those cores.

We can't really detect those core accurately and we would rather
dump all the core information and let influxdb and grafana filter
the information.

We do end up with excessive KPI output, especially on systems with 88
cores, but this is manageable.

The core logic was partially removed, this finishes the removal.

Change-Id: I5cbb694fd982519e2df54db49a21ed5948e13537
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoMerge "KVMFORNFV: To avoid livemigration result update to json"
Jing Lu [Thu, 26 Oct 2017 07:50:50 +0000 (07:50 +0000)]
Merge "KVMFORNFV: To avoid livemigration result update to json"

7 years agoKVMFORNFV: To avoid livemigration result update to json 27/45227/15
Navya [Mon, 16 Oct 2017 14:26:41 +0000 (07:26 -0700)]
KVMFORNFV: To avoid livemigration result update to json

This patch is used to remove the livemigration testcase result loaded
to json as there is no dashboard implemented for the testcase

Change-Id: I7a9589a0bbc5f2a28587c2878da042fc50af18e0
Signed-off-by: Navya Bathula <navyax.bathula@intel.com>
7 years agoRemoving trailing whitespace 95/46195/1
JingLu5 [Wed, 25 Oct 2017 02:13:01 +0000 (02:13 +0000)]
Removing trailing whitespace

Change-Id: I0380deec3e41a6dc02571ed9c4fa16e304f7f85e
Signed-off-by: JingLu5 <lvjing5@huawei.com>
7 years agoAdd "How to work with test case" into devguide 05/46105/2
kubi [Mon, 23 Oct 2017 07:51:03 +0000 (15:51 +0800)]
Add "How to work with test case" into devguide

JIRA: YARDSTICK-73

add a new chapter about how to work with test case, now just add three sub chapter,

sample test case, release test case, test case description file, will update more for

how to write a new test case.

Change-Id: I44906917e76ad6d4890f345c963b9e4440f6be39
Signed-off-by: kubi <jean.gaoliang@huawei.com>
7 years agoBugFix: Fix to pod filename ext and prox path 13/46113/1
Abhijit Sinha [Mon, 23 Oct 2017 09:27:27 +0000 (10:27 +0100)]
BugFix: Fix to pod filename ext and prox path

As per defect:
- the "context:" stanza of every tc_prox_baremetal*.yaml"
 file has an incorrect pathname for the config file

-  tc_prox_baremetal_binsearch.yaml and
tc_prox_baremetal_ramp.yaml refer to
"prox-baremetal.yml", which idoes not exist

- incorrect prox bin path

Resolution:
- Unify the pod file name and path for all BM tests
- Prox bin path changed to "/opt/nsb_bin/prox"

Change-Id: I16b25189104ad5585ddc1c2c0dd71b3c4c2aecd3
Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
7 years agoMerge "Fix Malformed Table in User Guide docs"
Jing Lu [Fri, 20 Oct 2017 23:42:36 +0000 (23:42 +0000)]
Merge "Fix Malformed Table in User Guide docs"

7 years agoMerge "Added NSB sample Test Case documentation."
Jing Lu [Fri, 20 Oct 2017 23:41:08 +0000 (23:41 +0000)]
Merge "Added NSB sample Test Case documentation."

7 years agoFix Malformed Table in User Guide docs 59/46059/1
Trevor Bramwell [Fri, 20 Oct 2017 18:35:27 +0000 (11:35 -0700)]
Fix Malformed Table in User Guide docs

Change-Id: I2f98b75e9bbcd3d0cd4666c097a3280dd89eb02a
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
7 years agoAdded NSB sample Test Case documentation. 87/45887/3
Maciej Skrocki [Thu, 19 Oct 2017 21:02:00 +0000 (14:02 -0700)]
Added NSB sample Test Case documentation.

Update:
Added Prox NSB test case documentation

Change-Id: Ia2f47d823581fc7f193d3123f080dd87f29d4b99
Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
7 years agoDocs: add yardstick gui descrption in userguide 27/45927/3
JingLu5 [Fri, 20 Oct 2017 03:04:12 +0000 (03:04 +0000)]
Docs: add yardstick gui descrption in userguide

Change-Id: I09bc55e296d2c641f10819972ec0d48a289432b8
Signed-off-by: JingLu5 <lvjing5@huawei.com>
7 years agoMerge "Docs: update new test cases in release note"
Jing Lu [Fri, 20 Oct 2017 01:52:06 +0000 (01:52 +0000)]
Merge "Docs: update new test cases in release note"

7 years agoDocs: update new test cases in release note 91/45791/2
JingLu5 [Thu, 19 Oct 2017 09:49:51 +0000 (09:49 +0000)]
Docs: update new test cases in release note

Change-Id: Ie5ff6fe4f867ce68a33a3a857d8d051ba0020395
Signed-off-by: JingLu5 <lvjing5@huawei.com>
7 years agoMerge "nsb_installation: updates"
Trevor Cooper [Thu, 19 Oct 2017 21:52:53 +0000 (21:52 +0000)]
Merge "nsb_installation: updates"

7 years agonsb_installation: updates 95/45395/24
Ross Brattain [Tue, 17 Oct 2017 21:38:39 +0000 (14:38 -0700)]
nsb_installation: updates

JIRA: YARDSTICK-500

Change-Id: I6eef884ef6262abe49fc13bc353ca14a72a5b648
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Martin Banszel <martinx.banszel@intel.com>
Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
7 years agoMerge "NSB: fix trex config to use dpdk port number"
Ross Brattain [Thu, 19 Oct 2017 17:09:22 +0000 (17:09 +0000)]
Merge "NSB: fix trex config to use dpdk port number"

7 years agoMerge "BugFix: Negative dropped packets in Prox tests"
Ross Brattain [Thu, 19 Oct 2017 15:52:50 +0000 (15:52 +0000)]
Merge "BugFix: Negative dropped packets in Prox tests"

7 years agoBugFix: Negative dropped packets in Prox tests 77/45577/3
Abhijit Sinha [Wed, 18 Oct 2017 15:44:45 +0000 (16:44 +0100)]
BugFix: Negative dropped packets in Prox tests

Removed the abs function which can potentially mask
negative dropped packets.

Dropped packets in Prox workload VNF = rx_packets - tx_packets

Change-Id: I510a351e899cdf9a1f366d632b9f0528b1d9dcce
Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
7 years agoMerge "Adding sample trex example"
Ross Brattain [Thu, 19 Oct 2017 15:07:31 +0000 (15:07 +0000)]
Merge "Adding sample trex example"

7 years agoMerge "Add missing RFC2544 Ethernet frame sizes"
Rex Lee [Thu, 19 Oct 2017 12:23:57 +0000 (12:23 +0000)]
Merge "Add missing RFC2544 Ethernet frame sizes"

7 years agoMerge "DRAFT: update release notes for Euphrates"
Jing Lu [Thu, 19 Oct 2017 09:15:53 +0000 (09:15 +0000)]
Merge "DRAFT: update release notes for Euphrates"

7 years agoBugfix: move opnfv_os-odl-fdio_dvr-noha_daily.yaml to 'test_suites' directory 73/45773/1
JingLu5 [Thu, 19 Oct 2017 08:26:13 +0000 (08:26 +0000)]
Bugfix: move opnfv_os-odl-fdio_dvr-noha_daily.yaml to 'test_suites' directory

The opnfv_os-odl-fdio_dvr-noha_daily.yaml test suite file is wrongly put in Yardstick root directory,
this patch moves this file to the 'test_suites' directory.

Change-Id: Ib3f75845c7af658dc6f96ac2de737cfbd1faf15a
Signed-off-by: JingLu5 <lvjing5@huawei.com>
7 years agoMerge "Docs: update new implemented APIs"
Jing Lu [Thu, 19 Oct 2017 08:19:34 +0000 (08:19 +0000)]
Merge "Docs: update new implemented APIs"

7 years agoDocs: update new implemented APIs 11/45711/7
JingLu5 [Thu, 19 Oct 2017 03:07:39 +0000 (03:07 +0000)]
Docs: update new implemented APIs

Change-Id: If6b70791213099d53c82993bd22ac9eed6000c32
Signed-off-by: JingLu5 <lvjing5@huawei.com>
7 years agoDRAFT: update release notes for Euphrates 29/45629/4
Ross Brattain [Wed, 18 Oct 2017 22:18:52 +0000 (15:18 -0700)]
DRAFT: update release notes for Euphrates

Change-Id: I7e437612ca52b75b71e38962a84d0dcdb453d5dd
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoMerge "tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex.yaml updated"
Ross Brattain [Thu, 19 Oct 2017 04:43:51 +0000 (04:43 +0000)]
Merge "tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex.yaml updated"

7 years agoMerge "Create the ovs-vswitchd logging directory"
Ross Brattain [Thu, 19 Oct 2017 04:34:36 +0000 (04:34 +0000)]
Merge "Create the ovs-vswitchd logging directory"

7 years agoNSB: update vfw scale-out testcases 29/45729/2
Ross Brattain [Thu, 19 Oct 2017 03:53:53 +0000 (20:53 -0700)]
NSB: update vfw scale-out testcases

Change-Id: I6bd8a87f70954f288975e3e73e3cfbd36ae561dc
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoMerge "add CheckConnectivity scenario"
Jing Lu [Thu, 19 Oct 2017 02:04:58 +0000 (02:04 +0000)]
Merge "add CheckConnectivity scenario"

7 years agoadd CheckConnectivity scenario 49/44749/12
JingLu5 [Wed, 11 Oct 2017 05:54:25 +0000 (05:54 +0000)]
add CheckConnectivity scenario

Change-Id: I9d246828790467c2a57ba410826ee9751fff89c5
Signed-off-by: JingLu5 <lvjing5@huawei.com>
7 years agoNSB: fix trex config to use dpdk port number 97/45697/1
Ross Brattain [Thu, 19 Oct 2017 01:14:13 +0000 (18:14 -0700)]
NSB: fix trex config to use dpdk port number

From some reason Heat/Neutron is now creating
interfaces such that xe0 and xe1 are swapped.

xe0  fa:16:3e:38:c7:66  0000:00:05.0
xe1  fa:16:3e:2f:f3:e2  0000:00:03.0

this causes the DPDK port numbering to be swapped.

xe0 is DPDK port 1 because it has higher PCI address
xe1 is DPDK port 0 because it has lower PCI address.

The VNF is configured correctly because it uses DPDK port numbers,
whereas TRex was using interface list ordering.

Modify trex_cfg.yaml to use DPDK port ordering.  This also
requires running generate_cfg() after setup() in instantiate()

+------------------------------------+-------------------+------------------------------+--------+
| Name                               | MAC Address       | Fixed IP Addresses           | Status |
+------------------------------------+-------------------+------------------------------+--------+
| vnf_0.yardstick-af5ccb47-xe0-port  | fa:16:3e:66:a5:e4 | ip_address='10.1.0.7',       | ACTIVE |
| vnf_0.yardstick-af5ccb47-mgmt-port | fa:16:3e:fa:98:fe | ip_address='10.0.1.10',      | ACTIVE |
| tg_0.yardstick-af5ccb47-xe1-port   | fa:16:3e:2f:f3:e2 | ip_address='10.1.1.9',       | ACTIVE |
| vnf_0.yardstick-af5ccb47-xe1-port  | fa:16:3e:f3:1d:f5 | ip_address='10.1.1.4',       | ACTIVE |
|                                    | fa:16:3e:e3:8c:65 | ip_address='10.0.1.1',       | ACTIVE |
|                                    | fa:16:3e:ff:d1:b7 | ip_address='11.191.14.110',  | N/A    |
| tg_0.yardstick-af5ccb47-xe0-port   | fa:16:3e:38:c7:66 | ip_address='10.1.0.8',       | ACTIVE |
|                                    | fa:16:3e:ff:53:5f | ip_address='11.191.14.101',  | DOWN   |
|                                    | fa:16:3e:23:5d:2c | ip_address='10.0.1.2',       | ACTIVE |
| tg_0.yardstick-af5ccb47-mgmt-port  | fa:16:3e:7a:df:4e | ip_address='10.0.1.5',       | ACTIVE |
|                                    | fa:16:3e:22:65:36 | ip_address='11.191.14.109',  | N/A    |
+------------------------------------+-------------------+------------------------------+--------+

/sys/devices/pci0000:00/0000:00:03.0/virtio0/net/ens3/address:fa:16:3e:2f:f3:e2
/sys/devices/pci0000:00/0000:00:05.0/virtio2/net/ens5/address:fa:16:3e:38:c7:66

Change-Id: Iaef2c7d9a5af7f45bd805a8ad6ee545ce0495cb1
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoAdd missing RFC2544 Ethernet frame sizes 99/45699/1
Dino Madarang [Thu, 19 Oct 2017 01:14:28 +0000 (01:14 +0000)]
Add missing RFC2544 Ethernet frame sizes

RFC2544 tests should include the following frame sizes:

9.1 Frame sizes to be used on Ethernet

       64, 128, 256, 512, 1024, 1280, 1518

Change-Id: I6ab9cccf2bb3b2678f50da157a9a49c0d9564cbd
Signed-off-by: Dino Simeon Madarang <dinox.madarang@intel.com>
Reviewed-by: Alain Jebara <alain.jebara@intel.com>
Reviewed-by: Deepak S <deepak.s@linux.intel.com>
Reviewed-by: Ross Brattain <ross.b.brattain@intel.com>
Reviewed-by: Edward MacGillivray <edward.s.macgillivray@intel.com>
7 years agoMerge "add VNF scale-up template"
Ross Brattain [Thu, 19 Oct 2017 00:12:16 +0000 (00:12 +0000)]
Merge "add VNF scale-up template"

7 years agoMerge "Resolve full path to adminrc file if full path is not provided"
Ross Brattain [Thu, 19 Oct 2017 00:11:17 +0000 (00:11 +0000)]
Merge "Resolve full path to adminrc file if full path is not provided"

7 years agoMerge "Disable spoof check on vfs in sriov setup"
Ross Brattain [Thu, 19 Oct 2017 00:05:09 +0000 (00:05 +0000)]
Merge "Disable spoof check on vfs in sriov setup"

7 years agoMerge "Adding cpu set to enable affinity for given vcpu"
Ross Brattain [Thu, 19 Oct 2017 00:04:57 +0000 (00:04 +0000)]
Merge "Adding cpu set to enable affinity for given vcpu"

7 years agoMerge "Added required ubuntu packages to run IxLoad client"
Ross Brattain [Wed, 18 Oct 2017 22:58:43 +0000 (22:58 +0000)]
Merge "Added required ubuntu packages to run IxLoad client"

7 years agoMerge "pmu mirror creation ansible error fix"
Ross Brattain [Wed, 18 Oct 2017 22:57:22 +0000 (22:57 +0000)]
Merge "pmu mirror creation ansible error fix"

7 years agoAdding sample trex example 37/45737/1
Deepak S [Wed, 18 Oct 2017 21:59:58 +0000 (14:59 -0700)]
Adding sample trex example

Change-Id: I3b79d33dba5cc559634122a135ff469f054214fc
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
7 years agoMerge "Docs: test case description for TC080 and TC081"
Ross Brattain [Wed, 18 Oct 2017 16:11:38 +0000 (16:11 +0000)]
Merge "Docs: test case description for TC080 and TC081"

7 years agoMerge "tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex_correlated_scale_2: fix indent"
Ross Brattain [Wed, 18 Oct 2017 16:11:21 +0000 (16:11 +0000)]
Merge "tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex_correlated_scale_2: fix indent"

7 years agotc_heat_rfc2544_ipv4_1rule_1flow_64B_trex_correlated_scale_2: fix indent 75/45575/1
Ross Brattain [Wed, 18 Oct 2017 15:26:54 +0000 (08:26 -0700)]
tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex_correlated_scale_2: fix indent

bad YAML indent

Change-Id: I6aaf53b9bbf6005b6be4c2d6c69cefd41949f8c6
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoHamonization of the titles of the documents (Testing group) 67/45467/2
Morgan Richomme [Wed, 18 Oct 2017 07:39:05 +0000 (09:39 +0200)]
Hamonization of the titles of the documents (Testing group)

Change-Id: I6065fb416a90544539316666aac92735ee84177a
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoDocs: test case description for TC080 and TC081 59/45459/6
JingLu5 [Wed, 18 Oct 2017 06:55:43 +0000 (06:55 +0000)]
Docs: test case description for TC080 and TC081

JIRA: YARDSTICK-825

Change-Id: Ib2f8d0b88378c0dd0bd20ba38141a205fa7ae486
Signed-off-by: JingLu5 <lvjing5@huawei.com>
7 years agoadd VNF scale-up template 91/37991/6
Ross Brattain [Mon, 24 Jul 2017 08:47:30 +0000 (01:47 -0700)]
add VNF scale-up template

adjust worker_threads based on number of vcpus

Change-Id: Ie5444a64c15711a0e813905c69581f189432fe0b
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoCreate the ovs-vswitchd logging directory 47/45447/1
Martin Banszel [Wed, 18 Oct 2017 05:59:03 +0000 (07:59 +0200)]
Create the ovs-vswitchd logging directory

Change-Id: Id7f55f7fcb2fec2866b76821595776908ac30c04
Signed-off-by: Martin Banszel <martinx.banszel@intel.com>
7 years agoMerge "Fio: support input job file configuration"
Jing Lu [Wed, 18 Oct 2017 05:59:24 +0000 (05:59 +0000)]
Merge "Fio: support input job file configuration"

7 years agotc_heat_rfc2544_ipv4_1rule_1flow_64B_trex.yaml updated 43/45443/1
Ross Brattain [Wed, 18 Oct 2017 05:34:28 +0000 (22:34 -0700)]
tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex.yaml updated

Change-Id: Ie9cee3e0567e771cbf11a9802bd33a420cc1ee7a
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoMerge "scale-out testcase template"
Ross Brattain [Wed, 18 Oct 2017 04:08:03 +0000 (04:08 +0000)]
Merge "scale-out testcase template"

7 years agoscale-out testcase template 93/37993/16
Ross Brattain [Mon, 24 Jul 2017 09:55:00 +0000 (02:55 -0700)]
scale-out testcase template

use anonymous flavors
force num_vnfs to int

added provider network examples

we have to disable port security for provider networks

removed vld_id, not needed

adjust num_vfs to allocate two physnets per VNF.

fix for multiports

Change-Id: Ic4c8314dc07f6295b9559188989d81058bb48eb0
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoadd opnfv_os-odl-fdio_dvr-noha testsutie for Apex 19/45419/1
JingLu5 [Wed, 18 Oct 2017 01:37:07 +0000 (01:37 +0000)]
add opnfv_os-odl-fdio_dvr-noha testsutie for Apex

Change-Id: Idd60153e6097cbef6513942653429d2ec96a8c17
Signed-off-by: JingLu5 <lvjing5@huawei.com>
7 years agoResolve full path to adminrc file if full path is not provided 11/45411/2
Charlie Kang [Tue, 17 Oct 2017 22:42:52 +0000 (15:42 -0700)]
Resolve full path to adminrc file if full path is not provided

Change-Id: I7e9d8074b5d956c864a0b3264926eee89e66dc35
Signed-off-by: Charlie Kang <charlie.kang@intel.com>
7 years agoNSB: MultiPortConfig adjust start_core 09/45409/1
Ross Brattain [Tue, 17 Oct 2017 23:24:48 +0000 (16:24 -0700)]
NSB: MultiPortConfig adjust start_core

Change-Id: I8f4b6af898c9d3783f7b45471088a69e51c8baba
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoAdded required ubuntu packages to run IxLoad client 97/45397/1
Maciej Skrocki [Tue, 17 Oct 2017 21:41:50 +0000 (14:41 -0700)]
Added required ubuntu packages to run IxLoad client

To fully enable IxLoad, after installing the IXIA client,
check /opt/ixia/ixload/<ver>/bin/ixloadpython and make sure
you can run this cmd inside the yardstick container. Usually
user is required to copy or link /opt/ixia/python/<ver>/bin/ixiapython
to /usr/bin/ixiapython<ver>.

Change-Id: I6bc633802ad6c70329581014ec89c75bb7f8d688
Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
7 years agoMerge "validate_non_string_sequence: use six.string_types"
Ross Brattain [Tue, 17 Oct 2017 18:04:37 +0000 (18:04 +0000)]
Merge "validate_non_string_sequence: use six.string_types"

7 years agopmu mirror creation ansible error fix 79/45379/1
Dhaval Patel [Tue, 17 Oct 2017 17:52:02 +0000 (10:52 -0700)]
pmu mirror creation ansible error fix

  While creating the mirror for pmu event list generation, some of
  the links would fail, throwing error. This fixes that.

Change-Id: I52e96b1a6eacb5a9611845e815ecff9052df168a
Signed-off-by: Dhaval Patel <dhaval.r.patel@intel.com>
7 years agoMerge "BugFix: Fix to Load Balancer - Previously Dropped packets was acceptable"
Ross Brattain [Tue, 17 Oct 2017 15:48:50 +0000 (15:48 +0000)]
Merge "BugFix: Fix to Load Balancer - Previously Dropped packets was acceptable"

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

7 years agoEnable static cgnapt functionality. 97/42997/14
Deepak S [Fri, 22 Sep 2017 05:13:09 +0000 (22:13 -0700)]
Enable static cgnapt functionality.

Change-Id: Ie770ca69ebdc66589ed6ca5c25bfc9a75afb8938
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
7 years agoBugFix: Fix to Load Balancer - Previously Dropped packets was acceptable 35/45035/4
DanielMartinBuckley [Fri, 13 Oct 2017 15:48:09 +0000 (16:48 +0100)]
BugFix: Fix to Load Balancer - Previously Dropped packets was acceptable

Dropped packets were tolerated. Now no longer tolerated (except 0.01%)

Change-Id: I69d4f1a84d82e03a091a61419fa05fea13176c1c
Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
7 years agoMerge "BugFix: Fix to negative dropped packets appearing in results."
Ross Brattain [Tue, 17 Oct 2017 15:18:25 +0000 (15:18 +0000)]
Merge "BugFix: Fix to negative dropped packets appearing in results."

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

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

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

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