Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
|
|
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>
|
|
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
JIRA: BOTTLENECK-100
Adding flake8 configuration and fix for POSCA
Change-Id: Ib822d5abde535263a4473d67c15cc17995f1417b
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
|
|
JIRA: BOTTLENECK-108
Typo in Dockerfile that causing $BRANCH var not effective
Change-Id: I1f156e5b554ebd6f9a1b2d689b1c23c783a4e8af
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
|
|
JIRA: BOTTLENECK-108
Enabling the git repo branch choosing in dockerfile for Bottlenecks.
Change-Id: Id03c39e59cb1b38d198ec37f613c9660bcf335cd
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
|
|
JIRA: BOTTLENECK-108
Due the version problem, docker build job fails each time.
Change-Id: I179ec56295f344fbd14ffeb8650c8d4625507379
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
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>
|
|
|
|
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>
|
|
|
|
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>
|
|
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>
|
|
JIRA: BOTTLENECK-65
Add installation of VIRTUALENV and deletion of it.
Change-Id: I4a339e8e87775fc2ea1e12d8fbf473850076bbd3
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
JIRA: BOTTLENECK-103
Fixing the bug when key generation within rubbos controller
Change-Id: Ib444b3a8fab14217bda75bee307ea18652e8b4e4
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
|
|
|
|
|
|
|
|
'add_posca_test_suite_framework'
* changes:
Add Factor Testcase TX PKT Size
Adding Posca Testsuite in Bottlenecks
|
|
|
|
JIRA: BOTTLENECK-101
Using autopep8 to fix the python style scanned by flake8
Change-Id: I74bf28ed4d999dac3dd36e9101f099c9853a49b6
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
|
|
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>
|
|
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>
|