| Message ID | 20260316154733.1587261-7-sjg@u-boot.org |
|---|---|
| State | New |
| Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> 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=1773676122; bh=qE5c3SrAPXnhu/l9o0hDn+lTni4kle2QDc9eKp4MxNc=; 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=FHkWVUSEpNmvmMFAJIUigjDL3tfvRPH/zqXI2lr1YXASxC0BNaCjVV7UjsnIBpRLe YT2d1wy7R4uAFlV1edFQRFvO1+MdHMvjHURsosGUW6gvkkGPnrQKd5TDN2G2BRawmk DzOI+yg+0BKtQkoAmU5VGJ+xa7vp1wUvFA8PNOOe27K7c99p6IUayGTsZeUb9SaDGG adcDGjwLfcRIKrj+QLZdT4REWvejXsZA/7M81WNjKoeP8TXsXusi6TAMCeEblYOBy2 jgCUDCr4xAzoJa0UpohyBHnik+G+mpvdoEU554V+0YPci2lcc52HgQqqDEQLg54n9i 2sO4bZy3o8f7Q== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 0077E6A086 for <u-boot-concept@u-boot.org>; Mon, 16 Mar 2026 09:48:42 -0600 (MDT) 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 XSCt-UkwjWSF for <u-boot-concept@u-boot.org>; Mon, 16 Mar 2026 09:48:41 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1773676120; bh=qE5c3SrAPXnhu/l9o0hDn+lTni4kle2QDc9eKp4MxNc=; 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=wnHL9VxrCJ9a7cRW0IlqciGW4Hppxuz4+QXaEPCl/JF289x6eUCXytUyMyAULgOT+ Czk/Cv9hDqe7/tiaEDlB4OJdgHBejTe+4vkC4nbVMeEYUobc7e1rW61ye0BASKZFxv sR9OI4nEbcZGD2id58lB1m8AxDE9Gka14KS6V8o4EAvD1eizqzRNnM9z6WUu1ZGBIe TGJZB2lWAwbG9yUah0/QHNKPB8sRxehYKmmeu+OmSuTpaPZ7QG/gpaKGV4r5L5/l3h VVQXWyZ/z2AR5teDM9u9HwjbnxbK/ZTvIxv4gbHG9KcJxz200UcX0WJiR1k4OwG+Sr u5efBovFDrHAQ== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id B1C8F6A08C for <u-boot-concept@u-boot.org>; Mon, 16 Mar 2026 09:48:40 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1773676117; bh=ngpR4mZF3TuGoNP+t95uBWyq3NuAnOCSN09pmcyANnQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HcJ7u8E/V5Ukbo0yOjsUVZs4nyMPNNcUmEt+mDt+zasmFHHJwTRdmWhGWz8Rl0Kyv du9IeXFdGFIGFF6Z1asgoyjsliAK8C99BzeuEHfT8V+KE5jFSjrHmC/8EooOtKuICO XZm7aOfSubDevaiwHJEmZEWbstpW+aZkNQyzrhYpQ3fOxetM0KLUlYmbu/dsS7e29G b/CuoOO8dUzy/wC5eWi4JbZ8w0pabpIOhg71rlAK7Th/7Nj+4QaHvE2t8tKbcAAjKc Hbxyg0rmKQBcMLPqhL31Z+826yJtNMnXfhpdUaDsXiw1782I9DhA53oQDeGLgNNDwg 3F9dWROY28wKg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 040906A084; Mon, 16 Mar 2026 09:48:37 -0600 (MDT) 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 lm7nQ5ZQgVVs; Mon, 16 Mar 2026 09:48:36 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1773676114; bh=robPA167RQsQ6fRq2s8p8U2JL9nn//LZYcgZWrGLF+U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Xe90rMuJyqZBQLxUn+L5hrPt0EoeUTo/EIqrBe+1IXUJYXeZQAGOnI01K0L1cCQYj yGBmolywp1BgVrdKiJwJWxDccgiYLtoZOXKn1Wf1A69ifqyCdDrmM+KESzGpJWuU8B QHFmD/oF5sIbPltsA9b52ltG6b87SLTx88/5N+9nMUuK+uP+HOdUbjCt7qOvfCoQlv 13+JW6da8l6j3eJsGMYfXJ251clTmD8D6jM/pvq9n7LO4ONlDTafP9/rCdtpf/irNv QBs0ZFzm8oy461BMX4CFa8B5X0tPZCJDYGcnmptQfHPEnMt1BTRcw8Nn0J+HA/sLfs fPG0WA22czvMA== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 739D06A07C; Mon, 16 Mar 2026 09:48:34 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Mon, 16 Mar 2026 09:47:11 -0600 Message-ID: <20260316154733.1587261-7-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260316154733.1587261-1-sjg@u-boot.org> References: <20260316154733.1587261-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: 2FBZV2Z7GW3BGQJP5DXCC76QPMDYFGR6 X-Message-ID-Hash: 2FBZV2Z7GW3BGQJP5DXCC76QPMDYFGR6 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 <sjg@chromium.org> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 06/20] buildman: Initialise _timestamps to an empty deque List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/2FBZV2Z7GW3BGQJP5DXCC76QPMDYFGR6/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
| Series |
buildman: Add distributed builds
|
|
Commit Message
Simon Glass
March 16, 2026, 3:47 p.m. UTC
From: Simon Glass <sjg@chromium.org> The demand-driven worker mode (introduced later in this series) queues boards one at a time and may call process_result() before the first board has been set up, which crashes on None.append() Change _timestamps from None to an empty deque. The existing build_boards() flow always calls _setup_build() before process_result(), so this is safe for current callers. Signed-off-by: Simon Glass <sjg@chromium.org> --- tools/buildman/builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/buildman/builder.py b/tools/buildman/builder.py index 2c8d5c5b17b..f704cc86943 100644 --- a/tools/buildman/builder.py +++ b/tools/buildman/builder.py @@ -362,7 +362,7 @@ class Builder: self.commit_count = 0 self.commits = None self.count = 0 - self._timestamps = None + self._timestamps = collections.deque() self._verbose = False # Note: baseline state for result summaries is now in ResultHandler