qtip.git
8 years agoMerge "Add developer guide outline"
zhihui wu [Wed, 11 Jan 2017 01:27:40 +0000 (01:27 +0000)]
Merge "Add developer guide outline"

8 years agoMerge "Add module skeletons"
zhihui wu [Wed, 11 Jan 2017 01:16:55 +0000 (01:16 +0000)]
Merge "Add module skeletons"

8 years agoRequesting to join qtip-reviewers group 89/26789/2
Akhil Batra [Mon, 9 Jan 2017 04:01:47 +0000 (09:31 +0530)]
Requesting to join qtip-reviewers group

Change-Id: Icf9da0984511177c97f3dbb3f2a0b2560773bf4b
Signed-off-by: Akhil Batra <akhil.batra@research.iiit.ac.in>
8 years agoAdd developer guide outline 79/26779/3
Yujun Zhang [Sat, 7 Jan 2017 14:47:17 +0000 (22:47 +0800)]
Add developer guide outline

JIRA: QTIP-115
Change-Id: I16c7919b1e97a098767ca567ce9b8026a1f754e2
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Retire `qtip-desk` server to save cost"
Yujun Zhang [Mon, 9 Jan 2017 02:46:48 +0000 (02:46 +0000)]
Merge "Retire `qtip-desk` server to save cost"

8 years agoMerge "Rework Cli."
zhihui wu [Mon, 9 Jan 2017 02:22:21 +0000 (02:22 +0000)]
Merge "Rework Cli."

8 years agomodify deprecated imports 77/26777/2
Akhil Batra [Sat, 7 Jan 2017 07:48:49 +0000 (13:18 +0530)]
modify deprecated imports

Add description for the api specs

flask.ext.xx is deprecated. need to use flask_xx instead

https://github.com/pallets/flask/issues/1135

Change-Id: I9960dd44d03243bde73df8633c45ec3a1f437cea
Signed-off-by: Akhil Batra <akhil.batra@research.iiit.ac.in>
8 years agoRework Cli. 59/26759/1
Taseer Ahmed [Fri, 6 Jan 2017 08:31:36 +0000 (13:31 +0500)]
Rework Cli.

Allows global arguments to be passed to each group.

References:
https://github.com/pallets/click/blob/master/examples/complex/complex/cli.py

Change-Id: Ifed191add867b35ddfff92de0c7db4a03d67d091
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoRetire `qtip-desk` server to save cost 33/26733/1
Yujun Zhang [Thu, 5 Jan 2017 14:19:16 +0000 (22:19 +0800)]
Retire `qtip-desk` server to save cost

info: this AWS instance hasn't been used much but costing 40$/month

Change-Id: I50045eef42eadd656a54e4a0fa2a65f9a9c0c557
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoAdd module skeletons 85/26585/5
Yujun Zhang [Tue, 27 Dec 2016 08:57:28 +0000 (16:57 +0800)]
Add module skeletons

- Remove `suite` and `case` which seems redundant at the moment
- Rename `qtip.spec` to `qtip.loader` since the class loads spec
- Add driver `sample` which will generate random performance data
- Add collector `logfile` which will collect result from log files
- Add reporter `console` which will print report to console
- Add exception classes

See updated class diagram in https://wiki.opnfv.org/display/qtip/Design

JIRA: QTIP-148
JIRA: QTIP-193
Change-Id: Idf751d33428176a26224e4443100a142feda6f32
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoDelete Ansible module. No longer required. 27/26527/4
Taseer Ahmed [Tue, 27 Dec 2016 13:59:12 +0000 (18:59 +0500)]
Delete Ansible module. No longer required.

JIRA: QTIP-150

Change-Id: Idd357af309d01e5eece22521c12cd61ffd50db85
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoMerge "Implment https://wiki.opnfv.org/display/qtip/Design"
Yujun Zhang [Tue, 27 Dec 2016 05:55:53 +0000 (05:55 +0000)]
Merge "Implment https://wiki.opnfv.org/display/qtip/Design"

8 years agoImplment https://wiki.opnfv.org/display/qtip/Design 09/26309/9
Yujun Zhang [Tue, 20 Dec 2016 16:19:46 +0000 (00:19 +0800)]
Implment https://wiki.opnfv.org/display/qtip/Design

Note that some obsolete test cases are marked expected failure, will
be deprecated after architecture evolution.

