Implement logfile collector and grep parser 51/28051/10
authorYujun Zhang <zhang.yujunz@zte.com.cn>
Sun, 5 Feb 2017 04:24:30 +0000 (12:24 +0800)
committerYujun Zhang <zhang.yujunz@zte.com.cn>
Tue, 14 Feb 2017 23:03:25 +0000 (07:03 +0800)
commitcdb8e1be12b724e9f68c7e46c9a653ec37c502cb
tree647fb60a48282deab3387deb493a1b3200aa6d96
parent0f3ad6f2db26fb91190e47c89f77fb59b7601b84
Implement logfile collector and grep parser

JIRA: QTIP-207
JIRA: QTIP-208
Change-Id: Icc14d3097fb305e59df716636ef87504490c9d1b
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
22 files changed:
qtip/base/__init__.py
qtip/base/constant.py
qtip/cli/commands/cmd_metric.py
qtip/collector/__init__.py
qtip/collector/logfile.py
qtip/collector/parser/__init__.py [new file with mode: 0644]
qtip/collector/parser/grep.py [moved from qtip/collector/base.py with 50% similarity]
qtip/loader/file.py
qtip/loader/plan.py
qtip/loader/yaml_file.py
qtip/runner/__init__.py
test-requirements.txt
tests/conftest.py
tests/data/benchmarks/QPI/fake_qpi.yaml [moved from tests/data/benchmarks/QPI/fake-qpi.yaml with 100% similarity]
tests/data/benchmarks/plan/doctor.yaml
tests/data/benchmarks/plan/fake-plan.yaml [deleted file]
tests/data/fake.log [new file with mode: 0644]
tests/unit/collector/__init__.py [new file with mode: 0644]
tests/unit/collector/base_test.py [moved from qtip/loader/module.py with 60% similarity]
tests/unit/collector/grep_test.py [new file with mode: 0644]
tests/unit/collector/logfile_test.py [new file with mode: 0644]
tests/unit/loader/plan_test.py