aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-02-19Fix error in loader testYujun Zhang3-10/+6
Change-Id: Idac7d0ec77941974a5f93108fd5f450eef05a5ad Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-19Clean up tests folderYujun Zhang10-18/+0
- 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>
2017-02-15Implement logfile collector and grep parserYujun Zhang22-96/+250
JIRA: QTIP-207 JIRA: QTIP-208 Change-Id: Icc14d3097fb305e59df716636ef87504490c9d1b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-15Refactoring collector initialization in plan loaderYujun Zhang8-36/+67
- move ClassProps to module - collectors should be array in plan definition Change-Id: I37d85dbc977c91aa1bb81de45b5e1c41660e6d1f Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-15Add test for yaml_file loaderYujun Zhang7-18/+49
Change-Id: I997ceeed17bd35889f6b0f3465bbe75df256b71e Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-14Merge "Add test coverage to contributing guide"Yujun Zhang1-0/+9
2017-02-07Add unit test for BaseTransformerYujun Zhang2-0/+15
Change-Id: Ia379af759d9442f5b53f5052682e6218acef8a1b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-06Add test coverage to contributing guideYujun Zhang1-0/+9
JIRA: QTIP-204 Change-Id: I0ff8a00f287544d82628e940ee530b5e9150a1e0 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-05Add test coverageYujun Zhang2-2/+5
Change-Id: I9bff5fb1be3edc57d27cfe44f210a2814efd2274 JIRA: QTIP-204 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-05Fix bug that metric test is not collectedYujun Zhang3-4/+9
Change-Id: I2e05891a89745712274757ba9af928b03fb5edf6 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-05Add missing dependenency for testYujun Zhang1-0/+1
Change-Id: I2c27fe3f852dbaf3cf7daa926228a14f039bbe67 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-05Merge "Removed unused deps"Yujun Zhang3-14/+15
2017-02-01Removed unused depsYujun Zhang3-14/+15
Change-Id: I7215c0c3f2957e88b2a048c45a5b99739707f15b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-01-29Refactor loader classesYujun Zhang11-69/+132
- 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>
2017-01-26Merge "Code refactoring about doctor QPI"Yujun Zhang19-26/+42
2017-01-25Merge "refactor useful legacy code about preparing test enviroment"Yujun Zhang3-1/+138
2017-01-25Merge "Click's built in support for version option"zhihui wu2-8/+3
2017-01-25Merge "Small corrections"zhihui wu2-4/+8
2017-01-25Merge "Plan module draft"zhihui wu2-22/+54
2017-01-25Merge "Formalize constants for property names"zhihui wu8-53/+78
2017-01-23Click's built in support for version optionTaseer Ahmed2-8/+3
Change-Id: I62ffde066fe2fcb5be7af9a29686a7d380353670 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-01-23Merge "QPI Module Outline"Yujun Zhang3-54/+66
2017-01-23Code refactoring about doctor QPIYujun Zhang19-26/+42
- 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>
2017-01-23Formalize constants for property namesYujun Zhang8-53/+78
Change-Id: I68560b2299c2a815219bc0d0399124e0c269a2c0 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-01-23refactor useful legacy code about preparing test enviromentwu.zhihui3-1/+138
- 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>
2017-01-22Small correctionsTaseer Ahmed2-4/+8
JIRA: QTIP-188 Change-Id: I5820403527fe4df5e23472923e34660c72195d50 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-01-22Plan module draftTaseer Ahmed2-22/+54
JIRA: QTIP-205 JIRA: QTIP-188 Change-Id: Ia871191851d25e1986834f8a7efdbeb8a8d87ec3 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-01-21QPI Module OutlineTaseer Ahmed3-54/+66
Change-Id: I19b666dfdb3e3c10622397bda00460d6fb5c269d Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-01-20Enable pep8 in tox test by defaultYujun Zhang1-1/+1
Check it locally before submit for verification by opnfv-lint task Change-Id: I2736d53e82a87d39a7316036aa97105bb13fec2f Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-01-20Merge "Metric module outline"zhihui wu3-58/+61
2017-01-19Merge "Yardstick integration design specification"Yujun Zhang2-0/+93
2017-01-17Metric module outlineTaseer Ahmed3-58/+61
Change-Id: Id95b07f1c0821ae0883c761fdf8f507afba4e5c0 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-01-17Merge "Update Dockerfile"zhihui wu3-25/+22
2017-01-16Update Dockerfilewu.zhihui3-25/+22
- 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>
2017-01-12Move redundant files to legacyTaseer Ahmed4-0/+0
Change-Id: Iede9d0f72f857b48e8fe5b48c9ae6169870e0b7a Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-01-11Reorganize the project foldersYujun Zhang147-8/+41
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>
2017-01-11sample QPI for doctor performance measured in verification jobYujun Zhang23-4/+529
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>
2017-01-11Yardstick integration design specificationwu.zhihui2-0/+93
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>
2017-01-11Merge "Add proposal of Fast Track review rule"Yujun Zhang1-5/+16
2017-01-11Merge "Implement plan, qpi and metric constructors"Yujun Zhang19-104/+165
2017-01-11Merge "Ignore AUTHORS and ChangeLog"zhihui wu1-0/+4
2017-01-11Merge "Add developer guide outline"zhihui wu1-0/+101
2017-01-11Merge "Add module skeletons"zhihui wu35-221/+257
2017-01-09Add proposal of Fast Track review ruleYujun Zhang1-5/+16
Change-Id: Ia0a95a5ee16547870eef49905db8adfd3b342ae0 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-01-09Requesting to join qtip-reviewers groupAkhil Batra1-0/+1
Change-Id: Icf9da0984511177c97f3dbb3f2a0b2560773bf4b Signed-off-by: Akhil Batra <akhil.batra@research.iiit.ac.in>
2017-01-09Add developer guide outlineYujun Zhang1-0/+101
JIRA: QTIP-115 Change-Id: I16c7919b1e97a098767ca567ce9b8026a1f754e2 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-01-09Merge "Retire `qtip-desk` server to save cost"Yujun Zhang3-14/+6
2017-01-09Merge "Rework Cli."zhihui wu3-36/+96
2017-01-07modify deprecated importsAkhil Batra3-5/+5
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>
2017-01-06Ignore AUTHORS and ChangeLogsrisankethu1-0/+4
Change-Id: I45130f89057aa91d035edae91f4250394f9876c3 Signed-off-by: srisankethu <iamjustice443@gmail.com>