Skip to contentSkip to conversation

dts: error in success case for cryptodev latency test

DPDK/DTS Bug 2103 [email protected] 1 participant 1 message Nov 12

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=2103

Bug ID: 2103
Summary: dts: error in success case for cryptodev latency test
Product: DPDK
Version: 26.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: DTS
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Target Milestone: ---

The cryptodev latency test suite will report a failure if the result is above a boundary even if it is within the delta tolerance. This is due to the following lines and need to be changed.

# result did not meet the matching parameter, check if within delta.
if getattr(result, "avg_cycles") > expected_cycles:
   if self.delta_tolerance > measured_delta_cycles:
      test_result = False
if getattr(result, "avg_time_us") > expected_time:
  if self.delta_tolerance > measured_delta_time:
      test_result = False
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.