qtip.git
8 years agoAdd dpi metrics to calculation 01/33801/1
Yujun Zhang [Tue, 25 Apr 2017 09:38:25 +0000 (17:38 +0800)]
Add dpi metrics to calculation

Change-Id: I4ae05af6e8c29d94b2b3f3b4dd748c4325dfa410
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoOrganize common tasks under qtip-common role 67/33767/1
Yujun Zhang [Tue, 25 Apr 2017 08:46:51 +0000 (16:46 +0800)]
Organize common tasks under qtip-common role

Change-Id: I8592efdac7e6c2161eb7cb1b36d023697ebe7ad4
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoRewrite `export_to_file` as decorator 65/33765/1
Yujun Zhang [Tue, 25 Apr 2017 06:08:01 +0000 (14:08 +0800)]
Rewrite `export_to_file` as decorator

Change-Id: Ibf852038fac986801a3fc2c608a0ddb1572abbde
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoAdd ssl aes metrics in qpi calculation 41/33741/2
Yujun Zhang [Tue, 25 Apr 2017 05:49:21 +0000 (13:49 +0800)]
Add ssl aes metrics in qpi calculation

Change-Id: Id568aa3942849e105ca24892babff2acaec21121
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoPrompt for variables required for creating workspace 31/33731/2
Yujun Zhang [Tue, 25 Apr 2017 01:47:40 +0000 (09:47 +0800)]
Prompt for variables required for creating workspace

Change-Id: I9fa48ebcb8433cbc2f8101e59a285d50b0497273
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoExport collected metrics to json as inputs for calculating 15/33715/2
Yujun Zhang [Mon, 24 Apr 2017 13:39:59 +0000 (21:39 +0800)]
Export collected metrics to json as inputs for calculating

Change-Id: Id2dce1e750f646aeb972221229556fcd647a3637
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoSupport running collect stage only 13/33713/2
Yujun Zhang [Mon, 24 Apr 2017 13:14:40 +0000 (21:14 +0800)]
Support running collect stage only

- 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>
8 years agoFix package missing on debian hosts 91/33691/1
Yujun Zhang [Mon, 24 Apr 2017 09:21:04 +0000 (17:21 +0800)]
Fix package missing on debian hosts

Change-Id: I4cc5c78f1b33f17234bbcf4864b01c550dc0e487
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoCollect arithmetic metrics from unixbench 87/33687/1
Yujun Zhang [Mon, 24 Apr 2017 01:10:32 +0000 (09:10 +0800)]
Collect arithmetic metrics from unixbench

Change-Id: I3e9ca649f3b35908c162d5036dcde3a333278f6d
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoSave logs before collecting 77/33677/2
Yujun Zhang [Sun, 23 Apr 2017 11:37:16 +0000 (19:37 +0800)]
Save logs before collecting

Change-Id: I0e39103ef917fa7ea86d5c47de0cc71c37fca74c
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoUnify workdir 75/33675/2
Yujun Zhang [Sat, 22 Apr 2017 14:19:27 +0000 (22:19 +0800)]
Unify workdir

- use role variable `workdir`
- download dependencies to remote workdir with checksum

Change-Id: I2a7991e014e365fec532520c2b57a3fe480914d8
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoCleanup metrics report 61/33661/2
Yujun Zhang [Sat, 22 Apr 2017 07:00:30 +0000 (15:00 +0800)]
Cleanup metrics report

Change-Id: I79b56d7490930db171fe93e314be4f6d73b0063b
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoAdd support for render a justified output from list and dict 59/33659/2
Yujun Zhang [Sat, 22 Apr 2017 06:15:13 +0000 (14:15 +0800)]
Add support for render a justified output from list and dict

Change-Id: I4411e62b3d1a067cfa8ae1296cf521877aedb830
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoOrganize **all** tasks into ansible role `qtip` 57/33657/2
Yujun Zhang [Sat, 22 Apr 2017 04:49:21 +0000 (12:49 +0800)]
Organize **all** tasks into ansible role `qtip`

