bottlenecks.git
6 years agoDocs update for E 5.1 41/49041/1 opnfv-5.1.0
Yang Yu [Thu, 14 Dec 2017 08:39:34 +0000 (16:39 +0800)]
Docs update for E 5.1

Change-Id: I53972edc64398339463824d5f8d7193a6e15481f
Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
(cherry picked from commit ec584918ae66e92c7d8b5ff41b0df4ad391d2349)

6 years agoMerge "Datasource and Dashboard automation script" into stable/euphrates
Yu Yang (Gabriel) [Tue, 7 Nov 2017 06:59:27 +0000 (06:59 +0000)]
Merge "Datasource and Dashboard automation script" into stable/euphrates

6 years agoAdd project name before UserDevloeper Guide 21/46621/1
Morgan Richomme [Wed, 18 Oct 2017 09:27:37 +0000 (11:27 +0200)]
Add project name before UserDevloeper Guide
otherwise title User Guide without context may be misleading

Change-Id: I7ae96154633d21dec5ab540e8817ea1c04989cda
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit c0ce68364a81e1452b6e28d28b3dbe036b2f24ed)

6 years agoHarmonization of the naming of the titeles of the testing project guides 15/46615/1
Morgan Richomme [Wed, 18 Oct 2017 06:42:25 +0000 (08:42 +0200)]
Harmonization of the naming of the titeles of the testing project guides

Change-Id: I3e4febb08afa58689a9d43e1083ba2a7cd16fd22
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 11f24bf3166fec3dbc494453b08c0c4d2da6ad44)

6 years agoupdate the Euphrates docs 05/46605/1
Yang Yu [Tue, 12 Sep 2017 06:46:37 +0000 (14:46 +0800)]
update the Euphrates docs

JIRA: BOTTLENECK-170

This patch is to update the euphrates docs to commandate new
changes.

Change-Id: I766f3e689c9093694e82995f1b0f013f316636ab
Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
(cherry picked from commit 779ae65968952732fda657b35a92b201eb36d4ea)

6 years agoDatasource and Dashboard automation script 99/46499/1
Rutuja Surve [Thu, 21 Sep 2017 17:35:34 +0000 (13:35 -0400)]
Datasource and Dashboard automation script

JIRA: BOTTLENECK-180

Automated creation of Prometheus datasource and
dashboard for Grafana

Change-Id: Id1e0323f74a0587b0fe3c80ba7a39843893f00ec
Signed-off-by: Rutuja Surve <rutuja.r.surve@gmail.com>
(cherry picked from commit 32a1ab12db4b85bde421465fec5bfb7e15f9ca38)

6 years agobug-fix: make CLI available by adding docker operations 03/41903/2
Yang Yu [Thu, 14 Sep 2017 02:38:29 +0000 (10:38 +0800)]
bug-fix: make CLI available by adding docker operations

JIRA: BOTTLENECK-197

offline test is executed which validated this patch

Change-Id: Ib98e64781697839a7c1896d4089279d017d738ad
Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
6 years agoAdd local support for config preparation before testing 67/41167/4
Yang Yu [Wed, 6 Sep 2017 09:49:46 +0000 (17:49 +0800)]
Add local support for config preparation before testing

JIRA: BOTTLENECK-103

Lcoal support for finding openstack certs and pod yamls

Change-Id: Ia0f0ee2fd841a4f88e82ac3f504613a6f431107e
Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
6 years agoMerge "Bottlenecks committer update"
Yu Yang (Gabriel) [Mon, 21 Aug 2017 08:11:45 +0000 (08:11 +0000)]
Merge "Bottlenecks committer update"

6 years agoMerge "VNF characterizaion scale_out test, untested"
Yu Yang (Gabriel) [Thu, 10 Aug 2017 08:34:18 +0000 (08:34 +0000)]
Merge "VNF characterizaion scale_out test, untested"

6 years agoMerge "VNF characterization scale_up test, untested"
Yu Yang (Gabriel) [Thu, 10 Aug 2017 08:33:28 +0000 (08:33 +0000)]
Merge "VNF characterization scale_up test, untested"

6 years agoMerge "system bandwidth testcase frame rebuild"
Yu Yang (Gabriel) [Thu, 10 Aug 2017 08:32:34 +0000 (08:32 +0000)]
Merge "system bandwidth testcase frame rebuild"

