summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-02-21Move coverage config to .coveragercYujun Zhang2-1/+28
.coveragerc will be used by tox, pytest, PyCharm and etc Change-Id: I1f128231cda5f3ebffff9e99b1de9134c78fcc00 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-21Add licence header according to OPNFV contribution guidelines[1] by script[2]Yujun Zhang91-0/+739
[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>
2017-02-21Merge "Migrate to Danube document guide"Yujun Zhang26-0/+0
2017-02-21Merge "Fix error in loader test"Yujun Zhang3-10/+6
2017-02-21Merge "Clean up tests folder"Yujun Zhang10-18/+0
2017-02-21Merge "Move api server to legacy code."zhihui wu4-2/+2
2017-02-20Merge "Deprecate options not sourceable to environment via Python. JIRA: ↵Yujun Zhang1-4/+1
QTIP-205"
2017-02-20Merge "code refactor: ansible playbook about system info"zhihui wu10-43/+595
2017-02-20code refactor: ansible playbook about system infowu.zhihui10-43/+595
- 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>
2017-02-19Move api server to legacy code.Akhil Batra4-2/+2
Change-Id: Idda8a48bc8cecac5aff4a1f99b8e4e0b58855fff Signed-off-by: Akhil Batra <akhil.batra@research.iiit.ac.in>
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-18Migrate to Danube document guideYujun Zhang26-0/+0
https://wiki.opnfv.org/display/DOC Change-Id: I85535f158022fe0aeb7c888273dc81fbbf4ddeda Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-16Deprecate options not sourceable to environment via Python.Taseer Ahmed1-4/+1
JIRA: QTIP-205 Change-Id: I991ba64e95227fd61b5809393439ef5e7fe05be2 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
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>