qtip.git
8 years agoMerge "refactor code related with setup env"
zhihui wu [Wed, 1 Mar 2017 01:11:22 +0000 (01:11 +0000)]
Merge "refactor code related with setup env"

8 years agorefactor code related with setup env 17/29417/4
wu.zhihui [Mon, 27 Feb 2017 08:32:55 +0000 (16:32 +0800)]
refactor code related with setup env

- modify env.py and scripts
- add unit test

Change-Id: I416cd517bdddfeb907675705009d83ecada7f87c
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoRename test case to avoid possible name conflict 25/29325/2
Yujun Zhang [Fri, 24 Feb 2017 02:08:41 +0000 (10:08 +0800)]
Rename test case to avoid possible name conflict

pytest does not allow two test file have same name despite they are in
different folder.

Change-Id: I568fe042f6dbe99df336d0ce4d6ed9c78305fe74
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoDeprecate unused drivers sample and yardstick 85/29285/2
Yujun Zhang [Thu, 23 Feb 2017 13:59:07 +0000 (21:59 +0800)]
Deprecate unused drivers sample and yardstick

- yardstick driver will not be implemented in Danube release
- sample driver is no longer continued

Change-Id: I22a86fe22b08c85b2a18ef70443d725bc4a25246
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Fix bug when no paths is given for Plan constructor"
Yujun Zhang [Mon, 27 Feb 2017 13:44:21 +0000 (13:44 +0000)]
Merge "Fix bug when no paths is given for Plan constructor"

8 years agoMerge "Add reporter PoC"
Yujun Zhang [Mon, 27 Feb 2017 03:40:33 +0000 (03:40 +0000)]
Merge "Add reporter PoC"

8 years agoMerge "Refactoring qtip.runner"
Yujun Zhang [Mon, 27 Feb 2017 03:40:06 +0000 (03:40 +0000)]
Merge "Refactoring qtip.runner"

8 years agoFix bug when no paths is given for Plan constructor 77/29277/3
Yujun Zhang [Thu, 23 Feb 2017 12:51:38 +0000 (20:51 +0800)]
Fix bug when no paths is given for Plan constructor

FileLoader was trying to initialize abspath by finding a matched
name from abspath which will lead to an exception. Use default
paths of class instead.

Change-Id: I8ca2122e97edd734aa68b4c6b12196960842313b
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Addition of detail viewing command."
Yujun Zhang [Thu, 23 Feb 2017 11:01:09 +0000 (11:01 +0000)]
Merge "Addition of detail viewing command."

8 years agoMerge "Update tox to produce coverage report"
zhihui wu [Thu, 23 Feb 2017 07:36:26 +0000 (07:36 +0000)]
Merge "Update tox to produce coverage report"

8 years agoMerge "add logger's unittest"
Yujun Zhang [Thu, 23 Feb 2017 06:11:27 +0000 (06:11 +0000)]
Merge "add logger's unittest"

8 years agoMerge "refactor logger to make unittest possible"
zhihui wu [Thu, 23 Feb 2017 05:55:02 +0000 (05:55 +0000)]
Merge "refactor logger to make unittest possible"

8 years agoMerge "guides for openssl issue in macOS"
zhihui wu [Thu, 23 Feb 2017 05:50:12 +0000 (05:50 +0000)]
Merge "guides for openssl issue in macOS"

8 years agoadd logger's unittest 09/29209/9
SerenaFeng [Wed, 22 Feb 2017 09:31:10 +0000 (17:31 +0800)]
add logger's unittest

Change-Id: I9a7d3c6afeff5432017f5bfd4a961a719c93c086
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoguides for openssl issue in macOS 37/29237/1
Julien [Wed, 22 Feb 2017 15:36:40 +0000 (23:36 +0800)]
guides for openssl issue in macOS

Change-Id: I61454e35db30050a4473ab9058ddcd9c7b44fcbe
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
8 years agorefactor logger to make unittest possible 13/29213/2
SerenaFeng [Wed, 22 Feb 2017 10:33:35 +0000 (18:33 +0800)]
refactor logger to make unittest possible

