The recent changes in packet capture code introduced a regression to NetTestSlave. It will crash every time bye() method is called and there are no pcap files available.
Reported-by: Ondrej Lichtner olichtne@redhat.com Signed-off-by: Radek Pazdera rpazdera@redhat.com --- lnst/Slave/NetTestSlave.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/lnst/Slave/NetTestSlave.py b/lnst/Slave/NetTestSlave.py index 63f1f10..7092753 100644 --- a/lnst/Slave/NetTestSlave.py +++ b/lnst/Slave/NetTestSlave.py @@ -42,6 +42,8 @@ class NetTestSlaveXMLRPC: self._netconfig = NetConfig() self._command_context = command_context
+ + self._capture_files = {} self._copy_targets = {} self._copy_sources = {}