From patchwork Fri Sep 18 05:26:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yu Jiang X-Patchwork-Id: 78062 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3799FA04C7; Fri, 18 Sep 2020 07:29:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1D2911D722; Fri, 18 Sep 2020 07:29:04 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 67E2A1D6D9 for ; Fri, 18 Sep 2020 07:29:03 +0200 (CEST) IronPort-SDR: 7uRbTGC7PHyKHBuT/Jv4kV9a3upNe7Kr+7hebkrqWmedv2O+Nqj95+2/AP2MgD4jGXBL0H3sqD 5pa1LF8IEDyg== X-IronPort-AV: E=McAfee;i="6000,8403,9747"; a="244696423" X-IronPort-AV: E=Sophos;i="5.77,273,1596524400"; d="scan'208";a="244696423" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Sep 2020 22:28:59 -0700 IronPort-SDR: JdMCthJ7C7GE/OUZIDVME8Zy5yyXygdcFTvpyOc0mS8jvP7B9eyDBPE34LsbE9+wwA9c0Reamf Jcnw+dbbLOjA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,273,1596524400"; d="scan'208";a="320492443" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by orsmga002.jf.intel.com with ESMTP; 17 Sep 2020 22:28:58 -0700 From: "Jiang, YuX" To: dts@dpdk.org Cc: JiangYu Date: Fri, 18 Sep 2020 13:26:20 +0800 Message-Id: <20200918052626.9525-2-yux.jiang@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200918052626.9525-1-yux.jiang@intel.com> References: <20200918052626.9525-1-yux.jiang@intel.com> Subject: [dts] [PATCH V1 1/7] tests/TestSuite_vm2vm_virtio_pmd: support meson build X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "dts" From: JiangYu Adapt testpmd_name Signed-off-by: JiangYu --- tests/TestSuite_vm2vm_virtio_pmd.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/TestSuite_vm2vm_virtio_pmd.py b/tests/TestSuite_vm2vm_virtio_pmd.py index 5adeb2f..a5c4032 100644 --- a/tests/TestSuite_vm2vm_virtio_pmd.py +++ b/tests/TestSuite_vm2vm_virtio_pmd.py @@ -61,6 +61,7 @@ class TestVM2VMVirtioPMD(TestCase): self.pci_info = self.dut.ports_info[0]['pci'] self.app_testpmd_path = self.dut.apps_name['test-pmd'] self.app_pdump = self.dut.apps_name['pdump'] + self.testpmd_name = self.app_testpmd_path.split("/")[-1] def set_up(self): """ @@ -69,7 +70,7 @@ class TestVM2VMVirtioPMD(TestCase): self.table_header = ["FrameSize(B)", "Mode", "Throughput(Mpps)", "Queue Number", "Path"] self.result_table_create(self.table_header) - self.dut.send_expect("killall -s INT testpmd", "#") + self.dut.send_expect("killall -s INT %s" % self.testpmd_name, "#") self.dut.send_expect("killall -s INT qemu-system-x86_64", "#") self.dut.send_expect("rm -rf %s/vhost-net*" % self.base_dir, "#") self.vm_dut = [] From patchwork Fri Sep 18 05:26:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yu Jiang X-Patchwork-Id: 78065 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0B278A04C8; Fri, 18 Sep 2020 07:29:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9E6F61D8D9; Fri, 18 Sep 2020 07:29:06 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id A63901D6F5 for ; Fri, 18 Sep 2020 07:29:04 +0200 (CEST) IronPort-SDR: KpjxM005qcG13dDq0IYFYCjYFZ440XM1QSdWsM4boDgfK0Lr9iRD/+R8Ip+5VkzGirGPNWV7vq xze/tJZsWj1g== X-IronPort-AV: E=McAfee;i="6000,8403,9747"; a="244696430" X-IronPort-AV: E=Sophos;i="5.77,273,1596524400"; d="scan'208";a="244696430" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Sep 2020 22:29:00 -0700 IronPort-SDR: uzaD05VazbJ70rIhYLoyCxxN37RZ7PqrdG9BrO64qakHo9tFWANU9R5t/6WHo5iZNy2Gd/zVjz Nm4B5KcqFsOg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,273,1596524400"; d="scan'208";a="320492450" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by orsmga002.jf.intel.com with ESMTP; 17 Sep 2020 22:28:59 -0700 From: "Jiang, YuX" To: dts@dpdk.org Cc: JiangYu Date: Fri, 18 Sep 2020 13:26:21 +0800 Message-Id: <20200918052626.9525-3-yux.jiang@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200918052626.9525-1-yux.jiang@intel.com> References: <20200918052626.9525-1-yux.jiang@intel.com> Subject: [dts] [dst] [PATCH V1 2/7] tests/TestSuite_virtio_user_as_exceptional_path: support meson build X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "dts" From: JiangYu Adapt testpmd_name Signed-off-by: JiangYu --- tests/TestSuite_virtio_user_as_exceptional_path.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_virtio_user_as_exceptional_path.py b/tests/TestSuite_virtio_user_as_exceptional_path.py index 3c04f55..3d54441 100644 --- a/tests/TestSuite_virtio_user_as_exceptional_path.py +++ b/tests/TestSuite_virtio_user_as_exceptional_path.py @@ -70,6 +70,7 @@ class TestVirtioUserAsExceptionalPath(TestCase): self.peer_pci_setup = False self.prepare_dpdk() self.app_testpmd_path = self.dut.apps_name['test-pmd'] + self.testpmd_name = self.app_testpmd_path.split("/")[-1] def set_up(self): # @@ -77,7 +78,7 @@ class TestVirtioUserAsExceptionalPath(TestCase): # # Clean the execution ENV self.dut.send_expect("rm -rf ./vhost-net*", "#") - self.dut.send_expect("killall -s INT testpmd", "#") + self.dut.send_expect("killall -s INT %s" % self.testpmd_name, "#") self.dut.send_expect("killall -s INT qemu-system-x86_64", "#") self.dut.send_expect("modprobe vhost-net", "#") self.peer_pci_setup = False @@ -316,7 +317,7 @@ class TestVirtioUserAsExceptionalPath(TestCase): # self.dut.kill_all() self.dut.close_session(self.vhost_user) - self.dut.send_expect("killall -s INT testpmd", "#") + self.dut.send_expect("killall -s INT %s" % self.testpmd_name, "#") self.dut.send_expect("killall -s INT qemu-system-x86_64", "#") self.dut.send_expect("rm -rf ./vhost-net", "#") time.sleep(2) From patchwork Fri Sep 18 05:26:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yu Jiang X-Patchwork-Id: 78064 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 82C69A04C7; Fri, 18 Sep 2020 07:29:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 799661D6F5; Fri, 18 Sep 2020 07:29:06 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 8FA3F1D6D9 for ; Fri, 18 Sep 2020 07:29:04 +0200 (CEST) IronPort-SDR: +3j9D+RgXwzwVsteIg35CtawFYtXfXCp8oaCqjnLJsvvzkybSAD5Rs1xaPSMubaV/xzp9ONk8J 0iXXO3PAGQFQ== X-IronPort-AV: E=McAfee;i="6000,8403,9747"; a="244696441" X-IronPort-AV: E=Sophos;i="5.77,273,1596524400"; d="scan'208";a="244696441" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Sep 2020 22:29:02 -0700 IronPort-SDR: k5tfvTSBS2X+n+7TYLyBdHzOfpD8Y5groVplKpmjjv6dNQl97ek4EbiED6AHbro9aBti44zmY+ 9/sxUfowTyvA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,273,1596524400"; d="scan'208";a="320492461" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by orsmga002.jf.intel.com with ESMTP; 17 Sep 2020 22:29:01 -0700 From: "Jiang, YuX" To: dts@dpdk.org Cc: JiangYu Date: Fri, 18 Sep 2020 13:26:22 +0800 Message-Id: <20200918052626.9525-4-yux.jiang@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200918052626.9525-1-yux.jiang@intel.com> References: <20200918052626.9525-1-yux.jiang@intel.com> Subject: [dts] [PATCH V1 3/7] tests/TestSuite_vhost_virtio_user_interrupt: support meson build X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "dts" From: JiangYu Adapt testpmd_name and l3fwdpower_name Signed-off-by: JiangYu --- tests/TestSuite_vhost_virtio_user_interrupt.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/TestSuite_vhost_virtio_user_interrupt.py b/tests/TestSuite_vhost_virtio_user_interrupt.py index 118fb8e..ae75da5 100644 --- a/tests/TestSuite_vhost_virtio_user_interrupt.py +++ b/tests/TestSuite_vhost_virtio_user_interrupt.py @@ -64,13 +64,15 @@ class TestVirtioUserInterrupt(TestCase): self.tx_interface = self.tester.get_interface(self.tx_port) self.app_l3fwd_power_path = self.dut.apps_name['l3fwd-power'] self.app_testpmd_path = self.dut.apps_name['test-pmd'] + self.testpmd_name = self.app_testpmd_path.split("/")[-1] + self.l3fwdpower_name = self.app_l3fwd_power_path.split("/")[-1] def set_up(self): """ run before each test case. """ - self.dut.send_expect("killall -s INT testpmd", "#") - self.dut.send_expect("killall l3fwd-power", "#") + self.dut.send_expect("killall -s INT %s" % self.testpmd_name, "#") + self.dut.send_expect("killall %s" % self.l3fwdpower_name, "#") self.dut.send_expect("rm -rf vhost-net*", "#") self.l3fwd = self.dut.new_session(suite="l3fwd") @@ -259,8 +261,8 @@ class TestVirtioUserInterrupt(TestCase): """ run after each test case. """ - self.dut.send_expect("killall l3fwd-power", "#") - self.dut.send_expect("killall -s INT testpmd", "#") + self.dut.send_expect("killall %s" % self.l3fwdpower_name, "#") + self.dut.send_expect("killall -s INT %s" % self.testpmd_name, "#") self.close_all_session() def tear_down_all(self): From patchwork Fri Sep 18 05:26:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yu Jiang X-Patchwork-Id: 78066 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 47A3CA04C9; Fri, 18 Sep 2020 07:29:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CB7A71D8DD; Fri, 18 Sep 2020 07:29:06 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 310A11D6D9 for ; Fri, 18 Sep 2020 07:29:05 +0200 (CEST) IronPort-SDR: orfngobzqP8kuqZ6COkb603PwczEs2IhR7O5PBsfrupH61AGoGW9l4GpcNYZdTVoPaBjZO6bt0 t7tKA0MYTd3w== X-IronPort-AV: E=McAfee;i="6000,8403,9747"; a="244696450" X-IronPort-AV: E=Sophos;i="5.77,273,1596524400"; d="scan'208";a="244696450" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Sep 2020 22:29:03 -0700 IronPort-SDR: VDyIuVzDYSDiYuh73G5VUUZzdmyQkc+JC7Yd3bmof1hZ6hYsojb5HwYF+Vh9wIc8bHtaWYqYvK +FIx9h3BxUtQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,273,1596524400"; d="scan'208";a="320492472" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by orsmga002.jf.intel.com with ESMTP; 17 Sep 2020 22:29:02 -0700 From: "Jiang, YuX" To: dts@dpdk.org Cc: JiangYu Date: Fri, 18 Sep 2020 13:26:23 +0800 Message-Id: <20200918052626.9525-5-yux.jiang@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200918052626.9525-1-yux.jiang@intel.com> References: <20200918052626.9525-1-yux.jiang@intel.com> Subject: [dts] [PATCH V1 4/7] tests/TestSuite_vdev_primary_secondary: support meson build X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "dts" From: JiangYu Adapt testpmd_name Signed-off-by: JiangYu --- tests/TestSuite_vdev_primary_secondary.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_vdev_primary_secondary.py b/tests/TestSuite_vdev_primary_secondary.py index 0919c1f..50d5b59 100644 --- a/tests/TestSuite_vdev_primary_secondary.py +++ b/tests/TestSuite_vdev_primary_secondary.py @@ -66,13 +66,14 @@ class TestVdevPrimarySecondary(TestCase): self.pci_info = self.dut.ports_info[0]['pci'] self.app_testpmd_path = self.dut.apps_name['test-pmd'] self.app_symmetric_mp_path = self.dut.apps_name['symmetric_mp'] + self.testpmd_name = self.app_testpmd_path.split("/")[-1] def set_up(self): """ Run before each test case. """ self.dut.send_expect("rm -rf %s/vhost-net*" % self.base_dir, "#") - self.dut.send_expect("killall -s INT testpmd", "#") + self.dut.send_expect("killall -s INT %s" % self.testpmd_name, "#") self.dut.send_expect("killall -s INT qemu-system-x86_64", "#") @@ -178,7 +179,7 @@ class TestVdevPrimarySecondary(TestCase): self.vm_dut.kill_all() self.dut.kill_all() self.vm.stop() - self.dut.send_expect("killall -s INT testpmd", "#") + self.dut.send_expect("killall -s INT %s" % self.testpmd_name, "#") self.dut.send_expect("killall -s INT qemu-system-x86_64", "#") time.sleep(2) From patchwork Fri Sep 18 05:26:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yu Jiang X-Patchwork-Id: 78067 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0F0B1A04C7; Fri, 18 Sep 2020 07:29:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 065FC1D8DC; Fri, 18 Sep 2020 07:29:09 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id C04F21D6D9 for ; Fri, 18 Sep 2020 07:29:05 +0200 (CEST) IronPort-SDR: JEzAJ/6tHG+BKi7OSJ0/I6eXnK7qE+sIbyAMK1CxxndT/gtjWJ/FyuoJdV8hQa3hO0y8LuqCKJ e+bvfDFkpv3A== X-IronPort-AV: E=McAfee;i="6000,8403,9747"; a="244696463" X-IronPort-AV: E=Sophos;i="5.77,273,1596524400"; d="scan'208";a="244696463" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Sep 2020 22:29:05 -0700 IronPort-SDR: Y+DIMWw8wU3GrtSsfxYRIJdN3LLVrvG6n20CXZL2NrwMBbV5p6VHlUhRqU6CyJkLAI2KLdrke5 xZc8hRPwmreA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,273,1596524400"; d="scan'208";a="320492484" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by orsmga002.jf.intel.com with ESMTP; 17 Sep 2020 22:29:03 -0700 From: "Jiang, YuX" To: dts@dpdk.org Cc: JiangYu Date: Fri, 18 Sep 2020 13:26:24 +0800 Message-Id: <20200918052626.9525-6-yux.jiang@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200918052626.9525-1-yux.jiang@intel.com> References: <20200918052626.9525-1-yux.jiang@intel.com> Subject: [dts] [PATCH V1 5/7] tests/TestSuite_loopback_virtio_user_server_mode: support meson build X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "dts" From: JiangYu Adapt testpmd_name Signed-off-by: JiangYu --- tests/TestSuite_loopback_virtio_user_server_mode.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_loopback_virtio_user_server_mode.py b/tests/TestSuite_loopback_virtio_user_server_mode.py index 9503208..cb1dc2b 100644 --- a/tests/TestSuite_loopback_virtio_user_server_mode.py +++ b/tests/TestSuite_loopback_virtio_user_server_mode.py @@ -58,6 +58,7 @@ class TestLoopbackVirtioUserServerMode(TestCase): self.core_list_user = self.core_list[0:3] self.core_list_host = self.core_list[3:6] self.path=self.dut.apps_name['test-pmd'] + self.testpmd_name = self.path.split("/")[-1] def set_up(self): """ @@ -65,7 +66,7 @@ class TestLoopbackVirtioUserServerMode(TestCase): """ # Clean the execution ENV self.dut.send_expect("rm -rf ./vhost-net*", "#") - self.dut.send_expect("killall -s INT testpmd", "#") + self.dut.send_expect("killall -s INT %s" % self.testpmd_name, "#") # Prepare the result table self.table_header = ["Mode", "Pkt_size", "Throughput(Mpps)", "Queue Number", "Cycle"] @@ -616,7 +617,7 @@ class TestLoopbackVirtioUserServerMode(TestCase): """ Run after each test case. """ - self.dut.send_expect("killall -s INT testpmd", "#") + self.dut.send_expect("killall -s INT %s" % self.testpmd_name, "#") self.close_all_session() time.sleep(2) From patchwork Fri Sep 18 05:26:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yu Jiang X-Patchwork-Id: 78068 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 36716A04C8; Fri, 18 Sep 2020 07:29:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2E0E51D8E3; Fri, 18 Sep 2020 07:29:09 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 7DC5B1D8D8 for ; Fri, 18 Sep 2020 07:29:07 +0200 (CEST) IronPort-SDR: 4F2FZL/pfLBPebgeHzOSNuFSPYcGTKDamC4tMBKF8RkR4bwvIIHFMdWU9e4Ux1zh5aK+uqVQeG aSA3AStPhE6w== X-IronPort-AV: E=McAfee;i="6000,8403,9747"; a="244696470" X-IronPort-AV: E=Sophos;i="5.77,273,1596524400"; d="scan'208";a="244696470" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Sep 2020 22:29:06 -0700 IronPort-SDR: 3q/NsdxJGhWVe4eNdLlYNjAPULEgkZ8DHjx8TU/q/7nKAoNEv5uaDMSzQ4Ca3MbcEezUNcq4xA 4WX6rTl+9icQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,273,1596524400"; d="scan'208";a="320492502" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by orsmga002.jf.intel.com with ESMTP; 17 Sep 2020 22:29:05 -0700 From: "Jiang, YuX" To: dts@dpdk.org Cc: JiangYu Date: Fri, 18 Sep 2020 13:26:25 +0800 Message-Id: <20200918052626.9525-7-yux.jiang@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200918052626.9525-1-yux.jiang@intel.com> References: <20200918052626.9525-1-yux.jiang@intel.com> Subject: [dts] [PATCH V1 6/7] tests/TestSuite_loopback_multi_queues: support meson build X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "dts" From: JiangYu Adapt testpmd_name Signed-off-by: JiangYu --- tests/TestSuite_loopback_multi_queues.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_loopback_multi_queues.py b/tests/TestSuite_loopback_multi_queues.py index 0fdadeb..86c2ce9 100644 --- a/tests/TestSuite_loopback_multi_queues.py +++ b/tests/TestSuite_loopback_multi_queues.py @@ -60,6 +60,7 @@ class TestLoopbackMultiQueues(TestCase): if 'packet_sizes' in self.get_suite_cfg(): self.frame_sizes = self.get_suite_cfg()['packet_sizes'] self.path=self.dut.apps_name['test-pmd'] + self.testpmd_name = self.path.split("/")[-1] def set_up(self): """ @@ -67,7 +68,7 @@ class TestLoopbackMultiQueues(TestCase): """ # Prepare the result table self.dut.send_expect("rm -rf ./vhost-net*", "#") - self.dut.send_expect("killall -s INT testpmd", "#") + self.dut.send_expect("killall -s INT %s" % self.testpmd_name, "#") self.table_header = ["Frame", "Mode", "Throughput(Mpps)", "Queue Number"] self.result_table_create(self.table_header) self.data_verify = {} @@ -380,7 +381,7 @@ class TestLoopbackMultiQueues(TestCase): """ Run after each test case. """ - self.dut.send_expect("killall -s INT testpmd", "#") + self.dut.send_expect("killall -s INT %s" % self.testpmd_name, "#") self.close_all_session() def tear_down_all(self): From patchwork Fri Sep 18 05:26:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yu Jiang X-Patchwork-Id: 78069 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 61099A04C7; Fri, 18 Sep 2020 07:29:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 54BF11D8D0; Fri, 18 Sep 2020 07:29:12 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 49A4A1D8D8 for ; Fri, 18 Sep 2020 07:29:08 +0200 (CEST) IronPort-SDR: bzE4nc6/grtHfVNU+i+khorpi1YbM730llla65uosbVDWQmFOBekanQN1sPw1y1JcW4VeVKe3Q 5s0bz1pJludw== X-IronPort-AV: E=McAfee;i="6000,8403,9747"; a="244696477" X-IronPort-AV: E=Sophos;i="5.77,273,1596524400"; d="scan'208";a="244696477" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Sep 2020 22:29:07 -0700 IronPort-SDR: x8VSAPGMK0Bor5aFPbJJFojVal6ThRUxP4ZsB8cXgTTKMcaIMhkVKuwG4z1zmAu7RT+WdtssIU kzz+2kUIla8g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,273,1596524400"; d="scan'208";a="320492516" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by orsmga002.jf.intel.com with ESMTP; 17 Sep 2020 22:29:06 -0700 From: "Jiang, YuX" To: dts@dpdk.org Cc: JiangYu Date: Fri, 18 Sep 2020 13:26:26 +0800 Message-Id: <20200918052626.9525-8-yux.jiang@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200918052626.9525-1-yux.jiang@intel.com> References: <20200918052626.9525-1-yux.jiang@intel.com> Subject: [dts] [PATCH V1 7/7] tests/TestSuite_loopback_multi_paths_port_restart: support meson build X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "dts" From: JiangYu Adapt testpmd_name Signed-off-by: JiangYu Acked-by: lihongx Ma --- tests/TestSuite_loopback_multi_paths_port_restart.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/TestSuite_loopback_multi_paths_port_restart.py b/tests/TestSuite_loopback_multi_paths_port_restart.py index 7a1448d..54c9756 100644 --- a/tests/TestSuite_loopback_multi_paths_port_restart.py +++ b/tests/TestSuite_loopback_multi_paths_port_restart.py @@ -58,6 +58,7 @@ class TestLoopbackPortRestart(TestCase): self.core_list_user = self.core_list[0:2] self.core_list_host = self.core_list[2:5] self.path=self.dut.apps_name['test-pmd'] + self.testpmd_name = self.path.split("/")[-1] def set_up(self): """ @@ -65,7 +66,7 @@ class TestLoopbackPortRestart(TestCase): """ # Clean the execution ENV self.dut.send_expect("rm -rf ./vhost.out", "#") - self.dut.send_expect("killall -s INT testpmd", "#") + self.dut.send_expect("killall -s INT %s" % self.testpmd_name, "#") self.dut.send_expect("killall -s INT qemu-system-x86_64", "#") # Prepare the result table self.table_header = ["FrameSize(B)", "Mode", "Throughput(Mpps)", "Cycle"] @@ -78,7 +79,7 @@ class TestLoopbackPortRestart(TestCase): """ start testpmd on vhost """ - self.dut.send_expect("killall -s INT testpmd", "#") + self.dut.send_expect("killall -s INT %s" % self.testpmd_name, "#") self.dut.send_expect("rm -rf ./vhost-net*", "#") eal_param = self.dut.create_eal_parameters(cores=self.core_list_host, prefix='vhost', no_pci=True, vdevs=['net_vhost0,iface=vhost-net,queues=1,client=0']) command_line_client = self.path + eal_param + " -- -i --nb-cores=1 --txd=1024 --rxd=1024" @@ -330,7 +331,7 @@ class TestLoopbackPortRestart(TestCase): """ Run after each test case. """ - self.dut.send_expect("killall -s INT testpmd", "#") + self.dut.send_expect("killall -s INT %s" % self.testpmd_name, "#") self.close_all_session() time.sleep(2)