From f07e562c36549f45b643d730de3990b0f850bfe0 Mon Sep 17 00:00:00 2001 From: ahothan Date: Fri, 2 Mar 2018 17:06:26 -0800 Subject: [NFVBENCH-72] ARP retry log may cause exception Fix exception - use proper type May happen when retrying wait for ARP replies Change-Id: Idc33926306268b662117deba499a35eac66affc4 Signed-off-by: ahothan --- nfvbench/traffic_gen/trex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nfvbench/traffic_gen/trex.py b/nfvbench/traffic_gen/trex.py index 23faebc..e42afce 100644 --- a/nfvbench/traffic_gen/trex.py +++ b/nfvbench/traffic_gen/trex.py @@ -354,7 +354,7 @@ class TRex(AbstractTrafficGenerator): else: failed = [arp.get_record().dst_ip for arp in arps if arp.get_record().dst_mac is None] - LOG.info('Retrying ARP for: %d (%d / %d)', + LOG.info('Retrying ARP for: %s (%d / %d)', failed, attempt, self.config.generic_retry_count) time.sleep(self.config.generic_poll_sec) -- cgit 1.2.3-korg