JIRA: QTIP-148
Change-Id: I52bc9391569d516e298d9e659517161b4dce794a
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "rename qtip-server to qtip-api"
zhihui wu [Mon, 26 Dec 2016 09:11:18 +0000 (09:11 +0000)]
Merge "rename qtip-server to qtip-api"

8 years agorename qtip-server to qtip-api 41/26441/1
Akhil Batra [Thu, 22 Dec 2016 16:24:27 +0000 (21:54 +0530)]
rename qtip-server to qtip-api

JIRA: QTIP-191

Change-Id: I54f8f0884fa92e41b619e25e4a241be2eb8fd087
Signed-off-by: Akhil Batra <akhil.batra@research.iiit.ac.in>
8 years agoMerge "All unit tests."
zhihui wu [Thu, 22 Dec 2016 06:14:41 +0000 (06:14 +0000)]
Merge "All unit tests."

8 years agoMerge "Add skeletons of drivers, collector and reporter"
Yujun Zhang [Wed, 21 Dec 2016 07:37:17 +0000 (07:37 +0000)]
Merge "Add skeletons of drivers, collector and reporter"

8 years agoAll unit tests. 15/26315/1
Taseer [Tue, 20 Dec 2016 17:27:05 +0000 (22:27 +0500)]
All unit tests.

JIRA: QTIP-184

Change-Id: I577b8df85d2be63f9195ed2bb3c6bf497ce1fd96
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoException handling for wrong testplan 45/26245/3
Taseer [Wed, 14 Dec 2016 04:11:39 +0000 (09:11 +0500)]
Exception handling for wrong testplan

JIRA: QTIP-184

Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
Change-Id: I0b989b52561526963c127fc03818cf41d67af35f

8 years agoAdd skeletons of drivers, collector and reporter 95/26195/6
Yujun Zhang [Mon, 19 Dec 2016 03:14:40 +0000 (11:14 +0800)]
Add skeletons of drivers, collector and reporter

Change-Id: I22a021800bbc813d7c5309d075fcbb8a19946e3f
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Basic testplan layout JIRA: QTIP-184"
zhihui wu [Mon, 19 Dec 2016 01:07:24 +0000 (01:07 +0000)]
Merge "Basic testplan layout JIRA: QTIP-184"

8 years agoMerge "Unit Test for Ansible Module"
zhihui wu [Mon, 19 Dec 2016 01:06:02 +0000 (01:06 +0000)]
Merge "Unit Test for Ansible Module"

8 years agoMinor fix of compute QPI spec 57/26057/2
Yujun Zhang [Fri, 16 Dec 2016 02:46:59 +0000 (10:46 +0800)]
Minor fix of compute QPI spec

- align terminology with project FAQ[1]
- use different weight in sections

[1]: https://wiki.opnfv.org/display/qtip/FAQ#FAQ-Algorithm

Change-Id: I1161c333584952dfa9d23be3010f572d4b315b60
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Add unit test for `describe` method"
zhihui wu [Fri, 16 Dec 2016 02:13:54 +0000 (02:13 +0000)]
Merge "Add unit test for `describe` method"

8 years agoMerge "add ssh public key to users/files/"
zhihui wu [Fri, 16 Dec 2016 01:48:55 +0000 (01:48 +0000)]
Merge "add ssh public key to users/files/"

8 years agocreate a new suite file for compute QPI 49/25949/4
wu.zhihui [Wed, 14 Dec 2016 09:13:16 +0000 (17:13 +0800)]
create a new suite file for compute QPI

- use yaml format to describe suite
- define the details of compute QPI suite

Change-Id: I2d8793a4e4c1b690210e63954199c6c2c18f8c48
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoUnit Test for Ansible Module 37/26037/2
Taseer [Thu, 15 Dec 2016 17:43:05 +0000 (22:43 +0500)]
Unit Test for Ansible Module

JIRA: QTIP-188

Change-Id: I10b3fb979f52d10e8dedf956831f8320c04a36ea
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoMerge "Add more comments to clarify runner prototype"
Yujun Zhang [Thu, 15 Dec 2016 05:56:57 +0000 (05:56 +0000)]
Merge "Add more comments to clarify runner prototype"

8 years agoMerge "Convert contributing guide to markdown to get it embedded in wiki"
Yujun Zhang [Thu, 15 Dec 2016 05:56:50 +0000 (05:56 +0000)]
Merge "Convert contributing guide to markdown to get it embedded in wiki"

