aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-03-24Merge "Integrate cli, runner and reporter."zhihui wu10-80/+68
2017-03-23Merge "Create folder for TOM tool, R module for performance dataset processing"Morgan Richomme1-0/+4
2017-03-23Integrate cli, runner and reporter.Taseer10-80/+68
- Execute runner via a shell command - Change format of qtip result directory to qtip-timestamp - Add path option in reporter to match with runner JIRA: QTIP-229 Change-Id: I7d8562fd7100b1f40cdc8d53b0daa6a06a55b495 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-03-23Rename docs/testing/developer/design to docs/testing/developer/devguideYujun Zhang7-0/+0
See https://git.opnfv.org/opnfvdocs/tree/docs/testing/testing-dev.rst Change-Id: Iac14adf4a2876fd74972dcf6279f7022e92cb9b5 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-03-23Cleanup `docs` folderYujun Zhang16-69/+0
- move legacy document to `/legacy/docs` - move proposals to `docs/proposal` - remove unused `.gitkeep` files Change-Id: I1ad83ae98b7a6b3bb1738ced9b1f0d22c9c296b6 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-03-23Sync docs from stable/danube 05ef2c4f46a9dc7a704a290eb15817c80a52c2e6Yujun Zhang11-6/+378
Change-Id: I519c002259143cc92417f34595a80889c93310e1 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-03-23Merge "Update CLI docs."Yujun Zhang2-0/+130
2017-03-23Merge "Fix socker connection issue in qtip docker"zhihui wu1-1/+21
2017-03-23Merge "Add unit tests for List and get in API."zhihui wu10-89/+209
2017-03-23Update CLI docs.Taseer2-0/+130
JIRA: QTIP-231 Change-Id: I44bc75239e9ff59a70ec9070092101f021a3a291 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-03-23Fix socker connection issue in qtip dockerJulien1-1/+21
ansible can not run correctly in qtip docker currently in centos. Change-Id: I92875924ae8047e20d1bb73ad655b8b8f6a59523 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-03-22Merge "correct the path of .ansible.cfg"Yujun Zhang1-1/+1
2017-03-22Add unit tests for List and get in API.akhilbatra89810-89/+209
- refactor controllers - remove abspath and other irrelvant data in response - move fixtures - refactor decorators JIRA: QTIP-226 Change-Id: I5fac5b1bc998da198098992e7ddb47ba49685f31 Signed-off-by: akhilbatra898 <akhil.batra@research.iiit.ac.in>
2017-03-22correct the path of .ansible.cfgwu.zhihui1-1/+1
In qtip container, /home/opnfv/ is HOME path. So the customized .ansible.cfg should be put under this directory. Change-Id: Ie0cddab9dac72fc45c14d7d3652b6863c5748260 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-21Add missing license headersYujun Zhang2-1/+10
Change-Id: Idd76277c84a6afc9a545d6e2bba39aae6e7f5d71 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-03-21White space control in report.Taseer1-3/+2
- Flaw: System Info and metric results at same line Packets per Second: 1.45System Information: Change-Id: I22790e4b2c65fd2ef555e1c20e602a51ea97eb3b Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-03-21Merge "mistaken delete usefuel public key"zhihui wu2-8/+14
2017-03-20mistaken delete usefuel public keywu.zhihui2-8/+14
Previously, cleanup_creds.sh will delete public keys which of comment info is "root@$hostname". It could delete useful keys by accident. In this patch, cleanup_creds.sh will only delete the key which matches the key's content. JIRA: QTIP-228 Change-Id: I1095de656570b816b7e170688acd01c27b98e74c Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-20Merge "Refactor reporter module"zhihui wu15-77/+569
2017-03-18Refactor reporter moduleTaseer15-77/+569
- Create templates for report format specific to each metric. - Outputs the details of the specified metric across all the nodes in cluster. - Timeline to be covered in a separate patch JIRA: QTIP-199 Change-Id: Ic83749725b0c9cc5bd9a7f24f21b2cd113abe0e1 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-03-18Merge "provide get_one_exceptions to unify get_xx process"Yujun Zhang2-9/+22
2017-03-17Merge "correct a mistake for os.getenv()"zhihui wu1-1/+1
2017-03-16Merge "Implement 'show' command."Yujun Zhang10-9/+55
2017-03-16correct a mistake for os.getenv()wu.zhihui1-1/+1
os.getenv returns a string not a boolean. Although you set environment variable 'CI_DEBUG=false', the cleanup will not be executed. Change-Id: I077b602069f026a4b9ef6019869ac6c29c401c21 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-15Merge "Add aarch64 patch"Yujun Zhang1-0/+33
2017-03-15provide get_one_exceptions to unify get_xx processSerenaFeng2-9/+22
add refactor get_metric() Change-Id: I972c77e63a654eeb286c573d75efe842b2887c1d Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-15Merge "add the cleanup step in runner.py"zhihui wu4-8/+26
2017-03-14Implement 'show' command.Taseer10-9/+55
- Render the description via templates JIRA: QTIP-205 Change-Id: I10523f85f80350e901a4a701bb65ca4833f8ff7c Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-03-13Add aarch64 patchCristina Pauna1-0/+33
This commit adds a patch that can be applied to the Dockerfile to adapt it for aarch64. When applied from releng, a new Dockerfile.aarch64 is created and an aarch64 qtip image is created. The aarch64 qtip image will be build with the releng fix https://gerrit.opnfv.org/gerrit/30181 JIRA: ARMBAND-219 Change-Id: I551ae7fa1d7fc23c6e5f6381d605b0b22dbec695 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-03-13add the cleanup step in runner.pywu.zhihui4-9/+27
Add the cleanup step in runner.py Change-Id: I0016986485eab5d7ab45d4a7a393bea5fb6f96b5 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-13optimize console infowu.zhihui3-43/+24
- use QtipLogger instead of print - delete useless print Change-Id: I1e08382a5d78ce53cf455496363bce3762b81dd2 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-13Merge "Implement the workflow of compute qpi"zhihui wu2-18/+137
2017-03-13Merge "parse benchmark result from logfile"zhihui wu3-2/+195
2017-03-11Miss \ in Dockerfilewu.zhihui1-1/+1
https://build.opnfv.org/ci/view/qtip/job/qtip-docker-build-push-master/250/console Change-Id: If6d76c6a27cc61a1b3d468751932e21d32dff277 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-11Implement the workflow of compute qpiwu.zhihui2-18/+137
Local test is ok. The result will be written to report.json. usage: runner.py [-h] -d DEST -b BENCHMARK optional arguments: -d DEST, --dest DEST the destination where results will be stored. -b BENCHMARK, --benchmark BENCHMARK the benchmark you want to execute. Change-Id: Ic3a70c65a5aa045bf9df34ce4d14957a7a1b3dcf Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-11parse benchmark result from logfilewu.zhihui3-2/+195
- Put all the regex rules in regex.yaml. - According to benchmark name, we can find related regexes. Change-Id: Ic15bd1c77b525be3751011fa94d582da077b0345 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-11Merge "env cleanup"zhihui wu2-0/+28
2017-03-11Merge "Some modifications for ansible playbook"zhihui wu3-5/+13
2017-03-11Merge "Implement 'list' command."zhihui wu8-14/+48
2017-03-11env cleanupwu.zhihui2-0/+28
If IF_DEBUG is True, there is not cleanup step. If IF_DEBUG is False, host file and keypair will be deleted on local and public key will be removed from remote nodes in the end of test. Change-Id: I4a88acc2d428e41e4abaedacb011e27468b2cb57 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-11Some modifications for ansible playbookwu.zhihui3-5/+13
- typo in ramspeed/run.yaml - fix result logfile name for dhrystone and whetstone Change-Id: Ic8456174a14d04c2207990eccb16601762c5a880 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-10Implement 'list' command.Taseer8-14/+48
- Loads Qtip components from the default path. JIRA: QTIP-205 Change-Id: Id87993d65c5cd6a23c199cf1049d75a0971b6354 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-03-10Implement Retrieval of plans, QPIs, and metricsakhilbatra8985-31/+173
- All specs can be listed - All specs can be individually retrieved - API can be installed alongside qtip - API can be hosted using command `qtip-api` JIRA: QTIP-221 JIRA: QTIP-222 Change-Id: I1e80e6609cae1252cb2fcdc38c71b4bf6d02e8c9 Signed-off-by: akhilbatra898 <akhil.batra@research.iiit.ac.in>
2017-03-10Merge "fill benchmarks"zhihui wu7-0/+231
2017-03-10Merge "bugfix benchmarks cannot be found"zhihui wu1-0/+4
2017-03-10fill benchmarksSerenaFeng7-0/+231
Change-Id: I7ad5f504058b20db72c0878cf9618e6bff186b33 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-10bugfix benchmarks cannot be foundSerenaFeng1-0/+4
OSError: [Errno 2] No such file or directory: '/Users/fengxiaowei/opnfv/qtip/.venv/lib/python2.7/ site-packages/qtip/cli/../../tests/data/benchmarks/plan' Change-Id: I510a2beb215b3e5c93cfa5870fd892b0c7720f01 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-10Merge "Add missing softwares"zhihui wu1-0/+2
2017-03-10Merge "modify logfile directory structure"zhihui wu13-72/+54
2017-03-10Add missing softwareswu.zhihui1-0/+2
Install iputils-ping for ping and rsync for synchronizing files and directories. Change-Id: I93ba44bcb04948bbe846fb179dc673aa86a6a92a Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>