qtip.git
8 years agoMerge "Move api server to legacy code."
zhihui wu [Tue, 21 Feb 2017 01:28:51 +0000 (01:28 +0000)]
Merge "Move api server to legacy code."

8 years agoMerge "Deprecate options not sourceable to environment via Python. JIRA: QTIP-205"
Yujun Zhang [Mon, 20 Feb 2017 15:11:49 +0000 (15:11 +0000)]
Merge "Deprecate options not sourceable to environment via Python. JIRA: QTIP-205"

8 years agoMerge "code refactor: ansible playbook about system info"
zhihui wu [Mon, 20 Feb 2017 02:52:13 +0000 (02:52 +0000)]
Merge "code refactor: ansible playbook about system info"

8 years agocode refactor: ansible playbook about system info 21/28021/8
wu.zhihui [Sat, 4 Feb 2017 04:22:19 +0000 (12:22 +0800)]
code refactor: ansible playbook about system info

- use module yum and apt instead of shell command
- break sys_info_pbook.yaml into some small playbooks

Change-Id: I33b36fa826c0e668e4a74846ad4da7f4a245a33f
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoMove api server to legacy code. 11/29011/3
Akhil Batra [Sat, 18 Feb 2017 10:15:02 +0000 (15:45 +0530)]
Move api server to legacy code.

Change-Id: Idda8a48bc8cecac5aff4a1f99b8e4e0b58855fff
Signed-off-by: Akhil Batra <akhil.batra@research.iiit.ac.in>
8 years agoDeprecate options not sourceable to environment via Python. 81/28781/2
Taseer Ahmed [Thu, 16 Feb 2017 06:42:47 +0000 (11:42 +0500)]
Deprecate options not sourceable to environment via Python.
JIRA: QTIP-205

Change-Id: I991ba64e95227fd61b5809393439ef5e7fe05be2
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoImplement logfile collector and grep parser 51/28051/10
Yujun Zhang [Sun, 5 Feb 2017 04:24:30 +0000 (12:24 +0800)]
Implement logfile collector and grep parser

JIRA: QTIP-207
JIRA: QTIP-208
Change-Id: Icc14d3097fb305e59df716636ef87504490c9d1b
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoRefactoring collector initialization in plan loader 25/28325/3
Yujun Zhang [Thu, 9 Feb 2017 02:12:39 +0000 (10:12 +0800)]
Refactoring collector initialization in plan loader

- move ClassProps to module
- collectors should be array in plan definition

Change-Id: I37d85dbc977c91aa1bb81de45b5e1c41660e6d1f
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoAdd test for yaml_file loader 31/28631/2
Yujun Zhang [Tue, 14 Feb 2017 07:20:16 +0000 (15:20 +0800)]
Add test for yaml_file loader

Change-Id: I997ceeed17bd35889f6b0f3465bbe75df256b71e
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Add test coverage to contributing guide"
Yujun Zhang [Tue, 14 Feb 2017 22:54:27 +0000 (22:54 +0000)]
Merge "Add test coverage to contributing guide"

8 years agoAdd unit test for BaseTransformer 29/28229/1
Yujun Zhang [Tue, 7 Feb 2017 14:30:20 +0000 (22:30 +0800)]
Add unit test for BaseTransformer

Change-Id: Ia379af759d9442f5b53f5052682e6218acef8a1b
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoAdd test coverage to contributing guide 27/28127/1
Yujun Zhang [Mon, 6 Feb 2017 14:59:49 +0000 (22:59 +0800)]
Add test coverage to contributing guide

JIRA: QTIP-204
Change-Id: I0ff8a00f287544d82628e940ee530b5e9150a1e0
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoAdd test coverage 55/28055/3
Yujun Zhang [Sun, 5 Feb 2017 07:55:54 +0000 (15:55 +0800)]
Add test coverage

Change-Id: I9bff5fb1be3edc57d27cfe44f210a2814efd2274
JIRA: QTIP-204
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoFix bug that metric test is not collected 65/28065/2
Yujun Zhang [Sun, 5 Feb 2017 12:06:37 +0000 (20:06 +0800)]
Fix bug that metric test is not collected

Change-Id: I2e05891a89745712274757ba9af928b03fb5edf6
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoAdd missing dependenency for test 49/28049/1
Yujun Zhang [Sun, 5 Feb 2017 04:18:05 +0000 (12:18 +0800)]
Add missing dependenency for test

Change-Id: I2c27fe3f852dbaf3cf7daa926228a14f039bbe67
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Removed unused deps"
Yujun Zhang [Sun, 5 Feb 2017 02:39:42 +0000 (02:39 +0000)]
Merge "Removed unused deps"

