bottlenecks.git
7 years agoMerge "Modify utils/ code into PEP8 style"
Yu Yang (Gabriel) [Thu, 12 Jan 2017 08:42:52 +0000 (08:42 +0000)]
Merge "Modify utils/ code into PEP8 style"

7 years agoModify utils/ code into PEP8 style 19/26819/5
liyin [Tue, 10 Jan 2017 11:42:20 +0000 (19:42 +0800)]
Modify utils/ code into PEP8 style

JIRA: BOTTLENECK-100

Modify all the code in the utils folder into PEP8 style.
Using more standard way to realize our function.

Change-Id: I965c507390adcb4404d33710f783b22241542890
Signed-off-by: liyin <liyin11@huawei.com>
7 years agoBottlenecks stack environment prepare 69/26869/4
liyin [Wed, 11 Jan 2017 11:10:57 +0000 (19:10 +0800)]
Bottlenecks stack environment prepare

JIRA: BOTTLENECK-124

This code is for Bottlenecks to have a common way to prepare stack
environment.
those action are divided into three part: fetch os file, source file
and adding ext-net to source file.
those function also need change other file like fetch_os_creds.sh.
And add some config to config file.
remove parser file logging function.

This code is relying on the patch:
Modify utils/ code into PEP8 style

Change-Id: I54405776b6dc3f5fb939e511c96963a9c1624938
Signed-off-by: liyin <liyin11@huawei.com>
7 years agoAdd paths to flake8 style check 21/26921/1
yuyang [Thu, 12 Jan 2017 07:55:00 +0000 (15:55 +0800)]
Add paths to flake8 style check

JIRA: BOTTLENECK-100

Add paths utils/ to flake8 style check and
change tests.sh->verify.sh to make it self-explanatory

Change-Id: I653dd4412633c026a47472abd25df021bcd093a4
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agoBottlenecks frame support parser config 95/26795/2
liyin [Mon, 9 Jan 2017 10:28:35 +0000 (18:28 +0800)]
Bottlenecks frame support parser config

JIRA: BOTTLENECK-123

This code is for Bottlenecks to have a common way to parser config.
those config are divided into three part: common config, test config
and stack config.
those function could build a frame of config read.
we will modify it after a few times.

Change-Id: I7d3ddc2c8af3043dc9cd89b519e506eca6a03514
Signed-off-by: liyin <liyin11@huawei.com>
7 years agoMerge "Bottlenecks frame support log information"
Yu Yang (Gabriel) [Mon, 9 Jan 2017 09:03:36 +0000 (09:03 +0000)]
Merge "Bottlenecks frame support log information"

7 years agoBottlenecks frame support log information 01/26701/5
liyin [Thu, 5 Jan 2017 07:49:19 +0000 (15:49 +0800)]
Bottlenecks frame support log information

JIRA: BOTTLENECK-122

This code is for Bottlenecks to have a common way
to export log information
the way to use it is:
xxx = Logger.(__name__).getLogger()
xxx.info('xxxxxx')
It will only out info if you don't set DEBUG=true.
the default log file located '/tmp/bottlenecks.log'
we will add configuring log file  function when config funtion complate.

Change-Id: I11cdc8a27f657736c3ec0e0bc1195f0ce0a2fce4
Signed-off-by: liyin <liyin11@huawei.com>
7 years agoMerge "Bottlenecks frame support stack create"
Yu Yang (Gabriel) [Mon, 9 Jan 2017 02:02:44 +0000 (02:02 +0000)]
Merge "Bottlenecks frame support stack create"

7 years agoMerge "bottlenecks openstack Newton support"
Yu Yang (Gabriel) [Wed, 4 Jan 2017 06:36:33 +0000 (06:36 +0000)]
Merge "bottlenecks openstack Newton support"

7 years agoBottlenecks frame support stack create 55/26555/3
liyin [Wed, 28 Dec 2016 06:25:06 +0000 (14:25 +0800)]
Bottlenecks frame support stack create

JIRA: BOTTLENECK-120

add the common.py,manager.py,template.py,
could use the function
import utils.infra_setup.heat.x
then the code could import the package.

Change-Id: I7bbd115bd13d87c4f43b7e4bb35e6a6bf8465bc8
Signed-off-by: liyin <liyin11@huawei.com>
7 years agobottlenecks openstack Newton support 07/26507/7
liyin [Tue, 27 Dec 2016 07:43:06 +0000 (15:43 +0800)]
bottlenecks openstack Newton support

JIRA: BOTTLENECK-119

Change the file of template.py manager.py and common.py file
This change helps Bottlenecks project support Newton.
template.py support stack operation.
manager.py support nova and glance operation.
common.py support some operations of openstack Newton.

Change-Id: Ibee110a2b7918c80b2651bb86a9fb7160414e842
Signed-off-by: liyin <liyin11@huawei.com>
7 years agobugfix: remove timeField for Kibana index-pattern 87/26487/1
yuyang [Mon, 26 Dec 2016 16:10:43 +0000 (00:10 +0800)]
bugfix: remove timeField for Kibana index-pattern

JIRA: BOTTLENECK-121

Remove timeField item in index-pattern which causes kibana
no reading test results.

Change-Id: I855dba186cc0e0db8e5c9dbd7aa21df80722d70e
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agoMerge "Add flake8 style config and for POSCA"
Yu Yang (Gabriel) [Thu, 22 Dec 2016 02:43:25 +0000 (02:43 +0000)]
Merge "Add flake8 style config and for POSCA"