6 years agoVNF characterizaion scale_out test, untested 33/38233/5
Ross Brattain [Wed, 26 Jul 2017 23:25:08 +0000 (16:25 -0700)]
VNF characterizaion scale_out test, untested

The purpose of this test is to increase the
number of VNFs being tested while monitoring
aggregate performance scaling.

requires https://gerrit.opnfv.org/gerrit/#/c/37993

Change-Id: I0015ef0326859512c7b9ab4c57ef9b5a710ca852
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agoVNF characterization scale_up test, untested 31/38231/6
Ross Brattain [Wed, 26 Jul 2017 23:20:12 +0000 (16:20 -0700)]
VNF characterization scale_up test, untested

The purpose of this test is to increase the amount
of resources provided to the VNF and monitor the ablilty
of the VNF to scale

requires https://gerrit.opnfv.org/gerrit/#/c/37991/

Change-Id: I4e2384ef120dea2348a623acc1d439696d95e73b
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
6 years agosystem bandwidth testcase frame rebuild 57/38757/3
liyin [Fri, 4 Aug 2017 09:09:00 +0000 (17:09 +0800)]
system bandwidth testcase frame rebuild

JIRA: BOTTLENECK-177

This patch will debug some error in system bandwidth testcase.
use the new docker way to test this testcase.
Bug fix about dashboard and test framework.

Change-Id: I7167ffd75efab9a7780407aa5b9a4337ebb9b4c7
Signed-off-by: liyin <liyin11@huawei.com>
6 years agoBottlenecks committer update 35/38735/1
Yang Yu [Fri, 4 Aug 2017 03:35:07 +0000 (11:35 +0800)]
Bottlenecks committer update

According to email communication with Bottlenecks committer,
4 committers step down and 1 committer cooptation. Details will
be sent out through email.

Change-Id: I19acc55075d47d240659b0ec2ff19761bdb70a92
Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
6 years agochange Dockerfile to adapt Branches 33/38733/1
Yang Yu [Fri, 4 Aug 2017 03:15:01 +0000 (11:15 +0800)]
change Dockerfile to adapt Branches

Reverse dockerfile

Change-Id: I827209833ae4e34e20afba522557c83f4acaaf45
Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
6 years agoMerge "Remove Branch var for docker build push"
Yu Yang (Gabriel) [Fri, 4 Aug 2017 02:57:20 +0000 (02:57 +0000)]
Merge "Remove Branch var for docker build push"

6 years agoRemove Branch var for docker build push 21/38721/2
Yang Yu [Fri, 4 Aug 2017 02:43:26 +0000 (10:43 +0800)]
Remove Branch var for docker build push

For Dovetail, remove the var temporiately

Change-Id: Ic833d565435b431c83d995c5f5174890cd0570cb
Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
6 years agoMerge "Change path to reporting db"
Yu Yang (Gabriel) [Thu, 3 Aug 2017 04:01:50 +0000 (04:01 +0000)]
Merge "Change path to reporting db"

6 years agoChange path to reporting db 91/38591/2
Yang Yu [Wed, 2 Aug 2017 08:32:02 +0000 (16:32 +0800)]
Change path to reporting db

JIRA: BOTTLENECK-158

Change the path env to align with CI pipeline

Change-Id: Ib5a7799c3eb3e5ba9056aa738c4c3b15995e3c11
Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
6 years agoAdd modify output file function 93/38593/1
liyin [Wed, 2 Aug 2017 08:30:16 +0000 (16:30 +0800)]
Add modify output file function

JIRA: BOTTLENECK-176

Add function which could modify outfile name.
Also a bug fix about yardstick docker version should be danube.3.1

Change-Id: I0e0bb5b26cae44358311d17932c698505560974c
Signed-off-by: liyin <liyin11@huawei.com>
6 years agoMerge "Add yardstick danube3.1 support."
Yu Yang (Gabriel) [Wed, 2 Aug 2017 06:41:00 +0000 (06:41 +0000)]
Merge "Add yardstick danube3.1 support."

6 years agoMerge "Bottlenecks testcase rebuild"
Yu Yang (Gabriel) [Wed, 2 Aug 2017 06:30:24 +0000 (06:30 +0000)]
Merge "Bottlenecks testcase rebuild"

6 years agoAdd yardstick danube3.1 support. 69/38569/2
Ace Lee [Wed, 2 Aug 2017 01:47:06 +0000 (01:47 +0000)]
Add yardstick danube3.1 support.

JIRA: BOTTLENECK-173

