aboutsummaryrefslogtreecommitdiffstats
path: root/resources/ansible_roles
AgeCommit message (Collapse)AuthorFilesLines
2017-07-26Deprecate plan and metric loaderYujun Zhang1-1/+1
- 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 wu2-0/+48
nodes."
2017-07-18Add ceph-disk-info role to get the ceph disk and journal info from cephzhifeng.jiang2-0/+54
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.jiang2-0/+48
nodes. JIRA: QTIP-254 Change-Id: I3dc9671da038db792807b8cd55859ffa60619670 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2017-06-28Fix bug in aggregationYujun Zhang1-1/+1
Change-Id: Ic6613a9ab585894984e1cdab6ead3a84d1c4af9c Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-06-28Fix bug in QPI calculationYujun Zhang1-1/+2
compute spec was amended in 45111c but the calculation is not updated Change-Id: Ibf0139b2278f617a52335e8839f51c97d5ded8b7 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-06-10bugfix: installer is not defined in report.ymlzhihui wu1-1/+1
since installer is renamed to installer_type in all.yml, installer cann't be found in report.yml Change-Id: I222b3050aab8b4f09e1f70c623d0e53ebbff1743 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-06-10bugfix regex for cpuzhihui wu1-1/+1
Change-Id: I036af55669dcb386a16df9aaae202a39fdc23e9b Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-06-06add system_info and condition to qpi reportzhihui wu1-0/+1
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-05Fix bug in apex moduleYujun Zhang2-3/+2
- the default user may not be `root` - gather facts is required for getting $HOME Change-Id: Ibe7ba31322f07f0a9fa33a01005e605dc7eb796a Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-06-05Beautify the argument namesYujun Zhang7-17/+16
- 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-03Fix argument typo in example configurationYujun Zhang1-2/+2
Change-Id: Ia8edbfe1c00808da0375640a84ab18f5edb2224f Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-06-01metrics baseline in compute-baseline.jsonzhihui wu1-0/+1
- 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 "bugfix memory report"zhihui wu1-3/+3
2017-05-28Merge "Add support for create new project from different templates"Yujun Zhang23-46/+602
2017-05-27bugfix memory reportzhihui wu1-3/+3
Change-Id: I2d09dbc2946c4ddfb33e1c415329e32c5ad818fe Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-05-25Add support for create new project from different templatesYujun Zhang23-46/+602
Change-Id: Ic260c59b12eb9882406d6172311f2e401963c64b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-05-25improve the regex for matching "cpu"zhihui wu1-1/+1
CPU brand should not include cpu speed. Change-Id: I6938150313fda092b83df981d3622535bdf7decb Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-05-25Merge "bugfix CI failure"zhihui wu1-1/+1
2017-05-24Merge "bugfix unixbench report templates"zhihui wu1-2/+2
2017-05-24bugfix CI failurezhihui wu1-1/+1
It miss ":children" after "SUT", then compute nodes can't be found CI link: https://build.opnfv.org/ci/view/qtip/job/ qtip-os-nosdn-kvm-ha-zte-pod3-daily-master/54/console Change-Id: Ifca492a587b99036b649ecb9de1123924baf8d7f Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-05-23bugfix unixbench report templateszhihui wu1-2/+2
Change-Id: I7fd3a85c6497d14ec43c6e3c87c34a92ca3623d3 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-05-22Merge "No need to list the other nodes system information"zhihui wu1-13/+7
2017-05-19No need to list the other nodes system informationzhihui wu1-13/+7
Change-Id: Ia1d4da97ac30c767446be964f33a6edb1af756e4 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-05-19Merge "Implement sunburst badge for QPI"Yujun Zhang1-1/+6
2017-05-16Merge "Add support for manually installed (not using installer) OPNFV pod"Yujun Zhang7-8/+28
2017-05-16Add support for manually installed (not using installer) OPNFV podYujun Zhang7-8/+28
Change-Id: I314882dd8a9e491f253f825a8da7ec4c91ed3321 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-05-16Add arithmetic metricsYujun Zhang1-0/+1
Change-Id: I99b118931fd78a7908f32ddb418264576468118e Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-05-16Implement sunburst badge for QPIYujun Zhang1-1/+6
Change-Id: Iccdec7b0ac223a38c846f73adc6bd0e53db3723b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-05-16Remove prompt for teardownYujun Zhang2-6/+0
Interactive prompt will block automatic task execution in CI Change-Id: I435045186660ddda517f847e7cc33174e878da6d Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-05-15Merge "Update readme of running with native `ansible-playbook` command"Yujun Zhang2-2/+3
2017-05-15Merge "Check ssh-agent before running tests. Fail playbook if not running."Yujun Zhang1-0/+14
2017-05-15Update readme of running with native `ansible-playbook` commandYujun Zhang2-2/+3
Change-Id: Idd021dd6301c7ced7658460622ba4961b071c3c2 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-05-15Check ssh-agent before running tests. Fail playbook if not running.Taseer1-0/+14
- Need to start it manually. Not possible via playbook. JIRA: QTIP-242 Change-Id: Ief593fe54a900f7aa36890be5317a60bcb65a82e Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-05-15Get rid of `changed=false` flag in test resultYujun Zhang1-6/+5
Change-Id: I74c9634b708dbad82e6e4b0a04b44e16ff01ffdd Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-05-09Remove prompts for options while creating workspaceTaseer1-26/+0
Change-Id: Ic1b4bfbcefa6240fdab193e411cce4725a6835e7 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-05-07Implement qtip workspace createTaseer4-2/+85
Change-Id: Ibd4213a6c4c86a7f4e8f99b16cba5055a3abba39 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-05-06Merge workspace template into one directoryYujun Zhang15-11/+18
Change-Id: I384ea3611e58feb7292840d672094d49bb9e7482 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-27Allow executing benchmark under non-root userYujun Zhang5-8/+12
Change-Id: I62b242c9a2e90cc6c0c6c5ca181356690e18b59b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-27Revert "Merge workspace files into one folder"Yujun Zhang15-11/+6
This reverts commit e6da6749be6e5143855a48c866de2cd03789d2e8. Change-Id: Ieac19a1526e7a5515923b8258079af3a1faaa56b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-27miss dependencies for ubuntuzhihui wu1-0/+2
Change-Id: Id97daffbb0ce97ad4248934192f8f574deac7446 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-04-26Add support for reporting to testapiYujun Zhang1-2/+3
Change-Id: If363e7e5d14bdd6a1a12a553a2f162be3c23f530 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-26Add support for result aggregationYujun Zhang1-1/+4
Change-Id: I678b765f3f430cb6a5d130d94960273b8eea85e7 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-26Include memory metrics to calculationYujun Zhang2-0/+5
Change-Id: Iaf67cc53d7c95a4f3527000e479936a57a4c41cc Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-25Merge workspace files into one folderYujun Zhang15-6/+11
Change-Id: Ie8d0e8fdd6d6c212701ba1ee10b1d05da1ccca22 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-25Add dpi metrics to calculationYujun Zhang2-2/+4
Change-Id: I4ae05af6e8c29d94b2b3f3b4dd748c4325dfa410 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-25Organize common tasks under qtip-common roleYujun Zhang13-42/+113
Change-Id: I8592efdac7e6c2161eb7cb1b36d023697ebe7ad4 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-25Add ssl aes metrics in qpi calculationYujun Zhang2-1/+6
Change-Id: Id568aa3942849e105ca24892babff2acaec21121 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-24Export collected metrics to json as inputs for calculatingYujun Zhang4-1/+6
Change-Id: Id2dce1e750f646aeb972221229556fcd647a3637 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-24Support running collect stage onlyYujun Zhang4-15/+33
- add `always` tag to tasks required for all stages - apply `setup`, `collect` and `run` tag to each stage Change-Id: I806ec1add08bb18cb5b2848c78a039ed8a38c8ff Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>