X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Finput_data_parser.py;h=a35a454aa219a72f9e96d7349a36aa921dbc1b2c;hp=0ecaf3fa5cfb2ca7960c5de0608e07ec30edc157;hb=5ad9b364cbd45a0b25d73412b9777ac14df92b0a;hpb=4ac3464851ff9dd688ab25d0324573284b6bf274 diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py index 0ecaf3fa5c..a35a454aa2 100644 --- a/resources/tools/presentation/input_data_parser.py +++ b/resources/tools/presentation/input_data_parser.py @@ -698,6 +698,7 @@ class ExecutionChecker(ResultVisitor): self._data["tests"][self._test_ID] = test_result logging.error("The test '{0}' has no or more than one " "multi-threading tags.".format(self._test_ID)) + logging.error("Tags: {0}".format(test_result["tags"])) return if test.status == "PASS" and ("NDRPDRDISC" in tags or @@ -764,8 +765,12 @@ class ExecutionChecker(ResultVisitor): items_str = groups.group(1) items_float = [float(item.strip()) for item in items_str.split(",")] - test_result["result"]["receive-rate"] = \ - AvgStdevMetadataFactory.from_data(items_float) + metadata = AvgStdevMetadataFactory.from_data(items_float) + # Next two lines have been introduced in CSIT-1179, + # to be removed in CSIT-1180. + metadata.size = 1 + metadata.stdev = 0.0 + test_result["result"]["receive-rate"] = metadata else: groups = re.search(self.REGEX_MRR, test.message) test_result["result"]["receive-rate"] = \