Fix for latency reporting and log file handler 90/71390/1
authorLuc Provoost <luc.provoost@intel.com>
Fri, 13 Nov 2020 15:06:46 +0000 (16:06 +0100)
committerLuc Provoost <luc.provoost@intel.com>
Fri, 13 Nov 2020 15:06:46 +0000 (16:06 +0100)
commit5de20bff8792a736dabf5e48be8e14154ab4f7cc
tree6797f9e3e8a2fa2a3f41e53514cce93882b8fec9
parentce5b1f80d8ca7e29694f6540801ea9853fb7ddb6
Fix for latency reporting and log file handler

The latency histogram dat did not contain samples collected during the
first measurement of each step. The maximum latency did take the first
step into account. As a result, you  might see a test run with a maximum
latency not showing up in the latency histogram data. This has been
fixed by also including the data from the first measurement in the
histogram data. In some cases, we also reported the wrong speed from the
last unsuccessful step. This is now fixed and we do report the speed
from the last successful step.
In rapid_log.py, a fix was added to execute the rollover on the file
handler of the log file in all cases. In some cases, the file handler
with index 0 was not the file handler of the log file.

Change-Id: I6c2b16c21dd0ee17d1d14e46c4c544e185324256
Signed-off-by: Luc Provoost <luc.provoost@intel.com>
VNFs/DPPD-PROX/helper-scripts/rapid/rapid_flowsizetest.py
VNFs/DPPD-PROX/helper-scripts/rapid/rapid_log.py
VNFs/DPPD-PROX/helper-scripts/rapid/rapid_test.py