qtip.git
8 years agoBeautify compute report 09/32109/3
Taseer [Wed, 29 Mar 2017 01:34:31 +0000 (09:34 +0800)]
Beautify compute report

Change-Id: I0c4faa3720d980970f923697c879627ccbf22852
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoMerge "init TOM: machine learning on test results"
Yujun Zhang [Sun, 2 Apr 2017 00:27:43 +0000 (00:27 +0000)]
Merge "init TOM: machine learning on test results"

8 years agoReorganize requirements 27/32127/3
Yujun Zhang [Wed, 29 Mar 2017 06:06:06 +0000 (14:06 +0800)]
Reorganize requirements

- move test-requirements to ./requirements/test
- freeze requirements in ./requirements/frozen{,-test}.txt
- add necessary packages for requirements checking

Change-Id: I451e75bd0d9654ab37940336145cf3b4d0e365fe
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Update QTIP index"
Yujun Zhang [Fri, 31 Mar 2017 14:41:49 +0000 (14:41 +0000)]
Merge "Update QTIP index"

8 years agoMerge "Delete unnecessary material"
Yujun Zhang [Fri, 31 Mar 2017 14:40:56 +0000 (14:40 +0000)]
Merge "Delete unnecessary material"

8 years agoMerge "Add jinja2 filter justify"
Yujun Zhang [Fri, 31 Mar 2017 14:30:35 +0000 (14:30 +0000)]
Merge "Add jinja2 filter justify"

8 years agoMerge "Add guide for exposing api port during docker run"
Yujun Zhang [Fri, 31 Mar 2017 14:30:19 +0000 (14:30 +0000)]
Merge "Add guide for exposing api port during docker run"

8 years agoMerge "delete useless dependency coverage"
zhihui wu [Fri, 31 Mar 2017 11:08:17 +0000 (11:08 +0000)]
Merge "delete useless dependency coverage"

8 years agoAdd guide for exposing api port during docker run 75/32775/2
akhilbatra898 [Fri, 31 Mar 2017 10:40:21 +0000 (16:10 +0530)]
Add guide for exposing api port during docker run

Change-Id: I5dcc98ac02051f509c4714c6ea849f642dcae9d5
Signed-off-by: akhilbatra898 <akhil.batra@research.iiit.ac.in>
8 years agoDelete unnecessary material 41/32741/3
Taseer [Fri, 31 Mar 2017 08:43:13 +0000 (13:43 +0500)]
Delete unnecessary material

Change-Id: I446495d2ec5641b5478ce59192525df332b4f498
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoMerge "Configure docker to enable api autorun"
Yujun Zhang [Fri, 31 Mar 2017 06:18:46 +0000 (06:18 +0000)]
Merge "Configure docker to enable api autorun"

8 years agoMerge "Replace Qtip with QTIP"
Yujun Zhang [Fri, 31 Mar 2017 03:31:44 +0000 (03:31 +0000)]
Merge "Replace Qtip with QTIP"

8 years agoMerge "Replace Qtip with QTIP"
Yujun Zhang [Fri, 31 Mar 2017 03:28:08 +0000 (03:28 +0000)]
Merge "Replace Qtip with QTIP"

8 years agoReplace Qtip with QTIP 71/32671/1
Yujun Zhang [Fri, 31 Mar 2017 03:15:58 +0000 (11:15 +0800)]
Replace Qtip with QTIP

Change-Id: I7ac76209b10938bb33b5c1879acc343be0bab858
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoReplace Qtip with QTIP 69/32669/1
Yujun Zhang [Fri, 31 Mar 2017 03:09:54 +0000 (11:09 +0800)]
Replace Qtip with QTIP

Change-Id: I4f187f86f5bb519d836864778f815fcea2fa9545
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoFix document title 39/32639/1
Yujun Zhang [Fri, 31 Mar 2017 01:04:46 +0000 (09:04 +0800)]
Fix document title

Change-Id: Ie4865676420fc573ebba6f019f5bbfafdf3e38b4
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoAdd missing license header 15/32515/2
Yujun Zhang [Thu, 30 Mar 2017 14:08:19 +0000 (22:08 +0800)]
Add missing license header

Change-Id: Ifd9015b50ef05040b8eb90a3ad3e3edddfd61811
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoUpdate QTIP index 79/32379/2
Yujun Zhang [Thu, 30 Mar 2017 03:05:32 +0000 (11:05 +0800)]
Update QTIP index

