aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/input_data_parser.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2023-01-25 07:05:15 +0100
committerTibor Frank <tifrank@cisco.com>2023-01-25 07:05:15 +0100
commit08add4b7d39a752dafc69bf9a19caf28906fb29b (patch)
treeba638a92a9b7682c8ef389c58dfa1154a9313304 /resources/tools/presentation/input_data_parser.py
parent28f8695692aaafb8b228ae1147e4b9d82a0d9d77 (diff)
Report: Add rc1 data
Signed-off-by: Tibor Frank <tifrank@cisco.com> Change-Id: I7a79422b70aee1ac05f4b8a7257ff2fa5946e5f3
Diffstat (limited to 'resources/tools/presentation/input_data_parser.py')
-rw-r--r--resources/tools/presentation/input_data_parser.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py
index 6bb15d7c93..01dbfa7d56 100644
--- a/resources/tools/presentation/input_data_parser.py
+++ b/resources/tools/presentation/input_data_parser.py
@@ -89,10 +89,10 @@ class ExecutionChecker(ResultVisitor):
REGEX_VSAP_MSG_INFO = re.compile(
r'Transfer Rate: (\d*.\d*).*\n'
r'Latency: (\d*.\d*).*\n'
- r'Completed requests: (\d*).*\n'
- r'Failed requests: (\d*).*\n'
+ r'Connection [c|r]ps rate: (\d*).*\n'
r'Total data transferred: (\d*).*\n'
- r'Connection [cr]ps rate:\s*(\d*.\d*)'
+ r'Completed requests: (\d*).*\n'
+ r'Failed requests:\s*(\d*.\d*)/gm'
)
# Needed for CPS and PPS tests
@@ -822,13 +822,13 @@ class ExecutionChecker(ResultVisitor):
try:
result["transfer-rate"] = float(groups.group(1)) * 1e3
result["latency"] = float(groups.group(2))
- result["completed-requests"] = int(groups.group(3))
- result["failed-requests"] = int(groups.group(4))
- result["bytes-transferred"] = int(groups.group(5))
+ result["completed-requests"] = int(groups.group(5))
+ result["failed-requests"] = int(groups.group(6))
+ result["bytes-transferred"] = int(groups.group(4))
if "TCP_CPS"in tags:
- result["cps"] = float(groups.group(6))
+ result["cps"] = float(groups.group(3))
elif "TCP_RPS" in tags:
- result["rps"] = float(groups.group(6))
+ result["rps"] = float(groups.group(3))
else:
return result, status
status = "PASS"