aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-10-07Rename class cli to CliYujun Zhang3-6/+6
class name should be CamelCase Change-Id: I3b68b14483a475499baf832eb1af93ecca171b14 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-10-07Merge "Running a single benchmark as an option for user."Yujun Zhang2-3/+21
2016-10-01Running a single benchmark as an option for user.linux_geek2-5/+23
JIRA: QTIP-104 Change-Id: I4413d1e2670192b86af0aad62fb2752d2709fa14 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2016-10-01Merge "Non-zero exit status should be used when teminated abnormally"Yujun Zhang2-3/+3
2016-10-01Non-zero exit status should be used when teminated abnormallyYujun Zhang2-3/+3
Change-Id: I6034b3735ebf412ef4c11c837a42f121161a70b2 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-09-30Fix broken links in docsYujun Zhang3-11/+9
JIRA: QTIP-100 Change-Id: If3f91b0d683ebd497bd3f8bc34b63ddd35877e01 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-09-30Merge "The original arguments were out of order. The docker name has to be ↵Yujun Zhang1-1/+1
after all the arguments, to be able to successfully run the docker."
2016-09-30Merge "Start restful server auto in docker"zhifeng.jiang5-12/+56
2016-09-30Merge "Add qtip restful server usage in docs."zhifeng.jiang4-11/+82
2016-09-28Start restful server auto in dockerzhifeng.jiang5-12/+56
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>
2016-09-27Merge "code refactor: run_qtip.sh"Yujun Zhang7-152/+101
2016-09-27code refactor: run_qtip.shwu.zhihui7-152/+101
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>
2016-09-26Add qtip restful server usage in docs.zhifeng.jiang4-11/+82
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>
2016-09-26Merge "Change result keys to lower-case and remove ' .'"Yujun Zhang16-197/+139
2016-09-25Bugfix: Get private ip wrong in iperf vm test.zhifeng.jiang2-4/+4
Change-Id: I92c937eaadf5adfa4a8eced5b95af26612d7c523 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-25Change result keys to lower-case and remove ' .'zhifeng.jiang16-197/+139
QTIP-93 Change-Id: I125163e05b49d9631838e89571d59a967252292e Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-23Return the ansible playbook running results in driver.py and args_handler.pyzhifeng.jiang2-11/+24
JIRA:QTIP-99 Change-Id: I875ad52bc69a843e39deb92ad45da90c2e737aae Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-23The original arguments were out of order. The docker name has to be after ↵Taseer1-1/+1
all the arguments, to be able to successfully run the docker. Change-Id: I405c79c26be4d9fff90d5453a32af750323d44eb Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2016-09-21Merge "add unified logger process for qtip"Yujun Zhang6-22/+94
2016-09-21Merge "Fix issues found in security review"Yujun Zhang3-3/+3
2016-09-21add unified logger process for qtipSerenaFeng6-22/+94
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>
2016-09-21Merge "Run benchmark test in restful server post api"Yujun Zhang7-55/+157
2016-09-20Merge "Remove cpu limit patch for byte-unixbench"Yujun Zhang2-12/+0
2016-09-20Run benchmark test in restful server post apizhifeng.jiang7-55/+157
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>
2016-09-20Remove cpu limit patch for byte-unixbenchYujun Zhang2-12/+0
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>
2016-09-20Fix issues found in security reviewSerenaFeng3-3/+3
JIRA: QTIP-105 Change-Id: I08108a982f9059fd19b92df0d219fa8f13f288ad Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-20Merge "bugfix dpi.yaml"zhifeng jiang1-2/+2
2016-09-19bugfix dpi.yamlwu.zhihui1-2/+2
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>
2016-09-15Bugfix:iperf benchmark run failed "privateip1 is undefined"zhifeng.jiang4-11/+12
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>
2016-09-14Merge "Nominating Zhifeng Jiang <Jiang.Zhifeng@zte.com.cn> as new committer ↵Yujun Zhang1-0/+7
for QTIP project."
2016-09-14Merge "Fix test cases yaml schema unit test problem,now host ip allow empty."zhifeng.jiang1-0/+1
2016-09-14Merge "Install the requirement packages in docker"zhifeng.jiang2-9/+1
2016-09-11ansible playbook bugfixwu.zhihui14-67/+166
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>
2016-09-10Fix test cases yaml schema unit test problem,now host ip allow empty.zhifeng.jiang1-0/+1
Change-Id: I71b9a76c8ec470cce2af3ae47ae1fe232d1e3a22 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-10Install the requirement packages in dockerzhifeng.jiang2-9/+1
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>
2016-09-09Merge "Remove os environment in driver.py so that it can be called by ↵zhifeng.jiang6-31/+43
restful server"
2016-09-08Remove os environment in driver.py so that it can be called by restful serverzhifeng.jiang6-31/+43
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>
2016-09-07Merge "Add ansible.cfg so that we can get ansible running time"Yujun Zhang2-0/+5
2016-09-06Merge "correct error code and cleanup duplicated code in ssh_test()"Yujun Zhang1-44/+23
2016-09-06Add ansible.cfg so that we can get ansible running timezhifeng.jiang2-0/+5
JIRA:QTIP-99 Change-Id: If42ddfd4337533b63dff3909c880a7e7b8e0fc58 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-04Call ansible playbook by ansible api instead of os.systemzhifeng.jiang2-16/+13
JIRA:QTIP-99 Change-Id: Ife53a48d4af1fd3c60efc0673611321b3bc487a7 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-01Merge "Add ssh option "UserKnownHostsFile=/dev/null""Yujun Zhang1-2/+2
2016-08-31correct error code and cleanup duplicated code in ssh_test()wu.zhihui1-44/+23
Change-Id: I6d7f598b7b8d2dbb987f0c82abb9831b2fd782a5 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-08-29Add ssh option "UserKnownHostsFile=/dev/null"wu.zhihui1-2/+2
To prevent the OpenSSH warning about permission denied, add ssh option "UserKnownHostsFile=/dev/null" Change-Id: I0b0d765bc2d14c666d5367c655ced0ea31cc7f87 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-08-29Nominating Zhifeng Jiang <Jiang.Zhifeng@zte.com.cn> as new committer for ↵Yujun Zhang1-0/+7
QTIP project. Zhifeng has been contributed a majority of code to QTIP since last season[1][2]. I believe she will help QTIP project to make a success in next release. All qtip committers, please vote +1 or +2 if you support this nomination [3]. This patch reopens #19141 [4]. Please DO NOT merge until we get a majority. [1] http://stackalytics.com/?project_type=opnfv-group&metric=commits&module=qtip [2] https://git.opnfv.org/cgit/qtip/log/?qt=author&q=jiang.zhifeng%40zte.com.cn [3] https://wiki.opnfv.org/display/DEV/Committer+Promotions [4] https://gerrit.opnfv.org/gerrit/#/c/19141/ Change-Id: I59123ab8b10098e0b959d732b8ee7e0f0bedb0d1 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-08-29bugfix: miss a whitespace in the playbook command.wu.zhihui1-1/+1
According to https://build.opnfv.org/ci/job/qtip-fuel-zte-pod2-daily -master/13/consoleFull, ERROR! the playbook: ./benchmarks/playbooks/dhrystone.yaml--private-key=./data/QtipKey could not be found miss a whitespace in the playbook command. Change-Id: Id5fea085eb3e24e4105f20ec800d4a07478fb383 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-08-29Merge "Adding new committers"Yujun Zhang0-0/+0
2016-08-29Revert "Nominate Zhifeng Jiang<Jiang.ZhiFeng@zte.com.cn> as new committer"Yujun Zhang1-1/+0
The voting is reopened in https://gerrit.opnfv.org/gerrit/#/c/19703/ This reverts commit a798b89691ae2ab27db5818d468e367f5ed470ec. Change-Id: I18444476b9dfbea78924c4498be54bc7110a299f Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-08-29Adding new committersAric Gardner1-1/+0
Some formatting as well RT ticket #14023 Change-Id: Ic00063e7d6983160bc2af9d8a9189a5d0fe4dc51 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-08-25Bugfix: some errors in env_setup.py.wu.zhihui2-16/+16
Change-Id: Ia9ab50f8990659d4657e67f38ece72d5eb47f4d9 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>