Change-Id: I5d3852d2a31e9c4043191377e5cb7d539d222a8c
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoOrganize results in folder named with pod and current date 47/33647/1
Yujun Zhang [Sat, 22 Apr 2017 02:29:12 +0000 (10:29 +0800)]
Organize results in folder named with pod and current date

Change-Id: I0882fb4548c3c3a6a72c6f752f8074e553ee3748
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoRename folders 45/33645/2
Yujun Zhang [Sat, 22 Apr 2017 01:06:05 +0000 (09:06 +0800)]
Rename folders

* copy -> defaults
* render -> custom
* roles -> ansible_roles

Change-Id: Ia96214691873f3bd8e6c5f9f433292fd912ac46e
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoFix bug on apex 37/33637/1
Yujun Zhang [Fri, 21 Apr 2017 10:48:35 +0000 (18:48 +0800)]
Fix bug on apex

missing repository configuration and packages

Change-Id: I929e3bafced56b2ab8fd90edc21421bd7bde2073
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agocorrect document of module apex_generate_inventory 69/33569/2
zhihui wu [Thu, 20 Apr 2017 05:53:29 +0000 (13:53 +0800)]
correct document of module apex_generate_inventory

Change-Id: I10bfd526e377ae02d2f6cf6d60d82fbb175ac431
Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
8 years agoDump unixbench results without top folder 23/33623/1
Yujun Zhang [Fri, 21 Apr 2017 09:07:04 +0000 (17:07 +0800)]
Dump unixbench results without top folder

Change-Id: Ic86e03643c7d6720d6de13e8749ebe0208ab9391
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoFix issues when running qtip first time 21/33621/1
Yujun Zhang [Fri, 21 Apr 2017 09:03:57 +0000 (17:03 +0800)]
Fix issues when running qtip first time

- results folder not created
- hostkey check should be skipped

Change-Id: I658f5c459617d1651eec360edd53a8766f7387c1
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoAdd AES testing in SSL metrics 11/33611/2
Yujun Zhang [Fri, 21 Apr 2017 04:13:25 +0000 (12:13 +0800)]
Add AES testing in SSL metrics

Change-Id: Iee1b1711d9ce07c468bc390966c55bd49abea228
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoSet default folder for dump data 09/33609/2
Yujun Zhang [Fri, 21 Apr 2017 03:19:55 +0000 (11:19 +0800)]
Set default folder for dump data

Change-Id: I2b96bcf369b13a679a417d78ebca19b3e63155e2
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoOrganize testapi tasks into ansible roles 05/33605/3
Yujun Zhang [Fri, 21 Apr 2017 02:28:56 +0000 (10:28 +0800)]
Organize testapi tasks into ansible roles

Change-Id: If073401b94e7146521fb54a85470b931e458de3c
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoCleanup customizable variables of workspace 03/33603/3
Yujun Zhang [Fri, 21 Apr 2017 01:59:27 +0000 (09:59 +0800)]
Cleanup customizable variables of workspace

Change-Id: I00185b7c73692e2aeafb1307cea81f4f2d149c74
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoGroup test results and report under node 91/33591/3
Yujun Zhang [Thu, 20 Apr 2017 14:51:59 +0000 (22:51 +0800)]
Group test results and report under node

Change-Id: I66286787d06c5012c6dcf516cffb9f6fd76522c5
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoAdd comments about workspace parameters 87/33587/4
Yujun Zhang [Thu, 20 Apr 2017 13:29:58 +0000 (21:29 +0800)]
Add comments about workspace parameters

Change-Id: I45f7547a15b66b6901cb5a298e3f097cd6d2257d
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoReorganize benchmarking tasks into ansible roles which helps to 81/33581/3
Yujun Zhang [Thu, 20 Apr 2017 12:58:13 +0000 (20:58 +0800)]
Reorganize benchmarking tasks into ansible roles which helps to

- group task with related templates and variables
- simplify the main playbook to improve readability

