X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Finput_data_parser.py;h=9e61c09d53ca89ef48f76b4b617f40c8df59f327;hb=24727ca0eb93810575b9a262b30e3cb46e86e4d6;hp=01dbfa7d56e6242cf36e857f3f8605beaf4f5aba;hpb=08add4b7d39a752dafc69bf9a19caf28906fb29b;p=csit.git diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py index 01dbfa7d56..9e61c09d53 100644 --- a/resources/tools/presentation/input_data_parser.py +++ b/resources/tools/presentation/input_data_parser.py @@ -92,7 +92,7 @@ class ExecutionChecker(ResultVisitor): r'Connection [c|r]ps rate: (\d*).*\n' r'Total data transferred: (\d*).*\n' r'Completed requests: (\d*).*\n' - r'Failed requests:\s*(\d*.\d*)/gm' + r'Failed requests:\s*(\d*.\d*)' ) # Needed for CPS and PPS tests @@ -825,16 +825,15 @@ class ExecutionChecker(ResultVisitor): 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: + if "TCP_CPS" in tags: result["cps"] = float(groups.group(3)) elif "TCP_RPS" in tags: result["rps"] = float(groups.group(3)) else: return result, status status = "PASS" - except (IndexError, ValueError): - pass - + except (IndexError, ValueError) as err: + logging.warning(err) return result, status def visit_suite(self, suite):