7 years agoAdd flake8 style config and for POSCA 19/26219/3
yuyang [Mon, 19 Dec 2016 16:37:59 +0000 (00:37 +0800)]
Add flake8 style config and for POSCA

JIRA: BOTTLENECK-100

Adding flake8 configuration and fix for POSCA

Change-Id: Ib822d5abde535263a4473d67c15cc17995f1417b
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agobugfix: correct typo in Dockerfile 07/26207/1
yuyang [Mon, 19 Dec 2016 13:52:50 +0000 (21:52 +0800)]
bugfix: correct typo in Dockerfile

JIRA: BOTTLENECK-108

Typo in Dockerfile that causing $BRANCH var not effective

Change-Id: I1f156e5b554ebd6f9a1b2d689b1c23c783a4e8af
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agobugfix:enabling the repo branch choosing 05/26005/1
yuyang [Thu, 15 Dec 2016 10:25:34 +0000 (18:25 +0800)]
bugfix:enabling the repo branch choosing

JIRA: BOTTLENECK-108

Enabling the git repo branch choosing in dockerfile for Bottlenecks.

Change-Id: Id03c39e59cb1b38d198ec37f613c9660bcf335cd
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agobugfix:fix the version support problem of setuptools 99/25999/1
yuyang [Thu, 15 Dec 2016 10:19:03 +0000 (18:19 +0800)]
bugfix:fix the version support problem of setuptools

JIRA: BOTTLENECK-108

Due the version problem, docker build job fails each time.

Change-Id: I179ec56295f344fbd14ffeb8650c8d4625507379
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agocpu_burden script&configure 11/25611/1
liyin [Wed, 7 Dec 2016 09:24:29 +0000 (17:24 +0800)]
cpu_burden script&configure

JIRA: BOTTLENECK-118

This patch add a new function cpu_burden.
there are two things:
1.add configure file of cpu_burden, this default file could run test case
2.add script of cpu_burden, this script use the configure file could
use yardstick restful api call date.

Change-Id: Icd88b317fb97d8f12d81279eaffc2d3effc8ab65
Signed-off-by: liyin <liyin11@huawei.com>
7 years agodocker-compose yardstick file change 19/25519/1
liyin [Tue, 6 Dec 2016 08:52:39 +0000 (16:52 +0800)]
docker-compose yardstick file change

JIRA: BOTTLENECK-117

This patch change the docker-compose file.
because of yardstick dockerfile.
so bottlenecks also need to change the style of docker-compose.

Change-Id: Idb82120c5b00ef8595a993886fa3fc0d6b6c4c32
Signed-off-by: liyin <liyin11@huawei.com>
7 years agodashboard log info check 29/25429/1
liyin [Fri, 2 Dec 2016 14:52:55 +0000 (22:52 +0800)]
dashboard log info check

JIRA: BOTTLENECK-115

This patch change an error that last patch haven't covered.
so i need to correct it.

Change-Id: I1ab1fbe4e60463482728ec3ab58ec71c4e1d7049
Signed-off-by: liyin <liyin11@huawei.com>
7 years agodashboard bug: can't deploy dashboard 15/25415/2
liyin [Fri, 2 Dec 2016 10:12:06 +0000 (18:12 +0800)]
dashboard bug: can't deploy dashboard

JIRA: BOTTLENECK-116

This patch fix the bug that bottlenecks project can't establish
dashboard, error message is elasticsearch is not install.
after install elasticsearch, the error message is can't get ip.
to fix this bug, change file requriment.txt and dashboard file.

Change-Id: Ibad0dc46ab44d500b799bbf67e169d76c59e7199
Signed-off-by: liyin <liyin11@huawei.com>
7 years agoadd more debug info 03/25403/1
liyin [Fri, 2 Dec 2016 07:41:21 +0000 (15:41 +0800)]
add more debug info

JIRA: BOTTLENECK-115

This patch add some debug info to screen.
so test situation will be displayed to every one.
And it's could be easier to understand

Change-Id: Iecf767eedf42825a13dae59235ab99d1767e744e
Signed-off-by: liyin <liyin11@huawei.com>
7 years agobug fix patch 97/25397/1
liyin [Fri, 2 Dec 2016 06:14:54 +0000 (14:14 +0800)]
bug fix patch

JIRA: BOTTLENECK-114

this patch fix a problem that docker can't run
because of lacking pyroute2.
the way to solve it is add return value judgement to avoid circle
return value error, is return relue when get into circle function

Change-Id: I3af9abdb417abc5cf04c0e4db7eed576222bb1ea
Signed-off-by: liyin <liyin11@huawei.com>
7 years agobug fix patch 27/25327/1
liyin [Thu, 1 Dec 2016 12:35:38 +0000 (20:35 +0800)]
bug fix patch

JIRA: BOTTLENECK-113

this patch fix a problem that docker can't run
because of lacking pyroute2.
the next is docker-compose file have some error that yardstick can't
pull inluxdb container.
the next is fix some bug incode.

Change-Id: I238b69b456d2810e84bae5c134e6b05a8fc5da63
Signed-off-by: liyin <liyin11@huawei.com>
7 years agodocker-compose dockerfile change 03/25303/1
liyin [Thu, 1 Dec 2016 07:32:13 +0000 (15:32 +0800)]
docker-compose dockerfile change

JIRA: BOTTLENECK-112

