aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-07Implement PerfTest prototypeYujun Zhang4-21/+37
Change-Id: I5988cb65d0e50fa88beaac8f48b5b1da70ed687a Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
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-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-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
2016-12-01Merge "correct the path of transform/ in ansible scripts"Yujun Zhang7-13/+13
2016-12-01Remove dell's directories under testplan/wu.zhihui32-1274/+0
Since dell's pod is offline for a long time, dell's directories are removed. JIRA: QTIP-174 Change-Id: I5c93edd2f182b87cf6f7ea6d5713483d316c7fe9 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-11-30Merge "Enable all unit tests except two failed cases"Yujun Zhang6-7/+3
2016-11-29correct module path in qtip.pywu.zhihui1-1/+1
See https://build.opnfv.org/ci/job/qtip-fuel-zte-pod3-daily-master/43/console for details. Change-Id: Ic12c4143bd29e7d56ac68e8a3317c8b3f36a274f Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-11-29correct the path of transform/ in ansible scriptswu.zhihui7-13/+13
Due to reorganize qtip directory, it need to correct the path of transform/ in ansible scripts Change-Id: I9eb9cb194419b9eeb71ece6764335ee238db1481 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-11-29Enable all unit tests except two failed casesYujun Zhang6-7/+3
- `test_ping` in `env_setup_test` still halts - `test_prepare_and_run_benchmark_successful` in `args_handler_test` fails - excluded `pep8` since already coverred by opnfv-lint task Change-Id: Ib5ea20c37a27e356aea6d8eed3750b3269bd67f4 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-11-29Committer retirement: Wenjing CHUYujun Zhang1-1/+1
Change-Id: I027d5771871394d5f6a390c644638deb6abcc202 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-11-28Merge "bugfix: recovery qtip CI"Yujun Zhang2-1/+1
2016-11-28Merge "Entry point should be a calling a module function. Explained in [1] ↵Yujun Zhang1-1/+1
under entry_points."
2016-11-26Merge "Fix test failing"Yujun Zhang69-46/+70
2016-11-26Merge "Bugfix: fix the qtip restful server unit test problem."Yujun Zhang1-1/+1
2016-11-26bugfix: recovery qtip CIwu.zhihui2-1/+1
https://build.opnfv.org/ci/job/qtip-fuel-zte-pod3-daily-master/40/console - move qtip.py to qtip/ - modifity docker/run_qtip.sh Change-Id: I9ec155c125f4be41e794142d0545d5cc54a1c6b3 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-11-26Entry point should be a calling a module function.linux_geek1-1/+1
Explained in [1] under entry_points. [1]. http://docs.openstack.org/developer/pbr/ Change-Id: Id231f397f348dd256b442dc69fe90c5cca5defd4 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2016-11-25Bugfix: fix the qtip restful server unit test problem.zhifeng.jiang1-1/+1
JIRA:QTIP-158 Change-Id: I0ed1d3eb6959bb36615734ef757fa95560cb3baf Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-11-25Fix test failingYujun Zhang69-46/+70
- skip several failure cases, to be fixed in future - rename `test_plan` to hide from test discovering - add pep8 check by default - fix errors in pep8 check Change-Id: If4451999a1f4ed1339dfdf8271cc58f11de72b3e Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-11-25Fix exception caused by missing log folderYujun Zhang2-0/+4
Change-Id: I3a73cc0366e2c1a9c5965367ea68138f36ff1d63 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-11-25Merge "Reorganize the inventory"Yujun Zhang16-40/+28
2016-11-25Merge "Bugfix in new setup file."Yujun Zhang1-1/+1
2016-11-25Merge "Write how is compute QPI calculated."zhihui wu2-0/+70
2016-11-24Bugfix in new setup file.linux_geek1-1/+1
Change-Id: I02a9620ce92680fdab469117e67894dba16d8b11 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2016-11-24Write how is compute QPI calculated.zhifeng.jiang2-0/+70
JIRA: QTIP-127 Change-Id: I2c5f3c3b2b968a9c2bb0a772a38924af60890a67 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-11-24Use `pbr` for setup configurationYujun Zhang7-20/+48
- `pbr` does a bunch of things[1] and is used widely in OpenStack - moved legacy `qtip.py` to scripts in order to keep the project folder clean [1]: http://docs.openstack.org/developer/pbr/#what-it-does Change-Id: I6a9b83883283eaa527e2c3d4cd8d221ee6efca41 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-11-24Merge "Update review guidelines"Yujun Zhang1-0/+18
2016-11-24Allow select test case to runYujun Zhang1-3/+3
- remove hardcoded argument `tests` from tox.ini - use command like `tox tests/unit/runner` for selective running - `tox` without argument will run all test in `tests` folder Change-Id: I3916dc571e85c785f83813aa30c5bb0ef9a65cd6 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-11-23Update review guidelinesYujun Zhang1-0/+18
Change-Id: Ia3e2a67762abb6369f75935c2d891f73a32e533a Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-11-23Reorganize the inventoryYujun Zhang16-40/+28
- update server name and spec - group servers by usage - assign roles for each group - rename role ssh to user Change-Id: Ibc0a599adfabee296510f140319889775d9ae6cc Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-11-23Merge "Architecture evolution skeleton"Yujun Zhang31-0/+122
2016-11-23Merge "Additional server test.qtip.io"zhihui wu3-3/+7
2016-11-23Merge "adapt testapi running script to use mongo container as TESTDB"zhihui wu1-2/+2
2016-11-23Merge "push test results to qtip dashboard server"zhihui wu1-0/+8
2016-11-22Merge "Cli list related fixes"Yujun Zhang2-2/+3
2016-11-22adapt testapi running script to use mongo container as TESTDBSerenaFeng1-2/+2
JIRA: QTIP-166 Change-Id: Icae8ab2a8760138ef10e9b353f6027bc5179ab5e Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-11-21Cli list related fixeslinux_geek2-2/+3
JIRA: QTIP-154 Change-Id: I95ab04fab35ff599c338ce07870602b58635e833 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2016-11-21push test results to qtip dashboard serverSerenaFeng1-0/+8
JIRA: QTIP-166 Change-Id: Ic9b06c5dc0065850f8d766ecb66b74835b8677df Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-11-21deploy mongodb to qtip dashboard serverSerenaFeng3-1/+18
add ansible code to deploy mongodb in qtip dashboard server JIRA: QTIP-166 Change-Id: Icce4ac10b00ecf7679ff89204cb8a95cd1919151 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-11-21deploy testapi to qtip dashboard serverSerenaFeng7-1/+37
add ansible code to deploy testapi in qtip dashboard server JIRA: QTIP-166 Change-Id: I09111ea762d2677061c010e85208105f3f556fc6 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-11-21Architecture evolution skeletonYujun Zhang31-0/+122
- benchmarks will be driven by qtip.runner - qtip.runner is used by both qtip.cli and qtip.api - unit test for each module will be placed under tests/unit - functional tests will be moved to tests/functional - data as testing sample will be moved to tests/data NOTE: this patch moves files only, it may fails many tests. To be followed up in next step. JIRA: QTIP-148 Change-Id: I27e8169a74783970a1f7818456eb76a7311fb60c Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-11-18Merge changes from topics 'fix', 'cli'zhihui wu3-32/+37
* changes: Bugfix: Correct the path in setup and entry points Ansible related commands in its own module.
2016-11-17Merge "Need to go one level up to reach project/root directory for listing ↵Yujun Zhang1-1/+1
purposes."
2016-11-17Bugfix: Correct the path in setup and entry pointslinux_geek2-32/+8
JIRA: QTIP-154 Change-Id: I00320818e2d2e633c901b126775cbeb5a721f6fd Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2016-11-17Additional server test.qtip.ioYujun Zhang3-3/+7
- Located in Aliyun HK - 1 CPU, 1GiB Mem, 100Mbps Change-Id: I93241648f5721c04305cd74e1668de8ce5317604 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>