8 years agoRemoved unused deps 59/27859/1
Yujun Zhang [Wed, 1 Feb 2017 15:40:52 +0000 (23:40 +0800)]
Removed unused deps

Change-Id: I7215c0c3f2957e88b2a048c45a5b99739707f15b
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoRefactor loader classes 35/27235/5
Yujun Zhang [Thu, 19 Jan 2017 08:58:46 +0000 (16:58 +0800)]
Refactor loader classes

- rename BaseLoader to YamlFileLoader as base class of QTIP specs loader
- create an abstract BaseLoader
- create FileLoader for logfile collector

Change-Id: I0c992cd847fc0dce4fdd73a13c1cdbc406c84532
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Code refactoring about doctor QPI"
Yujun Zhang [Thu, 26 Jan 2017 01:34:56 +0000 (01:34 +0000)]
Merge "Code refactoring about doctor QPI"

8 years agoMerge "refactor useful legacy code about preparing test enviroment"
Yujun Zhang [Wed, 25 Jan 2017 08:27:34 +0000 (08:27 +0000)]
Merge "refactor useful legacy code about preparing test enviroment"

8 years agoMerge "Click's built in support for version option"
zhihui wu [Wed, 25 Jan 2017 01:42:20 +0000 (01:42 +0000)]
Merge "Click's built in support for version option"

8 years agoMerge "Small corrections"
zhihui wu [Wed, 25 Jan 2017 01:42:09 +0000 (01:42 +0000)]
Merge "Small corrections"

8 years agoMerge "Plan module draft"
zhihui wu [Wed, 25 Jan 2017 01:41:58 +0000 (01:41 +0000)]
Merge "Plan module draft"

8 years agoMerge "Formalize constants for property names"
zhihui wu [Wed, 25 Jan 2017 01:41:31 +0000 (01:41 +0000)]
Merge "Formalize constants for property names"

8 years agoClick's built in support for version option 83/27383/4
Taseer Ahmed [Mon, 23 Jan 2017 13:41:58 +0000 (18:41 +0500)]
Click's built in support for version option

Change-Id: I62ffde066fe2fcb5be7af9a29686a7d380353670
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoMerge "QPI Module Outline"
Yujun Zhang [Mon, 23 Jan 2017 04:20:08 +0000 (04:20 +0000)]
Merge "QPI Module Outline"

8 years agoCode refactoring about doctor QPI 29/27129/7
Yujun Zhang [Tue, 17 Jan 2017 13:58:44 +0000 (21:58 +0800)]
Code refactoring about doctor QPI

- Move sample log files to test data
- Move configuration from plugin to plan

Change-Id: Iaaf36ab3ce29c2eafe2d75f3524e7a302cc3836d
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoFormalize constants for property names 17/27217/3
Yujun Zhang [Thu, 19 Jan 2017 07:10:01 +0000 (15:10 +0800)]
Formalize constants for property names

Change-Id: I68560b2299c2a815219bc0d0399124e0c269a2c0
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agorefactor useful legacy code about preparing test enviroment 29/27229/7
wu.zhihui [Thu, 19 Jan 2017 07:49:10 +0000 (15:49 +0800)]
refactor useful legacy code about preparing test enviroment

- move useful scripts to qtip/scripts
- refactor some functions which belong to env_setup.py and
add them to qtip/runner/env.py

Change-Id: Ibf6c27103dfc45016920f4b602cd72d703c1f636
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoSmall corrections 49/27349/1
Taseer Ahmed [Sun, 22 Jan 2017 07:28:40 +0000 (12:28 +0500)]
Small corrections

JIRA: QTIP-188

Change-Id: I5820403527fe4df5e23472923e34660c72195d50
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoPlan module draft 47/27347/2
Taseer Ahmed [Sun, 22 Jan 2017 07:04:46 +0000 (12:04 +0500)]
Plan module draft

JIRA: QTIP-205
JIRA: QTIP-188

Change-Id: Ia871191851d25e1986834f8a7efdbeb8a8d87ec3
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoQPI Module Outline 49/27249/3
Taseer Ahmed [Mon, 9 Jan 2017 15:53:37 +0000 (20:53 +0500)]
QPI Module Outline

Change-Id: I19b666dfdb3e3c10622397bda00460d6fb5c269d
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoEnable pep8 in tox test by default 03/27303/1
Yujun Zhang [Fri, 20 Jan 2017 15:23:51 +0000 (23:23 +0800)]
Enable pep8 in tox test by default

Check it locally before submit for verification by opnfv-lint task

Change-Id: I2736d53e82a87d39a7316036aa97105bb13fec2f
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Metric module outline"
zhihui wu [Fri, 20 Jan 2017 08:43:15 +0000 (08:43 +0000)]
Merge "Metric module outline"

