summaryrefslogtreecommitdiffstats
path: root/qtip
AgeCommit message (Collapse)AuthorFilesLines
2017-03-04Merge "bugfix on bash scripts"zhihui wu2-21/+18
2017-03-04Merge "Refactor dhrystone playbook"zhihui wu9-1/+169
2017-03-04Implement debug optionTaseer Ahmed1-21/+8
Show traceback only when debug flag specified. JIRA: QTIP-201 Change-Id: I9cc4b4ed5a2cb2d2efabd9c0eb3aac216321ebac Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-03-03Implement reporter module.Taseer Ahmed3-5/+39
- Add cli module - Implement timeline outline JIRA: QTIP-199 Signed-off-by: Taseer Ahmed <taseer94@gmail.com> Change-Id: I487b76123a785731c356143d1ae7f3123c11f398
2017-03-03Add missing license headersYujun Zhang2-0/+18
Change-Id: I33cdd3b1304c695b81d2e23434a70acfcc9a21f8 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-03-03bugfix on bash scriptswu.zhihui2-21/+18
When debugging on real environment, I found these two bugs. Local test is ok. Change-Id: I799afe6a4c24fcdf370d761c83376ca3f2ce43d2 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-03Create draft of report template in consoleYujun Zhang1-0/+22
Change-Id: Ie6e626753c6562c361542c45e8504d177d624d2a Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-03-03Refactor dhrystone playbookwu.zhihui9-1/+169
- Break previous one playbook into three playbooks: setup.yaml: setup test environment. run.yaml: execute test steps clean.yaml: cleanup test environment to restore environment The advantage is cleaning part will never be blocked by another. - Just do testing on remote hosts, parse logfile on localhost. - Use ansible module instead of shell command. - Move up all files under /ansible and remove ansible directory. Under /ansible, ansible package cann't be imported. Change-Id: I43c65be23869b7d42ca769994d4decb9a012d196 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-01Merge "refactor code related with setup env"zhihui wu3-112/+81
2017-02-28refactor code related with setup envwu.zhihui3-112/+81
- modify env.py and scripts - add unit test Change-Id: I416cd517bdddfeb907675705009d83ecada7f87c Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-02-27Deprecate unused drivers sample and yardstickYujun Zhang2-29/+0
- 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>
2017-02-27Merge "Fix bug when no paths is given for Plan constructor"Yujun Zhang2-9/+9
2017-02-27Merge "Add reporter PoC"Yujun Zhang3-17/+11
2017-02-27Merge "Refactoring qtip.runner"Yujun Zhang2-43/+12
2017-02-24Fix bug when no paths is given for Plan constructorYujun Zhang2-9/+9
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>
2017-02-23Merge "Addition of detail viewing command."Yujun Zhang3-0/+21
2017-02-23Merge "refactor logger to make unittest possible"zhihui wu1-5/+4
2017-02-22refactor logger to make unittest possibleSerenaFeng1-5/+4
Change-Id: Ibb630ea34701e454aabf78821f4c40781d2607ed Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-02-22Merge "bugfix for grep"zhihui wu1-2/+2
2017-02-22Add reporter PoCYujun Zhang3-17/+11
Change-Id: I5134a0d95d75fcb3a75267a5f20b4ace8638156a Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-22Merge "Add Api Basic framework skeleton"Yujun Zhang3-0/+20
2017-02-22bugfix for grepwu.zhihui1-2/+2
Change-Id: I1474a4e4f5884f17cbf3e6d62fae7e743921aae1 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-02-22Add Api Basic framework skeletonAkhil Batra3-0/+20
- 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>
2017-02-22Refactoring qtip.runnerYujun Zhang2-43/+12
- deprecate current PoC - cover it with test Change-Id: Ia1a43c195781fdd09e7d925ed3bf4509f226916f Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-22Addition of detail viewing command.Taseer Ahmed3-0/+21
Change-Id: Ia9ad825f20b279db1852587540a2ad6cb3815e1d Signed-off-by:Taseer Ahmed <taseer94@gmail.com>
2017-02-21Refactoring qtip.base.errorYujun Zhang6-24/+35
- 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>
2017-02-21support multi-line search in grep parserwu.zhihui1-2/+3
use finditer with multiline mode JIRA: QTIP-211 Change-Id: Ib8854f749a0258f6b6775be9b80573f6ac8e47db Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-02-21Merge "Move api server to legacy code."zhihui wu2-31/+0
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 wu6-1/+99
2017-02-20code refactor: ansible playbook about system infowu.zhihui6-1/+99
- 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 Batra2-31/+0
Change-Id: Idda8a48bc8cecac5aff4a1f99b8e4e0b58855fff Signed-off-by: Akhil Batra <akhil.batra@research.iiit.ac.in>
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 Zhang12-68/+123
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 Zhang5-31/+61
- 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 Zhang3-18/+13
Change-Id: I997ceeed17bd35889f6b0f3465bbe75df256b71e Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-05Fix bug that metric test is not collectedYujun Zhang1-0/+1
Change-Id: I2e05891a89745712274757ba9af928b03fb5edf6 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-01-29Refactor loader classesYujun Zhang9-60/+123
- 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-25Merge "refactor useful legacy code about preparing test enviroment"Yujun Zhang3-0/+284
2017-01-25Merge "Click's built in support for version option"zhihui wu1-7/+2
2017-01-25Merge "Small corrections"zhihui wu1-1/+2
2017-01-25Merge "Plan module draft"zhihui wu1-22/+23
2017-01-25Merge "Formalize constants for property names"zhihui wu5-24/+49
2017-01-23Click's built in support for version optionTaseer Ahmed1-7/+2
Change-Id: I62ffde066fe2fcb5be7af9a29686a7d380353670 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-01-23Merge "QPI Module Outline"Yujun Zhang2-54/+35
2017-01-23Formalize constants for property namesYujun Zhang5-24/+49
Change-Id: I68560b2299c2a815219bc0d0399124e0c269a2c0 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-01-23refactor useful legacy code about preparing test enviromentwu.zhihui3-0/+284
- 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 Ahmed1-1/+2
JIRA: QTIP-188 Change-Id: I5820403527fe4df5e23472923e34660c72195d50 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-01-22Plan module draftTaseer Ahmed1-22/+23
JIRA: QTIP-205 JIRA: QTIP-188 Change-Id: Ia871191851d25e1986834f8a7efdbeb8a8d87ec3 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-01-21QPI Module OutlineTaseer Ahmed2-54/+35
Change-Id: I19b666dfdb3e3c10622397bda00460d6fb5c269d Signed-off-by: Taseer Ahmed <taseer94@gmail.com>