summaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2017-09-11Merge "Mitigating for missing values in storage QPI."zhihui wu1-2/+5
2017-09-08Use minimal outputYujun Zhang1-1/+1
Easier to read the log message Change-Id: I49d61aa666a261e3e3bf3795cfe4341dca865dcb Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-09-07Mitigating for missing values in storage QPI.Taseer Ahmed1-2/+5
- Update unit tests Change-Id: I7bfe89dc6bbe1cafe13b2f3e4f9356a06a59c68b Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-08-30Keep tests/data consistent with repository structureYujun Zhang13-270/+6
- rename `benchmarks` in `tests/data` to `resources` - delete obsoleted contents JIRA: QTIP-258 Change-Id: I7f4ec1a1fc7b355922c7aee76851e7f0dd026f72 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-30Add score calculation module for storperfYujun Zhang2-0/+4182
Change-Id: I469ee4d768e16a27c3bde660bc1029d5a3507b72 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-28Use legacy storperf images instead of master branchYujun Zhang1-4/+4
The master branch of storperf is under refactoring and not stable enough for integration. It introduces microservices and some linked images is not built yet, e.g. storperf-graphite[1] which is required by storperf-master is empty [1] https://hub.docker.com/r/opnfv/storperf-graphite Change-Id: Ie8522dae9073d163872be5742a290fd003698442 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-26Refactor storperf testing scripts into ansible roleYujun Zhang11-278/+56
Change-Id: Ifbfe0818a528dbd9b2c176acf39450ca480e931a Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-26Skip container and docker image clean upYujun Zhang2-27/+8
- This helps to use the cache on CI pod and reduce build time. - Dangling containers and docker images will be cleaned up in a separate periodic job. Change-Id: Ifa756714698c71b8dde0cbe089661936e94e8a17 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-23Some Optimizationszhihui wu4-64/+31
- remove container and image without -f - remove duplicated code from verify_storage.sh, replaced by the script launch_containers_by_testsuite.sh - move the common sentences from periodic.sh to launch_containers_by_testsuite.sh - add 'QTIP' as prompt for print messages Change-Id: Ia9aa61a3b60c1049af3499a06f2c6cd0dc181552 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-08-22Setup CI job for storage benchmarking on apexzhihui wu3-48/+85
The script "launch_containers_by_testsuites.sh" helps to launch containers according to TEST_SUITE. e.g. compute or storage. JIRA: QTIP-265 Change-Id: Ib7210d68600cc092e3322ddaab4cdf7913428647 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-08-18Merge "refactor storperf scripts structure"Yujun Zhang10-1/+378
2017-08-18Merge "Fix compute CI job"Yujun Zhang1-9/+2
2017-08-18refactor storperf scripts structurezhihui wu10-1/+378
- Run qtip and storperf containers by docker-compose - Cope the current patch changes into qtip container for verification - Run the script run_storage_qpi.sh for storperf test Change-Id: Ic140fb7531d270b9c62bcd72f5dbc13917534daf Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-08-18Merge "Create entry script for CI"zhihui wu1-0/+3
2017-08-17Fix compute CI jobYujun Zhang1-9/+2
Change-Id: I86b2638b7e6ba2e8c4c6ba98b4cad8506d9d5c7c Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-16Migrate contents from benchmarks to resourcesYujun Zhang1-1/+1
Change-Id: I189c3d5224ec58ad63851d173b94204b273c3696 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-16Create entry script for CIYujun Zhang1-0/+3
Change-Id: I2ff57203d298e33b8c390b59aea9866e1f607e23 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-16compute-qpi CI scriptszhihui wu2-12/+85
- Move compute-qpi ci scripts in releng repos to qtip repos. - Support apex - Introduce TEST_SUITE JIRA: QTIP-65 Change-Id: I3633463e1bb5226ebcaffb4b53a3c56b433f6efb Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-08-11Merge "Fix bug in apex inventory"Yujun Zhang2-11/+11
2017-08-09Refactor QPI moduleTaseer Ahmed1-17/+7
- Delete outdated code Change-Id: I0505d3ccc1ea76078f4d307f7d5ef66777ff6eb7 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-08-09Fix bug in apex inventoryYujun Zhang2-11/+11
The default user for overcloud should be heat-admin JIRA: QTIP-267 Change-Id: Ie868b1a925ca0eaa0292bdfb99d0e328e820f8aa Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-07-27Merge "Deprecate plan and metric loader"zhihui wu8-301/+0
2017-07-26Merge "Add ceph-network-info role to get the cluster network info and ↵zhihui wu1-0/+7
interface network info from ceph nodes."
2017-07-26Deprecate plan and metric loaderYujun Zhang8-301/+0
- qtip test plan is now automaticlly generated by `qtip create`. The original way of loading plans is no longer valid - metric specs are now embedded in qpi spec, no separated loader are required now JIRA: QTIP-258 Change-Id: I768d75b014163ce060faff00f415a1cdc437ce73 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-07-24Merge "Add ceph-cache-info role to get the ceph client cache info from ceph ↵zhihui wu1-0/+3
nodes."
2017-07-18Add ceph-disk-info role to get the ceph disk and journal info from cephzhifeng.jiang2-0/+20780
nodes. JIRA: QTIP-254 Change-Id: Iee21ea600abef6f889ba4c3b5f71fd6fb96f570b Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2017-07-17Add ceph-cache-info role to get the ceph client cache info from cephzhifeng.jiang1-0/+3
nodes. JIRA: QTIP-254 Change-Id: I3dc9671da038db792807b8cd55859ffa60619670 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2017-07-17Add ceph-network-info role to get the cluster network info and interfacezhifeng.jiang1-0/+7
network info from ceph nodes. JIRA: QTIP-254 Change-Id: Ibf37d60e4a15e4238df2f702eee47cb114808106 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2017-07-13add a handling process when testapi_url is Nonezhihui wu1-1/+5
Change-Id: Ic1a27a0b9328f0343d6df51d863bf1ad1eb15992 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-07-07Add an testapi_url option in the ci scriptzhihui wu1-3/+5
Change-Id: I9eca0054eb00e1279df9853cb7624bd4586c2195 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-06-29Integrate Report with CLI.Taseer4-171/+154
- Migrate fixtures to conftest to be used by multiple files Change-Id: I9a705b93189ac1f2e6fd2fc4e3f05aec7af379f1 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-06-28Fix bug in aggregationYujun Zhang1-1/+1
Change-Id: Ic6613a9ab585894984e1cdab6ead3a84d1c4af9c Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-06-26Refactor output formatTaseer1-13/+15
- Merge scores and results in qpi.json - metrics: {} will be completely removed as a consequence - Make baseline the same format as spec Change-Id: Id0cc487002a38c51736de07f3759fd78d42a0b9c Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-06-06add system_info and condition to qpi reportzhihui wu1-3/+18
According to the part "system_info" and "condition" in spec, gather these data and add them to qpi report. Change-Id: I5efc996c2bfb34452e9aa323d8288c1dd2d8d276 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-06-06Merge "Beautify the argument names"Yujun Zhang1-2/+2
2017-06-06Merge "Pass on unhandled options."zhihui wu1-0/+18
2017-06-05Beautify the argument namesYujun Zhang1-2/+2
- keep the argument consisten with OPNFV convention - installer-ip is not used because in fact we use host address instead - remove optional argurment from prompt Change-Id: I3db3cf53b62cc86e143bc59a7dd8bb83d0f74b7d Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-06-02Pass on unhandled options.Taseer1-0/+18
- More robust testing Change-Id: Iaef21e9e244e1b5112ea5faa630e04424dc0b264 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-06-02Refactor CliTaseer1-4/+0
- Remove reduntant contexts - Remove verbose option - Use builtin help and version options Change-Id: Ifb66009b5f9ab95428ce87c90f739b5221ccdd6f Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-06-02Merge "metrics baseline in compute-baseline.json"zhihui wu1-7/+50
2017-06-01metrics baseline in compute-baseline.jsonzhihui wu1-7/+50
- Previously, metrics baseline are defined in the spec file. In this patch, move metrics baseline to compute-baseline.json. - you can get qpi based with baseline file given in calculate.yml - you can generate a customized baseline file when baseline file is not given in calculate.yml And baseline will be removed from the spec file. Change-Id: I123d28e28543cb153b60120b5076306fa2fa3873 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-05-31Merge "Pass on all unhandled options"Yujun Zhang1-0/+37
2017-05-29Pass on all unhandled optionsTaseer Ahmed1-0/+37
Change-Id: Ic86002732c87d3b4ac5b5b3b664f116354d4bf9d Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-05-25Add support for create new project from different templatesYujun Zhang1-1/+1
Change-Id: Ic260c59b12eb9882406d6172311f2e401963c64b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-05-23use the git link to replace qtip_speczhihui wu1-2/+2
Change-Id: Iaee076c06d54754f2d761dd85eab58353ee32ae4 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-05-23update run_ci.shzhihui wu1-1/+3
- change "qtip workspace create" to "qtip create" - set pod_name and scenario from env if not provided by user as options Change-Id: I0a7e1923c6e45a263147dd2f87a6a75c3751c65c Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-05-19Merge "Remove "plan" module. Replaced by "project""zhihui wu1-43/+0
2017-05-19Merge "Implement sunburst badge for QPI"Yujun Zhang2-12/+26
2017-05-18Remove "plan" module. Replaced by "project"Charlie Root1-43/+0
Change-Id: I5da2a3cf366e4e5a67b68e34db62219587d923e5 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-05-17Merge "delete unuse code in directory /qtip"zhihui wu2-323/+0