See: http://docs.ansible.com/ansible/playbooks_roles.html

Change-Id: I9d3180edaac83ee9dba85ce5ac14ff574af7a905
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Fix workspace creator"
Yujun Zhang [Fri, 21 Apr 2017 03:45:45 +0000 (03:45 +0000)]
Merge "Fix workspace creator"

8 years agoMerge "Set default width to 80 for justify filter"
Yujun Zhang [Thu, 20 Apr 2017 12:58:47 +0000 (12:58 +0000)]
Merge "Set default width to 80 for justify filter"

8 years agoFix workspace creator 75/33575/5
Yujun Zhang [Thu, 20 Apr 2017 10:08:42 +0000 (18:08 +0800)]
Fix workspace creator

- handle relative path in workspace
- handle differences between installers
- create working directories

Change-Id: I5fbe66c1218c29db0fafd87085a6cf5c15a91dc5
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Automate QTIP upload to PyPI."
zhihui wu [Thu, 20 Apr 2017 08:00:26 +0000 (08:00 +0000)]
Merge "Automate QTIP upload to PyPI."

8 years agoAutomate QTIP upload to PyPI. 37/33537/3
Taseer [Wed, 19 Apr 2017 14:44:49 +0000 (19:44 +0500)]
Automate QTIP upload to PyPI.

Change-Id: I3be05a75551ca8648f6ea7dea35f1180178e5b7d
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoRestore default content of ansible.cfg 59/33559/2
Yujun Zhang [Thu, 20 Apr 2017 01:41:30 +0000 (09:41 +0800)]
Restore default content of ansible.cfg

The comments are very helpful when updating configuration

Change-Id: If04bc2d784981991a5bb0e5b7599280180b44704
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoCreate workspace by ansible playbook 35/33535/3
Yujun Zhang [Wed, 19 Apr 2017 14:03:52 +0000 (22:03 +0800)]
Create workspace by ansible playbook

Change-Id: Ia79353e686240c5915e40b8202d3fdc289df2158
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Add UnixBench benchmarking role"
Yujun Zhang [Thu, 20 Apr 2017 03:48:59 +0000 (03:48 +0000)]
Merge "Add UnixBench benchmarking role"

8 years agoMerge "Use ansible roles to setup development tools"
Yujun Zhang [Thu, 20 Apr 2017 03:46:43 +0000 (03:46 +0000)]
Merge "Use ansible roles to setup development tools"

8 years agoMerge "Use different folder for cached data"
Yujun Zhang [Thu, 20 Apr 2017 03:43:07 +0000 (03:43 +0000)]
Merge "Use different folder for cached data"

8 years agoMerge "Fix error in details"
Yujun Zhang [Thu, 20 Apr 2017 03:42:58 +0000 (03:42 +0000)]
Merge "Fix error in details"

8 years agoMerge "fix apex integration"
Yujun Zhang [Thu, 20 Apr 2017 03:41:18 +0000 (03:41 +0000)]
Merge "fix apex integration"

8 years agoAdd UnixBench benchmarking role 27/33527/2
Yujun Zhang [Wed, 19 Apr 2017 07:06:28 +0000 (15:06 +0800)]
Add UnixBench benchmarking role

Change-Id: I14e1630ff67bf4dff0998456e57fee2b1656f585
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoUse ansible roles to setup development tools 17/33517/3
Yujun Zhang [Wed, 19 Apr 2017 06:52:55 +0000 (14:52 +0800)]
Use ansible roles to setup development tools

Change-Id: I897773edf8dcacf08e67fa3eb999c4c10ba22805
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoUse different folder for cached data 15/33515/3
Yujun Zhang [Wed, 19 Apr 2017 06:36:11 +0000 (14:36 +0800)]
Use different folder for cached data

- `dump` is for raw testing data and logs from remote
- `cache` for temporary data required for testing