this patch change the yardstick and bottlenecks dockerfile
from stable to latest

Change-Id: I095957dc6aba25d76bb8e60be97c171c4a59ce57
Signed-off-by: liyin <liyin11@huawei.com>
7 years agoposca test suite urls change 99/25299/2
liyin [Thu, 1 Dec 2016 04:38:38 +0000 (12:38 +0800)]
posca test suite urls change

JIRA: BOTTLENECK-111

This patch add two functions to bottlenecks project:
1.change yardstick urls and some return value.
2.bottlenecks project wait time change.

Change-Id: I1a7f98f69676cda8cb0dc62276704c2cfcf240d8
Signed-off-by: liyin <liyin11@huawei.com>
7 years agoMerge "Add virtual enviroment support for cli"
Yu Yang (Gabriel) [Thu, 1 Dec 2016 02:20:00 +0000 (02:20 +0000)]
Merge "Add virtual enviroment support for cli"

7 years agoposca test suite support influxDB container 29/25229/1
liyin [Wed, 30 Nov 2016 09:42:14 +0000 (17:42 +0800)]
posca test suite support influxDB container

JIRA: BOTTLENECK-110

This patch support bottlenecks testsuites posca support use yardstick
rest api to pull InfluxDB container.
the yardstick use this container to store its test result.

Change-Id: I6ad6b5d7a9748c385787567b3d6d1dfe4cee167f
Signed-off-by: liyin <liyin11@huawei.com>
7 years agoMerge "posca system bandwidth dashboard"
Yu Yang (Gabriel) [Wed, 30 Nov 2016 09:23:11 +0000 (09:23 +0000)]
Merge "posca system bandwidth dashboard"

7 years agoposca system bandwidth dashboard 01/25201/3
liyin [Wed, 30 Nov 2016 04:48:01 +0000 (12:48 +0800)]
posca system bandwidth dashboard

JIRA: BOTTLENECK-109

this patch provide a dashboard of system_bandwidth test case
when the test over this script would be run.
and you could login host:5601 to see the view of dashboard.

Change-Id: Ifb9717baa56a16fb2231a4e20d5688e34647d45b
Signed-off-by: liyin <liyin11@huawei.com>
7 years agoMerge "POSCA test case complete"
Yu Yang (Gabriel) [Wed, 30 Nov 2016 09:19:26 +0000 (09:19 +0000)]
Merge "POSCA test case complete"

7 years agoAdd new CI docker build support 15/25215/1
yuyang [Wed, 30 Nov 2016 16:15:00 +0000 (00:15 +0800)]
Add new CI docker build support

JIRA: BOTTLENECK-108

Releng has updated the parameter input method. So the Docker file
need BRANCH argument to specify the docker image source.

Change-Id: I6c8eee3aaf7729964f0b810c209ccdcf9b75a233
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agoPOSCA test case complete 99/25199/3
liyin [Wed, 30 Nov 2016 04:27:53 +0000 (12:27 +0800)]
POSCA test case complete

JIRA: BOTTLENECK-107

JIRA: BOTTLENECK-106

This patch has done the flowings:
1.Using the RESTful API form yardstick
2.Common function reuse.
3.If there is no test_ip it would use host ip and port as test_ip.
4.A little demo of dashboard. Now is can't work

Change-Id: I1063176c762c40238019c73f5359f23bc5aab19c
Signed-off-by: liyin <liyin11@huawei.com>
7 years agoAdd virtual enviroment support for cli 71/25071/1
yuyang [Tue, 29 Nov 2016 14:37:07 +0000 (22:37 +0800)]
Add virtual enviroment support for cli

JIRA: BOTTLENECK-65

Add installation of VIRTUALENV and deletion of it.

Change-Id: I4a339e8e87775fc2ea1e12d8fbf473850076bbd3
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agoMerge "Add CLI framework for Bottlenecks"
Yu Yang (Gabriel) [Tue, 29 Nov 2016 02:04:11 +0000 (02:04 +0000)]
Merge "Add CLI framework for Bottlenecks"

7 years agoAdd CLI framework for Bottlenecks 27/24927/5
yuyang [Sat, 26 Nov 2016 15:07:41 +0000 (23:07 +0800)]
Add CLI framework for Bottlenecks

JIRA: BOTTLENECK-65

Adding cli framwork for Bottlenecks.

Usage:
bottlenecks testcase run <testcase>

Currently only the cli framwork and testcase command group is added.
run, list, etc., commands and openstack command group
will added afterwards.

Two setup entries are added. One is within the top directory and the
other is within the cli directory.

Change-Id: I304f6f2e9b29b9f582953c2739806c1fb3e87fed
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agoPOSCA docker-compose adapting 13/24813/3
liyin [Thu, 24 Nov 2016 04:37:10 +0000 (12:37 +0800)]
POSCA docker-compose adapting

JIRA: BOTTLENECK-105

there are files which be need to support docker-compose.
some files are docker configure file.
some files are used to build docker image.
kibana docker is bottlenecks project dashboard.
elasticsearch docker is bottlenecks project database.
influxdb docker is yardstick project database.
yardstick docker is used to run test case.

Change-Id: I7f0927c940a400f9f66ac77174f06236a1f4f265
Signed-off-by: liyin <liyin11@huawei.com>
7 years agoAdd stack created judging logic 67/23967/1
yuyang [Fri, 4 Nov 2016 15:30:41 +0000 (23:30 +0800)]
Add stack created judging logic

