aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2016-08-24Merge "Use test_case/default instead of the directory named with a pod's name."Yujun Zhang9-75/+31
2016-08-24Merge "Add some state change functions in db.py."Yujun Zhang3-8/+28
2016-08-24Use test_case/default instead of the directory named with a pod's name.wu.zhihui9-75/+31
1. For qtip ci job, use test_cases/default for all pods. 2. It needn't to specify ip in test case files. 3. Remove customized configurations in test case files. Change-Id: I4fb6210c024aacc4d1ed915939c0aabcfa60bb57 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-08-24Merge "Add ansible_api so that python call ansible playbook by api."Yujun Zhang5-0/+90
2016-08-24Merge "Code refactoring cli.py so that it can be reused by restful server."Yujun Zhang5-69/+121
2016-08-23Add some state change functions in db.py.zhifeng.jiang3-8/+28
modification: Add some functions in db.py Unit test will be added after functions called by restful server. Rename 'deadline' to 'max-minutes' JIRA:QTIP-99 Change-Id: I74ed93df3f2dd91fa154fa0fcb52605983ee2719 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-08-23Merge "Nominate Zhifeng Jiang<Jiang.ZhiFeng@zte.com.cn> as new committer"Wenjing Chu1-0/+1
2016-08-22Merge "Ignore .idea in git repo"Yujun Zhang1-0/+1
2016-08-22Ignore .idea in git repoYujun Zhang1-0/+1
Change-Id: I6a9f0b687c9820d07100238a9633fdf67bb67df8 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-08-22Nominate Zhifeng Jiang<Jiang.ZhiFeng@zte.com.cn> as new committerYujun Zhang1-0/+1
Change-Id: I36672adef851471a1bafd05ff86823244a24789c Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-08-21Code refactoring cli.py so that it can be reused by restful server.zhifeng.jiang5-69/+121
modification: Move function in cli.py to args_handler.py Add unit test for args_handler.py Add unit test for cli.py Delete print in driver.py to pass unit test JIRA:QTIP-99 Change-Id: Ib670d7dff494f3e04cdbe1de5c247d382b1052c1 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-08-21Add ansible_api so that python call ansible playbook by api.zhifeng.jiang5-0/+90
modification: Add ansible_api so that we can get ansible running results easily. Add UT for ansible_api.py JIRA:QTIP-99 Change-Id: I6e7b0b97e4d9ef184978833c61c17e944c1eb20c Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-08-21Merge "Code refactoring driver so that it can call ansible playbook by api."Yujun Zhang2-72/+99
2016-08-19Merge "Fetch all compute ips via installer Fuel."Yujun Zhang3-2/+223
2016-08-18Fetch all compute ips via installer Fuel.wu.zhihui3-2/+223
1. Fetch all compute ips via installer Fuel. 2. check the machines' ip. if unassigned, assign one of compute's ip to it. if assigned by test case yaml, check the validation. JIRA: QTIP-98 Change-Id: I5517916c594a14055087134d20c1fe4320b6d707 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>