Actions
Bug #5172
closedNapatech stream mismanagement following non-transient error
Description
When a non-transient error, such as a "time merge error" occurs in the Napatech packet loop, the stream on which the error occurred is never closed. A new stream is opened, however.
Following a non-transient error from NT_NetRxGet, the stream should be closed with NT_NetRxClose before a new stream is opened.
Updated by Jeff Lucovsky over 3 years ago
Because the original stream is not closed, it'll fill up and then 100% packet loss follows.
A simple time change -- as shown below -- is enough to trigger the hard error
import subprocess
import time
shift = 0
print(f"Shifting time by {shift} seconds")
print("Current", time.time())
replacement = int(time.time()) + shift
expected = time.time() + 10
subprocess.check_call(["date"])
subprocess.check_call(["date", "-s", f"@{replacement}"])
Updated by Victor Julien over 3 years ago
- Assignee changed from OISF Dev to Phil Young
Updated by Victor Julien over 3 years ago
- Target version changed from 7.0.0-beta1 to TBD
Updated by Jeff Lucovsky almost 2 years ago
- Status changed from New to In Review
- Assignee changed from Phil Young to Jeff Lucovsky
Updated by Jeff Lucovsky over 1 year ago
- Status changed from In Review to Closed
Actions