Change-Id: I57ec7d8e2558ce27b6a6acad6a8ec6d9ee0080f7
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoCreate release note for Danube 1.0 99/32399/3
Yujun Zhang [Thu, 30 Mar 2017 08:14:09 +0000 (16:14 +0800)]
Create release note for Danube 1.0

Change-Id: I68cdb0ba44b6296207ebdd9129f33220962d4bc0
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoNormalize all section headers 53/32353/2
Yujun Zhang [Thu, 30 Mar 2017 02:14:04 +0000 (10:14 +0800)]
Normalize all section headers

- folder with `index.rst` for parts, using # with overline for heading
- `*.rst` file for chapter, using * with overline for heading

In each *.rst file, use the following token for heading

- =, for sections
- -, for subsections
- ^, for subsubsections
- ", for paragraphs

Change-Id: I6c247c1f1e27e891d0dade099195ef521f7dbb72
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agodelete useless dependency coverage 27/32427/1
SerenaFeng [Thu, 30 Mar 2017 09:20:18 +0000 (17:20 +0800)]
delete useless dependency coverage

the coverage is counted by pytest-cov

Change-Id: I156b500e767bde680c46b27f6c05cc89e7e06105
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "Add more content to developer overview"
Yujun Zhang [Thu, 30 Mar 2017 01:22:17 +0000 (01:22 +0000)]
Merge "Add more content to developer overview"

8 years agoinit TOM: machine learning on test results 29/32229/2
Alassane Samba [Wed, 29 Mar 2017 14:19:15 +0000 (16:19 +0200)]
init TOM: machine learning on test results

Change-Id: Ic66214e53d694bef9d4fac08a2ededa1f3ae4f82
Signed-off-by: Alassane Samba <alassane.samba@orange.com>
8 years agoConfigure docker to enable api autorun 07/32207/1
akhilbatra898 [Wed, 29 Mar 2017 12:09:46 +0000 (17:39 +0530)]
Configure docker to enable api autorun

 - modify path to api
 - expose api port

Change-Id: I080bd1e82f29120db9acee8f3bd3a3908dc87bc4
Signed-off-by: akhilbatra898 <akhil.batra@research.iiit.ac.in>
8 years agoAdd path for QTIP docs 97/32097/4
akhilbatra898 [Tue, 28 Mar 2017 21:25:25 +0000 (02:55 +0530)]
Add path for QTIP docs

This file will serve as the index page of QTIP isolated documentation
on qtip.readthedoc.org and docs.qtip.io

Change-Id: I34315e62847bc1bdc970db9b400138c3640c9ed5
Signed-off-by: akhilbatra898 <akhil.batra@research.iiit.ac.in>
8 years agoAdd more content to developer overview 15/32115/2
Yujun Zhang [Wed, 29 Mar 2017 02:47:16 +0000 (10:47 +0800)]
Add more content to developer overview

- copy "Coding Style" from `CONTRIBUTING.md`
- copy "Testing" from `DEVELOP.md`
- add links of primary packages

Change-Id: Ia4da2c610a3ceb41ec710904e9437b0449d0a46f
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoAdd jinja2 filter justify 21/32021/8
Yujun Zhang [Tue, 28 Mar 2017 10:13:38 +0000 (18:13 +0800)]
Add jinja2 filter justify

It will be used in report template

Change-Id: I69fd891db5e69b2dec441bd296836e6806461b78
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Align folder structure `docs/testing/developer` to opnfvdocs template"
Yujun Zhang [Tue, 28 Mar 2017 06:15:48 +0000 (06:15 +0000)]
Merge "Align folder structure `docs/testing/developer` to opnfvdocs template"

8 years agoMerge "Add project introduction"
Yujun Zhang [Tue, 28 Mar 2017 06:15:31 +0000 (06:15 +0000)]
Merge "Add project introduction"

8 years agoMerge "update user docs"
Yujun Zhang [Tue, 28 Mar 2017 05:57:47 +0000 (05:57 +0000)]
Merge "update user docs"

8 years agoMerge "Cleanup DEVELOP.md"
Yujun Zhang [Tue, 28 Mar 2017 05:57:34 +0000 (05:57 +0000)]
Merge "Cleanup DEVELOP.md"