8 years agomake qtip-server installable 43/25943/1
SerenaFeng [Wed, 14 Dec 2016 09:07:59 +0000 (17:07 +0800)]
make qtip-server installable

JIRA: QTIP-189

Change-Id: I8de0fa1ff3033fd37c499e75f35a5387f5345f8f
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "bugfix: solve upgrade setuptools failed problem"
Yujun Zhang [Wed, 14 Dec 2016 04:10:32 +0000 (04:10 +0000)]
Merge "bugfix: solve upgrade setuptools failed problem"

8 years agobugfix: solve upgrade setuptools failed problem 23/25923/2
SerenaFeng [Wed, 14 Dec 2016 03:31:23 +0000 (11:31 +0800)]
bugfix: solve upgrade setuptools failed problem

Change-Id: Id699224c35992a9f203b2ca5ad57300211e1b1eb
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoBasic testplan layout 13/25813/5
Taseer [Mon, 12 Dec 2016 19:47:46 +0000 (00:47 +0500)]
Basic testplan layout
JIRA: QTIP-184

Change-Id: I605f81fce9c4c59b75d286a6262995ea2fa2e21e
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoAdd unit test for `describe` method 91/25891/2
Yujun Zhang [Tue, 13 Dec 2016 15:27:55 +0000 (23:27 +0800)]
Add unit test for `describe` method

Change-Id: I6d37ab283d7fcfb0c15dd8065121b706dd80392b
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoAdd more comments to clarify runner prototype 55/25855/1
Yujun Zhang [Tue, 13 Dec 2016 12:03:30 +0000 (20:03 +0800)]
Add more comments to clarify runner prototype

Change-Id: I25540985f425ee4ebd209c1708b5d25be582e746
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoConvert contributing guide to markdown to get it embedded in wiki 53/25853/1
Yujun Zhang [Tue, 13 Dec 2016 11:50:30 +0000 (19:50 +0800)]
Convert contributing guide to markdown to get it embedded in wiki

Change-Id: I969f97fea0bf9daca8816eefcf94fb7978bd51d9
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agorefactor qtip-server structure 87/25787/3
SerenaFeng [Mon, 12 Dec 2016 09:32:47 +0000 (17:32 +0800)]
refactor qtip-server structure

JIRA: QTIP-186

Change-Id: I4ecdcdc2869de0ef717ebf4bd1346e7c428b5b19
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agobugfix: qtip install failed in docker mode 77/25777/4
SerenaFeng [Mon, 12 Dec 2016 08:38:37 +0000 (16:38 +0800)]
bugfix: qtip install failed in docker mode

error message:
ImportError: <module 'setuptools.dist' from '/usr/lib/python2.7/dist-packages/setuptools/dist.pyc'> has no 'check_specifier' attribute

Change-Id: I3dea0ea87b20556e286bc52315148d7376911803
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "Fix role name error"
Yujun Zhang [Sat, 10 Dec 2016 07:16:48 +0000 (07:16 +0000)]
Merge "Fix role name error"

8 years agoadd ssh public key to users/files/ 33/25733/2
Akhil Batra [Fri, 9 Dec 2016 13:01:59 +0000 (18:31 +0530)]
add ssh public key to users/files/

request user access on server

Change-Id: I2b100a63c9a4de52d8494d4b0ad527cf6f5b3f71
Signed-off-by: Akhil Batra <akhil.batra@research.iiit.ac.in>
8 years agoFix role name error 63/25663/1
Yujun Zhang [Thu, 8 Dec 2016 09:07:41 +0000 (17:07 +0800)]
Fix role name error

JIRA: QTIP-159

Change-Id: Idb4d43accaf0186f53c338624513e172dc54b9a8
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoFix relative path in test case 57/25657/2
Yujun Zhang [Thu, 8 Dec 2016 06:19:26 +0000 (14:19 +0800)]
Fix relative path in test case

Use abspath for fixture files to make tests independent from cwd

Change-Id: Ie965899c5311e26ad708f44463b1992d9b8e697b
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Fix bugs in `runner/benchmark`"
Yujun Zhang [Thu, 8 Dec 2016 01:40:25 +0000 (01:40 +0000)]
Merge "Fix bugs in `runner/benchmark`"