This patch will add a result handle for Yardstick danube
This is only for bottlenecks danube to use.
This will change time to 2 min to wait for Yardstick result back

Change-Id: Icbd9d89f3e3816df947eaf6f70a12c86f74a2812
Signed-off-by: Ace Lee <liyin11@huawei.com>
6 years agoBottlenecks testcase rebuild 63/38563/2
Ace Lee [Tue, 1 Aug 2017 10:48:21 +0000 (10:48 +0000)]
Bottlenecks testcase rebuild

JIRA: BOTTLENECK-175

After this patch,
Bottlenecks will try to find the stress of the openstack system.
we try to create 20 stacks one time.
And 20 stacks the other time.
we will try to find if openstack will pass threshhold twice.
This patch only affact latest version

Change-Id: I6146cf5c6fe0ac4968337cc36e07f715b64191d0
Signed-off-by: Ace Lee <liyin11@huawei.com>
6 years agoAdd support for arbitary DB reporting 09/38509/1
Yang Yu [Tue, 1 Aug 2017 07:01:49 +0000 (15:01 +0800)]
Add support for arbitary DB reporting

JIRA: BOTTLENECK-158

Support for arbitary DB reporting. TestperfDB and Dovetail DB are
within currently consideration.

Change-Id: I4373e5f295d26155e2b4fda59044cc4e922c3557
Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
6 years agoBottlenecks Https support 01/38501/2
Ace Lee [Tue, 1 Aug 2017 03:10:27 +0000 (03:10 +0000)]
Bottlenecks Https support

JIRA: BOTTLENECK-174

Bottlenecks Https Support
After this patch, you could use https method to run Bottlenecks
Motion that if you want to use https, you need to write down the cacert
at Bottlenecks /tmp/ dir

Change-Id: I86fda57c76179d52e7d4c06c7289e2fcc15a4bc0
Signed-off-by: Ace Lee <liyin11@huawei.com>
6 years agoMerge "Add Grafana for displaying time series from Prometheus"
Yu Yang (Gabriel) [Mon, 31 Jul 2017 01:27:57 +0000 (01:27 +0000)]
Merge "Add Grafana for displaying time series from Prometheus"

6 years agoBug fix: Bottlenecks sometimes deadlock 43/37843/3
Ace Lee [Thu, 20 Jul 2017 08:48:47 +0000 (08:48 +0000)]
Bug fix: Bottlenecks sometimes deadlock

JIRA: BOTTLENECK-173

This patch will change the way to call multithreading.
And change some encoding error about Yardstick config

Change-Id: I04803bff6acaad1089d180b104652049f1f0a485
Signed-off-by: Ace Lee <liyin11@huawei.com>
6 years agoAdd Grafana for displaying time series from Prometheus 37/37837/2
yuyang [Thu, 20 Jul 2017 05:07:25 +0000 (13:07 +0800)]
Add Grafana for displaying time series from Prometheus

JIRA: BOTTLENECK-172

Add Grafana for the monitoring result dashboarding

Change-Id: I9b17f4bd745c8556e2b551c6b499d77e3406cbf4
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
6 years agoBug fix: fit Yardstick 3.1 version. 75/37675/2
liyin [Tue, 18 Jul 2017 06:55:29 +0000 (14:55 +0800)]
Bug fix: fit Yardstick 3.1 version.

JIRA: BOTTLENECK-173

This patch will add a file to create some yardstick conf,
Yardstick will use this file to manage output file type.

Change-Id: I1d265af9f0b9b5132dc63c4d6d95d5bc194c7ff6
Signed-off-by: liyin <liyin11@huawei.com>
6 years agoBug fix of Bottlenecks can't use CLI 17/37617/1
liyin [Mon, 17 Jul 2017 09:45:38 +0000 (17:45 +0800)]
Bug fix of Bottlenecks can't use CLI

JIRA: BOTTLENECK-171

Bug fix of Bottlenecks can't use CLI to start test.
Some docker-compose function delete to fit elk docker support.
After this patch you could use bottlenecks testcase run
posca_factor_ping to start this test.
you also need to put the rc file to bottlenecks docker.

Change-Id: I340e31185a499c81f9595a902df89d8f0ddf0cd3
Signed-off-by: liyin <liyin11@huawei.com>
6 years agoMerge "Add test monitoring module"
Yu Yang (Gabriel) [Mon, 17 Jul 2017 03:48:30 +0000 (03:48 +0000)]
Merge "Add test monitoring module"