Change-Id: I540338eae2dd7bbd14b359e1a0dbce186ada902b
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoFix error in details 21/33521/2
Yujun Zhang [Wed, 19 Apr 2017 07:16:01 +0000 (15:16 +0800)]
Fix error in details

The leading space causes `details` value to be string, not dict

Change-Id: Ie2acfd91f2ec9280c0a24e2459229a72f45350af
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agofix apex integration 61/33561/2
zhihui wu [Thu, 20 Apr 2017 01:57:06 +0000 (09:57 +0800)]
fix apex integration

I didnot find a right way to source Openstack rc file via ansible
module python api. Without openstack rc fiel, openstack cli command
can not be executed. So I move this part to ansible playbook.

Change-Id: I44439560f8ffa1b41890c4e94c9657ab2cc43241
Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
8 years agoSet default width to 80 for justify filter 71/33471/3
Yujun Zhang [Tue, 18 Apr 2017 10:57:14 +0000 (18:57 +0800)]
Set default width to 80 for justify filter

- 80 default screen width for most consoles
- template content should not be part of console reporter test
- remove fix width splitter in console report templates

Change-Id: Ib060b447bd52c211a4bf1e4ded2f898a9201b6d8
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoSet plugfest demo site for default testapi url 13/33513/1
Yujun Zhang [Wed, 19 Apr 2017 01:20:41 +0000 (09:20 +0800)]
Set plugfest demo site for default testapi url

Change-Id: I4a77e9f5ccb9c2d60343e9894e175e1f903965a8
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoCreate ramspeed report 81/33481/2
Yujun Zhang [Tue, 18 Apr 2017 12:58:10 +0000 (20:58 +0800)]
Create ramspeed report

Change-Id: I60805e83a9256fb8fdca362478551c2a5a3106dc
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoBackport ramspeed benchmarking playbook from qtip.driver 77/33477/2
Yujun Zhang [Tue, 18 Apr 2017 12:21:10 +0000 (20:21 +0800)]
Backport ramspeed benchmarking playbook from qtip.driver

Change-Id: I99c6bcb43074cdf7f9edd93a0fe10b401fff4374
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Fix warnings on same name of host and group in Ansible 2.3"
Yujun Zhang [Wed, 19 Apr 2017 03:28:17 +0000 (03:28 +0000)]
Merge "Fix warnings on same name of host and group in Ansible 2.3"

8 years agoMerge "Remove samples from repository"
Yujun Zhang [Wed, 19 Apr 2017 03:28:08 +0000 (03:28 +0000)]
Merge "Remove samples from repository"

8 years agoMerge "Collect dpi metrics and report"
Yujun Zhang [Wed, 19 Apr 2017 03:27:57 +0000 (03:27 +0000)]
Merge "Collect dpi metrics and report"

8 years agoMerge "Optimize nDPI repeating speed"
Yujun Zhang [Wed, 19 Apr 2017 03:25:07 +0000 (03:25 +0000)]
Merge "Optimize nDPI repeating speed"

8 years agoMerge "Add nDPI tasks"
Yujun Zhang [Wed, 19 Apr 2017 03:24:59 +0000 (03:24 +0000)]
Merge "Add nDPI tasks"

8 years agoMerge "Fix hardcode dump file"
Yujun Zhang [Wed, 19 Apr 2017 03:24:47 +0000 (03:24 +0000)]
Merge "Fix hardcode dump file"

8 years agoMerge "Enable task profiling"
Yujun Zhang [Wed, 19 Apr 2017 03:24:41 +0000 (03:24 +0000)]
Merge "Enable task profiling"

8 years agoMerge "Add unittests for testapi client"
zhihui wu [Wed, 19 Apr 2017 03:00:45 +0000 (03:00 +0000)]
Merge "Add unittests for testapi client"

8 years agoMerge "Add E release development version."
zhihui wu [Wed, 19 Apr 2017 03:00:23 +0000 (03:00 +0000)]
Merge "Add E release development version."

