aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-01-03Implement plan, qpi and metric constructorsYujun Zhang19-104/+165
- 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>
2017-01-03Add module skeletonsYujun Zhang35-221/+257
- 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>
2016-12-28Delete Ansible module. No longer required.Taseer Ahmed4-77/+3
JIRA: QTIP-150 Change-Id: Idd357af309d01e5eece22521c12cd61ffd50db85 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2016-12-27Merge "Implment https://wiki.opnfv.org/display/qtip/Design"Yujun Zhang32-232/+481
2016-12-27Implment https://wiki.opnfv.org/display/qtip/DesignYujun Zhang32-232/+481
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>
2016-12-26Merge "rename qtip-server to qtip-api"zhihui wu1-1/+1
2016-12-22rename qtip-server to qtip-apiAkhil Batra1-1/+1
JIRA: QTIP-191 Change-Id: I54f8f0884fa92e41b619e25e4a241be2eb8fd087 Signed-off-by: Akhil Batra <akhil.batra@research.iiit.ac.in>
2016-12-22Merge "All unit tests."zhihui wu6-31/+65
2016-12-21Merge "Add skeletons of drivers, collector and reporter"Yujun Zhang7-0/+66
2016-12-20All unit tests.Taseer6-31/+65
JIRA: QTIP-184 Change-Id: I577b8df85d2be63f9195ed2bb3c6bf497ce1fd96 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2016-12-20Exception handling for wrong testplanTaseer1-5/+11
JIRA: QTIP-184 Signed-off-by: Taseer Ahmed <taseer94@gmail.com> Change-Id: I0b989b52561526963c127fc03818cf41d67af35f
2016-12-20Add skeletons of drivers, collector and reporterYujun Zhang7-0/+66
Change-Id: I22a021800bbc813d7c5309d075fcbb8a19946e3f Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-12-19Merge "Basic testplan layout JIRA: QTIP-184"zhihui wu1-0/+43
2016-12-19Merge "Unit Test for Ansible Module"zhihui wu1-0/+31
2016-12-16Minor fix of compute QPI specYujun Zhang1-10/+10
- 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>
2016-12-16Merge "Add unit test for `describe` method"zhihui wu3-0/+18
2016-12-16Merge "add ssh public key to users/files/"zhihui wu2-0/+2
2016-12-16create a new suite file for compute QPIwu.zhihui1-0/+46
- 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>
2016-12-15Unit Test for Ansible ModuleTaseer1-0/+31
JIRA: QTIP-188 Change-Id: I10b3fb979f52d10e8dedf956831f8320c04a36ea Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2016-12-15Merge "Add more comments to clarify runner prototype"Yujun Zhang3-3/+10
2016-12-15Merge "Convert contributing guide to markdown to get it embedded in wiki"Yujun Zhang2-114/+104
2016-12-14make qtip-server installableSerenaFeng2-2/+39
JIRA: QTIP-189 Change-Id: I8de0fa1ff3033fd37c499e75f35a5387f5345f8f Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-14Merge "bugfix: solve upgrade setuptools failed problem"Yujun Zhang1-1/+1
2016-12-14bugfix: solve upgrade setuptools failed problemSerenaFeng1-1/+1
Change-Id: Id699224c35992a9f203b2ca5ad57300211e1b1eb Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-13Basic testplan layoutTaseer1-0/+43
JIRA: QTIP-184 Change-Id: I605f81fce9c4c59b75d286a6262995ea2fa2e21e Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2016-12-13Add unit test for `describe` methodYujun Zhang3-0/+18
Change-Id: I6d37ab283d7fcfb0c15dd8065121b706dd80392b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-12-13Add more comments to clarify runner prototypeYujun Zhang3-3/+10
Change-Id: I25540985f425ee4ebd209c1708b5d25be582e746 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-12-13Convert contributing guide to markdown to get it embedded in wikiYujun Zhang2-114/+104
Change-Id: I969f97fea0bf9daca8816eefcf94fb7978bd51d9 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-12-13refactor qtip-server structureSerenaFeng11-51/+79
JIRA: QTIP-186 Change-Id: I4ecdcdc2869de0ef717ebf4bd1346e7c428b5b19 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-13bugfix: qtip install failed in docker modeSerenaFeng1-0/+2
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>
2016-12-10Merge "Fix role name error"Yujun Zhang6-0/+0
2016-12-10add ssh public key to users/files/Akhil Batra2-0/+2
request user access on server Change-Id: I2b100a63c9a4de52d8494d4b0ad527cf6f5b3f71 Signed-off-by: Akhil Batra <akhil.batra@research.iiit.ac.in>
2016-12-08Fix role name errorYujun Zhang6-0/+0
JIRA: QTIP-159 Change-Id: Idb4d43accaf0186f53c338624513e172dc54b9a8 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-12-08Fix relative path in test caseYujun Zhang2-4/+25
Use abspath for fixture files to make tests independent from cwd Change-Id: Ie965899c5311e26ad708f44463b1992d9b8e697b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-12-08Merge "Fix bugs in `runner/benchmark`"Yujun Zhang4-2/+5
2016-12-08Merge "Implement PerfTest prototype"Yujun Zhang4-21/+37
2016-12-07Fix bugs in `runner/benchmark`Yujun Zhang4-2/+5
- 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>
2016-12-07correct the path in push_db.shwu.zhihui1-1/+1
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>
2016-12-07Implement PerfTest prototypeYujun Zhang4-21/+37
Change-Id: I5988cb65d0e50fa88beaac8f48b5b1da70ed687a Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-12-07Merge "Implement TestPlan prototype"Yujun Zhang6-80/+110
2016-12-07Merge "Implement __init__ and list_all in Suite"Yujun Zhang5-9/+73
2016-12-06Implement TestPlan prototypeYujun Zhang6-80/+110
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>
2016-12-06Implement __init__ and list_all in SuiteYujun Zhang5-9/+73
Change-Id: I97a34610d9f50d6ee81b487d0446eec3f4eea001 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-12-06Merge "Skip unstable test `tests.unit.utils.create_zones_test`"Yujun Zhang1-0/+1
2016-12-05Skip unstable test `tests.unit.utils.create_zones_test`Yujun Zhang1-0/+1
JIRA: QTIP-175 Change-Id: Ib4891c8f37445285f2ea414d5988e55ca71cf10f Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-12-05[QTIP-157]fix docker build jobwu.zhihui1-9/+4
Bugfix task QTIP-157. Add agrument BRANCH in Dockerfile. JIRA: QTIP-157 Change-Id: I5558c23dde948e28f9c989bee7f4a42dc886f5a1 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-12-05Merge "bugfix in run_qtip.sh"zhihui wu1-1/+1
2016-12-05Merge "Committer retirement: Wenjing CHU"Yujun Zhang1-1/+1
2016-12-05bugfix in run_qtip.shwu.zhihui1-1/+1
Forgot to set ${QTIP} to qtip/run.py Change-Id: If57e58cc21d2ecfb32070bbeedab9aa3cc76551d Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-12-02Merge "Remove dell's directories under testplan/"Yujun Zhang32-1274/+0