JIRA: BOTTLENECK-103

The stack created judging logic in Rubbos testsuite is optimized
by replacing the wating method with judging from the stack created
return value.

Change-Id: Ie96476fbfb8baf995237f71b993cf9d381b94217
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
8 years agoBugfix for random key generation 89/23889/1
yuyang [Wed, 2 Nov 2016 18:17:19 +0000 (02:17 +0800)]
Bugfix for random key generation

JIRA: BOTTLENECK-103

Fixing the bug when key generation within rubbos controller

Change-Id: Ib444b3a8fab14217bda75bee307ea18652e8b4e4
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
8 years agoMerge "Add random key generation"
Yu Yang (Gabriel) [Tue, 1 Nov 2016 05:48:41 +0000 (05:48 +0000)]
Merge "Add random key generation"

8 years agoAdd random key generation 19/23819/2
Yang (Gabriel) Yu [Tue, 1 Nov 2016 02:46:15 +0000 (22:46 -0400)]
Add random key generation

JIRA: BOTTLENECK-103

Add random key generation in fixed directory path.

Changes:
1. Add random key generation method
2. Add logic to cleanup the used key

Change-Id: I405d1d670422b9381879d0e58cb9c9fc1370f954
Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
8 years agoModify POSCA code into PEP8 style 49/23649/2
liyin [Tue, 25 Oct 2016 04:39:22 +0000 (00:39 -0400)]
Modify POSCA code into PEP8 style

JIRA: BOTTLENECK-102

Modify all the code in the testcase POSCA into PEP8 style.
Using more standard way to realize our function.

Change-Id: Ic014678db454b8a36b36395c32b4769f6cf700be
Signed-off-by: liyin <liyin11@huawei.com>
8 years agoAdd successful committer nominee INFO 49/23449/1
yuyang [Thu, 20 Oct 2016 23:22:17 +0000 (07:22 +0800)]
Add successful committer nominee INFO

Add election result for Yang throuth email:
https://lists.opnfv.org/pipermail/opnfv-tsc/2016-October/003088.html

Achievements/Conbributions include:
https://gerrit.opnfv.org/gerrit/#/q/owner:Gabriel.yuyang%2540huawei.com+project:bottlenecks

1. Adding POSCA test suite in Bottlenecks

a) POSCA testing framework

       i.  https://jira.opnfv.org/browse/BOTTLENECK-92

     ii.  https://gerrit.opnfv.org/gerrit/#/c/20837/

b) Adding Factor Test case System_Bandwidth

       i.  https://jira.opnfv.org/browse/BOTTLENECK-94

     ii.  https://gerrit.opnfv.org/gerrit/#/c/21351/

c) Adding Factor Test case CPU_Burden

       i.  https://jira.opnfv.org/browse/BOTTLENECK-95

     ii.  https://gerrit.opnfv.org/gerrit/#/c/21355/

d) Adding Factor Test case TX PKT Size

       i.  https://jira.opnfv.org/browse/BOTTLENECK-99

     ii.  https://gerrit.opnfv.org/gerrit/#/c/21563/

e) Adding Factor Test case RX_PKT_Size

       i.  https://jira.opnfv.org/browse/BOTTLENECK-97

     ii.  https://gerrit.opnfv.org/gerrit/#/c/21401/

f)  Adding Factor Test case TX_Cache_Size

       i.  https://jira.opnfv.org/browse/BOTTLENECK-98

     ii.  https://gerrit.opnfv.org/gerrit/#/c/21561/

g) Adding Factor Test case RX_Cache_Size

       i.  https://jira.opnfv.org/browse/BOTTLENECK-96

     ii.  https://gerrit.opnfv.org/gerrit/#/c/21379/

2. Refactoring Bottlenecks documentations

a) Correcting table format error in userguide docs

       i.  https://jira.opnfv.org/browse/BOTTLENECK-88

     ii.  https://gerrit.opnfv.org/gerrit/#/c/19043/

b) Adding framework illustration in Bottlenecks docs

       i.  https://jira.opnfv.org/browse/BOTTLENECK-88

     ii.  https://gerrit.opnfv.org/gerrit/#/c/19131/

c) Adding Release Notes Doc Framework

       i.  https://jira.opnfv.org/browse/BOTTLENECK-88

     ii.  https://gerrit.opnfv.org/gerrit/#/c/22309/

3. Flake8 fix for Bottlenecks project

a) https://jira.opnfv.org/browse/BOTTLENECK-101

b) https://gerrit.opnfv.org/gerrit/#/c/22593/

4. Organizing the Bottlenecks weekly meeting and maintaining WIKI

a) Meeting minutes and meterial

       i.  https://wiki.opnfv.org/pages/viewpage.action?pageId=6828202

     ii.  https://wiki.opnfv.org/download/attachments/2926187/Proposals%20in%20Bottlenecks.pdf?version=7&modificationDate=1472176386000&api=v2

b) Release Planning WIKI pages

5. Design and sharing the POSCA test suite

a) POSCA test suite in Bottlenecks D release

       i.  https://wiki.opnfv.org/download/attachments/2926187/POSCA%20in%20Bottlenecks%20D%20Release.pptx?version=1&modificationDate=1475983276813&api=v2

b) Sharing POSCA in Bottlenecks weekly meeting

       i.  https://wiki.opnfv.org/download/attachments/2926187/2016-09-22%20Sharing%20POSCA%20in%20Bottlenecks.mp4?version=1&modificationDate=1475993554550&api=v2