6 years agoAdd test monitoring module 91/37491/2
yuyang [Fri, 14 Jul 2017 09:27:13 +0000 (17:27 +0800)]
Add test monitoring module

JIRA: BOTTLENECK-172

Add the monitoring module for Bottlenecks testing. Merging into
the framework will be in another patch since framework is under
refactoration.

Change-Id: I72eb1b6cabac6a9d1d0ef1fb6430f364e8ad76df
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
6 years agoAdd frame support of elk one docker support 15/37315/8
liyin [Thu, 13 Jul 2017 03:54:08 +0000 (11:54 +0800)]
Add frame support of elk one docker support

JIRA: BOTTLENECK-171

Add support of Bottlenecks docker frame refact,
After this patch we will provide the ability of several installer.
Add Yardstick_TAG to adjust yardstick docker version

Change-Id: Ib431f8acf4a76b59f9d5e8783bcc7d2e5be208ae
Signed-off-by: liyin <liyin11@huawei.com>
6 years agoAdd docker container manage function 31/37231/2
liyin [Wed, 12 Jul 2017 02:57:13 +0000 (10:57 +0800)]
Add docker container manage function

JIRA: BOTTLENECK-171

This patch will add a file to create some function,
Bottlenecks will use those function to manage docker.
for example: docker ip address , create docker ,remove docker.

Change-Id: I60e70ed9c6c7805e85b183ea3b19295fce68f657
Signed-off-by: liyin <liyin11@huawei.com>
6 years agoInitiate docs for Euphrates Release 59/36859/11
yuyang [Mon, 3 Jul 2017 09:59:12 +0000 (17:59 +0800)]
Initiate docs for Euphrates Release

JIRA: BOTTLENECK-170

Initiate docs for euphrates release by chaning the
directory structure and contents framework

Change-Id: Id051574a9d489c5b4f90b7e079ce8482413b1b53
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
6 years agoMerge "Docs for Danube 3"
Yu Yang (Gabriel) [Wed, 21 Jun 2017 08:08:55 +0000 (08:08 +0000)]
Merge "Docs for Danube 3"

6 years agoDocs for Danube 3 73/36173/3
yuyang [Mon, 19 Jun 2017 08:19:26 +0000 (16:19 +0800)]
Docs for Danube 3

JIRA: BOTTLENECKS-137

Documentation for Danube 3

Change-Id: Ic4b2611028fa45c0b731e998296e5000e35a33f6
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
6 years agoRemove redundant print functions 67/35767/1
yuyang [Mon, 5 Jun 2017 02:44:21 +0000 (10:44 +0800)]
Remove redundant print functions

JIRA: BOTTLENECK-158

Remove redundant print functions for report log

Change-Id: I35c43fd3e30090bc296823faca55b49c0431a1fb
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
6 years agoBugfix: json format transform for report 01/35401/2
yuyang [Fri, 26 May 2017 09:33:56 +0000 (17:33 +0800)]
Bugfix: json format transform for report

JIRA: BOTTLENECK-158

The details part of report is not json formatted.
This patch is to fix it.

Change-Id: I089dae0c12e14935e4b7a5e7bdbe69f00e003f98
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
6 years agoBugfix: dockerfile does not support basename 17/35317/1
yuyang [Thu, 25 May 2017 07:46:55 +0000 (15:46 +0800)]
Bugfix: dockerfile does not support basename

JIRA: BOTTLENECK-158

Remove basename commond in docker-compose file

Change-Id: If06bac1903b2b830f9e5e4133f3315fb9f424c18
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
6 years agoAdd reporting to MongoDB 39/35139/16
yuyang [Mon, 22 May 2017 11:19:56 +0000 (19:19 +0800)]
Add reporting to MongoDB

JIRA: BOTTLENECK-158

Add reporting function to community MongoDB

Change-Id: Idebc191b20ad238dbdd129ce38131b79e7133e35
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
6 years agoAdd test name check function and cleanup 19/35119/4
yuyang [Mon, 22 May 2017 02:23:55 +0000 (10:23 +0800)]
Add test name check function and cleanup

JIRA: BOTTLENECK-158

Add test case/story name check and cleanup environment option.

Change-Id: I07609c089ca78b0d2760c09c0312d7d1106c815a
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
6 years agoDelete testcase of rubbos and vstf. 47/34547/1
liyin [Mon, 8 May 2017 09:04:32 +0000 (09:04 +0000)]
Delete testcase of rubbos and vstf.