8 years agoAdd project introduction 33/31533/6
Yujun Zhang [Thu, 23 Mar 2017 09:12:45 +0000 (17:12 +0800)]
Add project introduction

Change-Id: I5d0553f0ccec571f9db90b2fd8f25f0941f00b03
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "cite danube.rst in index.rst"
Yujun Zhang [Tue, 28 Mar 2017 05:46:02 +0000 (05:46 +0000)]
Merge "cite danube.rst in index.rst"

8 years agoMerge "Add API docs"
Yujun Zhang [Tue, 28 Mar 2017 05:45:55 +0000 (05:45 +0000)]
Merge "Add API docs"

8 years agoMerge "Add overview in developer guide"
Yujun Zhang [Tue, 28 Mar 2017 05:45:27 +0000 (05:45 +0000)]
Merge "Add overview in developer guide"

8 years agoMerge "remove replicated dependencies"
zhihui wu [Tue, 28 Mar 2017 03:18:05 +0000 (03:18 +0000)]
Merge "remove replicated dependencies"

8 years agoupdate user docs 55/31655/7
wu.zhihui [Fri, 24 Mar 2017 05:51:40 +0000 (13:51 +0800)]
update user docs

Change-Id: I7a7a1343c457fe1c3063dfeafa079154d495eac0
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoAdd info about selective running 83/31883/2
Taseer [Mon, 27 Mar 2017 08:33:51 +0000 (13:33 +0500)]
Add info about selective running

Change-Id: Ic5f7969c3d3969b7790d17beec10d73991ca8d08
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoAdd overview in developer guide 61/31861/1
Yujun Zhang [Mon, 27 Mar 2017 06:57:20 +0000 (14:57 +0800)]
Add overview in developer guide

Change-Id: I491f921d87cf0cec3bbef5a78e9f3065b1e012a1
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoremove replicated dependencies 55/31855/1
SerenaFeng [Mon, 27 Mar 2017 06:53:09 +0000 (14:53 +0800)]
remove replicated dependencies

Change-Id: Ie82153d201a06e7008465a5ea116b389dc1311c6
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agocite danube.rst in index.rst 33/31833/2
SerenaFeng [Mon, 27 Mar 2017 02:36:55 +0000 (10:36 +0800)]
cite danube.rst in index.rst

Change-Id: I00aa92a22e4e6aabd69463f3dd97d5d4a58f1e3a
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoAdd API docs 33/31733/7
akhilbatra898 [Fri, 24 Mar 2017 22:24:47 +0000 (03:54 +0530)]
Add API docs

  - Add developer guide for API
  - Add user guide for API
  - Add api to user guide doctree

JIRA: QTIP-234

Change-Id: Id388f82c52e31b3c75599ab846e64431be8083b7
Signed-off-by: akhilbatra898 <akhil.batra@research.iiit.ac.in>
8 years agoAlign folder structure `docs/testing/developer` to opnfvdocs template 27/31827/1
Yujun Zhang [Mon, 27 Mar 2017 02:15:27 +0000 (10:15 +0800)]
Align folder structure `docs/testing/developer` to opnfvdocs template

Change-Id: I9ce069cf4b5384b5788ca7cfc70e4188519667d5
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoUpdate ssh-key request 81/31781/1
akhilbatra898 [Sun, 26 Mar 2017 06:48:56 +0000 (12:18 +0530)]
Update ssh-key request

Change-Id: I86e6a5fa020439ee9eca95ea767c241c1e41703d
Signed-off-by: akhilbatra898 <akhil.batra@research.iiit.ac.in>
8 years agoCleanup DEVELOP.md 57/31757/1
Yujun Zhang [Tue, 21 Mar 2017 09:04:31 +0000 (17:04 +0800)]
Cleanup DEVELOP.md

- remove unecessary content
- move CLI develop guide to rst document

Change-Id: I20b6f458aa13f1feb1764e6c4d096ec8a9dddf49
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "bugfix: regex for dpi"
Yujun Zhang [Sat, 25 Mar 2017 01:04:02 +0000 (01:04 +0000)]
Merge "bugfix: regex for dpi"

8 years agoMerge "Update CLI docs."
Yujun Zhang [Sat, 25 Mar 2017 01:03:31 +0000 (01:03 +0000)]
Merge "Update CLI docs."