Change-Id: I59980f6e8ff378e845af1297cf294e058be56880
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
8 years agoMerge "Add Factor Testcase CPU_Burden"
Jun Li [Sat, 8 Oct 2016 02:37:19 +0000 (02:37 +0000)]
Merge "Add Factor Testcase CPU_Burden"

8 years agoMerge "Add Factor Testcase RX_Cache_Size"
Jun Li [Sat, 8 Oct 2016 02:37:02 +0000 (02:37 +0000)]
Merge "Add Factor Testcase RX_Cache_Size"

8 years agoMerge "Add Factor Testcase RX_PKT_Size"
Jun Li [Sat, 8 Oct 2016 02:36:43 +0000 (02:36 +0000)]
Merge "Add Factor Testcase RX_PKT_Size"

8 years agoMerge "Add Factor Testcase System_Bandwidth"
Jun Li [Sat, 8 Oct 2016 02:36:24 +0000 (02:36 +0000)]
Merge "Add Factor Testcase System_Bandwidth"

8 years agoMerge "Add Factor Testcase TX_Cache_Size"
Jun Li [Sat, 8 Oct 2016 02:36:04 +0000 (02:36 +0000)]
Merge "Add Factor Testcase  TX_Cache_Size"

8 years agoMerge changes from topics 'add_factor_testcase_tx_pkt_size', 'add_posca_test_suite_fr...
Jun Li [Sat, 8 Oct 2016 02:35:22 +0000 (02:35 +0000)]
Merge changes from topics 'add_factor_testcase_tx_pkt_size', 'add_posca_test_suite_framework'

* changes:
  Add Factor Testcase TX PKT Size
  Adding Posca Testsuite in Bottlenecks

8 years agoMerge "autopep8 fix for flake8"
Jun Li [Sat, 8 Oct 2016 02:33:08 +0000 (02:33 +0000)]
Merge "autopep8 fix for flake8"

8 years agoautopep8 fix for flake8 93/22593/1
yuyang [Fri, 30 Sep 2016 18:21:36 +0000 (02:21 +0800)]
autopep8 fix for flake8

JIRA: BOTTLENECK-101

Using autopep8 to fix the python style scanned by flake8

Change-Id: I74bf28ed4d999dac3dd36e9101f099c9853a49b6
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
8 years agoPropose common directory for Docker related files 69/22569/1
jose.lausuch [Thu, 29 Sep 2016 15:44:20 +0000 (17:44 +0200)]
Propose common directory for Docker related files

Proposal 3 from this wiki:
https://wiki.opnfv.org/display/INF/Docker+handling+in+CI#DockerhandlinginCI-3Dockerfilelocation

Do not merge before this:
https://gerrit.opnfv.org/gerrit/#/c/22565/

JIRA: RELENG-148

Change-Id: I07e1418ae06c59e6c4d495c8c87d28addbb98d03
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdd Factor Testcase TX PKT Size 63/21563/2
yuyang [Sat, 17 Sep 2016 21:38:13 +0000 (05:38 +0800)]
Add Factor Testcase TX PKT Size

JIRA: BOTTLENECK-99

Add factor testcase to locate the bottleneck of tx pkt size.
A separated logic for determine if the tx pkt size is the system
bottleneck is provided.

Change-Id: I9ccbe19c88a72170b66fffd7f1bd7e5a45dbdc27
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
8 years agoAdd Factor Testcase TX_Cache_Size 61/21561/3
yuyang [Sat, 17 Sep 2016 20:25:49 +0000 (04:25 +0800)]
Add Factor Testcase  TX_Cache_Size

JIRA: BOTTLENECK-98

Add factor testcase for locating tx cache size bottleneck.
A separate logic for determine if the bottlenecks is tx cache
size is provided.

Change-Id: Ie3e8a79bf55d6b3223b45c52fb4fbc9b047d38cb
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
8 years agoAdd Factor Testcase System_Bandwidth 51/21351/6
yuyang [Sun, 18 Sep 2016 12:57:16 +0000 (20:57 +0800)]
Add Factor Testcase System_Bandwidth

JIRA: BOTTLENECK-94

Add factor test to find the bottleneck of system bandwidth.
A separate logic is provided to determine what is throughput for
a deployed system.

Changes:

1. Add testcase script

2. Delete whitespaces

3. Logic fix

Change-Id: I37ab9d40d90c585191619d4753eca285fee64dd4
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
8 years agoAdd Factor Testcase RX_PKT_Size 01/21401/5
yuyang [Sat, 17 Sep 2016 22:02:53 +0000 (06:02 +0800)]
Add Factor Testcase RX_PKT_Size

JIRA: BOTTLENECK-97

Add factor testcase to locate bottleneck for rx pkt size.
A separated logic for determine if the system bottleneck is
rx pkt size is provided.

Change-Id: I478b4cf94b07eeb56e87a4825ff0a62367c05175
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
8 years agoAdd Factor Testcase RX_Cache_Size 79/21379/4
yuyang [Sat, 17 Sep 2016 21:01:11 +0000 (05:01 +0800)]
Add Factor Testcase RX_Cache_Size

JIRA: BOTTLENECK-96

Add factor testcase for locating bottleneck of rx cache size.
A separate logic is provided to deterine if it is the bottleneck
of rx cache size.