8 years agoAdd unittests for testapi client 93/33393/2
akhilbatra898 [Sat, 15 Apr 2017 15:19:00 +0000 (20:49 +0530)]
Add unittests for testapi client

Change-Id: I33ffd6ca6110b5fb245a3fc31fc0c63e11588fb8
Signed-off-by: akhilbatra898 <akhil.batra@research.iiit.ac.in>
8 years agoFix warnings on same name of host and group in Ansible 2.3 73/33473/2
Yujun Zhang [Tue, 18 Apr 2017 11:07:26 +0000 (19:07 +0800)]
Fix warnings on same name of host and group in Ansible 2.3

Change-Id: Iedf0d609a62b956e1f0cd5e941a8fd27e1abc685
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoCollect dpi metrics and report 59/33459/1
Yujun Zhang [Tue, 18 Apr 2017 09:26:20 +0000 (17:26 +0800)]
Collect dpi metrics and report

Change-Id: I0e02cff9a5bfc123b3227803289fc03abe27f112
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoOptimize nDPI repeating speed 55/33455/1
Yujun Zhang [Tue, 18 Apr 2017 08:51:46 +0000 (16:51 +0800)]
Optimize nDPI repeating speed

- check existence of target file for nDPI build task
- skip git updating

Change-Id: I7e91df0a38845b2ba8a2dec938b51e1ccc6554cc
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoAdd E release development version. 99/33399/4
Taseer [Sun, 16 Apr 2017 09:42:21 +0000 (14:42 +0500)]
Add E release development version.

Change-Id: Icda9c44aa33e63d46da0c5187157132a49db0882
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoAdd nDPI tasks 53/33453/1
Yujun Zhang [Tue, 18 Apr 2017 08:34:05 +0000 (16:34 +0800)]
Add nDPI tasks

Change-Id: I18b797d7fb8e5ca1bfd74dbcb836ec4feb318378
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoFix hardcode dump file 43/33443/1
Yujun Zhang [Tue, 18 Apr 2017 08:09:02 +0000 (16:09 +0800)]
Fix hardcode dump file

Change-Id: Icef12e41b5bf64987a0991a9328ee8d6f1d3b161
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "apex integration"
zhihui wu [Tue, 18 Apr 2017 01:55:59 +0000 (01:55 +0000)]
Merge "apex integration"

8 years agoEnable task profiling 37/33437/1
Yujun Zhang [Tue, 18 Apr 2017 01:51:03 +0000 (09:51 +0800)]
Enable task profiling

Benchmark jobs takes a long time, enable task profiling to collect
estimated run time so that we can set time out for async job correctly

Change-Id: Ie9518380acc8da06f26f762ea016b7837a8bd2fb
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoRemove samples from repository 35/33435/1
Yujun Zhang [Tue, 18 Apr 2017 01:37:56 +0000 (09:37 +0800)]
Remove samples from repository

- samples are easily out of date during fast evolution
- samples will confuse the results when listing templates

Change-Id: I530e7c234fbb543abeb8c10ca9e9e358525e884b
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Update .gitignore"
Yujun Zhang [Tue, 18 Apr 2017 01:15:32 +0000 (01:15 +0000)]
Merge "Update .gitignore"

8 years agoapex integration 13/33413/4
zhihui wu [Mon, 17 Apr 2017 08:16:45 +0000 (16:16 +0800)]
apex integration

Change-Id: Ief21554dfa7cd79e7ed0cb1615f6dbf079cb6077
Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
8 years agopush results to testapi 03/33403/3
Yujun Zhang [Mon, 17 Apr 2017 03:20:54 +0000 (11:20 +0800)]
push results to testapi

Change-Id: Ie6e231690f92971b776cd41af18b21acb43bb199
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoUpdate .gitignore 29/33429/1
Yujun Zhang [Mon, 17 Apr 2017 14:52:00 +0000 (22:52 +0800)]
Update .gitignore

- ignore ansible retry inventory
- remove sample report because it has been moved to resources/

