Age | Commit message (Collapse) | Author | Files | Lines |
|
JIRA:BOTTLENECK-130
this patch will fix this bug:
we try to expect this error,
And we try to run it again.
if failed, then yardstick RestAPI or have some error.
Change-Id: I9fa63da637456a16c151f4fe7c566b3f5ff0e01d
Signed-off-by: liyin <liyin11@huawei.com>
|
|
JIRA:BOTTLENECK-129
This patch fix the error of log_dir can't be found.
And change several thing:
1.Add if config don't have test_ip, it will use local:8888 as test ip.
2.Fix the bug in setup.py.
3.Add parser init to logger file.
Change-Id: I808c69e2b2ff3c04f271cc7f3e14e1ab406a4d1b
Signed-off-by: liyin <liyin11@huawei.com>
|
|
JIRA:BOTTLENECK-126
realize the function of parsering stack config.
include the function all the jira mationed.
it's important for stack creating.
this patch also include manager.py.
This file modify some file such like template intial.
Change-Id: Iaa6fdbde6bf9cb1ff9875d47268440dfe70ecc49
Signed-off-by: liyin <liyin11@huawei.com>
|
|
|
|
JIRA:BOTTLENECK-103
This is the foundation of adding stack samples.
This code change a lot code.
but it's a basic.
Those code will be changed in the furture.
Change-Id: I8d5bbb9cc401b1aaac54ec4dffc4c005a42d17ac
Signed-off-by: liyin <liyin11@huawei.com>
|
|
|
|
|
|
JIRA:BOTTLENECK-127
This file is a copy of yardstick.
This file have been tested.
All function could be used in bottlenecks VM.
This include some function about how to excute commonds to VM.
This will be used in Bottlenecks functional testing.
Change-Id: I123a6753d0b7855948ae9bf7bedc245f90c4a3b6
Signed-off-by: liyin <liyin11@huawei.com>
|
|
JIRA: BOTTLENECK-100
Modify all the code in the utils folder into PEP8 style.
Using more standard way to realize our function.
Change-Id: Ie75c57f7fdd2a9d03849c3cb240918a6779d6be9
Signed-off-by: liyin <liyin11@huawei.com>
|
|
|
|
|
|
JIRA:BOTTLENECK-125
This code incloud the actions below:
1)download unbuntu image.
2)modify this image bu mount it.
3)pack all files into a new image.
those two files are copied from yardstick and slightly modified.
Change-Id: I99c1ab266202767717906aed544d7e96cfeaa1a3
Signed-off-by: liyin <liyin11@huawei.com>
|
|
|
|
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>
|
|
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-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>
|
|
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>
|