8 years agoadd qtip installation in Dockerfile 69/31669/1
wu.zhihui [Fri, 24 Mar 2017 09:14:19 +0000 (17:14 +0800)]
add qtip installation in Dockerfile

Docker build successfully on local. And QTIP cli works well.

Change-Id: I0916c73e67808ae170ff7b290b8e03b605be8e69
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agobugfix: regex for dpi 67/31667/1
wu.zhihui [Fri, 24 Mar 2017 08:47:31 +0000 (16:47 +0800)]
bugfix: regex for dpi

see: https://build.opnfv.org/ci/view/qtip/job/
qtip-os-nosdn-kvm-ha-zte-pod3-daily-danube/3/console

Previous regex cann't match with log like:
"nDPI throughput:       943.34 K pps / 8.86 Gb/sec".
For pps, there are two type of unit: K and M.
Same with bps.

Change-Id: I247c8b6049cc8b264fe894538cd4f89ba544c0b8
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoMerge "Rename docs/testing/developer/design to docs/testing/developer/devguide"
Yujun Zhang [Fri, 24 Mar 2017 07:46:58 +0000 (07:46 +0000)]
Merge "Rename docs/testing/developer/design to docs/testing/developer/devguide"

8 years agoMerge "Cleanup `docs` folder"
Yujun Zhang [Fri, 24 Mar 2017 07:46:53 +0000 (07:46 +0000)]
Merge "Cleanup `docs` folder"

8 years agoMerge "Sync docs from stable/danube 05ef2c4f46a9dc7a704a290eb15817c80a52c2e6"
Yujun Zhang [Fri, 24 Mar 2017 07:46:42 +0000 (07:46 +0000)]
Merge "Sync docs from stable/danube 05ef2c4f46a9dc7a704a290eb15817c80a52c2e6"

8 years agoUpdate CLI docs. 57/31657/1
Taseer [Fri, 24 Mar 2017 06:09:13 +0000 (11:09 +0500)]
Update CLI docs.

- Update command to execute runner
- Include reporter

JIRA: QTIP-231

Change-Id: I834ac94821cea7221078fbb6160ef7467b2bd4cf
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoMerge "Integrate cli, runner and reporter."
zhihui wu [Fri, 24 Mar 2017 01:11:43 +0000 (01:11 +0000)]
Merge "Integrate cli, runner and reporter."

8 years agoMerge "Create folder for TOM tool, R module for performance dataset processing"
Morgan Richomme [Thu, 23 Mar 2017 14:20:31 +0000 (14:20 +0000)]
Merge "Create folder for TOM tool, R module for performance dataset processing"

8 years agoIntegrate cli, runner and reporter. 39/31539/4
Taseer [Thu, 23 Mar 2017 09:26:49 +0000 (14:26 +0500)]
Integrate cli, runner and reporter.

- 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>
8 years agoRename docs/testing/developer/design to docs/testing/developer/devguide 19/31519/2
Yujun Zhang [Thu, 23 Mar 2017 08:52:11 +0000 (16:52 +0800)]
Rename docs/testing/developer/design to docs/testing/developer/devguide

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>
8 years agoCleanup `docs` folder 31/31531/1
Yujun Zhang [Thu, 23 Mar 2017 08:20:05 +0000 (16:20 +0800)]
Cleanup `docs` folder

- 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>
8 years agoSync docs from stable/danube 05ef2c4f46a9dc7a704a290eb15817c80a52c2e6 99/31499/2
Yujun Zhang [Thu, 23 Mar 2017 08:06:04 +0000 (16:06 +0800)]
Sync docs from stable/danube 05ef2c4f46a9dc7a704a290eb15817c80a52c2e6

Change-Id: I519c002259143cc92417f34595a80889c93310e1
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Update CLI docs."
Yujun Zhang [Thu, 23 Mar 2017 08:24:26 +0000 (08:24 +0000)]
Merge "Update CLI docs."

8 years agoMerge "Fix socker connection issue in qtip docker"
zhihui wu [Thu, 23 Mar 2017 06:55:55 +0000 (06:55 +0000)]
Merge "Fix socker connection issue in qtip docker"

8 years agoMerge "Add unit tests for List and get in API."
zhihui wu [Thu, 23 Mar 2017 05:30:10 +0000 (05:30 +0000)]
Merge "Add unit tests for List and get in API."

8 years agoUpdate CLI docs. 51/31351/4
Taseer [Wed, 22 Mar 2017 09:33:12 +0000 (14:33 +0500)]
Update CLI docs.