8 years agoMerge "Yardstick integration design specification"
Yujun Zhang [Thu, 19 Jan 2017 09:24:21 +0000 (09:24 +0000)]
Merge "Yardstick integration design specification"

8 years agoMetric module outline 71/26871/6
Taseer Ahmed [Mon, 9 Jan 2017 15:41:23 +0000 (20:41 +0500)]
Metric module outline

Change-Id: Id95b07f1c0821ae0883c761fdf8f507afba4e5c0
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoMerge "Update Dockerfile"
zhihui wu [Tue, 17 Jan 2017 06:57:09 +0000 (06:57 +0000)]
Merge "Update Dockerfile"

8 years agoUpdate Dockerfile 17/26917/3
wu.zhihui [Thu, 12 Jan 2017 06:59:45 +0000 (14:59 +0800)]
Update Dockerfile

- update OS version to 16.04
- update pip version

JIRA: QTIP-202

Change-Id: Iba90e4b354f2ddb9e1cbc1da191be6b1b6f6a042
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoMove redundant files to legacy 51/26951/1
Taseer Ahmed [Thu, 12 Jan 2017 17:40:47 +0000 (22:40 +0500)]
Move redundant files to legacy

Change-Id: Iede9d0f72f857b48e8fe5b48c9ae6169870e0b7a
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoReorganize the project folders 83/26783/4
Yujun Zhang [Sun, 8 Jan 2017 01:48:31 +0000 (09:48 +0800)]
Reorganize the project folders

Code from Brahmaputra is no longer maintained, including:

- docker
- playbooks
- scripts
- utils

They are moved to legacy folder to avoid unnecessary confusion to new developers.

Change-Id: Ia50383ca5c3bd82571eb7b2184e7f83e264ff8a7
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agosample QPI for doctor performance measured in verification job 43/26643/7
Yujun Zhang [Sat, 31 Dec 2016 13:27:38 +0000 (21:27 +0800)]
sample QPI for doctor performance measured in verification job

The doctor benchmark plan produces a performance profile consist of
timestamp at each checkpoint and time cost of each phase.[1]

It collects data from log files and render a timeline diagram in console

Current progress

- skeleton created
- method to be implemented

[1]: http://artifacts.opnfv.org/doctor/docs/design/index.html#document-performance-profiler

JIRA: QTIP-199
Change-Id: I60fbbd37d04a5724841bd85cb3bfed9eabd3741a
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoYardstick integration design specification 63/26563/4
wu.zhihui [Wed, 28 Dec 2016 09:03:47 +0000 (17:03 +0800)]
Yardstick integration design specification

Refer to https://etherpad.opnfv.org/p/qtip-yardstick, I
write this design specification.

JIRA: QTIP-147

Change-Id: I651c6ffd898fa22c237b788edab7e0a43828ae7c
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoMerge "Add proposal of Fast Track review rule"
Yujun Zhang [Wed, 11 Jan 2017 01:56:15 +0000 (01:56 +0000)]
Merge "Add proposal of Fast Track review rule"

8 years agoMerge "Implement plan, qpi and metric constructors"
Yujun Zhang [Wed, 11 Jan 2017 01:55:53 +0000 (01:55 +0000)]
Merge "Implement plan, qpi and metric constructors"

8 years agoMerge "Ignore AUTHORS and ChangeLog"
zhihui wu [Wed, 11 Jan 2017 01:28:31 +0000 (01:28 +0000)]
Merge "Ignore AUTHORS and ChangeLog"

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 agoAdd proposal of Fast Track review rule 91/26791/2
Yujun Zhang [Mon, 9 Jan 2017 08:49:06 +0000 (16:49 +0800)]
Add proposal of Fast Track review rule

Change-Id: Ia0a95a5ee16547870eef49905db8adfd3b342ae0
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
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 agoIgnore AUTHORS and ChangeLog 51/26751/1
srisankethu [Fri, 6 Jan 2017 13:43:41 +0000 (19:13 +0530)]
Ignore AUTHORS and ChangeLog

Change-Id: I45130f89057aa91d035edae91f4250394f9876c3
Signed-off-by: srisankethu <iamjustice443@gmail.com>
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 agoImplement plan, qpi and metric constructors 99/26599/3
Yujun Zhang [Fri, 30 Dec 2016 06:08:15 +0000 (14:08 +0800)]
Implement plan, qpi and metric constructors

- separate runner from `plan` and move `plan` to `loader`
- rename `algorithm` to `formula`
- use `numpy` for formulas
- update sample qpi and metrics

Change-Id: I3131ca79907376f2de31d6cb920bd7d0230664a6
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`"