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 74CDA43E57 for ; Sat, 13 Apr 2024 14:56:30 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6F4EB40DD8; Sat, 13 Apr 2024 14:56:30 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2064.outbound.protection.outlook.com [40.107.223.64]) by mails.dpdk.org (Postfix) with ESMTP id 209D2400D6 for ; Sat, 13 Apr 2024 14:56:29 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n/sHVwYIzbyYILl51t1NgkityYedGGSwDmelMSzV/ZxTLR9/9yZ3nAMig0yBcnOS8KrmkpKMVsmb1+eGF+9IybZM5FPaoMMn6WIcHnL6/HDpjLV+DJm3oBqUQYneL3AYK8axSQ3v2aFTI5WZLapjZp98bNOH2/cZXpVwq45O9BaaxsqXMZzieHeJpi6tOD8wTu2s2oMKBiIYNtqQL+gwGkiaPxHHpnNylBLBhcddLaEd3YY2pC8fRHGdwS/TmIjCPeKXp0Hf/gFcz9JqM4s9Jk/6g8wEqsUQiMDqsnF08/GPlmG+xqSmXzHFCpLuJAThzBEFY5KLXu436vfYyNyFjw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=UyP//b6ixi7JgSmqHt2yivxOfU8apfNEWoFh4vmpj/w=; b=ZAQeUhuRVsWvH+fj2sTBHaYHL4hevm58RKTNJVL82ohcsPU1W1NafygqyUx7lWsJuAyrVrtaSivG32QjXvtX2M3yZZ8k9HvckPb0e9dt6ovFGgJ/Nbv5KgVcZsaZRZoTscIj+5McpVdsLP0pOeT+yDsBXgam95BGVdIO72w1A2Bk1WmGwNxD/gmdRl/v81Agti5zRZi5Z21W4dM0vh40IpPoqvgUvJlkYcqDvbeWi7AH12PnHC4L8nd0sFQH4vpvYNzb60A2fvEVkaG311823w72PKdDx7Hvz6Y0qrvPJBPVqYD2rTqDqGEYE8fMpYDE80lxO04bqPJQPtLGZyQOag== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=redhat.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) 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=UyP//b6ixi7JgSmqHt2yivxOfU8apfNEWoFh4vmpj/w=; b=QqpXA1VMz8ln1mG2EjZAl+zRUMTXxV23d04mF3lCAY5nhWAjZHEDBh5xcZRD5/O2Z0+sCEP/TqMrTFhdXatJ4I0QMYvrqNZZ839e7/sHDF6UtLz/uTdsdAg9npOfpbma1AI1e+M0yT8lSFhY5DMMy6lPtqLfCXx8nFJzvhybECpEm7z/tng5AQ8kZl+ZKBhDvofYz0tS0NcRb2CARbyRpOtUi8kVDdY7P9gtZRFl9q6/zkGtgxEJShA7DpGfZopB8kY/4kOwJ8pTokNEzHYTRNW6/iEd4ME0MnsSXNVViNwie6qJx5VTlwPBnAg9ppUZ/Pnl5p0tyjg6K+dGwl70TQ== Received: from DM6PR11CA0011.namprd11.prod.outlook.com (2603:10b6:5:190::24) by MN2PR12MB4422.namprd12.prod.outlook.com (2603:10b6:208:265::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.58; Sat, 13 Apr 2024 12:56:26 +0000 Received: from DS3PEPF0000C37A.namprd04.prod.outlook.com (2603:10b6:5:190:cafe::bf) by DM6PR11CA0011.outlook.office365.com (2603:10b6:5:190::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.30 via Frontend Transport; Sat, 13 Apr 2024 12:56:25 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by DS3PEPF0000C37A.mail.protection.outlook.com (10.167.23.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.22 via Frontend Transport; Sat, 13 Apr 2024 12:56:25 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Sat, 13 Apr 2024 05:56:14 -0700 Received: from nvidia.com (10.126.231.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.12; Sat, 13 Apr 2024 05:56:12 -0700 From: Xueming Li To: Robin Jarry CC: Bruce Richardson , =?UTF-8?q?Morten=20Br=C3=B8rup?= , Tyler Retzlaff , dpdk stable Subject: patch 'test: assume C source files are UTF-8 encoded' has been queued to stable release 23.11.1 Date: Sat, 13 Apr 2024 20:49:07 +0800 Message-ID: <20240413125005.725659-67-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240413125005.725659-1-xuemingl@nvidia.com> References: <20240305094757.439387-1-xuemingl@nvidia.com> <20240413125005.725659-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.126.231.35] X-ClientProxiedBy: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS3PEPF0000C37A:EE_|MN2PR12MB4422:EE_ X-MS-Office365-Filtering-Correlation-Id: 843e194e-087c-469c-7cc1-08dc5bb920ca X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dwn5ILwiGpAEgBragLyWBLhwh1C9+hoKaGUQ8bWU9rF94nTXHgVCEMR2U+SYroNjQNIYuM8uFS69L/szRmZJVmw2kvpNgkyYYf1LopSlpytSjUKxrVmw/Q+EbRzj7ZMkO2AqP7MglR/FR+vrPEc9vOix6jbItP5wx7DXPevrrXZH03IZDUPSda7P80c6Dc29lrGklGK2wmpyA+E/9710PYwApc1PWa5Zt8B/cyNaiwhJd6lKaRGD4RQ/CfYzYHL8NE9AL43yDJHCqRZRkLFI6cz+F5ZFSQT2AWOA6CqUpxmMJPbWQ2bsOMSu7IvhEGlF9qKdRt+E6RpQJY5oMHOv9d/ChzZjV1d3Ca6riGrH/1U+tgVvcp+OQUfvd3KKaxIrWZsbNKkRe0JNVj7FHnHf/MLPcLbMRa6C7IAe1pVxin7Rzz+ta/KHO3nkMsommEK7MhWcFOLhjvOc1o0NvZM5uE+tApfjGWlFXLCbNnPmihmxu/uXVwldO2siXRP25+TFsCVJY0Ft4a2Og9mzyglI4gmCTJ1YiCun+sYEHGSPveN1TcWTSnUh/XLwZgzCzrDmPC9htKXrVJEzdWTST5DlmfyraUXt/Gnw936QPLyNo9TdhUK1ymMHLB/AJFTLYLumfuiZG9U8ZzqyyUgXG4FvPYqowfM9Mm6QG571OS5bP+X//qyTxZ1qWSc0ASbkRoSN7pxa7y4Wi8bfqbUuCZlsaLddIkqx2eY367s9emEV0mlUYP/k4U5sgS/oVf3ATIKg X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230031)(1800799015)(376005)(82310400014)(36860700004); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2024 12:56:25.5580 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 843e194e-087c-469c-7cc1-08dc5bb920ca X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DS3PEPF0000C37A.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4422 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 Hi, FYI, your patch has been queued to stable release 23.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 04/15/24. 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://git.dpdk.org/dpdk-stable/log/?h=23.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=5c5df0f29203b18a22deb19a5046152961b07d12 Thanks. Xueming Li --- >From 5c5df0f29203b18a22deb19a5046152961b07d12 Mon Sep 17 00:00:00 2001 From: Robin Jarry Date: Tue, 5 Mar 2024 14:46:15 +0100 Subject: [PATCH] test: assume C source files are UTF-8 encoded MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Xueming Li [ upstream commit 39846d56c48ba9a5da23f4a8af40cd46b47e9367 ] Instead of relying on the default locale from the environment (LC_ALL), explicitly read the files as utf-8 encoded. Fixes: 0aeaf75df879 ("test: define unit tests suites based on test types") Signed-off-by: Robin Jarry Acked-by: Bruce Richardson Acked-by: Morten Brørup Acked-by: Tyler Retzlaff --- buildtools/get-test-suites.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildtools/get-test-suites.py b/buildtools/get-test-suites.py index 574c233aa8..c61f6a273f 100644 --- a/buildtools/get-test-suites.py +++ b/buildtools/get-test-suites.py @@ -19,7 +19,7 @@ def get_fast_test_params(test_name, ln): return f":{nohuge.strip().lower()}:{asan.strip().lower()}" for fname in input_list: - with open(fname) as f: + with open(fname, "r", encoding="utf-8") as f: contents = [ln.strip() for ln in f.readlines()] test_lines = [ln for ln in contents if test_def_regex.match(ln)] non_suite_tests.extend([non_suite_regex.match(ln).group(1) -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-04-13 20:43:07.103063882 +0800 +++ 0067-test-assume-C-source-files-are-UTF-8-encoded.patch 2024-04-13 20:43:05.017753905 +0800 @@ -1 +1 @@ -From 39846d56c48ba9a5da23f4a8af40cd46b47e9367 Mon Sep 17 00:00:00 2001 +From 5c5df0f29203b18a22deb19a5046152961b07d12 Mon Sep 17 00:00:00 2001 @@ -7,0 +8,3 @@ +Cc: Xueming Li + +[ upstream commit 39846d56c48ba9a5da23f4a8af40cd46b47e9367 ] @@ -13 +15,0 @@ -Cc: stable@dpdk.org