aboutsummaryrefslogtreecommitdiffstats
path: root/resources/ansible_roles
AgeCommit message (Collapse)AuthorFilesLines
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>
2017-04-24Fix package missing on debian hostsYujun Zhang1-1/+2
Change-Id: I4cc5c78f1b33f17234bbcf4864b01c550dc0e487 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-24Collect arithmetic metrics from unixbenchYujun Zhang5-22/+36
Change-Id: I3e9ca649f3b35908c162d5036dcde3a333278f6d Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-24Save logs before collectingYujun Zhang4-25/+70
Change-Id: I0e39103ef917fa7ea86d5c47de0cc71c37fca74c Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-24Unify workdirYujun Zhang13-51/+110
- use role variable `workdir` - download dependencies to remote workdir with checksum Change-Id: I2a7991e014e365fec532520c2b57a3fe480914d8 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-24Cleanup metrics reportYujun Zhang7-20/+24
Change-Id: I79b56d7490930db171fe93e314be4f6d73b0063b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-24Organize **all** tasks into ansible role `qtip`Yujun Zhang16-102/+174
Change-Id: I5d3852d2a31e9c4043191377e5cb7d539d222a8c Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-22Organize results in folder named with pod and current dateYujun Zhang6-7/+17
Change-Id: I0882fb4548c3c3a6a72c6f752f8074e553ee3748 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>