wu.zhihui [Tue, 25 Oct 2016 06:27:09 +0000 (14:27 +0800)]
bugfix on perftest
1. Correct path of common directory
2. cleanup the directories qtip creates on host
3. typo
4. use module file instead of shell command to create/cleanup
directory
Change-Id: I85960998c15d2a1934e8ae5047b71fc91c936a46
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
zhifeng jiang [Tue, 25 Oct 2016 00:59:22 +0000 (00:59 +0000)]
Merge "Add zhifeng ssh_key"
zhifeng jiang [Tue, 25 Oct 2016 00:58:57 +0000 (00:58 +0000)]
Merge "Use supervisor to start qtip_server in docker."
zhifeng.jiang [Sat, 22 Oct 2016 15:02:40 +0000 (23:02 +0800)]
Add zhifeng ssh_key
Change-Id: I549decd14679160d774211386ec19aa3cf7c2c64
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
zhifeng.jiang [Sat, 22 Oct 2016 14:52:51 +0000 (22:52 +0800)]
Use supervisor to start qtip_server in docker.
JIRA:QTIP-99
Change-Id: I447973e17613c5b9dcbbaefef9d67a8dc01c838c
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
wu.zhihui [Sat, 22 Oct 2016 06:37:58 +0000 (14:37 +0800)]
Remove directory test_list
Directory benchmarks/suite will be used instead of test_list.
JIRA: QTIP-131
Change-Id: I2c1f534b72361cb2e6469463ef5e43714d6dc993
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
wu.zhihui [Sat, 22 Oct 2016 02:58:29 +0000 (10:58 +0800)]
bugfix: cannot run qtip_creds.sh
miss a '#' in first line.
Change-Id: I98bcb5b54a7ff1eba563c8128e58ea1168ce8bb2
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
wu.zhihui [Thu, 20 Oct 2016 12:31:24 +0000 (20:31 +0800)]
reorganize playbooks directory
In this patch, playbooks will not be deleted temporarily.Diectory
playbooks will be reorganized like this
benchmarks/
├── fio_jobs
│ └── test_job
├── perftest
├── common
│ ├── git_proxy_pbook.yaml
│ ├── sys_info_pbook.yaml
│ └── sys_proxy_pbook.yaml
├── dhrystone.yaml
├── dpi.yaml
├── etc
│ ├── dpi_average.sh
│ ├── info_collect.py
│ └── test_job
├── fio.yaml
├── iperf.yaml
├── ramspeed.yaml
├── ssl.yaml
└── whetstone.yaml
utils/
└── transform
├── dpi_transform.py
├── final_report.py
├── fio_transform.py
├── __init__.py
├── iperf_transform.py
├── ramspeed_transform.py
├── ssl_transform.py
└── ubench_transform.py
JIRA: QTIP-131
Change-Id: I41003f2f1935efd15b6221ac05200f391fa8a6a9
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
Yujun Zhang [Fri, 21 Oct 2016 05:54:29 +0000 (05:54 +0000)]
Merge "Add directory suite under benchmarks/"
wu.zhihui [Thu, 20 Oct 2016 12:46:49 +0000 (20:46 +0800)]
Add directory suite under benchmarks/
Directory suite is renamed from directory test_list.
In this patch, test_list will be not deleted temporarily.
JIRA: QTIP-131
Change-Id: I1b2d7e522f94441c53b894564718d3cb749ea428
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
zhifeng.jiang [Thu, 13 Oct 2016 15:43:31 +0000 (23:43 +0800)]
Push test results to testdb at the end of qtip_server job.
JIRA:QTIP-99
Change-Id: I2a3ba25c1bcb66cf71a65757c3f003838dca614f
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
zhifeng.jiang [Thu, 13 Oct 2016 14:54:34 +0000 (22:54 +0800)]
Bugfix: Problems meet when following the step of introduction.rst
modification:
Delete the fetch_os_creds.sh
Call the fetch_os_creds.sh which in releng
Include the curl in docker
Change-Id: I5a92f671ce4183cf0d7dabc8faf69018b9b54e0b
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
Yujun Zhang [Thu, 20 Oct 2016 01:34:44 +0000 (01:34 +0000)]
Merge "Pulling dockers using ansible also requires docker-py package."
Yujun Zhang [Wed, 19 Oct 2016 05:39:18 +0000 (13:39 +0800)]
Fix warnings during sphinx-build
Change-Id: Iafc86372884c4a9d0f2a595b8b4d59818062b6a2
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
linux_geek [Tue, 18 Oct 2016 16:42:32 +0000 (21:42 +0500)]
Pulling dockers using ansible also requires docker-py package.
Change-Id: I107fc447335af6f5d44cdb2bd0ea74246ef17b29
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
Yujun Zhang [Tue, 18 Oct 2016 06:45:01 +0000 (14:45 +0800)]
Reorganize existing documents
- Align document structure with Colorado release
- follow convention used in "Python’s Style Guide for documentating"[1]
[1] https://docs.python.org/devguide/documenting.html#sections
Change-Id: Idee6ad6e68a35e3fd84ec36de480722e0259011b
JIRA: QTIP-117
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Yujun Zhang [Tue, 18 Oct 2016 02:47:20 +0000 (10:47 +0800)]
Deprecate docs/roadmap
Content moved to https://wiki.opnfv.org/display/qtip/Vision
JIRA: QTIP-117
Change-Id: I699a49d308e934a7d9d35befd0b8dd0624b5d36d
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Yujun Zhang [Tue, 18 Oct 2016 00:31:49 +0000 (00:31 +0000)]
Merge "add CLI framework for qtip"
Yujun Zhang [Mon, 17 Oct 2016 14:55:35 +0000 (14:55 +0000)]
Merge "bugfix due to directory adjustment"
SerenaFeng [Thu, 13 Oct 2016 06:46:10 +0000 (14:46 +0800)]
add CLI framework for qtip
add cli framework to implement commands
JIRA: QTIP-125
Change-Id: I442e9df9d3ea8443adb7a7aedd5849457dcead7e
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Yujun Zhang [Mon, 17 Oct 2016 07:50:57 +0000 (07:50 +0000)]
Merge "Add contributing guide"
wu.zhihui [Mon, 17 Oct 2016 04:17:24 +0000 (12:17 +0800)]
bugfix due to directory adjustment
Some files still use directory "data/". Fix it.
Change-Id: Ia07f380c3e9c3e312d17b09728b050c818492f0f
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
SerenaFeng [Mon, 17 Oct 2016 03:13:23 +0000 (11:13 +0800)]
add serena ssh_keys
Change-Id: I6b7bf9855e5c892b72a04f9a6da4d984461c4001
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Yujun Zhang [Mon, 17 Oct 2016 02:59:43 +0000 (10:59 +0800)]
Add contributing guide
Change-Id: I5f94bf4e7503cd5edaeae1f20186fcbaf121d033
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Yujun Zhang [Mon, 17 Oct 2016 01:38:21 +0000 (01:38 +0000)]
Merge "Add ssh users with ansible roles"
Yujun Zhang [Mon, 17 Oct 2016 00:48:29 +0000 (00:48 +0000)]
Merge "Playbook for setting up ELK."
Yujun Zhang [Mon, 17 Oct 2016 00:48:11 +0000 (00:48 +0000)]
Merge "Adjust directory structure"
zhifeng jiang [Sun, 16 Oct 2016 00:37:43 +0000 (00:37 +0000)]
Merge "Unit test bugfix: Remove the zte-pod1 in unit test."
linux_geek [Fri, 14 Oct 2016 02:54:45 +0000 (07:54 +0500)]
Playbook for setting up ELK.
Change-Id: Iccd8531a7c292796b76f2ab23bc8a2ca5d2d99ed
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
wu.zhihui [Wed, 12 Oct 2016 07:32:52 +0000 (15:32 +0800)]
Adjust directory structure
qtip
!
+---- scripts
! !
! +----ref_result # python scripts to generate results report
! +----fetch_compute_ips.sh
! +----fetch_os_creds.sh
! +----file_permission.sh
! +----get_env_info.sh
! +----qtip_creds.sh
! +----ssh_exch.exp
!
+---- config
! !
! +---- Qtip_key
! +---- Qtip_key.pub
! +---- SampleHeat.yaml
!
+---- utils
! !
! +---- logger_utils.py
! +---- report # generate pdf report file
Change-Id: Ia908ff31494369c1a13fb88b1ff9b0e5681f8e29
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
zhifeng.jiang [Thu, 13 Oct 2016 15:57:41 +0000 (23:57 +0800)]
Unit test bugfix: Remove the zte-pod1 in unit test.
Change-Id: I5e8be7d22800f67e475660fa1a557af62e8c9b1f
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
wu.zhihui [Thu, 13 Oct 2016 06:52:13 +0000 (14:52 +0800)]
update known_hosts path in ssh_test()
In qtip container, env HOME is changed to /home/opnfv.
'~/.ssh/known_hosts' need be specified to '/root/.ssh/known_hosts'
in ssh_test().
Change-Id: I902699164c0fb6a06e0253020bf701e206cfd166
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
Yujun Zhang [Thu, 13 Oct 2016 07:58:10 +0000 (15:58 +0800)]
Add ssh users with ansible roles
Change-Id: I10a9f1ed2fbc1fbef5d488263b25d482fcaa320b
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Yujun Zhang [Thu, 13 Oct 2016 06:26:17 +0000 (06:26 +0000)]
Merge "Add playbook to deploy nginx for elk"
zhifeng.jiang [Fri, 7 Oct 2016 05:12:39 +0000 (13:12 +0800)]
Refactor pushing suite result to test db
modification:
remove compute_suite.py,network_suite.py,storage_suite.py
handler all suite result in suite_result.py
refactor pushtoDB.py so that it can be called by qtip_server
JIRA:QTIP-99
Change-Id: I1630a512c22cba7be038f5301f1454b8ef4f762f
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
SerenaFeng [Wed, 12 Oct 2016 09:22:33 +0000 (17:22 +0800)]
solve log path cannot be found issue
JIRA: QTIP-124
Change-Id: I2ff94d01085ee8f057b9792988fe5ee9792fe740
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Yujun Zhang [Wed, 12 Oct 2016 07:09:39 +0000 (15:09 +0800)]
Add playbook to deploy nginx for elk
JIRA: QTIP-123
Change-Id: I6b98e3eab4c18e66b5455a073fccb68a3789f049
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Yujun Zhang [Tue, 11 Oct 2016 08:50:41 +0000 (08:50 +0000)]
Merge "change log place"
Yujun Zhang [Tue, 11 Oct 2016 05:51:36 +0000 (05:51 +0000)]
Merge "Add testdb url and node_name in post parameters of restful server"
Yujun Zhang [Tue, 11 Oct 2016 05:51:25 +0000 (05:51 +0000)]
Merge "update test data in tests/args_handler_test.py"
SerenaFeng [Sat, 8 Oct 2016 05:55:04 +0000 (13:55 +0800)]
change log place
because /var/log cannot be accessed by unittest. so change
the log place from /var/log to ~/opnfv/qtip/logs
JIRA: QTIP-119
Change-Id: I14ba8317c94630fb8db46f532f7995c0c10595bd
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Yujun Zhang [Tue, 11 Oct 2016 02:32:03 +0000 (02:32 +0000)]
Merge "Rename class cli to Cli"
wu.zhihui [Mon, 10 Oct 2016 09:15:42 +0000 (17:15 +0800)]
update test data in tests/args_handler_test.py
args_handler_test.py use the file in test_cases/zte-pod1 as
test data, since this file is removed, so update it.
Change-Id: I957caaeb35eab766ce2bb02c1d7a183342d5f0fb
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
zhifeng.jiang [Fri, 7 Oct 2016 07:55:59 +0000 (15:55 +0800)]
Add testdb url and node_name in post parameters of restful server
JIRA:QTIP-99
Change-Id: I67f56eafba48ca096570674f5de2ff5aeb935d16
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
wu.zhihui [Sun, 9 Oct 2016 10:30:46 +0000 (18:30 +0800)]
bugfix: function name typo
Change-Id: Idf41a5cb02bdb59e6e5d107fa0734091fd9c8a91
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
Yujun Zhang [Sun, 9 Oct 2016 06:55:39 +0000 (06:55 +0000)]
Merge "change fetch_compute_ips.sh path"
Yujun Zhang [Sun, 9 Oct 2016 06:55:26 +0000 (06:55 +0000)]
Merge "code refactor: create_zones.py"
wu.zhihui [Sun, 9 Oct 2016 01:34:31 +0000 (09:34 +0800)]
remove test_cases/zte-pod1
Now zte pods run test cases under test_cases/default instead of
test_cases/zte-pod1. So remove it.
Change-Id: Ie8731347185f455029defeb4c67a6761e4f74939
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
wu.zhihui [Sat, 8 Oct 2016 08:16:33 +0000 (16:16 +0800)]
code refactor: create_zones.py
1. simply the process of creating aggregates in create_zones.py.
2. before creating aggregates, it will clean all aggregates firstly.
TODO:
It should clean up the created aggregates. It needs a big structure
modification in args_handler.py. Let's do it step by step.
Change-Id: I31e09e917ba83d4676f7f95d9f5186bce8d2a449
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
Yujun Zhang [Sat, 8 Oct 2016 08:02:59 +0000 (08:02 +0000)]
Merge "Some small spelling errors."
wu.zhihui [Sat, 8 Oct 2016 06:40:20 +0000 (14:40 +0800)]
change fetch_compute_ips.sh path
Change-Id: I7e3d08adc47304d8174a1706f87e6c4ae430ae34
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
linux_geek [Fri, 7 Oct 2016 08:16:49 +0000 (13:16 +0500)]
Some small spelling errors.
Change-Id: I566ce7755388d2efc2278e4dc4c91d67d217ecb0
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
Yujun Zhang [Sat, 8 Oct 2016 03:37:12 +0000 (03:37 +0000)]
Merge "Add primary contact to INFO"
Yujun Zhang [Sat, 8 Oct 2016 02:25:33 +0000 (10:25 +0800)]
Add primary contact to INFO
Change-Id: I902d373699b7305a4ba1d6db891f0def89301c4c
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Yujun Zhang [Sat, 8 Oct 2016 01:27:51 +0000 (01:27 +0000)]
Merge "Fix unit test problem:'spawn_vm.py does not have attribute FetchImg'"
Yujun Zhang [Sat, 8 Oct 2016 01:27:36 +0000 (01:27 +0000)]
Merge "Add benchmark name in post request parameters"
Yujun Zhang [Sat, 8 Oct 2016 01:27:10 +0000 (01:27 +0000)]
Merge "Rename `suit` to `suite`"
Yujun Zhang [Fri, 7 Oct 2016 08:54:23 +0000 (08:54 +0000)]
Merge "Correct spelling error in function name"
Yujun Zhang [Fri, 7 Oct 2016 08:33:44 +0000 (16:33 +0800)]
Rename `suit` to `suite`
We should use correct words for naming.
Change-Id: Ia1ec690fca62259b5f226e2d6941a507cc61786e
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
zhifeng.jiang [Fri, 7 Oct 2016 08:21:28 +0000 (16:21 +0800)]
Fix unit test problem:'spawn_vm.py does not have attribute FetchImg'
Change-Id: I8035abfeb52515f106de4188621c207acfe54a65
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
Yujun Zhang [Fri, 7 Oct 2016 07:46:40 +0000 (15:46 +0800)]
Correct spelling error in function name
Change-Id: I470a3266d68d19c7f7074cd6325169d94384d5e0
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Yujun Zhang [Fri, 7 Oct 2016 05:52:03 +0000 (13:52 +0800)]
Rename 'max-minutes' to 'max_minutes'
The naming style of query param should be consistent
Change-Id: Ifb9bb3ecfbbf8caee7a00d3968a627c35d965bcb
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Yujun Zhang [Fri, 7 Oct 2016 05:39:58 +0000 (13:39 +0800)]
Rename class cli to Cli
class name should be CamelCase
Change-Id: I3b68b14483a475499baf832eb1af93ecca171b14
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Yujun Zhang [Fri, 7 Oct 2016 05:23:25 +0000 (05:23 +0000)]
Merge "Running a single benchmark as an option for user."
zhifeng.jiang [Thu, 6 Oct 2016 07:32:37 +0000 (15:32 +0800)]
Add benchmark name in post request parameters
Change-Id: I53974789d59f316afa72fb753397baa45247e64c
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
linux_geek [Fri, 30 Sep 2016 18:36:12 +0000 (23:36 +0500)]
Running a single benchmark as an option for user.
JIRA: QTIP-104
Change-Id: I4413d1e2670192b86af0aad62fb2752d2709fa14
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
Yujun Zhang [Sat, 1 Oct 2016 10:02:46 +0000 (10:02 +0000)]
Merge "Non-zero exit status should be used when teminated abnormally"
Yujun Zhang [Fri, 30 Sep 2016 16:42:42 +0000 (00:42 +0800)]
Non-zero exit status should be used when teminated abnormally
Change-Id: I6034b3735ebf412ef4c11c837a42f121161a70b2
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Yujun Zhang [Fri, 30 Sep 2016 07:47:38 +0000 (15:47 +0800)]
Fix broken links in docs
JIRA: QTIP-100
Change-Id: If3f91b0d683ebd497bd3f8bc34b63ddd35877e01
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Yujun Zhang [Fri, 30 Sep 2016 03:51:28 +0000 (03:51 +0000)]
Merge "The original arguments were out of order. The docker name has to be after all the arguments, to be able to successfully run the docker."
zhifeng.jiang [Fri, 30 Sep 2016 00:43:40 +0000 (00:43 +0000)]
Merge "Start restful server auto in docker"
zhifeng.jiang [Fri, 30 Sep 2016 00:42:42 +0000 (00:42 +0000)]
Merge "Add qtip restful server usage in docs."
zhifeng.jiang [Sat, 24 Sep 2016 06:01:46 +0000 (14:01 +0800)]
Start restful server auto in docker
modification:
Add start restful server in dockerfile
Add result and detail_result in server job status
Add job result assert in unit test
JIRA:QTIP-99
Change-Id: I27108eb930eba1bb72c04216f468a81202179ee0
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
Yujun Zhang [Tue, 27 Sep 2016 13:33:13 +0000 (13:33 +0000)]
Merge "code refactor: run_qtip.sh"
wu.zhihui [Fri, 23 Sep 2016 08:53:55 +0000 (16:53 +0800)]
code refactor: run_qtip.sh
1. Add prepare_qtip_image.sh to prepare qtip image before qtip test.
2. Add cleanup_qtip_image.sh to clean up qtip image after finishing
qtip test.
Both of them are invoked in run_qtip.sh
Change-Id: Iba892a2e02e31820ed0525f80a4e2885899557e0
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
zhifeng.jiang [Mon, 26 Sep 2016 14:49:36 +0000 (22:49 +0800)]
Add qtip restful server usage in docs.
modification:
Add qtip restful api info in apidoc.
Add qtip restful api usage in userguide.
modify the test_list example.
JIRA:QTIP-99
Change-Id: I0da640571fa0272376e735335fb364e6e20e8a4e
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
Yujun Zhang [Mon, 26 Sep 2016 02:40:23 +0000 (02:40 +0000)]
Merge "Change result keys to lower-case and remove ' .'"
zhifeng.jiang [Sun, 25 Sep 2016 03:18:53 +0000 (11:18 +0800)]
Bugfix: Get private ip wrong in iperf vm test.
Change-Id: I92c937eaadf5adfa4a8eced5b95af26612d7c523
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
zhifeng.jiang [Fri, 23 Sep 2016 03:38:35 +0000 (11:38 +0800)]
Change result keys to lower-case and remove ' .'
QTIP-93
Change-Id: I125163e05b49d9631838e89571d59a967252292e
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
zhifeng.jiang [Thu, 15 Sep 2016 10:18:14 +0000 (18:18 +0800)]
Return the ansible playbook running results in driver.py and args_handler.py
JIRA:QTIP-99
Change-Id: I875ad52bc69a843e39deb92ad45da90c2e737aae
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
Taseer [Thu, 22 Sep 2016 09:52:09 +0000 (14:52 +0500)]
The original arguments were out of order. The docker name has to be after all the arguments, to be able to successfully run the docker.
Change-Id: I405c79c26be4d9fff90d5453a32af750323d44eb
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
Yujun Zhang [Wed, 21 Sep 2016 07:17:52 +0000 (07:17 +0000)]
Merge "add unified logger process for qtip"
Yujun Zhang [Wed, 21 Sep 2016 07:12:51 +0000 (07:12 +0000)]
Merge "Fix issues found in security review"
SerenaFeng [Tue, 20 Sep 2016 05:58:21 +0000 (13:58 +0800)]
add unified logger process for qtip
log the output information to both file and console, and
unify the log file path and level
JIRA: QTIP-108
Change-Id: I3a881e9da1f74c6959250a94f05cf90a231c34e6
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Yujun Zhang [Wed, 21 Sep 2016 03:24:20 +0000 (03:24 +0000)]
Merge "Run benchmark test in restful server post api"
Yujun Zhang [Tue, 20 Sep 2016 13:44:24 +0000 (13:44 +0000)]
Merge "Remove cpu limit patch for byte-unixbench"
zhifeng.jiang [Fri, 9 Sep 2016 15:46:07 +0000 (23:46 +0800)]
Run benchmark test in restful server post api
modification:
Call ansible async in restful server post api
Set the job state 'finished' when finish benchmark test
Terminate the next benchmark in restful server delete api
job result will be in next commit
JIRA:QTIP-97
Change-Id: I252482dddd9b35ba33f992e8ea19037d8919fad6
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
Yujun Zhang [Tue, 20 Sep 2016 08:11:21 +0000 (16:11 +0800)]
Remove cpu limit patch for byte-unixbench
The patch[1] is no longer required since it has been merged to upstream[2]
[1] https://www.dropbox.com/s/11z85gfu0trkhus/fix-limitation.patch
[2] https://github.com/kdlucas/byte-unixbench/commit/
910276909baacebea038750aecec32c9a32eddd4
Change-Id: I1e81a93a51f78b36109ca76a56ef9bc8a1fc44ad
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
SerenaFeng [Tue, 20 Sep 2016 06:59:28 +0000 (14:59 +0800)]
Fix issues found in security review
JIRA: QTIP-105
Change-Id: I08108a982f9059fd19b92df0d219fa8f13f288ad
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
zhifeng jiang [Tue, 20 Sep 2016 06:52:18 +0000 (06:52 +0000)]
Merge "bugfix dpi.yaml"
wu.zhihui [Mon, 19 Sep 2016 01:10:57 +0000 (09:10 +0800)]
bugfix dpi.yaml
1. correct the git directory of nDPI
2. change the url of fetching test.pcap for pods which are restrict access
google.
Change-Id: I4fb642fbc0ccd8d11cc8ff2477d490838308bb9c
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
zhifeng.jiang [Thu, 15 Sep 2016 07:01:38 +0000 (15:01 +0800)]
Bugfix:iperf benchmark run failed "privateip1 is undefined"
modification:
get privatedip1 var when role is '2-host'
run on localhost once instead of twice
Change-Id: I4155f2d0c45208c4a2a0e2844fdf87acb5c8575e
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
Yujun Zhang [Wed, 14 Sep 2016 02:10:32 +0000 (02:10 +0000)]
Merge "Nominating Zhifeng Jiang <Jiang.Zhifeng@zte.com.cn> as new committer for QTIP project."
zhifeng.jiang [Wed, 14 Sep 2016 01:20:10 +0000 (01:20 +0000)]
Merge "Fix test cases yaml schema unit test problem,now host ip allow empty."
zhifeng.jiang [Wed, 14 Sep 2016 01:19:54 +0000 (01:19 +0000)]
Merge "Install the requirement packages in docker"
wu.zhihui [Fri, 9 Sep 2016 05:16:09 +0000 (13:16 +0800)]
ansible playbook bugfix
According the qtip ci results, make these bugfixs.
1. skipping: no hosts matched
This used to work in Ansible 1.9.x with 127.0.0.1;But does not work in Asible 2.x
solved: add 127.0.0.1 as localhost in ./data/hosts
2. Using bare variables is deprecated.
solved: update playbook
3. use git module
4. To save time, turning Off Facts on localhost.
Since https://gerrit.opnfv.org/gerrit/#/c/20661/ is under codereview,
for qtip ci job, I temporarily modify function write_to_file() in
env_setup.py.
Change-Id: I71a08ebf87cd8c8d851a3f8f760e29e8725f0e0f
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
zhifeng.jiang [Sat, 10 Sep 2016 15:34:31 +0000 (23:34 +0800)]
Fix test cases yaml schema unit test problem,now host ip allow empty.
Change-Id: I71b9a76c8ec470cce2af3ae47ae1fe232d1e3a22
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
zhifeng.jiang [Sat, 10 Sep 2016 02:07:13 +0000 (10:07 +0800)]
Install the requirement packages in docker
modification:
remove the packages.pip which duplicate with requirement.txt
pip install requirement.txt in docker
JIRA:QTIP-97
Change-Id: I6b9ac316cb7401b69c71fc5b1807b8d8a7ccd1bb
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
zhifeng.jiang [Fri, 9 Sep 2016 13:17:14 +0000 (13:17 +0000)]
Merge "Remove os environment in driver.py so that it can be called by restful server"
zhifeng.jiang [Sun, 4 Sep 2016 02:03:03 +0000 (10:03 +0800)]
Remove os environment in driver.py so that it can be called by restful server
modification:
Change os environments to parameters in driver.py
Pass the parameters in cli.py and arg_handler.py
JIRA:QTIP-97
Change-Id: Id67acb7e0ac46fa9e0e32481e947055b6d37dd95
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>