autotest/autotest — pull request #458 by kongove (2012-07-16 07:54:40+00:00)
Title: [RFC] store performance results to Database of Autotest server

Currently we only store performance results to files,
it's simple and convenient. This patch added a new interface,
the raw results would be stored to database of Autotest
server.

Original file interface is reserved, it can work without
Autotest server.

examples:
@ python regression.py netperf database 98 99
@ python regression.py netperf file /results/98-debug_user/ \
/results/99-debug_user/

Amos Kong (8):
virt_utils: add a debug sentence in vnet_hdr_probe()
virt: fix a typo in comment
netperf: update parameter 'bridge' to 'netdst'
regression.py: fix typo of note
add 'Category' label to split subtests in results
compute 'Total Significance' for each category
update netperf test to store results to D.B
virt performance: store perf result to D.B

client/tests/kvm/tests/performance.py | 3 +-
client/tools/perf.conf | 4 +-
client/tools/regression.py | 181 +++++++++++++++++++++++---------
client/virt/tests/netperf.py | 47 ++++++---
client/virt/tests/rv_connect.py | 2 +-
client/virt/virt_utils.py | 1 +
6 files changed, 169 insertions(+), 69 deletions(-)