aboutsummaryrefslogtreecommitdiffstats
path: root/resources
AgeCommit message (Collapse)AuthorFilesLines
2018-03-14adjust the execution pipeline for vnfzhihui wu3-9/+24
- Add a new execution logic for vnf. use a variable "sut" as the conditional judgement. - Loop attempt to connect the vnf - check whether install python in remote target Change-Id: I29b13603a0f75380471c586c642d46d626d8ce22 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2018-03-12Get Ansible to work with bare ubuntu 16.04zhihui wu1-0/+6
Bare ubuntu 16.04 doesn't have python2. [1] https://gist.github.com/gwillem/4ba393dceb55e5ae276a87300f6b8e6f. Change-Id: I677fe0b387826b0c94c8a819a6424d3f4e8a3448 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2018-03-06generate inventory file and ssh configuration filezhihui wu4-0/+40
Generate inventory file and ssh configuration file for VM. The default image is ubuntu 16.04. So the ansible user is ubuntu. Change-Id: Ie14ebcdcfbc24f045ffd32785eec07df5798c5fb Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2018-02-27Delete the hardcoding parameter "sut_type"zhihui wu2-4/+1
SUT already can be passed from CLI. Change-Id: I3ff68ebf94ce25dfc0a42964cf1aafc8e58da4b6 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2018-02-27Merge "create VM via heat"zhihui wu13-182/+163
2018-02-26create VM via heatzhihui wu13-182/+163
JIRA: QTIP-290 Change-Id: I3b87b06e7f2b134c28d9cb046150fb000070a760 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2018-02-26Adapter "installer_type" for reportingzhihui wu2-1/+7
mcp is regarded as fuel in opnfv testresult reporting, but they are different tools for QTIP. so convert "mcp" to "fuel" before reporting. Change-Id: I5a90828b4583fe734beb80283734966d9ece1852 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2018-02-25Merge "Add missing license header"zhihui wu1-0/+9
2018-02-24Use a fixed ubuntu 16.04 imagezhihui wu1-2/+2
Use a fixed ubuntu 16.04 image Change-Id: I2eeeb647c6fa55af2c0149022e03326cb03a26a5 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2018-02-23Add missing license headerYujun Zhang1-0/+9
Change-Id: Ie6464f443ef4357f0aac13667ca7053194b4615b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2018-02-23Add QTIP flavor creation/deletionTaseer Ahmed2-0/+35
JIRA: QTIP-291 Change-Id: I4f5bea70605c4f9d4451961a3aa6db3a1fb078e4 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2018-02-11Add the creation/deletion of image in the pipelinezhihui wu10-16/+119
- Specify image download and upload details JIRA: QTIP-291 Change-Id: I9f4e0d179f7d907b448b716274348fb6c71dd3bc Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2018-01-15Merge "Add a judgement to control the proxy jump configuration"zhihui wu2-0/+12
2018-01-09Add a judgement to control the proxy jump configurationzhihui wu2-0/+12
- Set a default value(True) to proxy_jump - For MCP, set proxy_jump to False. Because remote node can be directly connected from qtip container without proxy jump. Change-Id: I92214de984a0231ba4ba873f3a60cb12589ade28 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2018-01-09use 'import_tasks' and 'include_tasks' instead of 'include'zhihui wu6-8/+8
The use of 'include' for tasks has been deprecated.[1] [1] http://docs.ansible.com/ansible/latest/include_module.html Change-Id: I940f4031b16860e69d2ca92e4fca82c5cc495aef Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-12-19fix some bugs about mcp modulezhihui wu1-1/+1
- ansible user should be "ubuntu" - SUT:children is "compute" not "compute-nodes" in the template/hosts - logical error about node_meta - Uniform installer_group mcp value Change-Id: I8c40accbe2b5d65d93044faebaf166703ab63932 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-11-20Add role for heat stack creationTaseer Ahmed3-0/+109
JIRA: QTIP-284 Change-Id: I8de67c74fe31d6353f05892df67f21ae9af9640e Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-19Set ``criteria`` as PASS for all completed executionsYujun Zhang1-1/+1
Change-Id: I232eedba24dd9f41a6d5ef588ffb1f6cfd8d0415 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-10-18Merge "Add support for Mirantis Cloud Platform."zhihui wu3-0/+16
2017-10-16Add support for Mirantis Cloud Platform.Taseer Ahmed3-0/+16
JIRA: QTIP-261 Change-Id: Ied9c3d91b25bc8dad7deb0cf30f83cd2b7855a92 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-03Lookup in enviroment for OPNFV release nameYujun Zhang1-1/+1
this is used in testapi reporting Change-Id: If0a2ef1d406544f5c8648fb653ff6c2334abf5e8 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-09-30Download ramspeed from new urlYujun Zhang1-1/+3
The original one has expired Change-Id: I0e362daf0308c5f0915bf1f652f3ab7d14373e91 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-09-30Fix criteria dataYujun Zhang1-1/+1
It does not make sense to use current score as criteria. Set to 2048 for now. Although the baseline is not well calibrated, it is better than given a floating criteria. Change-Id: Iae972b585422cdde95f8b7027081c56cc9608643 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-09-18Fix output path of testing resultsYujun Zhang2-3/+3
Change-Id: I2a30dd39bb847868c8869904c8b28d2bf7d784e5 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-09-15Fix output pathYujun Zhang2-6/+6
Change-Id: Ib3e5a310a561d9fdd11b503058ada4e937189a9d Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
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-08-30Add score calculation module for storperfYujun Zhang2-0/+11967
Change-Id: I469ee4d768e16a27c3bde660bc1029d5a3507b72 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-29Fix bug that start_job script exit unexpectedlyYujun Zhang1-0/+4
When `set -o errexit` is enabled in script, the non-zero return value from `diff` is considered as an error. But actually diff returns 1 when difference is found. The error exit option should be disabled when dealing `diff`. Change-Id: I6270ec8f7036b3d752736a80474468e26a613585 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-28Use legacy storperf images instead of master branchYujun Zhang1-1/+1
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 Zhang21-0/+888
Change-Id: Ifbfe0818a528dbd9b2c176acf39450ca480e931a Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-22Merge ceph info rolesYujun Zhang6-20/+6
Change-Id: I83be70cf24be2a9da0a0f82e44810b1e9ff2b3b8 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-16Migrate contents from benchmarks to resourcesYujun Zhang2-1/+1
Change-Id: I189c3d5224ec58ad63851d173b94204b273c3696 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-16Merge "Fix permission issue on apex"zhihui wu1-3/+6
2017-08-14Fix permission issue on apexYujun Zhang1-3/+6
root privilege is required for ceph commands Change-Id: Idf42342d0035359d6bcb475d12ea0808d5d26802 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-11Merge "Fix bug in apex inventory"Yujun Zhang1-1/+1
2017-08-09Refactor QPI moduleTaseer Ahmed1-2/+5
- Delete outdated code Change-Id: I0505d3ccc1ea76078f4d307f7d5ef66777ff6eb7 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-08-09Fix bug in apex inventoryYujun Zhang1-1/+1
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 wu1-1/+1
2017-07-26Merge "Add ceph-network-info role to get the cluster network info and ↵zhihui wu2-0/+51
interface network info from ceph nodes."
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-07-17Add ceph-network-info role to get the cluster network info and interfacezhifeng.jiang2-0/+51
network info from ceph nodes. JIRA: QTIP-254 Change-Id: Ibf37d60e4a15e4238df2f702eee47cb114808106 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 Zhang2-4/+9
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-21Add missing description in compute QPI specYujun Zhang1-1/+14
Change-Id: Ia8bedf1a39afc9fe71984f2f5f1a487512008b5d Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-06-21Add description of each workloadYujun Zhang1-30/+54
Change-Id: I5d0ae61dc8b0f4cfe9d1e12c7a51edf6b0d56b7a 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>