From 2b2188075f5e42163a6bc77093f3e5f36e91c580 Mon Sep 17 00:00:00 2001 From: "wu.zhihui" Date: Fri, 24 Mar 2017 16:47:31 +0800 Subject: bugfix: regex for dpi see: https://build.opnfv.org/ci/view/qtip/job/ qtip-os-nosdn-kvm-ha-zte-pod3-daily-danube/3/console Previous regex cann't match with log like: "nDPI throughput: 943.34 K pps / 8.86 Gb/sec". For pps, there are two type of unit: K and M. Same with bps. Change-Id: I247c8b6049cc8b264fe894538cd4f89ba544c0b8 Signed-off-by: wu.zhihui (cherry picked from commit 6ee214ad9487dfaa121c72d8487464f63992c5ff) --- qtip/collector/parser/regex.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qtip/collector/parser/regex.yaml b/qtip/collector/parser/regex.yaml index 397f8973..94271136 100644 --- a/qtip/collector/parser/regex.yaml +++ b/qtip/collector/parser/regex.yaml @@ -25,8 +25,8 @@ dpi: - filename: dpi_dump.txt grep: - |- - ^\s+nDPI throughput:.+?(?P\d+.\d+)\sM\spps.+ - ?(?P\d+.\d+)\sGb\/sec + ^\s+nDPI throughput:.+?(?P\d+.\d+)\s.+\spps.+ + ?(?P\d+.\d+)\s.+\/sec ramspeed: - filename: Intmem grep: -- cgit 1.2.3-korg