From cf9356d642ce131c6562fcd281c01e51af888ec3 Mon Sep 17 00:00:00 2001 From: Dave Wallace Date: Tue, 23 Jul 2024 01:28:19 -0400 Subject: tests: update scapy to version 2.4.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Required for Ubuntu 24.04 LTS jobs - temporarily disable TestIpsecEsp1 and TestIpsecAhAll tests until a patch can be added to fix them Type: test Change-Id: I1ae7b170117182c3252629bbbb770775e2c496c9 Signed-off-by: BenoƮt Ganne Signed-off-by: Dave Wallace --- test/test_pg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_pg.py') diff --git a/test/test_pg.py b/test/test_pg.py index d2e656df58b..da3b2254968 100644 --- a/test/test_pg.py +++ b/test/test_pg.py @@ -83,7 +83,7 @@ class TestPgTun(VppTestCase): rxs = self.send_and_expect(self.pg0, p * N_PKTS, self.pg1) for rx in rxs: - rx = IP(rx) + rx = IP(bytes(rx)) self.assertFalse(rx.haslayer(Ether)) self.assertEqual(rx[IP].dst, self.pg1.remote_ip4) @@ -97,7 +97,7 @@ class TestPgTun(VppTestCase): rxs = self.send_and_expect(self.pg0, p * N_PKTS, self.pg2) for rx in rxs: - rx = IPv6(rx) + rx = IPv6(bytes(rx)) self.assertFalse(rx.haslayer(Ether)) self.assertEqual(rx[IPv6].dst, self.pg2.remote_ip6) -- cgit 1.2.3-korg