From patchwork Mon Dec 22 23:18:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1057 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766445539; bh=VK3SZYAaFkwHsL6n701j+KXNG5h9yDOqNA6vTa8Gn88=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=ZW3rxiyPJ+a866vtPqPaXr4A9ZfizWvNcnUFYOfqlYl7imP1jori/zvU7s4cjr+Tc JLcb6gwaavzrP5g2ABmZ5a9PsIsrz/AqP0+w2Cujy2a4mRXR2c+kFGgnLxMWFqnQ5u 4H4edzPyiRpmepFq/yk5gO+qnIaehlPoWJFsAaa6TEJLEjjlFwfslzanbd+GslSS4g h5n6uuveV8aot+NJK6pZiqBaa/5k4+qYJo/+R3mewenweUWO1V2nSzCeQlYzGTlKZ5 otmYaJ4UECII7eHOALGIWkobe3rhboo9lhiyIuUbOUszDCn7MOHSB/5sn7vFch76Pa GHIqitbiNL41w== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 43BF964D46 for ; Mon, 22 Dec 2025 16:18:59 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id oGJZZGQJusGi for ; Mon, 22 Dec 2025 16:18:59 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766445539; bh=VK3SZYAaFkwHsL6n701j+KXNG5h9yDOqNA6vTa8Gn88=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=ZW3rxiyPJ+a866vtPqPaXr4A9ZfizWvNcnUFYOfqlYl7imP1jori/zvU7s4cjr+Tc JLcb6gwaavzrP5g2ABmZ5a9PsIsrz/AqP0+w2Cujy2a4mRXR2c+kFGgnLxMWFqnQ5u 4H4edzPyiRpmepFq/yk5gO+qnIaehlPoWJFsAaa6TEJLEjjlFwfslzanbd+GslSS4g h5n6uuveV8aot+NJK6pZiqBaa/5k4+qYJo/+R3mewenweUWO1V2nSzCeQlYzGTlKZ5 otmYaJ4UECII7eHOALGIWkobe3rhboo9lhiyIuUbOUszDCn7MOHSB/5sn7vFch76Pa GHIqitbiNL41w== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 32A5F64D86 for ; Mon, 22 Dec 2025 16:18:59 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766445537; bh=forSWJah/FBBUvXyr9o6ZiihNSr1IXiMZV37bU4BC+E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rUHO4B7vpTpLliY5Q9SSUh1MclN7vaCcFass5Sderms0UXSMHcHH89JpEdw9ko3KZ EjG+eKCIQjATjjlSGpYcyij1fg5bpeI4YpCOLNq9fRaw2D5FoQh4fn6n0swwf/fzf9 xmfBU+Vk2EufB9CCI+bw9LUd8tewZZlKyq2cOBqC3WbnovHfCACcK6D/MU6HKiRjt6 KonVdqdZB3qI/gWhS9rS1MFj5ee8tjyMPSiEjnb5KwrGrFHlrUm2n5Qo4QzrfFUxzy dke+Ri+rq2QEp56Wr/mzizy0tbAeIXBHjMAjQN+Ws3gbqHay1oE2DQ3oMWgQMXEUOq z1W8ftzeDSnEg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 77A9664D46; Mon, 22 Dec 2025 16:18:57 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id OZ1dmeJdmg-S; Mon, 22 Dec 2025 16:18:57 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766445533; bh=oyuOo5CqXEM/H1wWMFwDH/h29arlzS4NiPJ3jPpvNbk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CfhK7JEYKSmHq5BLZOy3L+DMuTvX/p3u0oe1YgCyfSiJkZt5dlHyELue29OZMLm8/ TIZOQ9kapN5e+ykuPbw0/c5ddSx7XbbSBfBjddpMwXyaEzFqYxOm0PN5md+xFSqLFP C2J0ZShCpg7IbroXyQyC5/vzjgCILqqjR1XtoRjfBLmvTqflRWH5uiqY7qwW2+1TI8 D9kS/kugDARXiN2lt7PS381nLemOI0T9hjgadz2MS6jNN2zWjbH9vXDgm0NwOsMi71 8s1276zPvuDPiLkGOkAU0fDimtLCYx7GM+p+gWGACwz7vaEuqUFte2onBZlSCYh0mJ co3yp34BJ6kvg== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 04D7364CD1; Mon, 22 Dec 2025 16:18:52 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Mon, 22 Dec 2025 16:18:34 -0700 Message-ID: <20251222231838.2298178-2-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251222231838.2298178-1-sjg@u-boot.org> References: <20251222231838.2298178-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: NV76QYPYFYRQFYJ6UITFZLRHH4X7UREF X-Message-ID-Hash: NV76QYPYFYRQFYJ6UITFZLRHH4X7UREF X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass , "Claude Opus 4 . 5" X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 1/3] buildman: Fix coverage test configuration List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass Exclude tools/qconfig.py from coverage since it's a separate tool with its own tests. Add allow_failures for core buildman modules that don't have 100% test coverage yet (builder.py, builderthread.py, cfgutil.py, control.py, toolchain.py). This fixes the --coverage test returning error code 1. Co-developed-by: Claude Opus 4.5 Signed-off-by: Simon Glass --- tools/buildman/main.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tools/buildman/main.py b/tools/buildman/main.py index 3c9820b262a..22be946b37d 100755 --- a/tools/buildman/main.py +++ b/tools/buildman/main.py @@ -63,8 +63,13 @@ def run_test_coverage(): 'tools/buildman/buildman', None, ['tools/patman/*.py', 'tools/u_boot_pylib/*', '*test_fdt.py', 'tools/buildman/kconfiglib.py', 'tools/buildman/*test*.py', - 'tools/buildman/main.py'], - '/tmp/b', single_thread='-T1') + 'tools/buildman/main.py', 'tools/qconfig.py'], + '/tmp/b', single_thread='-T1', + allow_failures=['tools/buildman/builder.py', + 'tools/buildman/builderthread.py', + 'tools/buildman/cfgutil.py', + 'tools/buildman/control.py', + 'tools/buildman/toolchain.py']) def run_buildman(): From patchwork Mon Dec 22 23:18:35 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1058 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766445544; bh=zc3Yj043QQ4jBIg7eIAoYthD1JQ1KYzlp9pNbV86lXI=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=EctthDdTyoVXPLUaHevdzGqcF4vLRhbyYieV/HoCN7YRARnMau26bZ9OGhwNjN66q ggilhHOMsfBWFhNTbbMtFft6wYLMLQVk3SwkgE9Y/U88xOWnU5GDs6HSxOHKchrMxX 7rOKRW65NLvc2LQqBgm1E0bwsSDfI2z2HPT5VW5tj96SezSlXA6kaitc98raWoP4Vd xa/5B3Dl/blTeu0+RSBgIA/90sTrj85yHjFiOUgCkuojYfLog4lWTDTRK/mVxoeaAz zoQ7tQDA96fep4qEMXK2ORSXl9BMKWS0ZSZM5zSc6DXzb1cj9hwdxdz2K0uRJb1aK5 E2KTZcOPhs8dw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id A504264D9A for ; Mon, 22 Dec 2025 16:19:04 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id l9M0F87CAwGP for ; Mon, 22 Dec 2025 16:19:04 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766445544; bh=zc3Yj043QQ4jBIg7eIAoYthD1JQ1KYzlp9pNbV86lXI=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=EctthDdTyoVXPLUaHevdzGqcF4vLRhbyYieV/HoCN7YRARnMau26bZ9OGhwNjN66q ggilhHOMsfBWFhNTbbMtFft6wYLMLQVk3SwkgE9Y/U88xOWnU5GDs6HSxOHKchrMxX 7rOKRW65NLvc2LQqBgm1E0bwsSDfI2z2HPT5VW5tj96SezSlXA6kaitc98raWoP4Vd xa/5B3Dl/blTeu0+RSBgIA/90sTrj85yHjFiOUgCkuojYfLog4lWTDTRK/mVxoeaAz zoQ7tQDA96fep4qEMXK2ORSXl9BMKWS0ZSZM5zSc6DXzb1cj9hwdxdz2K0uRJb1aK5 E2KTZcOPhs8dw== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 9426D64D46 for ; Mon, 22 Dec 2025 16:19:04 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766445542; bh=F6uPsfipgV+62Sqnjt1R9Ao55eowKm0FAsYKqRLjfA4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=S+vzDZZGSNGcwc1EAs9vsuBWP3/5nKIBtrFBX1VeANfy38tYgPU1o4EKqmXGWeLp8 Jj2qDgcd4ajLSzilOxRI6ko5k5Om1TMP4SD2rfpX4AX9WXJJE/p9rn4kb37dXLydVU dqNJi9zCqyovNfjreLcL9LutZY8l0kWHWf8Rru2/06+ZPQ+3TcFQ47qZ5rpR5gJWda KdrL0Dmq5yEjCHryr+jCeje+6k/TxXWhc94AE1qsoCMcRCAjwJOpKzCYP4q9k5xkeX 8A+pgZOdphD2QZ6fFuL2+NilWhc6gwjwc1sHFTApWQ9uXAWXF4rLjMbh/LFcc8riL7 xlEOiYNZ0hXSA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 259D864D46; Mon, 22 Dec 2025 16:19:02 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id p5CuC_guVFaG; Mon, 22 Dec 2025 16:19:02 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766445538; bh=hnpqpmTawdnii+DAdPHtOkZjqaTpnovsMWxDEKK5rSY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZcLT2ATtaJUXpDjdOS5rSy53ggBbPkchKn0/G4SWbA1nqxNUzKI4ixXXwTbTTSv6n VZ3oxWLyXz2SLRxYn3MdaSa9jbULYnsEVnhykn4Ey7bvMqCv3mI/QMTMZaQRlg0jT9 VWC1PJwrRcDjrb8JdSO2iIc4W7lLoBSKwQ2PUGPf0ZDz7kKlpSpXMvwIR8dIRfjytL VN5fmCyx18LHEaAjHOcZdPvy9ithd7HwTmuxHoGx28woFRUxwoLChM+APZ9ICYWd69 tNYUoZNUt+FM49sQb5ocD3uVqiZuv75OxWsORUlAGT9J/w+a/+uIwMyNy9eEXP6Rw9 MgZvLWWehs5bA== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id C581064CD1; Mon, 22 Dec 2025 16:18:57 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Mon, 22 Dec 2025 16:18:35 -0700 Message-ID: <20251222231838.2298178-3-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251222231838.2298178-1-sjg@u-boot.org> References: <20251222231838.2298178-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: OFZ7YTJ4QXJIJJKK4HIE4QCFDMN6HMVB X-Message-ID-Hash: OFZ7YTJ4QXJIJJKK4HIE4QCFDMN6HMVB X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass , "Claude Opus 4 . 5" X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 2/3] buildman: Fix flaky test_kconfig_change test List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass When CI has fewer CPUs than boards, one thread may process multiple boards. The .config from the first board persists in the thread's work directory, causing kconfig_changed_since() to return True for the next board's first commit, triggering an extra reconfig. Fix by forcing -T4 to ensure each board gets its own thread with an isolated work directory. Co-developed-by: Claude Opus 4.5 Signed-off-by: Simon Glass --- tools/buildman/func_test.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/buildman/func_test.py b/tools/buildman/func_test.py index e748d302561..31cff04a060 100644 --- a/tools/buildman/func_test.py +++ b/tools/buildman/func_test.py @@ -1285,10 +1285,13 @@ something: me config_exists[0] = True return exists - # Run buildman with kconfig checking enabled + # Run buildman with kconfig checking enabled. Use -T4 to ensure each + # board gets its own thread, avoiding .config leaking between boards + # when a thread processes multiple boards (which happens with <4 CPUs) with mock.patch.object(builderthread, 'kconfig_changed_since', mock_kconfig_changed): - self._RunControl('-b', TEST_BRANCH, '-c2', '-o', self._output_dir) + self._RunControl('-b', TEST_BRANCH, '-c2', '-o', self._output_dir, + '-T4') # Verify kconfig_changed_since was called self.assertGreater(call_count[0], 0) From patchwork Mon Dec 22 23:18:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1059 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766445548; bh=nTelht1UzoLNE8hBvz39n10dspsezPltgBTcsvNCvCQ=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=Vbf04JTW/pU0suBFFmLGgPU+hi0yFxBBVukyFriJZShQjZMymeKDv+mm2UK959I0H dyjXLa+JvL7dFxSxugK54LstXG5VI+mV60YmSveWMPkUApv2iKxUwCFl8gjZcvJgUj 8EclwIMvMTNb09SuUhv9y0JcNhio0DK0UuJyulC0oYGIOIN+/2mJHGFfL18PL5HeaS ckoCX69pqvOSuKTXdfED6jKW5svBLqndSZ0VIQlV7C0lJGFd5BSk8aWjpnInL9SosF LT7K/5BB5qymLC5OOEQNh1Z+c2jSM2uD9zryxgB3vDPKDufzy3Oyx+VGTAmPhu0itU u2K4wkrkxUqoQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 1B24C64D95 for ; Mon, 22 Dec 2025 16:19:08 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id S50J0nwaDemw for ; Mon, 22 Dec 2025 16:19:08 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766445548; bh=nTelht1UzoLNE8hBvz39n10dspsezPltgBTcsvNCvCQ=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=Vbf04JTW/pU0suBFFmLGgPU+hi0yFxBBVukyFriJZShQjZMymeKDv+mm2UK959I0H dyjXLa+JvL7dFxSxugK54LstXG5VI+mV60YmSveWMPkUApv2iKxUwCFl8gjZcvJgUj 8EclwIMvMTNb09SuUhv9y0JcNhio0DK0UuJyulC0oYGIOIN+/2mJHGFfL18PL5HeaS ckoCX69pqvOSuKTXdfED6jKW5svBLqndSZ0VIQlV7C0lJGFd5BSk8aWjpnInL9SosF LT7K/5BB5qymLC5OOEQNh1Z+c2jSM2uD9zryxgB3vDPKDufzy3Oyx+VGTAmPhu0itU u2K4wkrkxUqoQ== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 06D9F64D46 for ; Mon, 22 Dec 2025 16:19:08 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766445547; bh=sGMp+SihQWIKARATmzbvwyL9quc2uyvn8Fmi04+RuSs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iVuOyk2jJCwLNcYQxuDPOdw1BVFaBRiU7aqheV12sDQ4f+6156Botl1hSl9VPN1qn +7KfB8IEwBVweUi6MhiYZsvdg1G8b3lV7RZkf6E18Fxw6L2yFpza4aQfx3Ra3qttdV GrZke2N+B1cLL4yu3I80wWWmCkNsiq5Ch8nrmW/3DDtdi936G9vhqzfy7BJwtPfew+ ytUF+MBrlPq4/ocXevtUXVW/yVfCLwWavuHIesZuCA9xhZlMVgQLxvWSGW0rYifGGb cfn8VRqPDWfhZ95JOgnOFKfRgj4h7rHOVF0CnCxHExmxxwEU3Fyb+hRWAn2D3IzBAr uurPBdT3f97jA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 08FE364CD1; Mon, 22 Dec 2025 16:19:07 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id VZ6uVy6-Nrth; Mon, 22 Dec 2025 16:19:06 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766445542; bh=7dS1CmWb7QmFl0d4IGL4HmxahWxVNdErBB8a92dAJtE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cFQS4lZISA+VHgr/uVVUuC5znEHw0UKKpU91cec7VoI3+sisPZAncA6sR1jz5+/9D YgSwxMn8Nej+cRWXparoWncLLbtNxZCFMUS6OTczOp8KqJemvlxcNiVbbokf/79Jt8 RiAc9N+zsYs3m3SvoGXl8FJz5UWz1tpoB+3DbEE9NTYuHqS55pFEbwZANrE7l0Wt6/ ATB74DJ7z/TR+TvlDgDAy+QEsrK8IUppSJDhJjflSPiB70nJZPzj1WdX/gxIWCJj0N IX3/2bFeiXEfGTkmKsTdppSzR1/D5M+9Nsn4V6rapLrn4Zgm3oPXmdl4Aa1YXNBWwI OGC916d96b+8A== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 66D8064D86; Mon, 22 Dec 2025 16:19:02 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Mon, 22 Dec 2025 16:18:36 -0700 Message-ID: <20251222231838.2298178-4-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251222231838.2298178-1-sjg@u-boot.org> References: <20251222231838.2298178-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: D7JRFAHTMMRF6ZCDCRZUCNPH3Q4TG5IR X-Message-ID-Hash: D7JRFAHTMMRF6ZCDCRZUCNPH3Q4TG5IR X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass , "Claude Opus 4 . 5" X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 3/3] CI: Add buildman coverage test List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass Add a CI job to run buildman's test coverage check. This ensures test coverage doesn't regress when changes are made to buildman. Co-developed-by: Claude Opus 4.5 Signed-off-by: Simon Glass --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 06cdb6500be..eec57710cbb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -305,6 +305,16 @@ Run binman, buildman, dtoc, hwids_to_dtsi, Kconfig, patman and pickman suites: python3 -m pytest ./test/scripts/test_release_version.py; make testconfig +Run buildman coverage: + extends: .test_suites + script: + - git config --global --add safe.directory "${CI_PROJECT_DIR}"; + python3 -m venv /tmp/venv; + . /tmp/venv/bin/activate; + pip install -r tools/buildman/requirements.txt + -r tools/u_boot_pylib/requirements.txt; + ./tools/buildman/buildman --coverage + # Check for any pylint regressions Run pylint: extends: .test_suites