summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-10-08Merge "Fix unit test problem:'spawn_vm.py does not have attribute FetchImg'"Yujun Zhang1-2/+1
2016-10-08Merge "Add benchmark name in post request parameters"Yujun Zhang2-8/+14
2016-10-08Merge "Rename `suit` to `suite`"Yujun Zhang3-9/+9
2016-10-07Merge "Correct spelling error in function name"Yujun Zhang2-3/+3
2016-10-07Rename `suit` to `suite`Yujun Zhang3-9/+9
We should use correct words for naming. Change-Id: Ia1ec690fca62259b5f226e2d6941a507cc61786e Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-10-07Fix unit test problem:'spawn_vm.py does not have attribute FetchImg'zhifeng.jiang1-2/+1
Change-Id: I8035abfeb52515f106de4188621c207acfe54a65 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-10-07Correct spelling error in function nameYujun Zhang2-3/+3
Change-Id: I470a3266d68d19c7f7074cd6325169d94384d5e0 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-10-07Rename 'max-minutes' to 'max_minutes'Yujun Zhang3-10/+10
The naming style of query param should be consistent Change-Id: Ifb9bb3ecfbbf8caee7a00d3968a627c35d965bcb 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-07Add benchmark name in post request parameterszhifeng.jiang2-8/+14
Change-Id: I53974789d59f316afa72fb753397baa45247e64c Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
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