8 years agoMerge "Implement PerfTest prototype"
Yujun Zhang [Thu, 8 Dec 2016 01:40:18 +0000 (01:40 +0000)]
Merge "Implement PerfTest prototype"

8 years agoFix bugs in `runner/benchmark` 05/25605/1
Yujun Zhang [Wed, 7 Dec 2016 08:25:18 +0000 (16:25 +0800)]
Fix bugs in `runner/benchmark`

- should inherit `object` for common methods
- should use instance class in abstract method

Change-Id: I78c08476da544402851e4b53e2d45c32a7f86722
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agocorrect the path in push_db.sh 85/25585/1
wu.zhihui [Wed, 7 Dec 2016 04:23:46 +0000 (12:23 +0800)]
correct the path in push_db.sh

See link
https://build.opnfv.org/ci/view/qtip/job/qtip-fuel-zte-pod3-daily-master/52/console
for details.

Change-Id: If8ab7763e669e5f9184455a0e65173fd95428d27
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoImplement PerfTest prototype 23/25523/3
Yujun Zhang [Tue, 6 Dec 2016 09:26:36 +0000 (17:26 +0800)]
Implement PerfTest prototype

Change-Id: I5988cb65d0e50fa88beaac8f48b5b1da70ed687a
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Implement TestPlan prototype"
Yujun Zhang [Wed, 7 Dec 2016 03:13:43 +0000 (03:13 +0000)]
Merge "Implement TestPlan prototype"

8 years agoMerge "Implement __init__ and list_all in Suite"
Yujun Zhang [Wed, 7 Dec 2016 03:13:37 +0000 (03:13 +0000)]
Merge "Implement __init__ and list_all in Suite"

8 years agoImplement TestPlan prototype 15/25515/2
Yujun Zhang [Tue, 6 Dec 2016 08:30:11 +0000 (16:30 +0800)]
Implement TestPlan prototype

Refactor common part of Suite to Benchmark since both TestPlan
and Suite are organized by files

Change-Id: I61a97d9489096c4a6305c99e8cf7abb958faa562
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoImplement __init__ and list_all in Suite 65/25465/5
Yujun Zhang [Mon, 5 Dec 2016 07:40:02 +0000 (15:40 +0800)]
Implement __init__ and list_all in Suite

Change-Id: I97a34610d9f50d6ee81b487d0446eec3f4eea001
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Skip unstable test `tests.unit.utils.create_zones_test`"
Yujun Zhang [Tue, 6 Dec 2016 03:28:58 +0000 (03:28 +0000)]
Merge "Skip unstable test `tests.unit.utils.create_zones_test`"

8 years agoSkip unstable test `tests.unit.utils.create_zones_test` 87/25487/1
Yujun Zhang [Mon, 5 Dec 2016 12:42:35 +0000 (20:42 +0800)]
Skip unstable test `tests.unit.utils.create_zones_test`

JIRA: QTIP-175

Change-Id: Ib4891c8f37445285f2ea414d5988e55ca71cf10f
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years ago[QTIP-157]fix docker build job 53/25453/1
wu.zhihui [Mon, 5 Dec 2016 02:40:48 +0000 (10:40 +0800)]
[QTIP-157]fix docker build job

Bugfix task QTIP-157.
Add agrument BRANCH in Dockerfile.

JIRA: QTIP-157

Change-Id: I5558c23dde948e28f9c989bee7f4a42dc886f5a1
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoMerge "bugfix in run_qtip.sh"
zhihui wu [Mon, 5 Dec 2016 01:42:21 +0000 (01:42 +0000)]
Merge "bugfix in run_qtip.sh"

8 years agoMerge "Committer retirement: Wenjing CHU"
Yujun Zhang [Mon, 5 Dec 2016 00:41:58 +0000 (00:41 +0000)]
Merge "Committer retirement: Wenjing CHU"

8 years agobugfix in run_qtip.sh 49/25449/1
wu.zhihui [Mon, 5 Dec 2016 00:27:20 +0000 (08:27 +0800)]
bugfix in run_qtip.sh

Forgot to set ${QTIP} to qtip/run.py

Change-Id: If57e58cc21d2ecfb32070bbeedab9aa3cc76551d
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoMerge "Remove dell's directories under testplan/"
Yujun Zhang [Fri, 2 Dec 2016 08:12:52 +0000 (08:12 +0000)]
Merge "Remove dell's directories under testplan/"

