From patchwork Mon Mar 16 18:50:58 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 135 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=1773687077; bh=fLIUT5hsx2rc6IDrpTFacGQh1GRc+/3nU7WHo0QnDHI=; h=From:To:Date:CC:Subject:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=A6E5M59jy5dcUa8I0bgltLCab0M1HSDMOAd23Sohi0KO6bweCqzI41DEAyrOeYvPB /EXpDG9uwqFJ6L/eCY3FHXcTMC/NiUZyXd92IRlDN36cF+lucbVuBHQ5FgsB7ueaF1 e/0qRZsbf3YQbV1RKl+YLdvZwdmz8DfWhf4YWXKdk4bdFsIvT5y/oaKaBdQV6pthxe vidxAPYxfiBLmdNoQS9ZwCc1VPee6BAE2VucySRnbd2ZyWPIMbH3uU+urS1GdynZyL A+g9eIpswOfSyqeu4k89OsEEU0nYHelAoUJe5hFoDnx/Z3gCqE+T5iBJj4enHpN3rB /SkPWqtGy++iQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 3C22C6A09C for ; Mon, 16 Mar 2026 12:51:17 -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 TosLdY_lryX0 for ; Mon, 16 Mar 2026 12:51:17 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1773687077; bh=fLIUT5hsx2rc6IDrpTFacGQh1GRc+/3nU7WHo0QnDHI=; h=From:To:Date:CC:Subject:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=A6E5M59jy5dcUa8I0bgltLCab0M1HSDMOAd23Sohi0KO6bweCqzI41DEAyrOeYvPB /EXpDG9uwqFJ6L/eCY3FHXcTMC/NiUZyXd92IRlDN36cF+lucbVuBHQ5FgsB7ueaF1 e/0qRZsbf3YQbV1RKl+YLdvZwdmz8DfWhf4YWXKdk4bdFsIvT5y/oaKaBdQV6pthxe vidxAPYxfiBLmdNoQS9ZwCc1VPee6BAE2VucySRnbd2ZyWPIMbH3uU+urS1GdynZyL A+g9eIpswOfSyqeu4k89OsEEU0nYHelAoUJe5hFoDnx/Z3gCqE+T5iBJj4enHpN3rB /SkPWqtGy++iQ== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 291136A081 for ; Mon, 16 Mar 2026 12:51:17 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1773687075; bh=3+hMjGJCiSXBhxtHbbmYxEo72UISP1K0zjqrkwK+aRM=; h=From:To:Cc:Subject:Date:From; b=l4VsGBzPFHd6arxKN5z7KogrCxrxuoHjzweieaOmGQG3g4kEz7PcrsCVZRqXHn0Ke 88FQHAbCL8qwTbdnhtRlA+Z6GlAmwLrLT6U4vesUfwh45yzzuNeKpdd8ou3EZ/ToEE y1QPNRLiSpzBVLgb3uBsY9Gv7Wdz0il9a8MmdbVJSwmpvsGw3Z10lEg23AZ3kc8bak bIobnOSgMdCkAzVvrjIaKm+/hdLkWjaAYI9MdpmKaniHFYchLqXcDcX7ey9VsJOVSs koIb2ffMv38DB3N0qfEgluDUa0CZk2hp6ebno4VOevb2p00htX/EjdceyiGgqm+lpG W/hjLcEC9rnOw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id A61306A081; Mon, 16 Mar 2026 12:51:15 -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 NvAMKpga_COM; Mon, 16 Mar 2026 12:51:15 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1773687075; bh=J7JVFwkbmToPiTGzie8wQCN1XHAg0L1Fdsnz/nllbx4=; h=From:To:Cc:Subject:Date:From; b=g8ZFxN2XgsRi9IXDyxVX5UZ+dfE3AKXO8CP967DXTv/VR4owjNGymCjemI6KlXcBD Qiyi7PBaI3y0lrEK6jHvn1k0Z1qiiVOZcXkjA0edeP5EvazdNFNadkOH+6CW9fZe4h s3nfQSt5W0GaFK50sYS22vhEfWCypdlrD2iSJTMRUASmrJJIaboLy7Xmkv/Jjp5DED zhA9ct86YcFiVh7FwRh5oQSW3BVS8N6TIp00ak4efwqCF1di0AdlC10Q7aDBStyYvk XbZFC5MHuPm525334A9KH2bgi64dAOss99ATRMkOnFnFdsrgE5e2DQEjshSIenII8e AmPiq6Sj2k/SQ== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 131C769FF6; Mon, 16 Mar 2026 12:51:15 -0600 (MDT) From: Simon Glass To: U-Boot Concept Date: Mon, 16 Mar 2026 12:50:58 -0600 Message-ID: <20260316185102.3892597-1-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Message-ID-Hash: IFWS7PZPCGRJI4WNUJ5XQXJKSJAY3KIU X-Message-ID-Hash: IFWS7PZPCGRJI4WNUJ5XQXJKSJAY3KIU 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 X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 0/2] pickman: Fix robustness issues with error handling and large prompts 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 Fix two bugs in pickman: one where broad exception handling causes data loss in the database migration path, and another where embedding large CI log tails in the prompt exceeds the Linux argument-size limit. Simon Glass (2): pickman: Write pipeline-fix log tails to temp files pickman: Only treat missing table as fresh database tools/pickman/agent.py | 82 +++++++++++++++++------ tools/pickman/database.py | 14 +++- tools/pickman/ftest.py | 134 +++++++++++++++++++++++++++++++++++--- 3 files changed, 198 insertions(+), 32 deletions(-)