JIRA:BOTTLENECK-167

This patch will delete vstf and rubbos testcase code.
Include some testcase config file,
if there will be someone who want to use this testcase
maybe B or C version code will contain those testcase.
if you use the D version code to run this two testcase
we will info you that:
    Rubbos testsuite is not updating anymore.
    This entrance for running Rubbos within Bottlenecks is no longer supported.

Change-Id: I04e4042ff3998b3696df2ed47a9ffab6f1620ec3
Signed-off-by: liyin <liyin11@huawei.com>
6 years agoMerge "Change PTL informatin in INFO"
Yu Yang (Gabriel) [Thu, 4 May 2017 06:43:43 +0000 (06:43 +0000)]
Merge "Change PTL informatin in INFO"

6 years agoChange PTL informatin in INFO 99/34199/1
yuyang [Thu, 4 May 2017 06:33:17 +0000 (14:33 +0800)]
Change PTL informatin in INFO

Due to recent email voting results, change the PTL promotion
result in INFO. Detailed information could be found below.
https://lists.opnfv.org/pipermail/opnfv-tsc/2017-April/003422.html

Change-Id: I5c942668cbe03e697bd0865cc8aee1980afed104
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
6 years agoAdd description of environment clean-up 31/34031/2
yuyang [Tue, 2 May 2017 04:16:22 +0000 (12:16 +0800)]
Add description of environment clean-up

JIRA: BOTTLENECK-165

More details of the environment clean-up for ping test case

Change-Id: I4b12a219155400235ae2bcb970efb3ba237153d9
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
6 years agoDocs for Danube 2.0 35/33735/6
yuyang [Tue, 25 Apr 2017 03:17:25 +0000 (11:17 +0800)]
Docs for Danube 2.0

JIRA: BOTTLENECK-165

Documents adapted to Danube 2.0

Change-Id: Ic46cc0ad2f2706986b294f539bba1264ec6f8b0b
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agoMerge "Add more information to Table for stress ping"
Yu Yang (Gabriel) [Tue, 25 Apr 2017 02:08:53 +0000 (02:08 +0000)]
Merge "Add more information to Table for stress ping"

7 years agoAdd more information to Table for stress ping 97/33597/1
yuyang [Thu, 20 Apr 2017 16:01:56 +0000 (00:01 +0800)]
Add more information to Table for stress ping

JIRA: BOTTLENECK-164

Table for stress ping is showing results categories for different number of users.
It does not show the results for every testing round, just show uniquely
testing round with different success rates.
This patch is to make sure showing every results.

Change-Id: I3a33164024e3da23de31d546767f0fb29952983d
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agoBugfix of docker-compose file for privileged 71/33571/1
yuyang [Thu, 20 Apr 2017 07:05:58 +0000 (15:05 +0800)]
Bugfix of docker-compose file for privileged

JIRA: BOTTLENECK-163

privileged option in docker-compose file should be true to avoid
"permission deny" error when accessing directories

Change-Id: I1a57146236efb5fe71405c5b7682af706a8814bf
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agoFix code style issues for specificed path 31/33231/3
yuyang [Tue, 11 Apr 2017 06:47:07 +0000 (14:47 +0800)]
Fix code style issues for specificed path

JIRA: BOTTLENECK-100

Fix code syle issues for the path flake8 specified before flake8
check merged into CI pipeline.

Change-Id: Iee59bada206fafd4740023e90d08a4b4a7a030db
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agoFinalize docs for Danube 1.0 57/32557/4
yuyang [Thu, 30 Mar 2017 16:26:31 +0000 (00:26 +0800)]
Finalize docs for Danube 1.0

JIRA: BOTTLENECK-145

Polishing docs and finalizing docs for Danube 1.0.

Change-Id: Iea5490785bce802aff37b7f52172d7f14ea358e0
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agoMerge "bugfix: bottlenecks devguide in docs.opnfv.org"
Yu Yang (Gabriel) [Wed, 29 Mar 2017 08:25:09 +0000 (08:25 +0000)]
Merge "bugfix: bottlenecks devguide in docs.opnfv.org"

7 years agobugfix: bottlenecks devguide in docs.opnfv.org 11/32111/1
yuyang [Wed, 29 Mar 2017 01:58:10 +0000 (09:58 +0800)]
bugfix: bottlenecks devguide in docs.opnfv.org