8 years agoMerge "correct the path of transform/ in ansible scripts"
Yujun Zhang [Thu, 1 Dec 2016 04:11:24 +0000 (04:11 +0000)]
Merge "correct the path of transform/ in ansible scripts"

8 years agoRemove dell's directories under testplan/ 97/25297/1
wu.zhihui [Thu, 1 Dec 2016 03:51:16 +0000 (11:51 +0800)]
Remove dell's directories under testplan/

Since dell's pod is offline for a long time, dell's directories
are removed.

JIRA: QTIP-174

Change-Id: I5c93edd2f182b87cf6f7ea6d5713483d316c7fe9
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoMerge "Enable all unit tests except two failed cases"
Yujun Zhang [Wed, 30 Nov 2016 07:45:39 +0000 (07:45 +0000)]
Merge "Enable all unit tests except two failed cases"

8 years agocorrect module path in qtip.py 61/25061/2
wu.zhihui [Tue, 29 Nov 2016 03:29:13 +0000 (11:29 +0800)]
correct module path in qtip.py

See https://build.opnfv.org/ci/job/qtip-fuel-zte-pod3-daily-master/43/console
for details.

Change-Id: Ic12c4143bd29e7d56ac68e8a3317c8b3f36a274f
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agocorrect the path of transform/ in ansible scripts 69/25069/1
wu.zhihui [Tue, 29 Nov 2016 06:19:38 +0000 (14:19 +0800)]
correct the path of transform/ in ansible scripts

Due to reorganize qtip directory, it need to correct the path
of transform/ in ansible scripts

Change-Id: I9eb9cb194419b9eeb71ece6764335ee238db1481
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoEnable all unit tests except two failed cases 49/25049/3
Yujun Zhang [Tue, 29 Nov 2016 01:37:41 +0000 (09:37 +0800)]
Enable all unit tests except two failed cases

- `test_ping` in `env_setup_test` still halts
- `test_prepare_and_run_benchmark_successful` in `args_handler_test` fails
- excluded `pep8` since already coverred by opnfv-lint task

Change-Id: Ib5ea20c37a27e356aea6d8eed3750b3269bd67f4
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoCommitter retirement: Wenjing CHU 47/25047/1
Yujun Zhang [Thu, 24 Nov 2016 00:57:54 +0000 (08:57 +0800)]
Committer retirement: Wenjing CHU

Change-Id: I027d5771871394d5f6a390c644638deb6abcc202
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "bugfix: recovery qtip CI"
Yujun Zhang [Mon, 28 Nov 2016 14:20:44 +0000 (14:20 +0000)]
Merge "bugfix: recovery qtip CI"

8 years agoMerge "Entry point should be a calling a module function. Explained in [1] under...
Yujun Zhang [Mon, 28 Nov 2016 14:20:29 +0000 (14:20 +0000)]
Merge "Entry point should be a calling a module function. Explained in [1] under entry_points."

8 years agoMerge "Fix test failing"
Yujun Zhang [Sat, 26 Nov 2016 10:02:06 +0000 (10:02 +0000)]
Merge "Fix test failing"

8 years agoMerge "Bugfix: fix the qtip restful server unit test problem."
Yujun Zhang [Sat, 26 Nov 2016 10:00:00 +0000 (10:00 +0000)]
Merge "Bugfix: fix the qtip restful server unit test problem."

8 years agobugfix: recovery qtip CI 19/24919/1
wu.zhihui [Sat, 26 Nov 2016 06:07:12 +0000 (14:07 +0800)]
bugfix: recovery qtip CI

https://build.opnfv.org/ci/job/qtip-fuel-zte-pod3-daily-master/40/console

- move qtip.py to qtip/
- modifity docker/run_qtip.sh

Change-Id: I9ec155c125f4be41e794142d0545d5cc54a1c6b3
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoEntry point should be a calling a module function. 13/24913/1
linux_geek [Fri, 25 Nov 2016 19:05:12 +0000 (00:05 +0500)]
Entry point should be a calling a module function.
Explained in [1] under entry_points.

[1]. http://docs.openstack.org/developer/pbr/

Change-Id: Id231f397f348dd256b442dc69fe90c5cca5defd4
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoBugfix: fix the qtip restful server unit test problem. 89/24889/1
zhifeng.jiang [Fri, 25 Nov 2016 13:03:20 +0000 (21:03 +0800)]
Bugfix: fix the qtip restful server unit test problem.