JIRA: QTIP-231

Change-Id: I44bc75239e9ff59a70ec9070092101f021a3a291
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoFix socker connection issue in qtip docker 59/31459/1
Julien [Thu, 23 Mar 2017 02:37:07 +0000 (10:37 +0800)]
Fix socker connection issue in qtip docker

ansible can not run correctly in qtip docker currently in centos.

Change-Id: I92875924ae8047e20d1bb73ad655b8b8f6a59523
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
8 years agoMerge "correct the path of .ansible.cfg"
Yujun Zhang [Wed, 22 Mar 2017 14:44:12 +0000 (14:44 +0000)]
Merge "correct the path of .ansible.cfg"

8 years agoAdd unit tests for List and get in API. 11/30911/14
akhilbatra898 [Sat, 18 Mar 2017 08:46:26 +0000 (14:16 +0530)]
Add unit tests for List and get in API.

 - 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>
8 years agocorrect the path of .ansible.cfg 09/31309/2
wu.zhihui [Wed, 22 Mar 2017 05:20:54 +0000 (13:20 +0800)]
correct the path of .ansible.cfg

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>
8 years agoAdd missing license headers 79/31179/2
Yujun Zhang [Tue, 21 Mar 2017 10:23:39 +0000 (18:23 +0800)]
Add missing license headers

Change-Id: Idd76277c84a6afc9a545d6e2bba39aae6e7f5d71
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoWhite space control in report. 35/31135/2
Taseer [Tue, 21 Mar 2017 07:14:05 +0000 (12:14 +0500)]
White space control in report.

- 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>
8 years agoMerge "mistaken delete usefuel public key"
zhihui wu [Tue, 21 Mar 2017 02:12:01 +0000 (02:12 +0000)]
Merge "mistaken delete usefuel public key"

8 years agomistaken delete usefuel public key 77/30977/2
wu.zhihui [Mon, 20 Mar 2017 02:52:49 +0000 (10:52 +0800)]
mistaken delete usefuel public key

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>
8 years agoMerge "Refactor reporter module"
zhihui wu [Mon, 20 Mar 2017 01:17:01 +0000 (01:17 +0000)]
Merge "Refactor reporter module"

8 years agoRefactor reporter module 25/30125/14
Taseer [Thu, 9 Mar 2017 07:05:46 +0000 (12:05 +0500)]
Refactor reporter module

- 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>
8 years agoMerge "provide get_one_exceptions to unify get_xx process"
Yujun Zhang [Sat, 18 Mar 2017 06:41:55 +0000 (06:41 +0000)]
Merge "provide get_one_exceptions to unify get_xx process"

8 years agoMerge "correct a mistake for os.getenv()"
zhihui wu [Fri, 17 Mar 2017 08:40:17 +0000 (08:40 +0000)]
Merge "correct a mistake for os.getenv()"

8 years agoMerge "Implement 'show' command."
Yujun Zhang [Thu, 16 Mar 2017 15:57:03 +0000 (15:57 +0000)]
Merge "Implement 'show' command."

8 years agocorrect a mistake for os.getenv() 05/30505/2
wu.zhihui [Wed, 15 Mar 2017 05:00:25 +0000 (13:00 +0800)]
correct a mistake for os.getenv()

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>
8 years agoMerge "Add aarch64 patch"
Yujun Zhang [Wed, 15 Mar 2017 08:51:57 +0000 (08:51 +0000)]
Merge "Add aarch64 patch"

8 years agoprovide get_one_exceptions to unify get_xx process 71/30371/5
SerenaFeng [Tue, 14 Mar 2017 02:06:41 +0000 (10:06 +0800)]
provide get_one_exceptions to unify get_xx process

add refactor get_metric()

Change-Id: I972c77e63a654eeb286c573d75efe842b2887c1d
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "add the cleanup step in runner.py"
zhihui wu [Wed, 15 Mar 2017 01:09:48 +0000 (01:09 +0000)]
Merge "add the cleanup step in runner.py"

8 years agoImplement 'show' command. 51/30351/4
Taseer [Mon, 13 Mar 2017 16:13:45 +0000 (21:13 +0500)]
Implement 'show' command.

- Render the description via templates

JIRA: QTIP-205