JIRA: BOTTLENECK-149

Adjust the directory structure to make Bottlenecks devguide
on docs.opnfv.org.

Change-Id: Ib773a26ca5f4eaee94834ff641ec45531ef3025c
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agobugfix: fix bugs for running 'teststory run' 63/31963/2
yuyang [Tue, 28 Mar 2017 02:40:35 +0000 (10:40 +0800)]
bugfix: fix bugs for running 'teststory run'

JIRA: BOTTLENECK-144

utils/parser.py:56 has incorrect var:cls which cause pass more
var to testcase_read function.

Change-Id: I2d4b93f95d19a205e537515529746f6d9e13fe2c
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agoAdd docker clean-up for run test 73/31873/2
yuyang [Mon, 27 Mar 2017 07:41:23 +0000 (15:41 +0800)]
Add docker clean-up for run test

JIRA: BOTTLENECK-148

Currently, only OPNFV CI includes env-cleanup for Bottlenecks.
It is preferable to also include the operation locally
for test automation and repeatability.

Changes:
1. Translate tab into 4 spaces

Change-Id: I9f4efb95c155e442afd3141c00f707421c61b2da
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agoMerge "CLI acommadation to the current test case calling method"
Yu Yang (Gabriel) [Mon, 27 Mar 2017 03:10:50 +0000 (03:10 +0000)]
Merge "CLI acommadation to the current test case calling method"

7 years agoMerge "Add task selection to test suite entrance file"
Yu Yang (Gabriel) [Mon, 27 Mar 2017 02:01:07 +0000 (02:01 +0000)]
Merge "Add task selection to test suite entrance file"

7 years agoCLI acommadation to the current test case calling method 69/31769/2
yuyang [Sat, 25 Mar 2017 10:31:39 +0000 (18:31 +0800)]
CLI acommadation to the current test case calling method

JIRA: BOTTLENECK-144

Calling method of POSCA test case has changed. CLI for calling
the run test case script should also adjust.

Change-Id: Ia007b658903c8133c824358943f325b070d1e195
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agoAdd task selection to test suite entrance file 65/31765/4
yuyang [Sat, 25 Mar 2017 08:40:19 +0000 (16:40 +0800)]
Add task selection to test suite entrance file

JIRA: BOTTLENECK-143

Add task selection to test suite entrance file

Change-Id: Ia21b3121d104a457a66e2c77e3caf091e102f388
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agoUpdate document according to Danube release plan 51/31651/7
yuyang [Fri, 24 Mar 2017 03:24:17 +0000 (11:24 +0800)]
Update document according to Danube release plan

JIRA: BOTTLENECK-145

Currently, the docs of Bottlenecks still follow the format
from Colorado. Some work need to be done regarding reorganizing
the contents according to the Danube release.

Change-Id: I4ece51abc558bb7128565125224b5e8579a198f7
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agoBugfix: set docker api version to 1.24 63/31563/1
yuyang [Thu, 23 Mar 2017 11:59:29 +0000 (19:59 +0800)]
Bugfix: set docker api version to 1.24

JIRA: BOTTLENECK-146

Set docker api version to 1.24

Change-Id: Id05527e628c7fa6ff3382bd68741bd36fc706fe6
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agoBugfix: fix docker version to 2.1.0 41/31541/1
yuyang [Thu, 23 Mar 2017 09:40:27 +0000 (17:40 +0800)]
Bugfix: fix docker version to 2.1.0

JIRA: BOTTLENECK-146

Fix the docker API library to 2.1.0

Change-Id: I4cf2801db2adc28325a587411f802515176e8d03
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agoBugfix: fix docker version instead of API version 35/31535/1
yuyang [Thu, 23 Mar 2017 09:23:35 +0000 (17:23 +0800)]
Bugfix: fix docker version instead of API version

JIRA: BOTTLENECK-146

In 31527, API version is 1.24, docker version should be 1.12

Change-Id: I529f16372aaa00b4fc802344b559453677b7b560
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agobugfix: docker client version newer than docker server 21/31521/1
yuyang [Thu, 23 Mar 2017 08:59:52 +0000 (16:59 +0800)]
bugfix: docker client version newer than docker server

JIRA: BOTTLENECK-146

Docker client is needed in Bottlenecks docker for the purpose to
use docker command within docker.
The inconsistence of docker client version with
docker server version causing building falure.