Change-Id: I52652f73c512a829a3dde85e4cb36073327773e8
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
8 years agoAdd Factor Testcase CPU_Burden 55/21355/5
yuyang [Sat, 17 Sep 2016 17:42:42 +0000 (01:42 +0800)]
Add Factor Testcase CPU_Burden

JIRA: BOTTLENECK-95

Add cpu burden factor testcase to locate cpu bottlneck for system.
A separated logic is provided to determine if the bottleneck is the
CPU capability in the system.

Changes:

1. Add testcase script

2. Delete whitespaces

Change-Id: I37017d5a0378450b07286ba36f9976d92f504eeb
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
8 years agoAdding Posca Testsuite in Bottlenecks 37/20837/11
yuyang [Sun, 11 Sep 2016 23:33:12 +0000 (07:33 +0800)]
Adding Posca Testsuite in Bottlenecks

JIRA: BOTTLENECK-92

The POSCA (Parametric Bottlenecks Testing Catalogue) testsuite
classifies the bottlenecks test cases and results into 5 categories.
Then the results will be analyzed and decoupled  bottlenecks will be
searched among these categories.

The POSCA testsuite aims to locate the bottlenecks in parmetric
manner and to decouple the bottlenecks regarding the deployment
requirements.

The POSCA testsuite provides an user friendly way to profile and
understand the E2E system behavior and deployment requirements.

Goals of the POSCA testsuite:
a) Automatically locate the bottlenecks in a iterative manner.
b) Automatically generate the testing report for bottlenecks in
   different categories.
c) Implementing Automated Staging.

Scopes of the POSCA testsuite:
a) Modeling, Testing and Test Result analysis.
b) Parameters choosing and Algorithms

Test stories of the POSCA testsuite:
a) Factor test: base test cases that Feature test and Optimization
   will be dependant on
b) Feature test: test cases for features/scenarios
c) Optimization test: test to tune the system parameter

For more details of the proposal, please refer to
https://jira.opnfv.org/secure/attachment/11479/
POSCA%20Testsuite%20Proposal%20in%20Bottlenecks.pdf

Changes:

1. Add Posca testsuite directories and files to Bottleneks,
leaving adding test cases for latter commits.

2. Fix file appd issue.

3. Delete the un-used packages in testsuites/posca/run_posca.py

4. Add testcase processing logic to run_posca.py

5. Add config dimensions

6. Add scripts directory

Change-Id: I54d9b51381a804b76a83680912227e058da3165e
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
8 years agoAdd Release Notes Doc Framework 97/22197/3
yuyang [Wed, 21 Sep 2016 21:34:28 +0000 (05:34 +0800)]
Add Release Notes Doc Framework

JIRA: BOTTLENECK-88

Required by release meeting to add RN for Colorado 1.0.
A framework of RN is updated and more details will be filled in
Colorado 2.0.

Change-Id: I386240d9b8c6d9cf30e68a12e3e84f1e09833d2a
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
8 years agodelete private key for security 35/22035/1
MatthewLi [Wed, 21 Sep 2016 07:42:42 +0000 (03:42 -0400)]
delete private key for security

Change-Id: Ibb53a25d912fd96c93b25e39ee8da8b0977cf071
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agounittest directory bugfix 27/21427/1
MatthewLi [Mon, 19 Sep 2016 12:05:11 +0000 (08:05 -0400)]
unittest directory bugfix

Change-Id: If16ac8f2e8d0114d8b7121d551ac5ac9a15bf76e
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agoadd flake8 check for python files 21/21421/1
MatthewLi [Mon, 19 Sep 2016 11:06:14 +0000 (07:06 -0400)]
add flake8 check for python files

Change-Id: I6d8e4e1d007bdcce037cf1ae93324de8080640ec
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agodelete unnecessary file head 21/20521/1
MatthewLi [Wed, 7 Sep 2016 07:04:03 +0000 (03:04 -0400)]
delete unnecessary file head

JIRA: BOTTLENECK-87

Change-Id: I67786b0481d734d09422fe5b757380cdd94d762d
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agoadd framework illustration in Bottlenecks docs 31/19131/8
yuyang [Mon, 22 Aug 2016 09:45:29 +0000 (17:45 +0800)]
add framework illustration in Bottlenecks docs

JIRA: BOTTLENECK-88

changes:

1. add framework image in platformoveriew/introduction.rst to make
the Bottlenecks docs more user friendly

2. image name in platformoveriew/introduction.rst is not correctly
writed, correct it as Framework_Setup.png

3. correct the image width error

4. correct image path

5. change the illustration to Rubbos introduction section as commented

6. move the illustration in top-level directory as suggested

7. add brief decription of the illustration

Change-Id: Id86b813fa6e0a68349de60bb294b1cef43484a9a
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
8 years agodoc format error amend 25/19325/1
MatthewLi [Tue, 23 Aug 2016 01:15:41 +0000 (21:15 -0400)]
doc format error amend

JIRA: BOTTLENECK-87

Change-Id: Ifa3da0e5c4e67c65a61567af1b75d629959d076f
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agocorrect table format error in userguide docs 43/19043/2
yuyang [Fri, 19 Aug 2016 16:52:17 +0000 (00:52 +0800)]
correct table format error in userguide docs

JIRA: BOTTLENECK-88

A right side line of the table is not aligned with others which causes
compling error.