Change-Id: I10523f85f80350e901a4a701bb65ca4833f8ff7c
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoAdd aarch64 patch 85/30185/4
Cristina Pauna [Thu, 9 Mar 2017 13:14:17 +0000 (15:14 +0200)]
Add aarch64 patch

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>
8 years agoadd the cleanup step in runner.py 29/30329/3
wu.zhihui [Mon, 13 Mar 2017 09:16:50 +0000 (17:16 +0800)]
add the cleanup step in runner.py

Add the cleanup step in runner.py

Change-Id: I0016986485eab5d7ab45d4a7a393bea5fb6f96b5
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agooptimize console info 13/30313/3
wu.zhihui [Mon, 13 Mar 2017 03:13:14 +0000 (11:13 +0800)]
optimize console info

- use QtipLogger instead of print
- delete useless print

Change-Id: I1e08382a5d78ce53cf455496363bce3762b81dd2
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoMerge "Implement the workflow of compute qpi"
zhihui wu [Mon, 13 Mar 2017 00:58:38 +0000 (00:58 +0000)]
Merge "Implement the workflow of compute qpi"

8 years agoMerge "parse benchmark result from logfile"
zhihui wu [Mon, 13 Mar 2017 00:58:31 +0000 (00:58 +0000)]
Merge "parse benchmark result from logfile"

8 years agoMiss \ in Dockerfile 99/30299/2
wu.zhihui [Sat, 11 Mar 2017 05:26:32 +0000 (13:26 +0800)]
Miss \ in Dockerfile

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>
8 years agoImplement the workflow of compute qpi 75/30275/6
wu.zhihui [Fri, 10 Mar 2017 16:53:00 +0000 (00:53 +0800)]
Implement the workflow of compute qpi

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>
8 years agoparse benchmark result from logfile 69/30269/7
wu.zhihui [Fri, 10 Mar 2017 16:29:41 +0000 (00:29 +0800)]
parse benchmark result from logfile

- 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>
8 years agoMerge "env cleanup"
zhihui wu [Sat, 11 Mar 2017 04:39:55 +0000 (04:39 +0000)]
Merge "env cleanup"

8 years agoMerge "Some modifications for ansible playbook"
zhihui wu [Sat, 11 Mar 2017 04:38:47 +0000 (04:38 +0000)]
Merge "Some modifications for ansible playbook"

8 years agoMerge "Implement 'list' command."
zhihui wu [Sat, 11 Mar 2017 02:30:32 +0000 (02:30 +0000)]
Merge "Implement 'list' command."

8 years agoenv cleanup 89/30289/2
wu.zhihui [Sat, 11 Mar 2017 02:19:21 +0000 (10:19 +0800)]
env cleanup

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>
8 years agoSome modifications for ansible playbook 67/30267/1
wu.zhihui [Fri, 10 Mar 2017 16:26:29 +0000 (00:26 +0800)]
Some modifications for ansible playbook

- 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>
8 years agoImplement 'list' command. 51/30251/3
Taseer [Fri, 10 Mar 2017 12:18:22 +0000 (17:18 +0500)]
Implement 'list' command.

- Loads Qtip components from the default path.

JIRA: QTIP-205

Change-Id: Id87993d65c5cd6a23c199cf1049d75a0971b6354
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoImplement Retrieval of plans, QPIs, and metrics 45/30245/2
akhilbatra898 [Fri, 10 Mar 2017 10:05:04 +0000 (15:35 +0530)]
Implement Retrieval of plans, QPIs, and metrics

- 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>
8 years agoMerge "fill benchmarks"
zhihui wu [Fri, 10 Mar 2017 09:22:38 +0000 (09:22 +0000)]
Merge "fill benchmarks"

8 years agoMerge "bugfix benchmarks cannot be found"
zhihui wu [Fri, 10 Mar 2017 09:22:17 +0000 (09:22 +0000)]
Merge "bugfix benchmarks cannot be found"

8 years agofill benchmarks 33/30233/3
SerenaFeng [Fri, 10 Mar 2017 08:58:36 +0000 (16:58 +0800)]
fill benchmarks

Change-Id: I7ad5f504058b20db72c0878cf9618e6bff186b33
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agobugfix benchmarks cannot be found 27/30227/1
SerenaFeng [Fri, 10 Mar 2017 06:03:56 +0000 (14:03 +0800)]
bugfix benchmarks cannot be found

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>