JIRA:QTIP-158

Change-Id: I0ed1d3eb6959bb36615734ef757fa95560cb3baf
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
8 years agoFix test failing 33/24833/7
Yujun Zhang [Thu, 24 Nov 2016 07:44:39 +0000 (15:44 +0800)]
Fix test failing

- skip several failure cases, to be fixed in future
- rename `test_plan` to hide from test discovering
- add pep8 check by default
- fix errors in pep8 check

Change-Id: If4451999a1f4ed1339dfdf8271cc58f11de72b3e
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoFix exception caused by missing log folder 27/24827/3
Yujun Zhang [Thu, 24 Nov 2016 06:38:31 +0000 (14:38 +0800)]
Fix exception caused by missing log folder

Change-Id: I3a73cc0366e2c1a9c5965367ea68138f36ff1d63
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Reorganize the inventory"
Yujun Zhang [Fri, 25 Nov 2016 06:17:37 +0000 (06:17 +0000)]
Merge "Reorganize the inventory"

8 years agoMerge "Bugfix in new setup file."
Yujun Zhang [Fri, 25 Nov 2016 01:06:44 +0000 (01:06 +0000)]
Merge "Bugfix in new setup file."

8 years agoMerge "Write how is compute QPI calculated."
zhihui wu [Fri, 25 Nov 2016 00:38:33 +0000 (00:38 +0000)]
Merge "Write how is compute QPI calculated."

8 years agoBugfix in new setup file. 55/24855/1
linux_geek [Thu, 24 Nov 2016 13:15:53 +0000 (18:15 +0500)]
Bugfix in new setup file.

Change-Id: I02a9620ce92680fdab469117e67894dba16d8b11
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoWrite how is compute QPI calculated. 93/24293/8
zhifeng.jiang [Sun, 13 Nov 2016 02:50:07 +0000 (10:50 +0800)]
Write how is compute QPI calculated.

JIRA: QTIP-127

Change-Id: I2c5f3c3b2b968a9c2bb0a772a38924af60890a67
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
8 years agoUse `pbr` for setup configuration 21/24821/2
Yujun Zhang [Thu, 24 Nov 2016 06:01:47 +0000 (14:01 +0800)]
Use `pbr` for setup configuration

- `pbr` does a bunch of things[1] and is used widely in OpenStack
- moved legacy `qtip.py` to scripts in order to keep the project folder clean

[1]: http://docs.openstack.org/developer/pbr/#what-it-does

Change-Id: I6a9b83883283eaa527e2c3d4cd8d221ee6efca41
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Update review guidelines"
Yujun Zhang [Thu, 24 Nov 2016 05:44:01 +0000 (05:44 +0000)]
Merge "Update review guidelines"

8 years agoAllow select test case to run 97/24797/1
Yujun Zhang [Thu, 24 Nov 2016 01:58:02 +0000 (09:58 +0800)]
Allow select test case to run

- remove hardcoded argument `tests` from tox.ini
- use command like `tox tests/unit/runner` for selective running
- `tox` without argument will run all test in `tests` folder

Change-Id: I3916dc571e85c785f83813aa30c5bb0ef9a65cd6
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoUpdate review guidelines 35/24735/2
Yujun Zhang [Wed, 23 Nov 2016 06:05:19 +0000 (14:05 +0800)]
Update review guidelines

Change-Id: Ia3e2a67762abb6369f75935c2d891f73a32e533a
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoReorganize the inventory 47/24747/3
Yujun Zhang [Wed, 23 Nov 2016 08:02:35 +0000 (16:02 +0800)]
Reorganize the inventory

- update server name and spec
- group servers by usage
- assign roles for each group
- rename role ssh to user

Change-Id: Ibc0a599adfabee296510f140319889775d9ae6cc
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Architecture evolution skeleton"
Yujun Zhang [Wed, 23 Nov 2016 07:59:31 +0000 (07:59 +0000)]
Merge "Architecture evolution skeleton"

8 years agoMerge "Additional server test.qtip.io"
zhihui wu [Wed, 23 Nov 2016 03:19:29 +0000 (03:19 +0000)]
Merge "Additional server test.qtip.io"

8 years agoMerge "adapt testapi running script to use mongo container as TESTDB"
zhihui wu [Wed, 23 Nov 2016 03:17:05 +0000 (03:17 +0000)]
Merge "adapt testapi running script to use mongo container as TESTDB"