Change-Id: Ibb630ea34701e454aabf78821f4c40781d2607ed
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "bugfix for grep"
zhihui wu [Wed, 22 Feb 2017 09:05:52 +0000 (09:05 +0000)]
Merge "bugfix for grep"

8 years agoAdd reporter PoC 03/29203/2
Yujun Zhang [Wed, 22 Feb 2017 08:57:48 +0000 (16:57 +0800)]
Add reporter PoC

Change-Id: I5134a0d95d75fcb3a75267a5f20b4ace8638156a
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Cover also tests folder"
Yujun Zhang [Wed, 22 Feb 2017 07:23:45 +0000 (07:23 +0000)]
Merge "Cover also tests folder"

8 years agoMerge "Add Api Basic framework skeleton"
Yujun Zhang [Wed, 22 Feb 2017 07:19:48 +0000 (07:19 +0000)]
Merge "Add Api Basic framework skeleton"

8 years agobugfix for grep 99/29199/2
wu.zhihui [Wed, 22 Feb 2017 07:16:37 +0000 (15:16 +0800)]
bugfix for grep

Change-Id: I1474a4e4f5884f17cbf3e6d62fae7e743921aae1
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoUpdate tox to produce coverage report 97/29197/1
Julien [Wed, 22 Feb 2017 06:20:00 +0000 (14:20 +0800)]
Update tox to produce coverage report

JIRA:QTIP-204

Change-Id: If77558ed2f6e454b4abebdbb185755925d91c963
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
8 years agoAdd Api Basic framework skeleton 35/29035/3
Akhil Batra [Sun, 19 Feb 2017 13:51:15 +0000 (19:21 +0530)]
Add Api Basic framework skeleton

- Requirements updated to remove flask and include connexion
- Api specifications will be added to specs file in swagger/
- controllers module will handle all requests and responses

JIRA: QTIP-213

Change-Id: Icfec15ddeff7d53c53ce64910ae2bddd4fc0f260
Signed-off-by: Akhil Batra <akhil.batra@research.iiit.ac.in>
8 years agoRefactoring qtip.runner 93/29193/1
Yujun Zhang [Wed, 22 Feb 2017 03:41:07 +0000 (11:41 +0800)]
Refactoring qtip.runner

- deprecate current PoC
- cover it with test

Change-Id: Ia1a43c195781fdd09e7d925ed3bf4509f226916f
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Refactoring qtip.base.error"
Yujun Zhang [Wed, 22 Feb 2017 03:08:21 +0000 (03:08 +0000)]
Merge "Refactoring qtip.base.error"

8 years agoAddition of detail viewing command. 85/29185/3
Taseer Ahmed [Wed, 22 Feb 2017 01:45:45 +0000 (06:45 +0500)]
Addition of detail viewing command.

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

8 years agoMerge "Implement the collector regex for system info logfile."
zhihui wu [Tue, 21 Feb 2017 11:49:43 +0000 (11:49 +0000)]
Merge "Implement the collector regex for system info logfile."

8 years agoMerge "Include third party script for license checking and amending"
Yujun Zhang [Tue, 21 Feb 2017 09:00:03 +0000 (09:00 +0000)]
Merge "Include third party script for license checking and amending"

8 years agoRefactoring qtip.base.error 05/29005/7
Yujun Zhang [Sat, 18 Feb 2017 04:14:43 +0000 (12:14 +0800)]
Refactoring qtip.base.error

- move method make_tbd to qtip.util.dev
- add suffix Error to follow the Python naming convention
- rename arguments of NotFoundError to make it generic

Change-Id: I81e406b7fa10c3b40004434f6a9c2e7bbf7603ee
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoCover also tests folder 51/29051/3
Yujun Zhang [Mon, 20 Feb 2017 07:32:43 +0000 (15:32 +0800)]
Cover also tests folder

This is to ensure all test code is reached to detect bugs like #28955 [1].
The loop of in the tests were not reached before the fix.

[1]: https://gerrit.opnfv.org/gerrit/#/c/28955/

Change-Id: I2f9e52cf7df1b94c9412f6edb6ce6f9e137d9b54
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Move coverage config to .coveragerc"
Yujun Zhang [Tue, 21 Feb 2017 08:48:17 +0000 (08:48 +0000)]
Merge "Move coverage config to .coveragerc"

