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 6CA83A0A0E for ; Mon, 10 May 2021 18:11:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6767340140; Mon, 10 May 2021 18:11:29 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2058.outbound.protection.outlook.com [40.107.223.58]) by mails.dpdk.org (Postfix) with ESMTP id 2A00440140 for ; Mon, 10 May 2021 18:11:28 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MultDX3of08xNXhT6mNO/5St1ANSe6d/FXnrEtMh9o4kG/cRxUi0TpAC8HIF8r6CmqYEAUI6Coy1+n1p4rxoGMXZR7BfKUgHKslRbm9jClqRYFbUdkFm9YKyqA3+JjLl0kUogwA0yffYL1fe2sxHSTVzwadnVOgSfAoQORxu/wfKRKLCCsrhnfXb8pvJgbXTMyB9IEYlTGWAIpOPr0L7aJ8XSnWsYHdSL9xS2soTelLU4+gnFX7KgeWqxEUwxNl4hX1qTkEthWE2z76vtAOxIsC7KMcgu6YHo6PVY8rF1IJIxaxCNojrgcuvPGc3M6M4EjR9Q0Q0xpCBnE4uPt5C6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Mh3XFxs8GeAoqiVSwnHWTiKa/u+Q1lfR6HvCZx4/E1g=; b=OAWwbXit8RRrYwZixhreTpR3soVaNZkL/u50mBRobWjxK+fjeGhMAXkmm7zStwdXqXqozO7U+FtziAe/Ar7w7ZwSh9ZcVtkqoRFquUAs1o0oIjJnwwQKVULCm5x0ceUOO3AGpKNhmXRT8Ge1Dx7VhewUTyOfG5dqyLNfpFtencGuiQ448NMZAvqZjQ+FvCO6PE5ZP/YMJm+BtobImu6PpHANyDMwKl9wq31Og0+wd43Nexyk0tKEyor+tCvD6SeMl5o3M09FoO8Dm0wzAMu1o1mfFFMprewhlEi56TvPUVJcyrOyfZ9XwNSdp49uMGokirYqIvUaRhpMKpwfmnkpuw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=linux.vnet.ibm.com smtp.mailfrom=nvidia.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Mh3XFxs8GeAoqiVSwnHWTiKa/u+Q1lfR6HvCZx4/E1g=; b=nBTPdn3DvPNJXPy4TPEa0zEBNqHGRx2MkS/RyZWtPVKLvRT7W6xx82jXR1mDLKHVy3ebyYvxztmGuP5tKZQ19Ey49z7JJ4b+QGTkMfuKDFr4sQIKlnX8BtiM5vKbOlNKCw4EzYdRyoEcnO2I8QGpwX2Gfr/OOmhJzbPSg3gTKwO10laFyTqddR8PVrf73X+mdl2Mwp094xYYqA98nPU8QaHmrQwWGUrseOFmd9uOy1S/BcM8HaDAQMDQ5GQXWZ7i9Z0iIe2im0MqNhXOA5fe6m5TgABExDa1xQERdCjUJgTU4e+WkhiCMb3ldetgiVb8Wq++aVHUYanf9YQqePedaA== Received: from MW4PR03CA0041.namprd03.prod.outlook.com (2603:10b6:303:8e::16) by BN8PR12MB3300.namprd12.prod.outlook.com (2603:10b6:408:6a::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.29; Mon, 10 May 2021 16:11:25 +0000 Received: from CO1NAM11FT059.eop-nam11.prod.protection.outlook.com (2603:10b6:303:8e:cafe::b4) by MW4PR03CA0041.outlook.office365.com (2603:10b6:303:8e::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25 via Frontend Transport; Mon, 10 May 2021 16:11:24 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; linux.vnet.ibm.com; dkim=none (message not signed) header.d=none;linux.vnet.ibm.com; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by CO1NAM11FT059.mail.protection.outlook.com (10.13.174.160) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4108.25 via Frontend Transport; Mon, 10 May 2021 16:11:24 +0000 Received: from nvidia.com (172.20.145.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 10 May 2021 16:11:22 +0000 From: Xueming Li To: Thinh Tran CC: Luca Boccassi , David Christensen , dpdk stable Date: Tue, 11 May 2021 00:00:31 +0800 Message-ID: <20210510160258.30982-82-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210510160258.30982-1-xuemingl@nvidia.com> References: <20210510160258.30982-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.145.6] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1783ea7e-1bb0-44db-841c-08d913ce422e X-MS-TrafficTypeDiagnostic: BN8PR12MB3300: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:298; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: catcA3LVGROTzzk31LD3DNjTJK0JUTwXNJRWgQjlydxetB07b4d7b9GgurBnpIxYYconGr2b/eaNvyeB7utdRFuwhtbp7gC1eiTBCgDbfb7uT1C/ERD69aezIIkhoy5PP1gcZtfXM1r0mZ5KGUoTFf+KBSwaklsCjDDr7w9FQ05mvze7UGgJDoOeiG//RpWIR5geakYvVhzC4SDuVeT2X+u8LTswfzhC8ITlNRMTi7+5gAUXkJK4FkoKAPd/8039fzUW1QF1DMH1I97OvlfE+NcY4HG+i2sm3XDKAkw3E6yJWyjyZvkxXuaS9cISSHTiMJTXgKgJsQ+UIi+UCbiYuzkMu4x5tTenC9D/Ml8JMSsKa2ILJYQkDLTUwuULcRwDTks/go/htxJkpHh7PKw3OB/TkaQXRLZBNVMniGCNr8Frcw3d8CaV+urEN8PuzduUsl+lM9TCG826FJWy95taZbGgWhwNsqpHsPOx0gaa0RGOqbvuCOXyBkP4bvnhVkEA3/FRKAvga8eeuuDDUtP4+X/u2LxToI8XQYNSSinzw/Vty9jwCPpXlGbFSrJHjijZDRjPjy8zfiijLSgJmWA9KLm0Diq9ppQi9Yep6fj2kpH8ytjJRv59R0WZRNYYhV4brEMCGM6XdbNPW6dlXU/qtz8FjESycM5ovTeBUDeolN7SIA7ddyGsMhF0zEyNA22VW3WmReRQCVkjnNqGXl5/Pe2uEZ6W3Q3fm8dPv+puvQ7ddcMn9FNIT3ZYdAFaf61dC7UySN0Te+7WYFwrFSUVHQ== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(136003)(346002)(396003)(39860400002)(376002)(36840700001)(46966006)(8936002)(55016002)(2616005)(316002)(36756003)(426003)(2906002)(82310400003)(82740400003)(1076003)(54906003)(47076005)(6666004)(356005)(478600001)(16526019)(966005)(336012)(186003)(5660300002)(83380400001)(53546011)(26005)(6916009)(7636003)(86362001)(6286002)(7696005)(36906005)(70206006)(70586007)(4326008)(36860700001)(8676002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2021 16:11:24.3031 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1783ea7e-1bb0-44db-841c-08d913ce422e X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT059.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR12MB3300 Subject: [dpdk-stable] patch 'test: fix autotest handling of skipped tests' has been queued to stable release 20.11.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/12/21. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/d1b41662e0674d590f8170e4cd27d1820284a075 Thanks. Xueming Li --- >From d1b41662e0674d590f8170e4cd27d1820284a075 Mon Sep 17 00:00:00 2001 From: Thinh Tran Date: Mon, 2 Mar 2020 15:41:32 -0500 Subject: [PATCH] test: fix autotest handling of skipped tests Cc: Luca Boccassi [ upstream commit c8c3cfd699a117cf8c070059a606ea12ab030cbb ] - When running the default configuration of autotest of the make test it'd take 900 seconds (15 minutes) for the script TIMEOUT and marks Failed for a specific device test that is not supported on the system under test. - Adding the checking for those tests, print out as "Skipped [Not Run]" quickly return and continue for next test Fixes: da0af48a67a5 ("test: add skipped return result") Signed-off-by: Thinh Tran Reviewed-by: David Christensen --- app/test/autotest_test_funcs.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/test/autotest_test_funcs.py b/app/test/autotest_test_funcs.py index 0811066cb0..6c717bddb4 100644 --- a/app/test/autotest_test_funcs.py +++ b/app/test/autotest_test_funcs.py @@ -13,13 +13,16 @@ import pexpect def default_autotest(child, test_name): child.sendline(test_name) result = child.expect(["Test OK", "Test Failed", - "Command not found", pexpect.TIMEOUT], timeout=900) + "Command not found", pexpect.TIMEOUT, + "Test Skipped"], timeout=900) if result == 1: return -1, "Fail" elif result == 2: return -1, "Fail [Not found]" elif result == 3: return -1, "Fail [Timeout]" + elif result == 4: + return 0, "Skipped [Not Run]" return 0, "Success" # autotest used to run dump commands -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-05-10 23:59:28.755222300 +0800 +++ 0083-test-fix-autotest-handling-of-skipped-tests.patch 2021-05-10 23:59:26.440000000 +0800 @@ -1 +1 @@ -From c8c3cfd699a117cf8c070059a606ea12ab030cbb Mon Sep 17 00:00:00 2001 +From d1b41662e0674d590f8170e4cd27d1820284a075 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Luca Boccassi + +[ upstream commit c8c3cfd699a117cf8c070059a606ea12ab030cbb ] @@ -14 +16,0 @@ -Cc: stable@dpdk.org