summaryrefslogtreecommitdiffstats
path: root/yardstick/dispatcher
AgeCommit message (Collapse)AuthorFilesLines
2016-03-22Change copyright for dispatchers.QiLiang4-21/+71
Changed to ceilometer/influxdb-python copyright as lots of concepts and code have been reused. JIRA: - Change-Id: I5fb0a8f9dac2e7b816240f5cf4d43f31f8e1a2f3 Signed-off-by: QiLiang <liangqi1@huawei.com> (cherry picked from commit 9369e4f06e308735868af960e13e737091bb0bea)
2016-02-19influxdb: log error when result posting failsJo¶rgen Karlsson1-0/+2
Change-Id: I628e3919af56586a481708cb97ac4e38b7ccc5fa Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com> (cherry picked from commit eaf476bd9a780de256c4cab37cc3632b14bafec3)
2016-02-09Add deploy scenario tag to influxdb measurementsJo¶rgen Karlsson1-0/+1
Change-Id: I7e303f8445e4910074fcae6e48f142fa7b61923c Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com> (cherry picked from commit 97edfb00e78ddae222bc1024eb908b3751bebbc9)
2016-02-08bug fix: wrong POD name used in result dispatchersJo¶rgen Karlsson2-2/+2
Change-Id: I04a300b3478dd075208f9c904dcb281d74089344 Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com> (cherry picked from commit 84a5fd5cea31dd957fb1d0283144306e20d8e97b)
2016-01-27InfluxDB add authentication supportQiLiang1-0/+9
JIRA: YARDSTICK-212 Change-Id: I6b669800160268db70b5c9e43cbbc053576ec4b5 Signed-off-by: QiLiang <liangqi1@huawei.com> (cherry picked from commit 20b3b5fa5e1ecd8a6b68980d365f82034f69df6d)
2016-01-19Influxdb change tc as measurementQiLiang1-5/+17
Add host and taget tags (initially for cpuload scenario to identify where the test run) JIRA: YARDSTICK-212 Change-Id: I895bd435ec4a5e036e5ae2dc965df23ccfa6bf24 Signed-off-by: QiLiang <liangqi1@huawei.com> (cherry picked from commit 2c62f3d7fd73e64bf2a3be2d1741a57bedefb726)
2016-01-18HttpDispatcher case_name value updateQiLiang1-1/+1
See details on https://etherpad.opnfv.org/p/yardstick_release_b_troubleshooting section Questions 6.1 Change-Id: I72268c827a2321859c405f45b7e1e475c0ffb4a0 Signed-off-by: QiLiang <liangqi1@huawei.com> (cherry picked from commit 625a6dac381a35a0c12cab0cfd21146844778aaa)
2016-01-08InfluxDB dispatcher add more tagsQiLiang1-0/+14
- add runner_id tag - add test case name tag - add task_id tag JIRA: YARDSTICK-212 Change-Id: I75c27e23942a6e2189019e94bfe8026a5fd67621 Signed-off-by: QiLiang <liangqi1@huawei.com> Conflicts: yardstick/dispatcher/influxdb.py (cherry picked from commit 65e32e513544392ce84c190434d23281b5c1afd2) Change-Id: Idcd582f96f2813e04d80a8c0677d9124b373fb48
2016-01-08Initial InfluxDB dispatcherQiLiang2-0/+249
Supports: - Basic influxDB write with timestamp - Add general result format func - Add UT TODO: - refine database schema (e.g. add more tags) plan in another patch JIRA: YARDSTICK-212 Change-Id: I1526568bbd850f1343135420ec59ed1b833bb99f Signed-off-by: QiLiang <liangqi1@huawei.com> (cherry picked from commit 99ba990d4a01c0f3f4837f11a24b695f4a2393d2)
2015-11-04Docker container for Yardstick CI part 2Jo¶rgen Karlsson1-4/+4
Added test suit selection and an option to use the HTTP Result API. Part 1: https://gerrit.opnfv.org/gerrit/#/c/2201/ Change-Id: I1c25d07e46cd44e25f448706ff2dfc3b31cd7208 JIRA:- Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
2015-10-16Use result_collection_api to store test resultQiLiang3-16/+44
Execute a sample task file from Yardstick, push the test results to MongodB provided by Releng using the common result api provided by Functest. Usage: 0) install yardstick 1) config yardstick mkdir /etc/yardstick cat << EOF >> /etc/yardstick/yardstick.conf [DEFAULT] debug = True dispatcher = http [dispatcher_http] timeout = 5 target = http://213.77.62.197/results EOF 2) run test yardstick task start sample/fio.yaml 3) fetch result from remote result_collection_api curl "http://213.77.62.197/results?case=Fio&installer=compass" JIRA: YARDSTICK-132 Change-Id: I0996c6487c1900704380feb895555057a3f184e9 Signed-off-by: QiLiang <liangqi1@huawei.com>
2015-10-15Support general configuration fileQiLiang3-21/+50
Use openstack library oslo_config for parsing configuration options from the command line and configuration files. Refer http://docs.openstack.org/developer/oslo.config/ or rally source code for more info on oslo_config library usage. This patch is initially for test result dispatcher configuration, but it is very general to use. Usage: 0) install yardstick 1) mkdir /etc/yardstick 2) cp <repo_root_dir>/etc/yardstick/yardstick.conf.sample \ /etc/yardstick/yardstick.conf 3) edit /etc/yardstick/yardstick.conf 4) run `yardstick task start xxx` cmd JIRA: YARDSTICK-61 Change-Id: I01677ef6e9ab7c1975aa193799195e850da73478 Signed-off-by: QiLiang <liangqi1@huawei.com>
2015-09-24Fix bug in fio scenariohoujingwen1-1/+2
1) when duration>3600s in fio.yaml, ssh time out 2) sometimes the latency value in test result is null 3) update plot.py, fit for code update in fio.py 4) small bug in file.py (result output dump) Add --output-format=json in default args, so fio command can return json format data. JIRA: YARDSTICK-143 Change-Id: Ie02977b8c9f11986a1eed66896b84d18db3d2211 Signed-off-by: houjingwen <houjingwen@huawei.com>
2015-08-24Add test result dispatcherQiLiang4-0/+163
This patch is the initial implementation of DB result storage. Having implemented a dispathcer which enable user select different ways to store test results according to different requirements. This patch can support not only local file storage, but also remote storage by using http request(it will call common-db-api when available). Later, local DB sotrage will be supported. This patch is raw and simple, which is implemented with reference to openstack ceilometer. Any comment is welcome. JIRA: YARDSTICK-61 Change-Id: Icaf8369edfab5d05f0819eb02d5b05dc8a04d69d Signed-off-by: QiLiang <liangqi1@huawei.com>