8 years agoImplement the collector regex for system info logfile. 61/29061/6
wu.zhihui [Mon, 20 Feb 2017 07:59:00 +0000 (15:59 +0800)]
Implement the collector regex for system info logfile.

I commented sone lines. Because these part can't be supported
well by grep_in_file().

Change-Id: Ifc0ab1b6f40180e40c150b2c80eeaa6c72274ac9
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoMove coverage config to .coveragerc 31/29031/7
Yujun Zhang [Sat, 18 Feb 2017 17:45:32 +0000 (01:45 +0800)]
Move coverage config to .coveragerc

.coveragerc will be used by tox, pytest, PyCharm and etc

Change-Id: I1f128231cda5f3ebffff9e99b1de9134c78fcc00
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agosupport multi-line search in grep parser 53/29053/8
wu.zhihui [Tue, 21 Feb 2017 08:35:41 +0000 (16:35 +0800)]
support multi-line search in grep parser

use finditer with multiline mode

JIRA: QTIP-211

Change-Id: Ib8854f749a0258f6b6775be9b80573f6ac8e47db
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoInclude third party script for license checking and amending 19/29119/2
Yujun Zhang [Tue, 21 Feb 2017 08:08:42 +0000 (16:08 +0800)]
Include third party script for license checking and amending

The following commit message are generated automatically by git-subrepo
-----------------------------------------------------------------------------
git subrepo clone git@github.com:openzero-zte/License.git third-party/License

subrepo:
  subdir:   "third-party/License"
  merged:   "61489da"
upstream:
  origin:   "git@github.com:openzero-zte/License.git"
  branch:   "master"
  commit:   "61489da"
git-subrepo:
  version:  "0.3.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "988f8c8"
-----------------------------------------------------------------------------
Change-Id: I8eab86a8ce3f26995af3e3535f31f361b4826a8b
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoAdd licence header according to OPNFV contribution guidelines[1] by script[2] 29/29029/3
Yujun Zhang [Tue, 21 Feb 2017 07:22:44 +0000 (15:22 +0800)]
Add licence header according to OPNFV contribution guidelines[1] by script[2]

[1]: https://wiki.opnfv.org/display/DEV/Contribution+Guidelines
[2]: https://github.com/Justin-chi/Lab/blob/master/add_license.sh

Change-Id: I5b77394a104857bb4ee9addbe973ed239b7a59f3
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Migrate to Danube document guide"
Yujun Zhang [Tue, 21 Feb 2017 06:35:35 +0000 (06:35 +0000)]
Merge "Migrate to Danube document guide"

8 years agoMerge "Fix error in loader test"
Yujun Zhang [Tue, 21 Feb 2017 06:33:43 +0000 (06:33 +0000)]
Merge "Fix error in loader test"

8 years agoMerge "Clean up tests folder"
Yujun Zhang [Tue, 21 Feb 2017 06:33:34 +0000 (06:33 +0000)]
Merge "Clean up tests folder"

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 agoFix error in loader test 55/28955/3
Yujun Zhang [Fri, 17 Feb 2017 13:52:02 +0000 (21:52 +0800)]
Fix error in loader test

Change-Id: Idac7d0ec77941974a5f93108fd5f450eef05a5ad
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoClean up tests folder 29/28929/2
Yujun Zhang [Fri, 17 Feb 2017 10:39:28 +0000 (18:39 +0800)]
Clean up tests folder

- remove __init__.py as recommended in pytest docs[1]
- rename cli test files for a consistent naming style
- remove empty test files

[1]: http://docs.pytest.org/en/latest/goodpractices.html#choosing-a-test-layout-import-rules

Change-Id: Idfb5d8a8fb7a590ef988a761991b8e313089e9bc
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMigrate to Danube document guide 25/29025/1
Yujun Zhang [Sat, 18 Feb 2017 15:50:47 +0000 (23:50 +0800)]
Migrate to Danube document guide

https://wiki.opnfv.org/display/DOC

Change-Id: I85535f158022fe0aeb7c888273dc81fbbf4ddeda
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
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>