Change-Id: I5391ef566573ec88b2e94ed36a3f628f8c8ddb8e
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
8 years agoproject document improvement 95/17795/1
MatthewLi [Fri, 29 Jul 2016 08:37:01 +0000 (04:37 -0400)]
project document improvement

JIRA: BOTTLENECK-88

Change-Id: I963502bb494bfb8773b312f038e9a1ea9902e56e
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agovstf testcase document 67/17767/2
MatthewLi [Fri, 29 Jul 2016 03:07:42 +0000 (23:07 -0400)]
vstf testcase document

JIRA: BOTTLENECK-90

Change-Id: I94ad89d60375679c6afd3bf8dca494c175e63ce8
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agorubbos testcases description document 63/17763/1
MatthewLi [Fri, 29 Jul 2016 02:12:55 +0000 (22:12 -0400)]
rubbos testcases description document

JIRA: BOTTLENECK-89

Change-Id: Ib283c3fdd154582efaf92886f22a506a5985694e
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agoproject document refactoring 77/17677/1
MatthewLi [Thu, 28 Jul 2016 07:29:14 +0000 (03:29 -0400)]
project document refactoring

JIRA: BOTTLENECK-88

Change-Id: I393987a9c1711d25585819176ee9b014a713cf4a
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agobugfix for image cleanup and python script calling by subprocess shell 31/15431/1
MatthewLi [Mon, 13 Jun 2016 07:38:30 +0000 (03:38 -0400)]
bugfix for image cleanup and python script calling by subprocess shell

JIRA: BOTTLENECK-70

log is shown in https://build.opnfv.org/ci/view/bottlenecks/job/bottlenecks-compass-vstf-virtual-daily-master/9/console
and https://build.opnfv.org/ci/view/bottlenecks/job/bottlenecks-compass-vstf-virtual-daily-master/10/console
for image names, we use bottlenecks_<suite name>_<option>
for vstf_collector.py, it is used for transfer test result to community dashboard, it works for B release, for C release,
we should adapt it later, now we only fix its path error.

Change-Id: Iad2bf39837d02aa1e5ea8a323411d98082135882
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agobugfix for vstf stack name 13/15413/2
MatthewLi [Sun, 12 Jun 2016 03:38:56 +0000 (23:38 -0400)]
bugfix for vstf stack name

JIRA: BOTTLENECK-70

Change-Id: I768be0a0b30df266f6f130bf616d6d808cf1849c
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agobugfix for vstf running 05/15205/1
MatthewLi [Mon, 6 Jun 2016 09:21:18 +0000 (05:21 -0400)]
bugfix for vstf running

Change-Id: I9777e84b9be905c484a7d86be2287cde27ae33fe
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agobugfix for missing python package 01/15201/1
MatthewLi [Mon, 6 Jun 2016 07:04:15 +0000 (03:04 -0400)]
bugfix for missing python package

Change-Id: I2a8ab6fbbeff407713eea71ebf504a2ce2dbb342
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agoMerge "config info for different testcase in vstf"
yaoguang wang [Mon, 6 Jun 2016 00:08:53 +0000 (00:08 +0000)]
Merge "config info for different testcase in vstf"

8 years agorun vstf test case 35/15135/1
MatthewLi [Fri, 3 Jun 2016 07:25:51 +0000 (03:25 -0400)]
run vstf test case

JIRA: BOTTLENECK-70

Change-Id: Iade7d7a97f3b0ba54be33b37cf80c1530c410b95
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agoconfig info for different testcase in vstf 47/15047/2
MatthewLi [Thu, 2 Jun 2016 03:27:05 +0000 (23:27 -0400)]
config info for different testcase in vstf

JIRA: BOTTLENECK-70

Change-Id: I21cf538b7984cbc5036fc6fe897d0c90eec19e55
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agobugfix for dpkg lock 63/14963/1
MatthewLi [Wed, 1 Jun 2016 11:57:30 +0000 (07:57 -0400)]
bugfix for dpkg lock

Change-Id: Icd024d990635b5a52385f11e7b458e18a8f186f1
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agobugfix for download image function return value 57/14957/1
MatthewLi [Wed, 1 Jun 2016 10:39:40 +0000 (06:39 -0400)]
bugfix for download image function return value

JIRA: BOTTLENECK-86

Change-Id: Ia76b833bdec7554468ce081d3d572e87cea2d9f7
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agofile download separated from image creation progress 55/14955/1
MatthewLi [Wed, 1 Jun 2016 09:52:51 +0000 (05:52 -0400)]
file download separated from image creation progress

JIRA: BOTTLENECK-86

Change-Id: I1603d8121d58ea36d6bd2aa241590fddd70c2e6f
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agobugfix for vstf path name 41/14941/1
MatthewLi [Wed, 1 Jun 2016 07:42:56 +0000 (03:42 -0400)]
bugfix for vstf path name

Change-Id: Id91a4d743f7e94b962db4cc50b125700049e311a
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agovstf instance creation 03/12703/6
MatthewLi [Wed, 27 Apr 2016 08:01:37 +0000 (04:01 -0400)]
vstf instance creation

JIRA: BOTTLENECK-70

the instance creation process is added here, as for the config info parsing,
it will be added in next patches in prepare_env func in run_vstf.py.
the images used by vstf should be changed next time, temporarily, the rubbos image
is used.

Change-Id: I2ffe03dc64ec4f315e4383c59831cfbdfbebdcfb
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agoMerge "debug: git installation errors"
MatthewLi [Wed, 1 Jun 2016 02:45:24 +0000 (02:45 +0000)]
Merge "debug: git installation errors"

