From: ahothan Date: Sat, 3 Mar 2018 01:06:26 +0000 (-0800) Subject: [NFVBENCH-72] ARP retry log may cause exception X-Git-Tag: 1.2.7~1 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F23%2F53023%2F1;hp=1b35b646790002e960663a91b157eb209fcfc5a4;p=nfvbench.git [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 --- 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)