Change-Id: Ib4ecf9c40db5492438b27550636413e5f3a69ea3
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agoMerge "Update docs structure according to Danube agreement"
Yu Yang (Gabriel) [Thu, 23 Mar 2017 08:25:22 +0000 (08:25 +0000)]
Merge "Update docs structure according to Danube agreement"

7 years agoUpdate test suite running entrance 75/31375/3
yuyang [Wed, 22 Mar 2017 11:57:59 +0000 (19:57 +0800)]
Update test suite running entrance

JIRA: BOTTLENECK-142

Update the entrance for POSCA test suite.Currently, test case
selection for POSCA is not support for this entrance.
The function will be added later.
For Rubbos and VSTF, after OPNFV Colorado release,
they are not updating anymore. This entrance for running them
within Bottlenecks is no longer supported.
These testsuites are also not in the release plan with Bottlenecks
since then. If you want to run Rubbos and VSTF,
please refer to ealier releases.

Change-Id: Idaf7da147489c6371e46ac3234179133762a05cd
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agoUpdate docs structure according to Danube agreement 59/31359/1
yuyang [Wed, 22 Mar 2017 10:24:46 +0000 (18:24 +0800)]
Update docs structure according to Danube agreement

JIRA: BOTTLENECK-141

docs.opnfv.org has trouble indexing all the testing docs.
So testing projects have to adjust the docs structure.

Change-Id: I586b2c1626ca4fb8e1980130e132e6079a0977a7
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agoMerge "Add liscense to file headers"
Yu Yang (Gabriel) [Fri, 10 Mar 2017 08:24:57 +0000 (08:24 +0000)]
Merge "Add liscense to file headers"

7 years agoAdd liscense to file headers 41/29041/10
yuyang [Mon, 20 Feb 2017 03:28:17 +0000 (11:28 +0800)]
Add liscense to file headers

JIRA: BOTTLENECK-133

Some Yaml, XML and __init__.py file do not have liscense headers.
This patch is to add headers to those files or delete those are deprecated.

Change-Id: Ie059b1f1879eb420eec171f96985247510c74642
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agoApply docs strucutre to Danube agreement 09/30009/5
yuyang [Wed, 8 Mar 2017 03:17:40 +0000 (11:17 +0800)]
Apply docs strucutre to Danube agreement

JIRA: BOTTLENECK-137

According to the agreement in Testperf meeting.
Change the structure of docs.

Change-Id: Ie370de1e7a24c918aedc8a2cdb2cca0508ef4257
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agoMerge "Add Danube Document Framework"
Yu Yang (Gabriel) [Wed, 1 Mar 2017 06:33:22 +0000 (06:33 +0000)]
Merge "Add Danube Document Framework"

7 years agoAdd Danube Document Framework 19/28819/22
yuyang [Thu, 16 Feb 2017 12:44:47 +0000 (20:44 +0800)]
Add Danube Document Framework

JIRA: BOTTLENECK-137

Bottlenecks document framwork meeting Danube document requirement.

Changes:
1. Add POSCA testsuite document
2. Combine configuration and installation directory
  2.1 https://wiki.opnfv.org/display/DEV/Documentation+Toolchain
3. Change file names in /user_guide
4. Add requirements notes to release notes
5. Add stress test configuartion details

Change-Id: I8d9055097ddae280d985120d4501819d20ad1dcb
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agoquota limit for posca_stress_ping 31/29131/1
liyin [Tue, 21 Feb 2017 09:20:28 +0000 (17:20 +0800)]
quota limit for posca_stress_ping

JIRA:BOTTLENECK-140

Those code will update an action of quota.
Before out test begin we will make quota no limit.
so we could do stress test.
Those quota limit will change openstack forever.
maybe will create damage for openstack.

Change-Id: I0a6a06c6c303589881cb2ab7b754213ecf1a845f
Signed-off-by: liyin <liyin11@huawei.com>
7 years agostress_test_dashboard_code 23/29023/2
liyin [Sat, 18 Feb 2017 14:24:18 +0000 (22:24 +0800)]
stress_test_dashboard_code

JIRA:BOTTLENECK-138

Those codes will create dashboard for stress test.
And we have fixed a bug, that we will increace env prepare in this patch
besides: we also add some code of how to yardstick api.

Change-Id: I64bb249ee0df9fe37e998a784ba346719bf25197
Signed-off-by: liyin <liyin11@huawei.com>
7 years agostress test of ping testcase 77/28777/6
liyin [Thu, 16 Feb 2017 04:30:12 +0000 (12:30 +0800)]
stress test of ping testcase

