summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
9a99375)
Change-Id: I9b6c2185e43ed0b33dbeafb3d2757656f9e49bc3
Signed-off-by: Tibor Frank <tifrank@cisco.com>
(cherry picked from commit
b9aabb97bb10297ce004f731b7b61b9dc9c83ee6)
Change-Id: I0c58a35be63415a46ede8f340107a034fcb4f90d
Signed-off-by: Jan Gelety <jgelety@cisco.com>
return
if test.status == u"PASS":
return
if test.status == u"PASS":
- logging.info(self._test_id)
- logging.info(tags)
if u"DEVICETEST" in tags:
test_result[u"type"] = u"DEVICETEST"
elif u"NDRPDR" in tags:
if u"DEVICETEST" in tags:
test_result[u"type"] = u"DEVICETEST"
elif u"NDRPDR" in tags:
self._get_ndrpdr_throughput_gbps(test.message)
test_result[u"latency"], test_result[u"status"] = \
self._get_ndrpdr_latency(test.message)
self._get_ndrpdr_throughput_gbps(test.message)
test_result[u"latency"], test_result[u"status"] = \
self._get_ndrpdr_latency(test.message)
- logging.info(test_result[u"throughput"])
- logging.info(test_result[u"gbps"])
- logging.info(test_result[u"latency"])
elif u"MRR" in tags or u"FRMOBL" in tags or u"BMRR" in tags:
if u"MRR" in tags:
test_result[u"type"] = u"MRR"
elif u"MRR" in tags or u"FRMOBL" in tags or u"BMRR" in tags:
if u"MRR" in tags:
test_result[u"type"] = u"MRR"
groups = re.search(self.REGEX_MRR, test.message)
test_result[u"result"][u"receive-rate"] = \
float(groups.group(3)) / float(groups.group(1))
groups = re.search(self.REGEX_MRR, test.message)
test_result[u"result"][u"receive-rate"] = \
float(groups.group(3)) / float(groups.group(1))
- logging.info(test_result[u"result"][u"receive-rate"])
elif u"SOAK" in tags:
test_result[u"type"] = u"SOAK"
test_result[u"throughput"], test_result[u"status"] = \
elif u"SOAK" in tags:
test_result[u"type"] = u"SOAK"
test_result[u"throughput"], test_result[u"status"] = \