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 CE706A0032; Fri, 30 Dec 2022 10:39:45 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CA22242D33; Fri, 30 Dec 2022 10:39:45 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 8DDA84067B for ; Fri, 30 Dec 2022 10:39:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1672393184; x=1703929184; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=/AjphLGBg/rK30Ih6OPxScddp9AkDOrB2YDEtWSAsoM=; b=d/eQTn/k9UBpta5HxATuuQQoU+h7MLN/sfaTGdLu2UqjmUp13GecdNP4 0udyIAxwqoOQuu0bdX7CVwiOTi7PpsEooSErg8Wp0I08gmbVcJNphmaKt dcnMEBL4dbn80GKS7vYKIJoH5MYlZgESNQjLEMo6fahRZRVQeMrw9mDGO VMKzxG76zSdrj+DFlkchsUo8GFBETh2imLHslFeavi4qBpJsxJjdIuxEi OFkE6l2s8XsMkoZ3iLFd1Sq8EQB6dfPfxJGLLb0GBgGJmfGjEPpBDKP/g LOAYVPUtf4cZOtORcTB6LJT3xO/LkrLo7A7B2gG/yLz5mCnoc7SmgFZH6 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10575"; a="407450690" X-IronPort-AV: E=Sophos;i="5.96,287,1665471600"; d="scan'208";a="407450690" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Dec 2022 01:39:40 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10575"; a="655820304" X-IronPort-AV: E=Sophos;i="5.96,287,1665471600"; d="scan'208";a="655820304" Received: from unknown (HELO localhost.localdomain) ([10.239.252.20]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Dec 2022 01:39:39 -0800 From: Song Jiale To: dts@dpdk.org Cc: Song Jiale , Jin Ling Subject: [dts] [PATCH V3 2/2] test_plans/multiprocess: add 1 cases Date: Fri, 30 Dec 2022 17:37:27 +0000 Message-Id: <20221230173727.1002548-2-songx.jiale@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221230173727.1002548-1-songx.jiale@intel.com> References: <20221230173727.1002548-1-songx.jiale@intel.com> 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 add a case to test the testpmd secondary process crash of the pf port. Signed-off-by: Jin Ling Signed-off-by: Song Jiale --- test_plans/multiprocess_test_plan.rst | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/test_plans/multiprocess_test_plan.rst b/test_plans/multiprocess_test_plan.rst index bfef1ca9..e44c7551 100644 --- a/test_plans/multiprocess_test_plan.rst +++ b/test_plans/multiprocess_test_plan.rst @@ -969,3 +969,25 @@ Test Case: test_multiprocess_negative_exceed_process_num the first and second processes should be launched successfully the third process should be launched failed and output should contain the following string: 'multi-process option proc-id(2) should be less than num-procs(2)' + +TestCase 1: test_secondary_process_port_reset +============================================= + +test steps +---------- + +1. Launch the app ``testpmd``, start primary process and secondary process with the following arguments:: + + ./dpdk-testpmd -l 1,2 --proc-type=auto -a 0000:17:00.0 --log-level=ice,7 -- -i --rxq=4 --txq=4 --num-procs=2 --proc-id=0 + ./dpdk-testpmd -l 3,4 --proc-type=auto -a 0000:17:00.0 --log-level=ice,7 -- -i --rxq=4 --txq=4 --num-procs=2 --proc-id=1 + +2. reset port in secondary process:: + + secondary process: + testpmd> port stop 0 + testpmd> port reset 0 + +expected result +--------------- + + Check that there are no ``core dump`` messages in the output. \ No newline at end of file -- 2.25.1