JIRA:BOTTLENECK-136

those code will add a new testcase: posca_stress_ping
This will use docker python client to realize the fountion of
calling yardstick to test.
And yardstick will create several VM pairs to test.
Because of the limites of quotas,
we now create 2,5,10 VM pairs.

Change-Id: I096250c547cd598c7c632a884b31d81c2be125f8
Signed-off-by: liyin <liyin11@huawei.com>
7 years agoDashboard and output file code reconstruction 71/28571/1
liyin [Tue, 14 Feb 2017 02:42:07 +0000 (10:42 +0800)]
Dashboard and output file code reconstruction

JIRA:BOTTLENECK-134

Those code will change the way to create dashboard.
And dashboard as a spare function to show data.
And we add log system to dashboard creation.
The output file is created anyway.

Change-Id: Ia3c4d5a8ada27005702e3eed08757f61610da22f
Signed-off-by: liyin <liyin11@huawei.com>
7 years agoMerge "Bug fix: yardstick result return no content"
Yu Yang (Gabriel) [Mon, 13 Feb 2017 07:05:05 +0000 (07:05 +0000)]
Merge "Bug fix: yardstick result return no content"

7 years agoBug fix: yardstick result return no content 57/28357/1
liyin [Thu, 9 Feb 2017 09:59:09 +0000 (17:59 +0800)]
Bug fix: yardstick result return no content

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>
7 years agoAdd POSCA jenkins job support 97/28097/5
yuyang [Mon, 6 Feb 2017 08:21:36 +0000 (16:21 +0800)]
Add POSCA jenkins job support

JIRA: BOTTLENECK-128

This patch is to make the POSCA testsuite could be built
automatically for OPNFV CI job.

Change-Id: I21d7fd553ce3591aea3391a33fe0a7b8579b57d4
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agoLog_dir bug fix&Add function of test_ip init 77/28177/5
liyin [Tue, 7 Feb 2017 07:29:50 +0000 (15:29 +0800)]
Log_dir bug fix&Add function of test_ip init

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>
7 years agoBottlenecks stack config parser. 65/28165/1
liyin [Tue, 7 Feb 2017 03:26:14 +0000 (11:26 +0800)]
Bottlenecks stack config parser.

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>
7 years agoMerge "Bottlenecks POSCA testing code reconstruction"
Yu Yang (Gabriel) [Tue, 7 Feb 2017 02:22:29 +0000 (02:22 +0000)]
Merge "Bottlenecks POSCA testing code reconstruction"

7 years agoBottlenecks POSCA testing code reconstruction 37/27437/5
liyin [Tue, 24 Jan 2017 09:26:21 +0000 (17:26 +0800)]
Bottlenecks POSCA testing code reconstruction

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>
7 years agoMerge "bottlenecks ssh to VM by python"
Yu Yang (Gabriel) [Fri, 3 Feb 2017 07:36:29 +0000 (07:36 +0000)]
Merge "bottlenecks ssh to VM by python"

7 years agoMerge "Add paths to flake8 style check"
Yu Yang (Gabriel) [Mon, 23 Jan 2017 01:27:07 +0000 (01:27 +0000)]
Merge "Add paths to flake8 style check"

7 years agobottlenecks ssh to VM by python 61/27261/1
liyin [Fri, 20 Jan 2017 01:22:20 +0000 (09:22 +0800)]
bottlenecks ssh to VM by python

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>
7 years agoModify utils/ code into PEP8 style 69/27069/1
liyin [Tue, 17 Jan 2017 02:56:19 +0000 (10:56 +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: Ie75c57f7fdd2a9d03849c3cb240918a6779d6be9
Signed-off-by: liyin <liyin11@huawei.com>
7 years agoMerge "Bottlenecks stack environment prepare"
Yu Yang (Gabriel) [Tue, 17 Jan 2017 02:45:28 +0000 (02:45 +0000)]
Merge "Bottlenecks stack environment prepare"

7 years agoMerge "bottlenecks create stack image"
Yu Yang (Gabriel) [Tue, 17 Jan 2017 02:44:11 +0000 (02:44 +0000)]
Merge "bottlenecks create stack image"

7 years agobottlenecks create stack image 25/26925/2
liyin [Thu, 12 Jan 2017 08:09:29 +0000 (16:09 +0800)]
bottlenecks create stack image

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>
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"