8 years agodebug: git installation errors 23/14923/1
MatthewLi [Wed, 1 Jun 2016 02:41:40 +0000 (22:41 -0400)]
debug: git installation errors

Change-Id: I36b03085030284a951fc35c3b898ceeb245390a6
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agoMerge "omit the instance reboot temporarily"
MatthewLi [Wed, 1 Jun 2016 01:39:00 +0000 (01:39 +0000)]
Merge "omit the instance reboot temporarily"

8 years agoomit the instance reboot temporarily 21/14921/1
MatthewLi [Wed, 1 Jun 2016 01:32:57 +0000 (21:32 -0400)]
omit the instance reboot temporarily

Change-Id: Ic73b953cc7b63e4629ba7ad9c673196528891c4f
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agoMerge "extend time after instance creation"
MatthewLi [Tue, 31 May 2016 12:26:06 +0000 (12:26 +0000)]
Merge "extend time after instance creation"

8 years agoextend time after instance creation 67/14867/1
MatthewLi [Tue, 31 May 2016 12:22:21 +0000 (08:22 -0400)]
extend time after instance creation

Change-Id: I996944eacb7c2f57784aec50df75047d9780a1dc
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agoMerge "extend the sleep time after instance reboot"
MatthewLi [Tue, 31 May 2016 11:49:50 +0000 (11:49 +0000)]
Merge "extend the sleep time after instance reboot"

8 years agoextend the sleep time after instance reboot 65/14865/1
MatthewLi [Tue, 31 May 2016 11:46:03 +0000 (07:46 -0400)]
extend the sleep time after instance reboot

Change-Id: I47b471be9d74bce5cef35f1d4f447900e54b7210
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agoMerge "add test case 1-1-0-1 with 10 clients"
yaoguang wang [Fri, 20 May 2016 09:42:06 +0000 (09:42 +0000)]
Merge "add test case 1-1-0-1 with 10 clients"

8 years agoadd test case 1-1-0-1 with 10 clients 25/14425/2
MatthewLi [Fri, 20 May 2016 09:00:59 +0000 (05:00 -0400)]
add test case 1-1-0-1 with 10 clients

JIRA: BOTTLENECK-84

Change-Id: I4de0971b6d4ba60f3a0261e303fa194495c033c4
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agoadd test case 1-3-0-1 23/14423/1
MatthewLi [Fri, 20 May 2016 08:44:43 +0000 (04:44 -0400)]
add test case 1-3-0-1

JIRA: BOTTLENECK-83

Change-Id: I1d4d4b4f53cedc6aa987f7842016099725aad516
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agoAdd a test case for rubbos 17/14417/1
wangyaoguang [Fri, 20 May 2016 07:37:16 +0000 (15:37 +0800)]
Add a test case for rubbos

The resources for this test case is 1-4-0-1 configuration.

JIRA: BOTTLENECK-80

Change-Id: I1eb013bc6b3fd0e988c809fcb068aa999cd9a73e
Signed-off-by: wangyaoguang <sunshine.wang@huawei.com>
8 years agoAdd a fundamental rubbos test case with minimum resources 15/14415/1
wangyaoguang [Fri, 20 May 2016 07:13:44 +0000 (15:13 +0800)]
Add a fundamental rubbos test case with minimum resources

This is a fundamental test case with minimum resource for rubbos test.
The benefits are two-fold. One is as daily test case since its bring-up time is fastest.
Another is as a baseline.

JIRA: BOTTLENECK-79

Change-Id: Ia4ffa5f2631da69ca5c6fc52558d3cf063d1b893
Signed-off-by: wangyaoguang <sunshine.wang@huawei.com>
8 years agoadd one test case for rubbos 13/14213/1
wangyaoguang [Tue, 17 May 2016 00:02:05 +0000 (08:02 +0800)]
add one test case for rubbos

This test case takes 1-2-0-1 configuration in rubbos.

JIRA: BOTTLENECK-78

Change-Id: I0a3c551d44ce2fadb2c42fac25426d07fad8aa95
Signed-off-by: wangyaoguang <sunshine.wang@huawei.com>
8 years agobugfix: dpkg was interrupted in one ubuntu instance 93/13893/1
wangyaoguang [Wed, 11 May 2016 06:58:21 +0000 (14:58 +0800)]
bugfix: dpkg was interrupted in one ubuntu instance

dpkg issue, ref:https://build.opnfv.org/ci/view/bottlenecks/job/bottlenecks-fuel-rubbos-opnfv-jump-2-daily-master/2/console

JIRA: BOTTLENECK-77

Change-Id: Ie6fdc849d056b93e5ef41ac15375d4e9b83e2330
Signed-off-by: wangyaoguang <sunshine.wang@huawei.com>
8 years agochange remote git repository url 81/13881/1
wangyaoguang [Wed, 11 May 2016 01:00:52 +0000 (09:00 +0800)]
change remote git repository url

The old domain git.opnfv.org is not accessible.

JIRA: BOTTLENECK-74

Change-Id: I8e498e0432bacbd5ed83af4ed07ddb4e76e93ee8
Signed-off-by: wangyaoguang <sunshine.wang@huawei.com>
8 years agoMerge "Replace puppet node definition with regular expression"
Jun Li [Tue, 10 May 2016 13:56:30 +0000 (13:56 +0000)]
Merge "Replace puppet node definition with regular expression"