aboutsummaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2017-04-20Use ansible roles to setup development toolsYujun Zhang2-0/+10
Change-Id: I897773edf8dcacf08e67fa3eb999c4c10ba22805 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-20Use different folder for cached dataYujun Zhang1-0/+1
- `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>
2017-04-20Fix error in detailsYujun Zhang1-1/+1
The leading space causes `details` value to be string, not dict Change-Id: Ie2acfd91f2ec9280c0a24e2459229a72f45350af Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-20fix apex integrationzhihui wu2-2/+23
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>
2017-04-20Set default width to 80 for justify filterYujun Zhang2-110/+22
- 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>
2017-04-19Set plugfest demo site for default testapi urlYujun Zhang2-3/+3
Change-Id: I4a77e9f5ccb9c2d60343e9894e175e1f903965a8 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-19Backport ramspeed benchmarking playbook from qtip.driverYujun Zhang1-1/+5
Change-Id: I99c6bcb43074cdf7f9edd93a0fe10b401fff4374 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-19Merge "Fix warnings on same name of host and group in Ansible 2.3"Yujun Zhang3-11/+3
2017-04-19Merge "Collect dpi metrics and report"Yujun Zhang1-1/+6
2017-04-19Merge "Add nDPI tasks"Yujun Zhang2-0/+7
2017-04-19Merge "Enable task profiling"Yujun Zhang1-0/+2
2017-04-19Merge "Add unittests for testapi client"zhihui wu1-0/+116
2017-04-19Merge "Add E release development version."zhihui wu1-1/+2
2017-04-18Add unittests for testapi clientakhilbatra8981-0/+116
Change-Id: I33ffd6ca6110b5fb245a3fc31fc0c63e11588fb8 Signed-off-by: akhilbatra898 <akhil.batra@research.iiit.ac.in>
2017-04-18Fix warnings on same name of host and group in Ansible 2.3Yujun Zhang3-11/+3
Change-Id: Iedf0d609a62b956e1f0cd5e941a8fd27e1abc685 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-18Collect dpi metrics and reportYujun Zhang1-1/+6
Change-Id: I0e02cff9a5bfc123b3227803289fc03abe27f112 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-18Add E release development version.Taseer1-1/+2
Change-Id: Icda9c44aa33e63d46da0c5187157132a49db0882 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-04-18Add nDPI tasksYujun Zhang2-0/+7
Change-Id: I18b797d7fb8e5ca1bfd74dbcb836ec4feb318378 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-18Merge "apex integration"zhihui wu3-0/+124
2017-04-18Enable task profilingYujun Zhang1-0/+2
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>
2017-04-18apex integrationzhihui wu3-0/+124
Change-Id: Ief21554dfa7cd79e7ed0cb1615f6dbf079cb6077 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-04-17push results to testapiYujun Zhang2-1/+22
Change-Id: Ie6e231690f92971b776cd41af18b21acb43bb199 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-17Add testapi setup taskYujun Zhang6-0/+54
Change-Id: I7b4d3186afd724ec5a30cf630baee79875e426bb Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-17Aggregate qpi score from all nodesYujun Zhang1-1/+8
Change-Id: Ib711a493a949b013ffe22519861f144dc47d0334 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-17Move YAML resources to /resources.Yujun Zhang16-846/+23
- 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>
2017-04-16Load benchmark specification from external fileYujun Zhang2-53/+25
Change-Id: If72f1d98b90f9666c17aa28b3b88f32178ee4166 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-15Merge "Dump collected facts"Yujun Zhang2-2/+6
2017-04-15Merge "rename output file to sample"Yujun Zhang2-0/+0
2017-04-14Merge "User friendly messages for exceptions"zhihui wu3-0/+9
2017-04-13User friendly messages for exceptionsTaseer3-0/+9
- Use colorama for color - Implement verbosity option in separate patch Change-Id: Ib2491d867e9bbf59cb00874d99a11f86ad7eea1b Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-04-12Dump collected factsYujun Zhang2-2/+6
Change-Id: Id0b7b2e94016a73ffcaa2d737af1ca33230b3662 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-12rename output file to sampleYujun Zhang2-0/+0
Change-Id: I9c62114ebd6c2016fa177565a4413138cafd573b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-12Refactoring connection taskYujun Zhang7-20/+195
- 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>
2017-04-11Fix reporting tasksYujun Zhang1-3/+2
- 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>
2017-04-11Implement a sample qpi report to show how to retrieve variables from ↵Yujun Zhang3-1/+67
benchmark results Change-Id: I479e4446c18d45d69d2f88db021f7739201104d9 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-11Normalize system info variables and reportYujun Zhang5-18/+18
Change-Id: I5627b4e2fa2287a1880433c7f25d9a2d1874cc26 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-11Integrate openssl metrics for qpi calculateYujun Zhang3-8/+128
Change-Id: I7319cd9b49cb27ba4fa367e395ceb2caa543c06e Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-10Implement calculator PoCYujun Zhang1-0/+85
- use `mean` as default formula Change-Id: I236b46c1e52f3535fb6e954d324790b1421126bd Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-07Add todo items for integrationYujun Zhang2-1/+34
Change-Id: I15cc5f81cc4aee27d536e8f654aa36c16c27c72b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-07Integrate reporterYujun Zhang6-5/+63
Change-Id: I7b13282dbae576e36c01c959182bc0838b36649e Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-07Add integration testYujun Zhang4-0/+505
- integrate test tasks with collector - require fuel-master in `~/.ssh/config` to run TODO: - integerate calculator and reporter - generate/execute ansible playbooks from benchmark plan Change-Id: I1984e07fe620e219a9eadad4a2ec668627729d31 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-06Add ansible action plugin `collect`Yujun Zhang1-0/+36
- this plugin collects information or metrics from string - it is reworked from qtip.collector.parser.grep - the captured subgroups are always list even only one match found Change-Id: I1def3d7b40c7928b503fae1be531976a13e5d0be Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-06Add ansible module `fuel`Yujun Zhang2-0/+10289
This module will be used to generate a dynamic inventory of fuel nodes for performance testing Change-Id: Idaa491c5fc3050abfb8ba36328f2113cf2885179 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-04-03Beautify compute reportTaseer2-71/+48
Change-Id: I0c4faa3720d980970f923697c879627ccbf22852 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-03-29Add jinja2 filter justifyYujun Zhang1-0/+19
It will be used in report template Change-Id: I69fd891db5e69b2dec441bd296836e6806461b78 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-03-24Merge "Integrate cli, runner and reporter."zhihui wu3-24/+305
2017-03-23Integrate cli, runner and reporter.Taseer3-24/+305
- 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-22Add unit tests for List and get in API.akhilbatra8984-0/+151
- 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-20Merge "Refactor reporter module"zhihui wu4-42/+157
2017-03-18Refactor reporter moduleTaseer4-42/+157
- 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>