From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 724ABA04FD; Tue, 31 May 2022 08:32:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 46A7E400EF; Tue, 31 May 2022 08:32:21 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 2D5B9400D6 for ; Tue, 31 May 2022 08:32:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653978739; x=1685514739; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=L2g1mz+n6sO5NYoIoAiB5djG47RC7d9phDeXJzlNaYo=; b=ZMqvUMvSzB2FXScgIjtdWKEB69l9Mi+IDvCqXHJ8MRXWyoMajjI3VY8M spXCgSjPEg2sIcuonpTVQn9aF97GQoWityzd5YiX34b0QadERHk5HZm7n ohVhlYdnZvz0IfoJn5bUJ+Cq/Qmn5//r6kOLfFXQIKYrW+GswZ/kxZQbw qoa2WgL6Az3tK/vEArnsR+tBLymB599L1MDDrkDZ/2D3WinCj9zojzQCO wwYr6sP3rPOqVvUEFewaM3IYG7unVWXadWhwWwAhN/Dd2UazBIm+3poMh QHHBkJ8Q9TLzyl0XPb9GN2kR4jvc55AGwCWikxwwb8C66E7qGOi0dDd9n g==; X-IronPort-AV: E=McAfee;i="6400,9594,10363"; a="257221650" X-IronPort-AV: E=Sophos;i="5.91,264,1647327600"; d="scan'208";a="257221650" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2022 23:32:18 -0700 X-IronPort-AV: E=Sophos;i="5.91,264,1647327600"; d="scan'208";a="551635680" Received: from unknown (HELO daily-regression-131.intel.com) ([10.239.251.131]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2022 23:32:17 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V1] tests/inline_ipsec: add -nn for tcpdump Date: Tue, 31 May 2022 14:32:12 +0800 Message-Id: <20220531063212.332642-1-songx.jiale@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org tcpdump timeout, increase the '-nn' to skip the DNS reverse domain name resolution operation. Signed-off-by: Jiale Song --- tests/TestSuite_inline_ipsec.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_inline_ipsec.py b/tests/TestSuite_inline_ipsec.py index 474e616a..31c8bb8d 100644 --- a/tests/TestSuite_inline_ipsec.py +++ b/tests/TestSuite_inline_ipsec.py @@ -253,7 +253,7 @@ class TestInlineIpsec(TestCase): session_receive2 = self.tester.create_session( name="receive_encryption_package2" ) - session_receive2.send_expect("tcpdump -Xvvvi %s -c 1" % rxItf, "", 10) + session_receive2.send_expect("tcpdump -nn -Xvvvi %s -c 1" % rxItf, "", 10) send_package = self.send_encryption_package( txItf, paysize, do_encrypt, send_spi, count, inner_dst, sa_src, sa_dst ) @@ -468,7 +468,7 @@ class TestInlineIpsec(TestCase): session_receive3 = self.tester.create_session( "check_forward_encryption_package" ) - session_receive3.send_expect("tcpdump -Xvvvi %s -c 1" % self.rxItf, "", 30) + session_receive3.send_expect("tcpdump -nn -Xvvvi %s -c 1" % self.rxItf, "", 30) time.sleep(2) sendp(eth_e1, iface=self.rxItf, count=2) sendp(eth_e2, iface=self.txItf, count=1) -- 2.17.1