From patchwork Tue Aug 25 19:45:44 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "chris.laplante@agilent.com" X-Patchwork-Id: 96310 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id CDF5FC61DC6 for ; Tue, 25 Aug 2026 19:46:46 +0000 (UTC) Received: from PH0PR06CU001.outbound.protection.outlook.com (PH0PR06CU001.outbound.protection.outlook.com [40.107.208.52]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.30858.1787687199552187211 for ; Tue, 25 Aug 2026 12:46:39 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@agilent.com header.s=selector1 header.b=1Eb9PRw2; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: agilent.com, ip: 40.107.208.52, mailfrom: chris.laplante@agilent.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=TZfBmdHtkHYEJKmw+nojdcMl8+nLiPOG8FcKvjKPLVGiAiwVh9mduNkTH2rONpcG8GHnOtrdv9Tq0Ur7YXk5I6qk+PQ8v8YCyPGHePAADTdTVTahe8W2mPScinDFrJIwEojcNKnwl27BtnOwEFxeO62feroFojwrw/Bm04NdWFZBZYq2XBpIDpQQaxrHHiG88s0nCbLz8EtGxgIw5tQdhRJ7GV8zOeb1AyxlCRTGFUsgyczmhg8a7ENJHaXLzNgm1pmLd5Die5gdSi/dD3OHvIgZzR76+2fmDgEhGBr4Qjbtv5HkTDiFjHMwVB/RF2uJwmXDNxyUqx6ykEpDFSuC/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=sRe+7Nlgj+dmx6VcVFICGKsThsJMlyQIQGF7SRNYrAw=; b=LpUkZZUqQgHlpDlPQP4/BJhGyjOfetbc4QUMyO9A0Cm/6OaMkqBt5hLD1Pc5h8xGzHJhW//lf53jfKDbsncUzq4MjfRZLeYKr9bGTlg0MYadd/BDEoKQf7JWHTYVEz6fLFQAtjEgICzzal1TqxA85v5Kmxmedzd5L85H6LOVxXRRzuhz2qrApHdy2v0eOQX5SZhK2k/RPTf9q9AQuClyTri6iKiZVweGnZ1z/foSs+bOSeBTNzjL5WcUK3xpm+r29cpObE8GdBO2rDkvGYJJokCH+TqmzH12keXeURomH8P4KoZ6qzpGXU23ndMP/0x3FE+8Hcw3XCxCPqP1RiEDPA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 192.25.218.36) smtp.rcpttodomain=lists.openembedded.org smtp.mailfrom=agilent.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=agilent.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agilent.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sRe+7Nlgj+dmx6VcVFICGKsThsJMlyQIQGF7SRNYrAw=; b=1Eb9PRw2Uzw/0AjA3FPmXG/QKY2jwli2XzDhWYWa4cgNoWPAa0n4rh2izah8SasPuhYW9n8VAgyYBG47d3xlv5AMaDbDoPBMMQ1wssk89SuolZk5ceEwbD6UkG4JrV4ULXk/Lru5J0lbcCGIMkQtEBYXSQAmdNeqQ+Kg+27JZEsolsaYPv784YsIXPrkq/0RHUYDGsvbL7jM9NuKVR/zQDqIa8BmGDcYTusecsJ5sj+6EvC8EDBNb3oJtTS7o2YmAcuEDA7M303TzyWLg5iPFBjtnHE8A0QO3W3d8fR4nY7yoV8MTssXYSqCVwMh0sADlDcQHL5glCCYIUS1SmhrVw== Received: from SJ2PR07CA0014.namprd07.prod.outlook.com (2603:10b6:a03:505::7) by SA1PR12MB9004.namprd12.prod.outlook.com (2603:10b6:806:388::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.360.6; Tue, 25 Aug 2026 19:46:28 +0000 Received: from BY1PEPF000264B5.namprd02.prod.outlook.com (2603:10b6:a03:505:cafe::73) by SJ2PR07CA0014.outlook.office365.com (2603:10b6:a03:505::7) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.360.6 via Frontend Transport; Tue, 25 Aug 2026 19:46:28 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 192.25.218.36) smtp.mailfrom=agilent.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=agilent.com; Received-SPF: Pass (protection.outlook.com: domain of agilent.com designates 192.25.218.36 as permitted sender) receiver=protection.outlook.com; client-ip=192.25.218.36; helo=wpcosapexchedg5.windmz.agilent.com; pr=C Received: from wpcosapexchedg5.windmz.agilent.com (192.25.218.36) by BY1PEPF000264B5.mail.protection.outlook.com (10.167.242.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.360.3 via Frontend Transport; Tue, 25 Aug 2026 19:46:28 +0000 Received: from laplante-B650.lfs.agilent.com (192.25.126.5) by edgeappmail.agilent.com (192.25.218.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.41; Tue, 25 Aug 2026 13:45:57 -0600 From: To: CC: Chris Laplante Subject: [PATCH 1/6] data_smart: use Pattern.search instead of findall, to match comment Date: Tue, 25 Aug 2026 15:45:44 -0400 Message-ID: <20260825194549.152553-1-chris.laplante@agilent.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY1PEPF000264B5:EE_|SA1PR12MB9004:EE_ X-MS-Office365-Filtering-Correlation-Id: 6d457fdc-aa4f-44dd-0942-08df02e18df3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|82310400026|36860700016|23010399003|18002099003|10067099003|56012099006|11063799006; X-Microsoft-Antispam-Message-Info: ot7qT/36wN6ueXz96hCoag04gDViiRwn+VytBoKQOTmmtQWoqrpPnG20AQhOiJTEZEGic/yl/cAGTpOvo0fZ2r9Fk7unxcuhaz/tcm9zdqsBUexkfMkeKPTOWt9Wokl79U8lzvq3LR2b9thuzU7bMYYswMSt+ufoTAYaWP15vbVtDAxBlBjxt5J71QQZT3yb2btCET3BgipdBlaOHXfhf0frn271EwN8YuQ6JN5PM10+HN26dVJFEh++88T+L9o04BUypZI/HZn5YhITpJz8uC7UE75lCYcD78Rj6YZ++QN5WNEfOCXqKJLk6Nf3TftroTPw+s3k8877i7lM3Nii1PCPLtd7pk+BdzcAD7bnhzLL4ttixdS5iazkwrHn5fhQ3H37AY0m9PNykacvYpfN2Kcky9grzfHpd2TDNucAmmH2z74Y5pDyFcF/P9XbxY0ts6LzMHgx1BWVo7aVb7mLEmHc94D3iJyKJ7cvHW2bXNqMdxo1aWRtbLORZgHRZrLMI5omb5WHoPWIYePWAPXjA3leCVd24Zhs5CRwygqxvKMSvqbl5HM8xVS5+6MCNqbfoWjrjmZy9Pn1ENHNcjHoAlDKvdRmb2bbvj/isAMY/M6XEP6gwyJObvfdqguOGtS4yiSgVDL+m4etMw/ROfUtsB4kMOBFGcguA1HJT5+0YfDO8M6wyjmysPeRFP2Wp1Ob7LYCzBFDCiMWoZuOXkf8Ww== X-Forefront-Antispam-Report: CIP:192.25.218.36;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:wpcosapexchedg5.windmz.agilent.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(1800799024)(376014)(82310400026)(36860700016)(23010399003)(18002099003)(10067099003)(56012099006)(11063799006);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 9Ix9svQvU5g/pQl7b61bdwgLuYzprwi6H8qALWpdDJj6TeP5IziAhjo6EjOC9O+Z4/7KyX4Uhwy2j7WFFKiKga6Bo+Fd80Ck9AXFX4h20sTGaqMpqV+QE8MtWCd68xGUUHDgqY0n45kerR9ItXlaSmry+OMetFp0nqNbRH+bJE8pROyzewi6mNheIhPYlebPaQsFOOEsk0cvkrB+8nVVH9eUZJHcHQ2FoDq370aS4p+5+UZJr/un7aoRkRAiho4XvjnXB8ks05cnnwVUGqMlnq5xOtKBZdsnFYXyQbFNUL86wubj9EZxJhru4qSUkTbsM7AoLT72PbPDnidTehs6WyfOSdTDyTQvur49eQ7cCCxFGxdknnFj5sVG2c3HrhjrScQiVq9GRlCscBvffT/zlKwmuJ0dDe0f6Yz69rHOe40Zm8AflpxF1Q/tkc3U/EPm X-OriginatorOrg: agilent.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Aug 2026 19:46:28.1777 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6d457fdc-aa4f-44dd-0942-08df02e18df3 X-MS-Exchange-CrossTenant-Id: a9c0bc09-8b46-4206-9351-2ba12fb4a5c0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=a9c0bc09-8b46-4206-9351-2ba12fb4a5c0;Ip=[192.25.218.36];Helo=[wpcosapexchedg5.windmz.agilent.com] X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TreatMessagesAsInternal-BY1PEPF000264B5.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB9004 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 25 Aug 2026 19:46:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/20046 From: Chris Laplante The comment says "Do not run code that contains one or more unexpanded variables", so just stop when we find one rather than look for all. Signed-off-by: Chris Laplante --- lib/bb/data_smart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bb/data_smart.py b/lib/bb/data_smart.py index cbace8520..8aa7c1f99 100644 --- a/lib/bb/data_smart.py +++ b/lib/bb/data_smart.py @@ -126,7 +126,7 @@ class VariableParse: # Do not run code that contains one or more unexpanded variables # instead return the code with the characters we removed put back - if __expand_var_regexp__.findall(code): + if __expand_var_regexp__.search(code): return "${@" + code + "}" if self.varname: From patchwork Tue Aug 25 19:45:45 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "chris.laplante@agilent.com" X-Patchwork-Id: 96308 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A63ABC61DB9 for ; Tue, 25 Aug 2026 19:46:46 +0000 (UTC) Received: from SA9PR02CU001.outbound.protection.outlook.com (SA9PR02CU001.outbound.protection.outlook.com [40.93.196.32]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.30465.1787687198606239027 for ; Tue, 25 Aug 2026 12:46:38 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@agilent.com header.s=selector1 header.b=m+u3hcqm; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: agilent.com, ip: 40.93.196.32, mailfrom: chris.laplante@agilent.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=jUgQmdghDMa5e696PwdVfKjTRC0iBgkfiDg9tVkqUFAZ0jX6HjaVehIv4BZIv5dh52x3/CjdTxXLNBlfXTdq+I3TDSFnFNxxZ7t7oE1SsEl4fCuvqeZVoPASzMvcg1eKUESN8bBXTRPL80twnuI/dLwjG3a7laejKLofQd9+hVmmpx8TLCPJypQ+qm8syz1j7s2JQcS1ySjR8QWyrxfIb233TWircWP4soaxkb2qLUvA5P/UWz7tc4xUr3FP3P/7qjXhlwJL+k694yjE4bQtXnUSu/PN8SYtDgHT3XYZjUkxQuaWnNC6ntjl26RCvN5zjNVVYvlk4XU9709nkEAeHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=P1CDrfiiDIi1hfhehpACijiumzQY2lYgw7SkexyEG7c=; b=gw9NtEyl7eNTBPefhWDZS6OPi83qSEGOP45EBMnrL4Gy1stoBvBpWoQkyLk1Z9S/YylEROsIigIyEzRGnTe4ATL+cV8zZOaM0fd2XZ0CskIr2/JVJUTifjfB3xkkpUZywkJ/2SBMxuRSxiz5HKPUG95tV6KcHGiuIoMXSHze15Yz8g/0ffJ/25wRNmyqG9rkY0yAMgNQMt1LmSzh/mpGauLN5DsBSJn2F8M9eOb7JOg7BZ4b0XSze+Hoovm8TrXWP6zYdXsvdLckcJPXg5Q/hZh7rs6A+0T2yRYcTH//NggAWaWFrL/K8T0ur4Txch2gVsk1Ld/pdOlrXbxbU/DsIQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 192.25.218.36) smtp.rcpttodomain=lists.openembedded.org smtp.mailfrom=agilent.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=agilent.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agilent.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=P1CDrfiiDIi1hfhehpACijiumzQY2lYgw7SkexyEG7c=; b=m+u3hcqmJdkhEdiHJuucDPRm3I/DSuB+8xWn1D9BgqHt4A/8aWNfh8eSq6HFM0vzgNL4I+5MXcdjbvp2lwyPd7f84FowShXhebUGIuofjPYEzmlekWitXY55VyY+uojowRuwccTx5GlKgZB7pLHqh4Y48G/w/zSGnGIJ1SHuDTGDb5zISnIdFV1b5cATLQy4UNn/y2vxnPjJs2QnrtA8+N3UGEne5+kvgUZyENXxJkbRl+JmaWA9SHH2x2KVPLn4ifZVff7D5EoZJrR0xWmvilxbtVQbI8A3Q0h/ZzGBKcUtnNtQZg1xFsbvQHPKugzBQhOFCktJ9rBK5WXRVGzMcg== Received: from SJ0PR03CA0027.namprd03.prod.outlook.com (2603:10b6:a03:33a::32) by DS0PR12MB7703.namprd12.prod.outlook.com (2603:10b6:8:130::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.339.12; Tue, 25 Aug 2026 19:46:30 +0000 Received: from BY1PEPF000264B1.namprd02.prod.outlook.com (2603:10b6:a03:33a:cafe::7b) by SJ0PR03CA0027.outlook.office365.com (2603:10b6:a03:33a::32) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.339.12 via Frontend Transport; Tue, 25 Aug 2026 19:46:29 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 192.25.218.36) smtp.mailfrom=agilent.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=agilent.com; Received-SPF: Pass (protection.outlook.com: domain of agilent.com designates 192.25.218.36 as permitted sender) receiver=protection.outlook.com; client-ip=192.25.218.36; helo=wpcosapexchedg5.windmz.agilent.com; pr=C Received: from wpcosapexchedg5.windmz.agilent.com (192.25.218.36) by BY1PEPF000264B1.mail.protection.outlook.com (10.167.242.117) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.360.3 via Frontend Transport; Tue, 25 Aug 2026 19:46:29 +0000 Received: from laplante-B650.lfs.agilent.com (192.25.126.5) by edgeappmail.agilent.com (192.25.218.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.41; Tue, 25 Aug 2026 13:45:57 -0600 From: To: CC: Chris Laplante Subject: [PATCH 2/6] runqueue: fix init of RunQueueScheduler.prio_map; add test for 'basic' scheduler Date: Tue, 25 Aug 2026 15:45:45 -0400 Message-ID: <20260825194549.152553-2-chris.laplante@agilent.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260825194549.152553-1-chris.laplante@agilent.com> References: <20260825194549.152553-1-chris.laplante@agilent.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY1PEPF000264B1:EE_|DS0PR12MB7703:EE_ X-MS-Office365-Filtering-Correlation-Id: 459cc9e4-ea65-47cc-e66d-08df02e18ee7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|23010399003|82310400026|1800799024|36860700016|10067099003|56012099006|6133799003|22082099003|18002099003|11063799006; X-Microsoft-Antispam-Message-Info: sIErtkjx7F+azVjROQZan811SfvFeWdKeiVSwa0sIZbLnvzh8SvRRYQ8R3KDwppzwJFeo8sJZulKa+niBhXInRiMvtIp+wbTaWBSy0BLeqFc6c+qHqRmu6uE7SRbdOkkacbL7VffQKReDh5OXXJiyGSR1noz9qgV3aYD6eFcqnpuB9zs4klA1UlZOsy5Hb/4F28m62VDfjbVMYKHFlWAXJ6IxVxOVLGCQTdgvkLqaFMf4SSU4sIpBohEmge9m3ljIPisWb7dPGWnKj0qGjWfS+C3KjCSDFD8Dp0QRIhr522X3Owl8o1/DTfCt9p4/WGQ53UKM1ubYXuuhN7jsfEZsI0mZwuJ+qO4Wwr0Hg8yt0mpKUNoyiFG8kpAoMuRypMeQaxGgy2NJBr7TFadTUlgrNb+iVhiTVrTicQg0oNGecx7MTRRKEKsCXMES8aO8Af+xXDZEyNrbIVnxT7rhMAiQrRxnJ40J2oazwEKX0kUd/HxAJNnAtMABpk7XkrjzlnKtLwK65qx5K7UuciiduT7em+/flS12wZ5SmXzu8sQkpxTmJ2bkV/0T1uu9/zoPA5n6qrgBCjfyc7JUPcnBzSraoqpUQ5NcpUXKdujjuZ2lHiG6/Y7sMFc46n0jEmhqtlf4oUOXtegiDNE/f0NflTXts+gNVQhUG/IFhzzedQL7eLMr++6vC1zWvBNdrKisE9TtCw7HD7SwOo+YPEZl/4tWg== X-Forefront-Antispam-Report: CIP:192.25.218.36;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:wpcosapexchedg5.windmz.agilent.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(376014)(23010399003)(82310400026)(1800799024)(36860700016)(10067099003)(56012099006)(6133799003)(22082099003)(18002099003)(11063799006);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: i96fHtYgKNN7W4uJQ7ODMDJg1AtAC9uBJ0ltzTYG7iNY3i4oX4Qf3Z9lWhdtsMqyBTp4MjsGXkh6KmmZEQFYU/eC8IrvDw4JwmUutq6z3j9EXQlInND0bTk+8Fj9k54OdvLDmnSMpsymKMGIOdP/fG8wAHZaOmqQDfzNj79lm6CAG1yGZ5WGpdrfBvyU8u6dtvPd+PePCczmGz7smGj/jCfmBsW/Ade54UBH+YbDnrZTRuamPWQPd6F++hN8zyE4+7fyWh3pUjavfZmfoMsZ8pC5QwxFNrsqZlsj8vUjuKAM/79cvRwTqOvN8jUMSUKsbs7RcHiMurl0krOT4h7VqNUtTFQn8FW2WhcfMbapO5ReClpBSppAoL0GVkCY6fNfswvByVePac+BKaEnFCtr3RGnRBZr4Xo3dHOftsIB0wwx8nRkQQMaSOND4JWxJtNI X-OriginatorOrg: agilent.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Aug 2026 19:46:29.7325 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 459cc9e4-ea65-47cc-e66d-08df02e18ee7 X-MS-Exchange-CrossTenant-Id: a9c0bc09-8b46-4206-9351-2ba12fb4a5c0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=a9c0bc09-8b46-4206-9351-2ba12fb4a5c0;Ip=[192.25.218.36];Helo=[wpcosapexchedg5.windmz.agilent.com] X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TreatMessagesAsInternal-BY1PEPF000264B1.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB7703 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 25 Aug 2026 19:46:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/20044 From: Chris Laplante Before this patch, RunQueueScheduler.prio_map was incorrectly initialized as a list with a single element, the dictionary keys view. It broke like so: ERROR: An uncaught exception occurred in runqueue Traceback (most recent call last): File "/home/laplante/repos/bitbake/lib/bb/runqueue.py", line 1663, in execute_runqueue return self._execute_runqueue() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/laplante/repos/bitbake/lib/bb/runqueue.py", line 1629, in _execute_runqueue retval = self.rqexe.execute() ^^^^^^^^^^^^^^^^^^^^ File "/home/laplante/repos/bitbake/lib/bb/runqueue.py", line 2357, in execute task = self.sched.next() ^^^^^^^^^^^^^^^^^ File "/home/laplante/repos/bitbake/lib/bb/runqueue.py", line 308, in next return self.next_buildable_task() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/laplante/repos/bitbake/lib/bb/runqueue.py", line 285, in next_buildable_task self.rev_prio_map[tid] = self.prio_map.index(tid) ^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: '/home/laplante/repos/bitbake/lib/bb/tests/runqueue-tests/recipes/a1.bb:do_fetch' is not in list The other schedulers don't have this problem because they overwrite prio_map. AI-Generated: GPT-5.6 Sol Signed-off-by: Chris Laplante --- lib/bb/runqueue.py | 2 +- lib/bb/tests/runqueue.py | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index 544081053..c2e6561ec 100644 --- a/lib/bb/runqueue.py +++ b/lib/bb/runqueue.py @@ -154,7 +154,7 @@ class RunQueueScheduler(object): self.rqdata = rqdata self.numTasks = len(self.rqdata.runtaskentries) - self.prio_map = [self.rqdata.runtaskentries.keys()] + self.prio_map = list(self.rqdata.runtaskentries.keys()) self.buildable = set() self.skip_maxthread = {} diff --git a/lib/bb/tests/runqueue.py b/lib/bb/tests/runqueue.py index 74f5ded2e..42c02cd15 100644 --- a/lib/bb/tests/runqueue.py +++ b/lib/bb/tests/runqueue.py @@ -63,6 +63,15 @@ class RunQueueTests(unittest.TestCase): self.shutdown(tempdir) + def test_basic_scheduler(self): + with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir: + cmd = ["bitbake", "a1"] + tasks = self.run_bitbakecmd(cmd, tempdir, extraenv={"BB_SCHEDULER": "basic"}) + expected = ['a1:' + task for task in self.alltasks] + self.assertEqual(set(tasks), set(expected)) + + self.shutdown(tempdir) + def test_single_setscenevalid(self): with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir: cmd = ["bitbake", "a1"] From patchwork Tue Aug 25 19:45:46 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "chris.laplante@agilent.com" X-Patchwork-Id: 96309 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 99EE0C61DBD for ; Tue, 25 Aug 2026 19:46:46 +0000 (UTC) Received: from SN4PR2101CU001.outbound.protection.outlook.com (SN4PR2101CU001.outbound.protection.outlook.com [40.93.195.35]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.30463.1787687197196140647 for ; Tue, 25 Aug 2026 12:46:37 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@agilent.com header.s=selector1 header.b=mvHJRMQ0; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: agilent.com, ip: 40.93.195.35, mailfrom: chris.laplante@agilent.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=pNDfthDuOpWsEcLsOZOkitWPVsjAKjLRXYshLdctdaR1rX2Ry0hPFaD3pANPw/Rnn5Kbs3TrLvfXdHLe76Jckj7fJyRNlvBEWKBuw67U5tkAZkXWPLrAQK/EFjEQ099UYzJ0fr1Qt7MN+c5kKX7TcAzHBtf7eeAujUxN4wkprwMG6EgRwensIyqaiKoIOKjCRblScOngSvPG1cm9Ir7ON76qB/pjsMyEqww39wUiTSWwADm3GtwLIQhw5llKIEn30+OGSTCYdI++YIEMfhML2ybLfL6JgIRK+M3RPCZpQT5u9Lr2Yw0d22yi/FvQADCWtFCb0qg6KlHBtpkiyy4tYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=RitnppaGWaGrVPJYGJS+y5CSGVZ+/Qned3jD29sojtk=; b=WWwO2h2FeXuudf6zZKUMEJX6FuEVOvnNoasxpFUmHmv8YNuaJLU035jfNv1yyzuNP+/t5oR/KaBGgOJMIMstMNRYhr81rXyfGWFYqt1K2oSTyGGDIl/WyaAbwPA7PVRL6pOSVdGD4/Zu3Igmc2bk/LyhcaaOYDoTOkHEFl14bxP1VLGmT6dVatkCKIiR7OCzaVr1XEl9O+cjZchprEsPpaIDfODWygONdGl4yHTchRbLMewiBU2o03NXa/Pn3HernibIQHkr+tNaoL+7kUoW0FwtcRCs96fwzGQSCg2+hK5HdHezxaba6OR/f0L+5gPR0kd1pm2xUvuKuSOoOK/1uQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 192.25.218.36) smtp.rcpttodomain=lists.openembedded.org smtp.mailfrom=agilent.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=agilent.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agilent.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RitnppaGWaGrVPJYGJS+y5CSGVZ+/Qned3jD29sojtk=; b=mvHJRMQ0hCmCkOwA8khLAwHQyR2RJjGXWifPtLg+YgDeKE5kYJME22KdjhxLQ/Br9lnZeHndOwi41jO6yjQs4gVON9+yccOU7f4/bljqpNAZn/AQPZhEN4bGKuVD7fCkzsd7Vjxqzv5xJVSnxnaTkRjmJ9BlKVOkwhItxN2keU+28Z9cEMBn48w2CSVnczdMSjIbM51iWCJ471OF/ZdW/WMXYwmupER+W5bv+UJqEGout0Mb1Drxgo8iQ9k/8tPUWNHyOXzfzTvlYqaDb7lvZtQqI2LOy89K7cqf3WVCnruXi3r2XWSwPodGz81dfb6neh2NipCqp8Od5wt61GLLqg== Received: from SJ2PR07CA0021.namprd07.prod.outlook.com (2603:10b6:a03:505::23) by BL1PR12MB5827.namprd12.prod.outlook.com (2603:10b6:208:396::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.339.12; Tue, 25 Aug 2026 19:46:30 +0000 Received: from BY1PEPF000264B5.namprd02.prod.outlook.com (2603:10b6:a03:505:cafe::19) by SJ2PR07CA0021.outlook.office365.com (2603:10b6:a03:505::23) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.360.6 via Frontend Transport; Tue, 25 Aug 2026 19:46:30 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 192.25.218.36) smtp.mailfrom=agilent.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=agilent.com; Received-SPF: Pass (protection.outlook.com: domain of agilent.com designates 192.25.218.36 as permitted sender) receiver=protection.outlook.com; client-ip=192.25.218.36; helo=wpcosapexchedg5.windmz.agilent.com; pr=C Received: from wpcosapexchedg5.windmz.agilent.com (192.25.218.36) by BY1PEPF000264B5.mail.protection.outlook.com (10.167.242.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.360.3 via Frontend Transport; Tue, 25 Aug 2026 19:46:29 +0000 Received: from laplante-B650.lfs.agilent.com (192.25.126.5) by edgeappmail.agilent.com (192.25.218.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.41; Tue, 25 Aug 2026 13:45:58 -0600 From: To: CC: Chris Laplante Subject: [PATCH 3/6] runqueue: use set 'discard' method instead of 'in' followed by 'remove' Date: Tue, 25 Aug 2026 15:45:46 -0400 Message-ID: <20260825194549.152553-3-chris.laplante@agilent.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260825194549.152553-1-chris.laplante@agilent.com> References: <20260825194549.152553-1-chris.laplante@agilent.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY1PEPF000264B5:EE_|BL1PR12MB5827:EE_ X-MS-Office365-Filtering-Correlation-Id: 811e7899-bc97-411d-5454-08df02e18f0a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|1800799024|36860700016|376014|23010399003|6133799003|10067099003|56012099006|11063799006|18002099003|22082099003; X-Microsoft-Antispam-Message-Info: WXFGj62tdBQKBW5PKNRVX1osLydruCg2J5266OryyKZC1Aamd8ijhc9lLnFvG0jV5R2yPynjq3B3WcHRgJMb1AkA1+yUJNNUk24QL9LEr3M7Nsx3lzFMIK8zwUbjgzJVl4uwYgrYeBT7xEIM6gJEru5VLxo3zPb7uKW5bSzt8+e1yZ5EfNdiQx1Uo3UvjvmKp/GKzoNTXHugNVdPaPjECxFmTtKLCNJwMDWmqmrTSBy4Qx4NlSfky0rG6+KxZrpMJ9CfH+npnXeVPBdpBc/UtjcFUEY0qBXcy0XhncrbrWuHAQ+IdIgISB9JAvV732DfMapmIwO8AqvORtFDOt9kLFWtcYNPninwK/kJglvWovapoxyvTbo6AcdqVGh54Z/+oit90yAoF7GPWdpMFWjvJCJwXO6M2+Uiiwy5d19IKVAhEKYkipjo/6g8swF6KI4xSg6hGpQEFgBQhIXrQnkJewrR53Ccp/QnCUffvvDz9B0n+QDZpHOgukNaP0F96FNJVOBss89uFkdlhTZfzmFq2pFs0CeTxl0jFq9blc5kxzjC57Ao1YMv7bdNNyumkVcEjWhCkKQcpnekEz/6BRelsQ/A86zXNf9NwSaw7HjKd9e2kT2Sk4MNrgKjoxpDs/hLDsyNZJoP6aHgVFIpTwLhng+quPZjU6PJy2ohzpy3MRFkHzeR3upIfZRktUIagH0m X-Forefront-Antispam-Report: CIP:192.25.218.36;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:wpcosapexchedg5.windmz.agilent.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(82310400026)(1800799024)(36860700016)(376014)(23010399003)(6133799003)(10067099003)(56012099006)(11063799006)(18002099003)(22082099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: bdb8MtWADc6q/29T91uTd88eW33TTZqIqYZ3TCgDIzRVqaaXVEP9CUN+U7Q2LZzPmr296EZoVivU77hsjvkogEa2LwK40qjKhtB67KDC8t9b2IqrEB/26FfFXcQp+lbIoSVkypCzsyXJqbCEcrhhhkhrm9Zn2EZlv3glJLzqdipd7gf+h2QaQAO2Ec9h5Gg8UwrsiQphuILjeF69agMgjefy5N4C42mKLiMo0eiHJkc6LHisKb04cOGqd5++rahqTws8/+AqaTNvWvZHApChoGU4mCOd7Zfj23FeS6k9VIRX/umMwGhdViO+wufAMaL2Sxo+sFu0szNkSJeZduOv0I9dc+vP2xFFv4xq1RUrZ1/aZpqU5vTt7gChAoDFw5JYQUgK7SsuZXrYPkz3kJGeAyncxghOoi7YPFRomeX5yE5U2KpqOW9ksTVd1+46t7Oc X-OriginatorOrg: agilent.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Aug 2026 19:46:29.9552 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 811e7899-bc97-411d-5454-08df02e18f0a X-MS-Exchange-CrossTenant-Id: a9c0bc09-8b46-4206-9351-2ba12fb4a5c0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=a9c0bc09-8b46-4206-9351-2ba12fb4a5c0;Ip=[192.25.218.36];Helo=[wpcosapexchedg5.windmz.agilent.com] X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TreatMessagesAsInternal-BY1PEPF000264B5.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR12MB5827 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 25 Aug 2026 19:46:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/20043 From: Chris Laplante It makes the code easier to read and is slightly faster. Signed-off-by: Chris Laplante --- lib/bb/runqueue.py | 39 +++++++++++++-------------------------- 1 file changed, 13 insertions(+), 26 deletions(-) diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index c2e6561ec..245492de7 100644 --- a/lib/bb/runqueue.py +++ b/lib/bb/runqueue.py @@ -873,8 +873,7 @@ class RunQueueData: for dep in revdeps[tid]: cumulativedeps[dep].add(fn_from_tid(tid)) cumulativedeps[dep].update(cumulativedeps[tid]) - if tid in deps[dep]: - deps[dep].remove(tid) + deps[dep].discard(tid) if not deps[dep]: next.add(dep) endpoints = next @@ -2687,8 +2686,7 @@ class RunQueueExecute: self.pending_migrations.remove(tid) changed = True - if tid in self.tasks_scenequeue_done: - self.tasks_scenequeue_done.remove(tid) + self.tasks_scenequeue_done.discard(tid) for dep in self.sqdata.sq_covered_tasks[tid]: if dep in self.runq_complete and dep not in self.runq_tasksrun: bb.error("Task %s marked as completed but now needing to rerun? Halting build." % dep) @@ -2700,18 +2698,12 @@ class RunQueueExecute: if dep in self.tasks_scenequeue_done and dep not in self.sqdata.unskippable: self.tasks_scenequeue_done.remove(dep) - if tid in self.sq_buildable: - self.sq_buildable.remove(tid) - if tid in self.sq_running: - self.sq_running.remove(tid) - if tid in self.sqdata.outrightfail: - self.sqdata.outrightfail.remove(tid) - if tid in self.scenequeue_notcovered: - self.scenequeue_notcovered.remove(tid) - if tid in self.scenequeue_covered: - self.scenequeue_covered.remove(tid) - if tid in self.scenequeue_notneeded: - self.scenequeue_notneeded.remove(tid) + self.sq_buildable.discard(tid) + self.sq_running.discard(tid) + self.sqdata.outrightfail.discard(tid) + self.scenequeue_notcovered.discard(tid) + self.scenequeue_covered.discard(tid) + self.scenequeue_notneeded.discard(tid) (mc, fn, taskname, taskfn) = split_tid_mcfn(tid) self.sqdata.stamps[tid] = bb.parse.siggen.stampfile_mcfn(taskname, taskfn, extrainfo=False) @@ -2975,8 +2967,7 @@ def build_scenequeue_data(sqdata, rqdata, sqrq): sq_collated_deps[tid] = set() #bb.warn("Added endpoint 2 %s" % (tid)) for dep in rqdata.runtaskentries[tid].depends: - if tid in sq_revdeps[dep]: - sq_revdeps[dep].remove(tid) + sq_revdeps[dep].discard(tid) if dep not in endpoints: endpoints[dep] = set() #bb.warn(" Added endpoint 3 %s" % (dep)) @@ -3000,8 +2991,7 @@ def build_scenequeue_data(sqdata, rqdata, sqrq): sq_revdeps_squash[point] = tasks continue for dep in rqdata.runtaskentries[point].depends: - if point in sq_revdeps[dep]: - sq_revdeps[dep].remove(point) + sq_revdeps[dep].discard(point) if tasks: sq_revdeps_squash[dep] |= tasks if not sq_revdeps[dep] and dep not in rqdata.runq_setscene_tids: @@ -3150,12 +3140,9 @@ def update_scenequeue_data(tids, sqdata, rqdata, rq, cooker, stampcache, sqrq, s tocheck = set() for tid in sorted(tids): - if tid in sqdata.stamppresent: - sqdata.stamppresent.remove(tid) - if tid in sqdata.valid: - sqdata.valid.remove(tid) - if tid in sqdata.outrightfail: - sqdata.outrightfail.remove(tid) + sqdata.stamppresent.discard(tid) + sqdata.valid.discard(tid) + sqdata.outrightfail.discard(tid) noexec, stamppresent = check_setscene_stamps(tid, rqdata, rq, stampcache, noexecstamp=True) From patchwork Tue Aug 25 19:45:47 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "chris.laplante@agilent.com" X-Patchwork-Id: 96313 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2354C61DBD for ; Tue, 25 Aug 2026 19:46:56 +0000 (UTC) Received: from BN1PR04CU002.outbound.protection.outlook.com (BN1PR04CU002.outbound.protection.outlook.com [52.101.56.59]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.30473.1787687210782652885 for ; Tue, 25 Aug 2026 12:46:50 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@agilent.com header.s=selector1 header.b=qwPDzCVG; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: agilent.com, ip: 52.101.56.59, mailfrom: chris.laplante@agilent.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=FWxNcpsJscy3aBmtuGkheKAl8NfPUSRkiZA06LVGDoYp4w8HPA1qJIo888DgpfU431NfRcZc+xvnucDFgE/tymRDk8u0/FlE6g/QxFhk3wj8W1jRfmPgV97ISl2uVsYkYyyhwEhWgTk0MxeokhOJ6elHrTZJppcd3yYlV/wmkUqCWHbwZbXPbIoH8XIsfS7Uu7Jr0CHHeAFFp/PGajwOsiwL7mg8/WT8uc5lYj3IwL2G4dZu4tvBBIcHYrv5fngOhvS9P+yDZG8DvsJv3wZizNk31Pn2JlSNelHqi8XL6Wgss1zL4cDKPPNO2A95vYjck7ZTbp3DlhT910OA/KzYgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=ZzFT6f1BwYJEGw52P0vqlgd6oELZ46KARJ4+7DpKiaw=; b=yCpqHwypRBjMhvNGKE+O60j1q4zJAkfNrEvJmZklEO07nW5UU9tMbFR2hvecUPO56laz7wr/GneF7mU1WQJiOhazLOnujNTfdHqN3Xpn2dnKniJ+5i9Lqrnk2zCvZ8fjbcm+QbbN2URBauMv+PN0/CsYSvEtZ0FFRm6z97SrOo6ehGDHVavZ26JsVzBDdh7UncK8Olae1yLB8wZG5SLsFTeufjBbn8vguad4rYpKVWmc7QeYk1PLCW2acAo3iquQG6O7EFlVwIBgNeihAQRhObj3fjzW8To7X+Egi0lsiORmJfBT8mYM/pKsGTJGIsBSF4eCfNCKugYSRiiSuY5Duw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 192.25.218.36) smtp.rcpttodomain=lists.openembedded.org smtp.mailfrom=agilent.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=agilent.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agilent.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZzFT6f1BwYJEGw52P0vqlgd6oELZ46KARJ4+7DpKiaw=; b=qwPDzCVG05f3WK1ANo0F5fEyVRiWxDmI9B/KPnYL9d5kqk5M7f2f/ws2FTaDqzOxPq7JcitIQtczRN4464CTITnaoxdubt3GliXY6oAt/I4UybqIlgX7hPqZX8rN/nZ/3X3z1Dpd0WqM58pMopSqjBS4aX85l1fjPU1K8uigtX0G2um6dLjiQ9ZHlmOrFHO9ONUKe+O3fwi08G0eH2Qj6CAxg4+bzOgv1VTeIOZ/rrY/PJnfAu44/7W6+HEiAjPw4UtMih66XMNGVGpu61KKrhS/35aW6vIpO5gT5VYixObEDiz7QQ6L+O2HrcqB0OF1qYxVfKUbrBGKf2waSA+LFg== Received: from SJ2PR07CA0015.namprd07.prod.outlook.com (2603:10b6:a03:505::28) by DM4PR12MB6565.namprd12.prod.outlook.com (2603:10b6:8:8c::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.360.7; Tue, 25 Aug 2026 19:46:30 +0000 Received: from BY1PEPF000264B5.namprd02.prod.outlook.com (2603:10b6:a03:505:cafe::5e) by SJ2PR07CA0015.outlook.office365.com (2603:10b6:a03:505::28) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.360.7 via Frontend Transport; Tue, 25 Aug 2026 19:46:30 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 192.25.218.36) smtp.mailfrom=agilent.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=agilent.com; Received-SPF: Pass (protection.outlook.com: domain of agilent.com designates 192.25.218.36 as permitted sender) receiver=protection.outlook.com; client-ip=192.25.218.36; helo=wpcosapexchedg5.windmz.agilent.com; pr=C Received: from wpcosapexchedg5.windmz.agilent.com (192.25.218.36) by BY1PEPF000264B5.mail.protection.outlook.com (10.167.242.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.360.3 via Frontend Transport; Tue, 25 Aug 2026 19:46:30 +0000 Received: from laplante-B650.lfs.agilent.com (192.25.126.5) by edgeappmail.agilent.com (192.25.218.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.41; Tue, 25 Aug 2026 13:45:58 -0600 From: To: CC: Chris Laplante Subject: [PATCH 4/6] build: localize import of bb.progress Date: Tue, 25 Aug 2026 15:45:47 -0400 Message-ID: <20260825194549.152553-4-chris.laplante@agilent.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260825194549.152553-1-chris.laplante@agilent.com> References: <20260825194549.152553-1-chris.laplante@agilent.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY1PEPF000264B5:EE_|DM4PR12MB6565:EE_ X-MS-Office365-Filtering-Correlation-Id: 84d55545-2d44-4b5e-096d-08df02e18f81 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|36860700016|23010399003|376014|1800799024|10067099003|56012099006|11063799006|18002099003|22082099003; X-Microsoft-Antispam-Message-Info: dwHOPwNAC2nrg7ayuMX6sQf7jWX21l1WN6iKwy/axlnt7FVgKhZjWs27cFE5dWUROVclUo04TxYkA9P+lKkdlSb+h8XvfWXl+jkZZRZStr+HdpHcy7EPNi1j8GiojK/G3K+0zQbXACJfMckUB5pFjksPq43FCq+4R70Enrm0ezl6SmoB3yGbvINuE36ekM2ACHD+4Qnc47/LzHy49CUod/ZefTQq4YimU/Vo5UytISenNdXrYfAIpjb34TXhI4ikeTBNPtoXj+kMVeL8XbBsY8yH/lpnB69phkScy+9AkF9bqbdg84+1YKWd6vpMYLhVhS1/C/hGCsxcBDo45vg2wXzQm32l4oAP9KY88QNbR46DAH+/3b616gFp1QsSd6nDw7He9CLXhXoNfshSPKvrK6J0zxQAj1ojTBxcuFY4xMties2ixafkpB3L13fnd8br6TOvwgv/gBHJkA58NGB8N6iqtHqB1wdt7NbefdCi3fBOknWOdX6J+ALnVymbe8yHws7LuNpHx0C0422K8VoJYZOToj6GakyfRhqREiHrl4eU9EMLHBV5Z9qyvMgbTJz7EgYuM3X63UMKg4jfgVel2eVcsEdMV+fQXRKK0gdwhJ8Es3JF9zCEgYNiGzrY8N9ptU4YfLITF2jlbB1vYIpVc5N2YjNCgzW62sRMqoh9IHXgfnPu4LbEOOnz4c5S5LzKrTJqXlm9Qi0Jmn7s5eUVyQ== X-Forefront-Antispam-Report: CIP:192.25.218.36;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:wpcosapexchedg5.windmz.agilent.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(82310400026)(36860700016)(23010399003)(376014)(1800799024)(10067099003)(56012099006)(11063799006)(18002099003)(22082099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 0OwLvO+SklLmL20xGLP9aPEkNI6QE6Mr6jtVzKZxqFCqK7Q8oW7VtsGOakxHjpPcPYcnntB3OhDoajrRNYtLIOyKxJ6oHXzDSoiijE1hxECe2KKci9HNKSrMUzYqloLlcconTppHEHq/IgcQA5tMXHw9uXiAYZcBekKMDYn/DN9pEG1nNB+ig705MjXgZnoIklQ/jDJSES/zeNcetDB0ZYqj71NDoAq8K0OC2rkRUpKqSsEhohyvd7ENMnVae1h3k38GjGiEDafS5MPgg7TlMIHMxdGhGkRlIcXK0AnIX0oT29ayJjjpLytDNmx0yb/5GNPaUqWx+CAwkUBSQJJ9S4mf5bqFmqzJpEWMJYxS5Nb3veGab67dmeC/RoK6oW59rdviBeDIEXUy2pWbY+rAojCqAyG71JjvmWuOXiAsbZfJ3TSoCZ3rY9rcRyPAxTdE X-OriginatorOrg: agilent.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Aug 2026 19:46:30.7317 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 84d55545-2d44-4b5e-096d-08df02e18f81 X-MS-Exchange-CrossTenant-Id: a9c0bc09-8b46-4206-9351-2ba12fb4a5c0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=a9c0bc09-8b46-4206-9351-2ba12fb4a5c0;Ip=[192.25.218.36];Helo=[wpcosapexchedg5.windmz.agilent.com] X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TreatMessagesAsInternal-BY1PEPF000264B5.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB6565 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 25 Aug 2026 19:46:56 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/20048 From: Chris Laplante It is only needed by create_progress_handler so just move it in there. This resolves a circular import between bb.build and bb.progress (currently being masked by the 'fetch' vs 'fetch2' shim in bb __init__.py) as well. Signed-off-by: Chris Laplante --- lib/bb/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bb/build.py b/lib/bb/build.py index 40839a81b..8b49721d6 100644 --- a/lib/bb/build.py +++ b/lib/bb/build.py @@ -24,7 +24,6 @@ import datetime import bb import bb.msg import bb.process -import bb.progress from io import StringIO from bb import data, event, utils @@ -387,6 +386,7 @@ esac ''' def create_progress_handler(func, progress, logfile, d): + import bb.progress if progress == 'percent': # Use default regex return bb.progress.BasicProgressHandler(d, outfile=logfile) From patchwork Tue Aug 25 19:45:48 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "chris.laplante@agilent.com" X-Patchwork-Id: 96312 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id B5BAFC61DC2 for ; Tue, 25 Aug 2026 19:46:46 +0000 (UTC) Received: from BN1PR04CU002.outbound.protection.outlook.com (BN1PR04CU002.outbound.protection.outlook.com [52.101.56.0]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.30466.1787687198731933105 for ; Tue, 25 Aug 2026 12:46:38 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@agilent.com header.s=selector1 header.b=SZqE24uA; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: agilent.com, ip: 52.101.56.0, mailfrom: chris.laplante@agilent.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=c+z/Q7i8OwMCMzwnkADPSPt0prgX0YXhhoC+HKlpLpSFupYppEiLtkzc9Spwz/giw5esriK1q1Gw/XBmvP/+tqs4VhvWWAYmZ/ETd8iFnU6Rob+47L/zDM6aEMsnS4/rIotbop9wiLxQMI9AAN6UgzT66eERnt+b4cLFOd+hmjgO+1ZJ4bLT+5ZiI/LWuGGp7wur8z5nt8VXGSxC8BSgUUgE8lXQCwR190GAIY5xcIsJk4HLbbZqa/3ZP1+Bp6kWiWqve9yHVY4jR7GgdpvEW8LpLkhwZZZfq3M8tqWy37rYn+wRY4FgdoSpj9BXAU/z05dY+wof6mo9oFyOwiyRPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=xUWEk7DzVjp3P2MjTAVPnmVSg0c70Wzxo7LxKXIEC+I=; b=uEEOTRxH6yMZzS4oFnEFsPGOAeWzkCeDYpoT5j8Yr/exhfKukhx3dwenYs3XweMyTrkYrxNJyvTMfGChxew6dll2nyZUfoScmLbOsveeingrYGL0d5IIB/4erBi0HV1PPrqZH/nlA6JxNLdI8aPoxXx6uYBrJZSD5K2H3+Fz0Og6F4JUSvwyq8Bi5XSfOLOldI5wxKYf758TsfMNIO04OXIc/X+nIm0/sszUSBOjnwql+/bHBN4qpcLMxjtz/6APHJi77PsOzXctjnPCEHcXbvWw77WderEvYjGmmWEgmFJHO6L/YHU7hbBrvTH1+6uBHDfBjEw3bMTr02RkEZP5mA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 192.25.218.36) smtp.rcpttodomain=lists.openembedded.org smtp.mailfrom=agilent.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=agilent.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agilent.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xUWEk7DzVjp3P2MjTAVPnmVSg0c70Wzxo7LxKXIEC+I=; b=SZqE24uAC8wWVNY9i715HcBogKu95nQCa3E93GCoqwj4s8GS/tuBTVFzY3DTKJXfyhk9rBHEAKYrMEwhDAFKR4VRGs3Tsgge9bX2uFeijGEafCPEfr1wvhplvKquuECRxsVCKuknUVYlyFCnvjiKayKcU1orS++/b/H8ukpokpctXJfvJ4GSP63aSFDgaGKwCWKoPSkd/6ZoIRLCK0WwlXNIq0tp1HmHdq+D3tIl+YHlTu3qoHkKEQf1Theg6Tnp9VWCxNfj7kIg39Kn/LavHGTa6SS3b22WBw/B6U9PQKMzzKyCaGQj4fLbp4gT865MTAMmK+jCBQ8l+aEGP355QA== Received: from SJ0PR03CA0005.namprd03.prod.outlook.com (2603:10b6:a03:33a::10) by PH7PR12MB5687.namprd12.prod.outlook.com (2603:10b6:510:13e::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.339.8; Tue, 25 Aug 2026 19:46:33 +0000 Received: from BY1PEPF000264B1.namprd02.prod.outlook.com (2603:10b6:a03:33a:cafe::8) by SJ0PR03CA0005.outlook.office365.com (2603:10b6:a03:33a::10) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.360.7 via Frontend Transport; Tue, 25 Aug 2026 19:46:33 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 192.25.218.36) smtp.mailfrom=agilent.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=agilent.com; Received-SPF: Pass (protection.outlook.com: domain of agilent.com designates 192.25.218.36 as permitted sender) receiver=protection.outlook.com; client-ip=192.25.218.36; helo=wpcosapexchedg5.windmz.agilent.com; pr=C Received: from wpcosapexchedg5.windmz.agilent.com (192.25.218.36) by BY1PEPF000264B1.mail.protection.outlook.com (10.167.242.117) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.360.3 via Frontend Transport; Tue, 25 Aug 2026 19:46:33 +0000 Received: from laplante-B650.lfs.agilent.com (192.25.126.5) by edgeappmail.agilent.com (192.25.218.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.41; Tue, 25 Aug 2026 13:45:59 -0600 From: To: CC: Chris Laplante Subject: [PATCH 5/6] __init__.py: add missing import bb.event Date: Tue, 25 Aug 2026 15:45:48 -0400 Message-ID: <20260825194549.152553-5-chris.laplante@agilent.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260825194549.152553-1-chris.laplante@agilent.com> References: <20260825194549.152553-1-chris.laplante@agilent.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY1PEPF000264B1:EE_|PH7PR12MB5687:EE_ X-MS-Office365-Filtering-Correlation-Id: a722f5af-0729-4ba1-f47e-08df02e19137 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|82310400026|1800799024|36860700016|23010399003|18002099003|10067099003|11063799006|56012099006|22082099003; X-Microsoft-Antispam-Message-Info: 8BvuLpjAljOh+HdZtveB5wOpQyxgx87zvWI5Rh2wxY+DDMXB+bO9rCrcgqb650S24MnxajSqCdvT3owxetqBHxLDL61iIFtbJiaNTBDA7Acq1TlVLhHFxSbVEM5yqEwPEvPYA7zqTj0Io1YaIAL4R17GSogc11AoI26auWIbGIzh74g8CckLcZr79Kvox9pLsGGplB6Edfbp0TLyW8gro4ppXvYwEjU+wryusJL3hva++Y3fFK52HbGbb5cft9FXDfffJcmEvexwLUly0CsS4z8pYA5TrItik8sYXvrTrvdZfX5GeHAAcqCJuVKMLyDhv3d/gq1dGpSE3j1FFYlLklT5QkslaImRJ4XFQesvSNnZZ1aMJCMMF0umJ4uuQRgSSW2866Nrp4p1dUNB6tTG1ZGxn/WseEES9RDh3yjcYYbTIuMdj77bBhqE2AMzvBncuBMKMhRZW8UADKuyqij/B1KEZFWV5bDn+tPwCOQvXFTA3P6QCE21+RyP8Aj/ig6cTGj82NdNEu1GzkhElJFPHPk8XpznAFKokODdOL7jtJacdg6FVq9gS1EOVdlCTxOhUjhWy8OFtGYnLrn0AIRVGYlXQD65JYd0Fr4h15p+uQknkJB9H/Vcn/8VHvs0TavielifQlOyftGITffI/IgIeBDghrfMP8XlxVkFZ2oPYpT8lVo+68C+nEXyk+RiOMa5m20AZXWv0iKeTQTHpdUgHw== X-Forefront-Antispam-Report: CIP:192.25.218.36;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:wpcosapexchedg5.windmz.agilent.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(376014)(82310400026)(1800799024)(36860700016)(23010399003)(18002099003)(10067099003)(11063799006)(56012099006)(22082099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Io6Gmv8a1hIy6wcOISpFGwX80GB5Zl/a5oaDgylPRwAq8b7nH74UR+E1/psDuXGmh39K9MahQ1mhxrsz4Bm0eKJWQhInCUbH8MDiXReFXAGqGs3OjlJiw1SfD4IroYQoB7GKl8nDw/acvAMz/81XwGW6qaZwQZcBUigPzBwuXSMp4ogA6v3I7Sf5wag9mPAEtP3xjkbGoUs9vJ4av58xIfyv51iyeTjoKcnHs/MLIX+dM9Iu3O8n8CcJKNUDMMbYN4bNXeq/cfiqFLlb8/Wz58F+oDTZPBdlQyKZQXuCZQhEa3gaq39iqDNWajJuLdvKASyB2dkydKaMVE5N40yeDXVS6G2c9M+yvKFftcqJcB6uiM1jgNXWVi8vXoY8pBNbluwKtkuHPCPaiiQxJYYSFU6Qg5aevXmClh17CfxMq5YkjY3ORpALBRTnJ6j23DJP X-OriginatorOrg: agilent.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Aug 2026 19:46:33.6035 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a722f5af-0729-4ba1-f47e-08df02e19137 X-MS-Exchange-CrossTenant-Id: a9c0bc09-8b46-4206-9351-2ba12fb4a5c0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=a9c0bc09-8b46-4206-9351-2ba12fb4a5c0;Ip=[192.25.218.36];Helo=[wpcosapexchedg5.windmz.agilent.com] X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TreatMessagesAsInternal-BY1PEPF000264B1.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB5687 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 25 Aug 2026 19:46:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/20045 From: Chris Laplante Signed-off-by: Chris Laplante --- lib/bb/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/bb/__init__.py b/lib/bb/__init__.py index bc5e9d82b..a9c31815a 100644 --- a/lib/bb/__init__.py +++ b/lib/bb/__init__.py @@ -90,6 +90,7 @@ class BBLoggerMixin(object): return self.bbdebug(3, *args, **kwargs) def bbdebug(self, level, msg, *args, **kwargs): + import bb.event loglevel = logging.DEBUG - level + 1 if not bb.event.worker_pid: if self.name in bb.msg.loggerDefaultDomains and loglevel > (bb.msg.loggerDefaultDomains[self.name]): From patchwork Tue Aug 25 19:45:49 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "chris.laplante@agilent.com" X-Patchwork-Id: 96311 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E6241C61DCA for ; Tue, 25 Aug 2026 19:46:46 +0000 (UTC) Received: from SA9PR02CU001.outbound.protection.outlook.com (SA9PR02CU001.outbound.protection.outlook.com [40.93.196.8]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.30470.1787687202800229769 for ; Tue, 25 Aug 2026 12:46:45 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@agilent.com header.s=selector1 header.b=Gqbreq3f; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: agilent.com, ip: 40.93.196.8, mailfrom: chris.laplante@agilent.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=TlC05DhS654SzM4oUuN3j920/Xm5qM9w8muVbg5+j5Sxw+SN7IdsipnuXFw2B4aLKhp2xpEHLJA7PR99k0ZOzmTfdqJfrT6q68/ZUHQv+3+dnSGEQhFQtAkUK0A1nvHUf4VMF17L3BXBQlTvtTvbTm4Wl2qCkP2iLRUMaoqbc42vfTELOEcKxhkn/ZmvS3wScq3vG0Cju00+9bFHvc8kg7WddLoNpPfQRk+6+HRwEeQiqgqjG3XhZYDW529oYJBMCJWoqQ46h1nH6h90IMDag4TI+6bmcStFSOvf52na1LKoX2L5V6T9YUNhmZH9RvVqjWcrAHMq3ilpDu3r/X0mdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=dekyU+sZFDlO44HxK4xlTLdyZR/RYfIGv8YSWzFa0XI=; b=v1aabnaOpiScBRCnzwArLRTJnMOSeY1h9jrzWF1XL41ka9uxJKeIc+I9UNE8izOpdf8dQeRPHuPGSFeZUES3b+bXdoZYA0mJvzNRiQLHZeVxL5lQWB4M2HCTDjY4ftvHwsJbA7kAwEChssf6vzvNUm2mkb1S8d/hApBOqwG9eAj5TsSoPCsG8C2FXr2qm8KgxeuGWOswXHPVzMERKP83tCU/yfpCDS+jTYvw0l0kG9uVDFnbYmrQAKbunk9x89PhoyJjZj3vSLUo6DneEKGNNlVfk/l636auhuTP8qi6KCzoIfB80wzDXnjJDw1Q48ildsrU2yj4QR5NiXveDO0t2g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 192.25.218.36) smtp.rcpttodomain=lists.openembedded.org smtp.mailfrom=agilent.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=agilent.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agilent.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dekyU+sZFDlO44HxK4xlTLdyZR/RYfIGv8YSWzFa0XI=; b=Gqbreq3f/4w9YN6eG4nMNFVMHP16lzF00JSKH/aZFahcTd8xLshiKnaZ9YCW+AnqPSAXXPbDmGnYYpCK9kgup6+/WFFfOMT2dIBISqGNTYMLdk0K4APeskW1OrumjD8WuPuMb071FPgHfePTm5KCewoVGKziuiFYyWr+kK0rhmmAlWkgY5BpOkg3Xa41b9g2XIBEyUkHN4ZpnUx/F38ikISRshv20DJ8nV/Z9eFZkizoMIb9GDLB2Zp5c3TYxjRdgXejJu8wd5XJ0m2Qx4zXTXwY9v0pgmkcSmGal7Ts7sOtZEp6f819qcKpEkEjTurhKdlik9OKmAfrljxh05m6Hw== Received: from SJ0PR03CA0002.namprd03.prod.outlook.com (2603:10b6:a03:33a::7) by PH8PR12MB7136.namprd12.prod.outlook.com (2603:10b6:510:22b::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.360.6; Tue, 25 Aug 2026 19:46:35 +0000 Received: from BY1PEPF000264B1.namprd02.prod.outlook.com (2603:10b6:a03:33a:cafe::7e) by SJ0PR03CA0002.outlook.office365.com (2603:10b6:a03:33a::7) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.339.12 via Frontend Transport; Tue, 25 Aug 2026 19:46:34 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 192.25.218.36) smtp.mailfrom=agilent.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=agilent.com; Received-SPF: Pass (protection.outlook.com: domain of agilent.com designates 192.25.218.36 as permitted sender) receiver=protection.outlook.com; client-ip=192.25.218.36; helo=wpcosapexchedg5.windmz.agilent.com; pr=C Received: from wpcosapexchedg5.windmz.agilent.com (192.25.218.36) by BY1PEPF000264B1.mail.protection.outlook.com (10.167.242.117) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.360.3 via Frontend Transport; Tue, 25 Aug 2026 19:46:34 +0000 Received: from laplante-B650.lfs.agilent.com (192.25.126.5) by edgeappmail.agilent.com (192.25.218.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.41; Tue, 25 Aug 2026 13:45:59 -0600 From: To: CC: Chris Laplante Subject: [PATCH 6/6] cookerdata: cleanup imports Date: Tue, 25 Aug 2026 15:45:49 -0400 Message-ID: <20260825194549.152553-6-chris.laplante@agilent.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260825194549.152553-1-chris.laplante@agilent.com> References: <20260825194549.152553-1-chris.laplante@agilent.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY1PEPF000264B1:EE_|PH8PR12MB7136:EE_ X-MS-Office365-Filtering-Correlation-Id: 06bb4369-d701-4ced-2641-08df02e191df X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|23010399003|1800799024|82310400026|36860700016|18002099003|22082099003|11063799006|56012099006|6133799003|10067099003; X-Microsoft-Antispam-Message-Info: mH86CkIvryC7QInOojQ+4BTgnJogfy4fEaKZ+s23KOi9N8tpKGB6BOdqeQPYNJ3q96XaGrHQ9hT5jij3XW0V1WdyVh1oPfXkFOkaIUlKvgqcoQaJwpuatRCSLgSiAnpi3xPzo6SrHoJTVOTL77ur+amsZY4Hoz2VuCV7pacI0vuLVTxwHyhl8SFmcNvvsXlkxhhK/VxvsbBRC6E8ldLYroanw3yeqfahfx1PGbzrnwNPWgKkjEP8F1GPeOo+qSNKWfOOiq+Bmh5teQUU2NY8wLXJs0CCbLfdrS4QUqFbheCgbO29kXDJX+oYPdO95XlSBTEqpFEru8AhoiANd7OW8JT87STOyz+Llg8dqwOExfkg9y9k0gYtSHVlUWTTjGTN8Wc9RJ5XS9mBqs5MKfH3UCqwFTmxiQVwXHDn92XGkJJoID+9O+tzgX10Ocp3KhFUL5O1ZwJslFNSzwH6RN5b+bCqtauwzLXnJQQDTTsQDVYClE/pDFIjpIEkjRD5Uz8VXyhigLzrCo1/wQNs3zQH4Vy3kNvFL9twi1URyCFsZ5fFqnhm+pNg17WfZpGQi8pBykroaA+F+cNheEjx9/zdYeTWpUKrnwrCivIOGFDyyJyuOsxyigHYSEwIRqWu01L7IdABaoAKwg0VhTiwYaPjjLgEdwx7k5N3ff1qOFzNH0hCQQJz0+2DmKjRgschc67YBLI/Dl5+H7JWZbRzLDbHXQ== X-Forefront-Antispam-Report: CIP:192.25.218.36;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:wpcosapexchedg5.windmz.agilent.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(376014)(23010399003)(1800799024)(82310400026)(36860700016)(18002099003)(22082099003)(11063799006)(56012099006)(6133799003)(10067099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: L9JagoSk8z7dQQ72EHQP2VH7Hkv2fDh+Qnvte98uIpT1NGx+bcNfIh9dYhOTN2FQ9yuAJnd8RTfdAGxo5HWKy6sMl3TvXo6QKWu24rF50uH0QrN4q8wXmugtFDdfKdxDdKRaRWYTiquzIej7uUbj2/lQCidTh873AaC807wtSKY2rALDKeQdxZgmPmzwmN52fyEHCbolpz9nftY90ZpAh1sFIl5cQzNSk2NsgDjKUFX6cTjZlEGCrpPeZmt7d1/oTi3XX9X4tfuPKHZopn+PiISLoXdhIRaY2mycSZOLU/4iYVpAsBjLDdF/gPZITdtpl4b3V6070pQh2iSPGVD7VcXUk+moQ0hLeETE3Maefh27348hBrX61S/48Ai/SlWCDQ22vr6qqJzbfUyVBvz6elVEbSM4R3yPNetvIrPkSujDFqVI4Sx4HTB2Eo3hijHU X-OriginatorOrg: agilent.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Aug 2026 19:46:34.7137 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 06bb4369-d701-4ced-2641-08df02e191df X-MS-Exchange-CrossTenant-Id: a9c0bc09-8b46-4206-9351-2ba12fb4a5c0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=a9c0bc09-8b46-4206-9351-2ba12fb4a5c0;Ip=[192.25.218.36];Helo=[wpcosapexchedg5.windmz.agilent.com] X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TreatMessagesAsInternal-BY1PEPF000264B1.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR12MB7136 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 25 Aug 2026 19:46:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/20047 From: Chris Laplante Get rid of non-Pythonic 'from bb import data' in favor of 'import bb.data'. Also add all the missing imports. Signed-off-by: Chris Laplante --- lib/bb/cookerdata.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/bb/cookerdata.py b/lib/bb/cookerdata.py index 59f808c96..d307bff0a 100644 --- a/lib/bb/cookerdata.py +++ b/lib/bb/cookerdata.py @@ -16,9 +16,15 @@ import re import sys import hashlib from functools import wraps -import bb -from bb import data + +import bb.cache +import bb.codeparser +import bb.data +import bb.data_smart +import bb.event +import bb.fetch2 import bb.parse +import bb.utils logger = logging.getLogger("BitBake") parselog = logging.getLogger("BitBake.Parsing")