8 years agoMerge "push test results to qtip dashboard server"
zhihui wu [Wed, 23 Nov 2016 03:16:47 +0000 (03:16 +0000)]
Merge "push test results to qtip dashboard server"

8 years agoMerge "Cli list related fixes"
Yujun Zhang [Tue, 22 Nov 2016 13:58:26 +0000 (13:58 +0000)]
Merge "Cli list related fixes"

8 years agoadapt testapi running script to use mongo container as TESTDB 43/24643/1
SerenaFeng [Tue, 22 Nov 2016 03:22:15 +0000 (11:22 +0800)]
adapt testapi running script to use mongo container as TESTDB

JIRA: QTIP-166

Change-Id: Icae8ab2a8760138ef10e9b353f6027bc5179ab5e
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoCli list related fixes 31/24631/1
linux_geek [Mon, 21 Nov 2016 16:36:58 +0000 (21:36 +0500)]
Cli list related fixes

JIRA: QTIP-154

Change-Id: I95ab04fab35ff599c338ce07870602b58635e833
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agopush test results to qtip dashboard server 17/24617/1
SerenaFeng [Mon, 21 Nov 2016 10:52:07 +0000 (18:52 +0800)]
push test results to qtip dashboard server

JIRA: QTIP-166

Change-Id: Ic9b06c5dc0065850f8d766ecb66b74835b8677df
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agodeploy mongodb to qtip dashboard server 11/24611/1
SerenaFeng [Mon, 21 Nov 2016 09:24:23 +0000 (17:24 +0800)]
deploy mongodb to qtip dashboard server

add ansible code to deploy mongodb in qtip dashboard server

JIRA: QTIP-166

Change-Id: Icce4ac10b00ecf7679ff89204cb8a95cd1919151
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agodeploy testapi to qtip dashboard server 03/24603/1
SerenaFeng [Mon, 21 Nov 2016 07:14:10 +0000 (15:14 +0800)]
deploy testapi to qtip dashboard server

add ansible code to deploy testapi in qtip dashboard server

JIRA: QTIP-166

Change-Id: I09111ea762d2677061c010e85208105f3f556fc6
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoArchitecture evolution skeleton 69/24469/2
Yujun Zhang [Thu, 17 Nov 2016 05:52:03 +0000 (13:52 +0800)]
Architecture evolution skeleton

- benchmarks will be driven by qtip.runner
- qtip.runner is used by both qtip.cli and qtip.api
- unit test for each module will be placed under tests/unit
- functional tests will be moved to tests/functional
- data as testing sample will be moved to tests/data

NOTE: this patch moves files only, it may fails many tests. To be
followed up in next step.

JIRA: QTIP-148

Change-Id: I27e8169a74783970a1f7818456eb76a7311fb60c
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge changes from topics 'fix', 'cli'
zhihui wu [Fri, 18 Nov 2016 08:32:12 +0000 (08:32 +0000)]
Merge changes from topics 'fix', 'cli'

* changes:
  Bugfix: Correct the path in setup and entry points
  Ansible related commands in its own module.

8 years agoMerge "Need to go one level up to reach project/root directory for listing purposes."
Yujun Zhang [Thu, 17 Nov 2016 14:41:31 +0000 (14:41 +0000)]
Merge "Need to go one level up to reach project/root directory for listing purposes."

8 years agoBugfix: Correct the path in setup and entry points 61/24461/2
linux_geek [Thu, 17 Nov 2016 03:33:03 +0000 (08:33 +0500)]
Bugfix: Correct the path in setup and entry points

JIRA: QTIP-154

Change-Id: I00320818e2d2e633c901b126775cbeb5a721f6fd
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoAdditional server test.qtip.io 77/24477/1
Yujun Zhang [Thu, 17 Nov 2016 07:51:37 +0000 (15:51 +0800)]
Additional server test.qtip.io

- Located in Aliyun HK
- 1 CPU, 1GiB Mem, 100Mbps

Change-Id: I93241648f5721c04305cd74e1668de8ce5317604
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoAnsible related commands in its own module. 65/24465/1
linux_geek [Thu, 17 Nov 2016 03:44:27 +0000 (08:44 +0500)]
Ansible related commands in its own module.

JIRA: QTIP-154
JIRA: QTIP-150

Change-Id: I1bdd8d74d8978fd86ea659dae914f12874b6687d
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>