Change-Id: I329e63ef674fddaf61eb2fc010017c53059f482c
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoAdd testapi setup task 01/33401/2
Yujun Zhang [Mon, 17 Apr 2017 02:37:19 +0000 (10:37 +0800)]
Add testapi setup task

Change-Id: I7b4d3186afd724ec5a30cf630baee79875e426bb
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoAggregate qpi score from all nodes 27/33427/1
Yujun Zhang [Mon, 17 Apr 2017 14:05:56 +0000 (22:05 +0800)]
Aggregate qpi score from all nodes

Change-Id: Ib711a493a949b013ffe22519861f144dc47d0334
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Add usage of testapi client"
Yujun Zhang [Mon, 17 Apr 2017 02:39:04 +0000 (02:39 +0000)]
Merge "Add usage of testapi client"

8 years agoMerge "Fix error in py35"
Yujun Zhang [Mon, 17 Apr 2017 02:38:57 +0000 (02:38 +0000)]
Merge "Fix error in py35"

8 years agoMove YAML resources to /resources. 03/33303/6
Yujun Zhang [Wed, 12 Apr 2017 11:44:00 +0000 (19:44 +0800)]
Move YAML resources to /resources.

- replacing the content of /benchmarks will break current module like api/cli
- migration required before surpressing the current benchmarks/ folder

Change-Id: I8bd04eeb18aaa3c966330ff7adbe85a267680fc1
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoLoad benchmark specification from external file 97/33297/2
Yujun Zhang [Wed, 12 Apr 2017 09:08:23 +0000 (17:08 +0800)]
Load benchmark specification from external file

Change-Id: If72f1d98b90f9666c17aa28b3b88f32178ee4166
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Dump collected facts"
Yujun Zhang [Sat, 15 Apr 2017 09:07:30 +0000 (09:07 +0000)]
Merge "Dump collected facts"

8 years agoMerge "rename output file to sample"
Yujun Zhang [Sat, 15 Apr 2017 09:07:24 +0000 (09:07 +0000)]
Merge "rename output file to sample"

8 years agoAdd usage of testapi client 79/33379/2
Yujun Zhang [Fri, 14 Apr 2017 09:15:03 +0000 (17:15 +0800)]
Add usage of testapi client

Change-Id: Ifacc61c5353e3975e625bb2843972cba6be79398
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoFix error in py35 77/33377/1
Yujun Zhang [Fri, 14 Apr 2017 09:15:20 +0000 (17:15 +0800)]
Fix error in py35

Change-Id: Iacc7bce9e1b5379907677d9fa0c26bf9c8ba155b
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "User friendly messages for exceptions"
zhihui wu [Fri, 14 Apr 2017 03:32:36 +0000 (03:32 +0000)]
Merge "User friendly messages for exceptions"

8 years agoMerge "Consume OPNFV TestAPI to push results"
zhihui wu [Thu, 13 Apr 2017 08:04:39 +0000 (08:04 +0000)]
Merge "Consume OPNFV TestAPI to push results"

8 years agoUser friendly messages for exceptions 69/33269/4
Taseer [Tue, 11 Apr 2017 16:39:18 +0000 (21:39 +0500)]
User friendly messages for exceptions

- Use colorama for color
- Implement verbosity option in separate patch

Change-Id: Ib2491d867e9bbf59cb00874d99a11f86ad7eea1b
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoConsume OPNFV TestAPI to push results 97/33197/7
akhilbatra898 [Mon, 10 Apr 2017 14:06:05 +0000 (19:36 +0530)]
Consume OPNFV TestAPI to push results

push_results will be triggered after a benchmark run is completed.

- Added Validation before the information to be sent to testapi
- A validator is added as a decorator for this

Change-Id: I1149133fc41668f6c8dab042e59673be2b46d09d
Signed-off-by: akhilbatra898 <akhil.batra@research.iiit.ac.in>
8 years agoDump collected facts 91/33291/2
Yujun Zhang [Wed, 12 Apr 2017 07:37:24 +0000 (15:37 +0800)]
Dump collected facts

Change-Id: Id0b7b2e94016a73ffcaa2d737af1ca33230b3662
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agorename output file to sample 85/33285/3
Yujun Zhang [Wed, 12 Apr 2017 04:17:20 +0000 (12:17 +0800)]
rename output file to sample

Change-Id: I9c62114ebd6c2016fa177565a4413138cafd573b
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoRefactoring connection task 83/33283/3
Yujun Zhang [Wed, 12 Apr 2017 04:14:59 +0000 (12:14 +0800)]
Refactoring connection task

- split `compute` playbook into `setup` and `run`
- save inventory and ssh configuration after in `setup`

Change-Id: I0803a954ffcd7c07861ff6bdb76acdbfaa4815bd
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Fix format error"
Yujun Zhang [Wed, 12 Apr 2017 07:53:55 +0000 (07:53 +0000)]
Merge "Fix format error"

8 years agoMerge "Fix reporting tasks"
Yujun Zhang [Wed, 12 Apr 2017 07:53:43 +0000 (07:53 +0000)]
Merge "Fix reporting tasks"

8 years agoMerge "Add document about how to release QTIP Python package"
zhihui wu [Wed, 12 Apr 2017 07:11:24 +0000 (07:11 +0000)]
Merge "Add document about how to release QTIP Python package"

8 years agoFix format error 75/33275/1
Yujun Zhang [Wed, 12 Apr 2017 00:33:36 +0000 (08:33 +0800)]
Fix format error

Change-Id: I764c30f8b3a170e8428b3943e3341b4388fbd8a1
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoFix reporting tasks 17/33217/2
Yujun Zhang [Tue, 11 Apr 2017 01:33:38 +0000 (09:33 +0800)]
Fix reporting tasks

- no need to specify `local_action` on `local` hosts
- no need to delegate to `localhost` on `local` hosts

Change-Id: I9e7843ce8ba414a786784943b8c253d615271233
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoAdd document about how to release QTIP Python package 49/33149/6
Taseer [Sat, 8 Apr 2017 08:35:32 +0000 (13:35 +0500)]
Add document about how to release QTIP Python package

JIRA: QTIP-240

Change-Id: Ie946504d9e52a889bc1dfe97248d45c205b1069f
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoImplement a sample qpi report to show how to retrieve variables from benchmark results 37/33237/1
Yujun Zhang [Tue, 11 Apr 2017 07:37:35 +0000 (15:37 +0800)]
Implement a sample qpi report to show how to retrieve variables from benchmark results

Change-Id: I479e4446c18d45d69d2f88db021f7739201104d9
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoNormalize system info variables and report 35/33235/1
Yujun Zhang [Tue, 11 Apr 2017 07:35:45 +0000 (15:35 +0800)]
Normalize system info variables and report

Change-Id: I5627b4e2fa2287a1880433c7f25d9a2d1874cc26
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoIntegrate openssl metrics for qpi calculate 89/33189/3
Yujun Zhang [Mon, 10 Apr 2017 11:03:38 +0000 (19:03 +0800)]
Integrate openssl metrics for qpi calculate

Change-Id: I7319cd9b49cb27ba4fa367e395ceb2caa543c06e
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoImplement calculator PoC 75/33175/4
Yujun Zhang [Mon, 10 Apr 2017 02:27:08 +0000 (10:27 +0800)]
Implement calculator PoC

- use `mean` as default formula

Change-Id: I236b46c1e52f3535fb6e954d324790b1421126bd
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoAdd todo items for integration 15/33115/1
Yujun Zhang [Fri, 7 Apr 2017 09:05:24 +0000 (17:05 +0800)]
Add todo items for integration

Change-Id: I15cc5f81cc4aee27d536e8f654aa36c16c27c72b
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Update index page for docs.qtip.io"
Yujun Zhang [Fri, 7 Apr 2017 08:58:30 +0000 (08:58 +0000)]
Merge "Update index page for docs.qtip.io"