Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3356A606A32D for ; Fri, 4 Dec 2026 18:14:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.u-boot-project.org header.i=@lists.u-boot-project.org header.a=rsa-sha256 header.s=default header.b=Ztr2m+Tm; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=N8xHycui Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 0EB3083C05; Fri, 4 Dec 2026 18:14:15 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id hTDq-waKhn3Z; Fri, 4 Dec 2026 18:14:14 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp1.osuosl.org 6639D83AA6 Authentication-Results: smtp1.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 ARC-Seal: i=1; d=osuosl.org; s=arc; a=rsa-sha256; cv=none; t=1796408054; b=bNDe59sMJoIHGHpH4odX+x4heBYQ+YZAOZscm5cTE51QD7Q2+iF/ZOmmBBWRrJAdqcfP WIRz3KZW5k+lZSg99P93bI0zQR2mLZb7d/OJdtl1WNaVIIfB/K+E9X3msL/iXhx/PCwwP BmY117NqATBr1kkCg9/ufROa2sKJ2AjLnbsITMg8fZIsTjAjQp/c4OIZjdcqnEbCiCw3W 6kR6CeBSJouJaTaMcP2jQDcoENib0OO9CQF4GlBZVth7hGVngYILg5lHEcvhSvQJW4EAJ 1sL4GbwYcOc8ustgRrzgdV35Ss7xZEKUhrI+mJVsjzpJnBSNoFxKwO92mI57rIjUY5A== ARC-Message-Signature: i=1; d=osuosl.org; s=arc; a=rsa-sha256; c=relaxed/relaxed; t=1796408054; h=X-Comment:DKIM-Signature:X-Original-To:Delivered-To:Received: Received:X-Virus-Scanned:X-Spam-Flag:X-Spam-Score:X-Spam-Level: X-Spam-Status:Received:ARC-Filter:Received-SPF:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg: X-Received:Received:From:Date:Subject:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-Id:References:In-Reply-To:To:Cc: X-Mailer:X-BeenThere:X-Mailman-Version:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Errors-To; bh=uoXmg9Cj9fuTeRQ1i/vCMIONk25/68BValuuBWFvgm8=; b=FZqw2AHb+yAwjkTOEOm70PJRrrIWzwrKlMxF81YwDaH7HZ7bDYUaCYaU9RaR6fMxToCv vtF34v7aNmwQeOdQvd6o8LwrHD92twxHbXo2kAnskWzxl8xjIH2SKiscSwuc4HjTli4Zt bhVDN5mOpGUGaHZwxp8Y7uyPLGj4bVy88qpI5j66bO3mNBAa9fuzakygyin2hlQ7uwCwZ AXSEabUsKz1zSfRFadosMoH1jbr+opOGyEgY1ZnkhZ0Jtrgj1q6Vy8VS6uMfhlfTt7Oju hp7+Lb22YHZKQyP92gv3HKZPSCMuirz9ciGBIY3OrXualcLI4l+WLoWRSEcXqjBxJ+g== ARC-Authentication-Results: i=1; smtp1.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=u-boot-bounces@lists.u-boot-project.org; receiver= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.u-boot-project.org; s=default; t=1796408054; bh=uoXmg9Cj9fuTeRQ1i/vCMIONk25/68BValuuBWFvgm8=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Ztr2m+TmTBKyHMIljSXiYo0NpvHNO6qMoVi4R3rDpxRlMNe5y8/8uDrvWY5co5/np EptobCOMivUbPJfGjd6Szmiy7P3WLktZcZRG4318tTwjjS8jRuQPzn6ap2koCMW5Bf Sl7lPGEUcwNPLkqtTy+W18CdRVztH/P6fAxJv/Zrdq9SHjNDGCISFn0S7I5iTAQgN+ xm3+NyEkdr90D+SaD7cRrnltcSC7JNud9Pi6A8+su28D/ZBodIDeILN7JHPn/Vo4Cy DhuA8bIL5oFqfe2reGU9JYO2fp2j9jtuQJpKpCbDxadoCd/DD+0LWFvLxHofRcPSMu JBNhQ92GzbW+Q== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp1.osuosl.org (Postfix) with ESMTP id 6639D83AA6; Fri, 4 Dec 2026 18:14:14 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists1.osuosl.org (Postfix) with ESMTP id 7F7562C7 for ; Fri, 4 Dec 2026 18:14:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 653E96114F for ; Fri, 4 Dec 2026 18:14:03 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 7XnfnQxhiS9l for ; Fri, 4 Dec 2026 18:14:02 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp3.osuosl.org 17806610B0 Authentication-Results: smtp3.osuosl.org; arc=none smtp.remote-ip="2a00:1450:4864:20::330" Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::330; helo=mail-wm1-x330.google.com; envelope-from=andrew.goodbody@linaro.org; receiver= Authentication-Results: smtp3.osuosl.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=N8xHycui Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by smtp3.osuosl.org (Postfix) with ESMTPS id 17806610B0 for ; Fri, 4 Dec 2026 18:14:01 +0000 (UTC) Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-4a5b2be99a8so7275605e9.2 for ; Fri, 04 Dec 2026 10:14:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1796408039; x=1797012839; darn=lists.u-boot-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=uoXmg9Cj9fuTeRQ1i/vCMIONk25/68BValuuBWFvgm8=; b=N8xHycuiaWRRg5orp/nfe/N/Av9GCH+gIStcjLTILUzXef49TdadUvJ9hvB25Zsmtl IL2z8AhHP4qnQTQVOcFe+GCAaX/fhy9Eh5kVqjTyfgZ4CFz3bc+Vx/FQhWO6+bYFHf7w uqucMI3TvtfzfimOC2ZXovuNSpcCNLaTJo8f82Eevs6Vlif3ajuTGeUKbdWvMY93cIbd lRLxr2jYXpYRnXEYzW471w1osmjRfkQFQaxcoh7uwTrJYVbV8c0TFDtF+UQ30ePmYInN 2Borj8XRl/0K6ntPaVb3/5U3x3Iv2NHWt0IywWmHtJ44Jw9T+po0FcwXpS/hUIV+aP9H ebMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796408039; x=1797012839; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=uoXmg9Cj9fuTeRQ1i/vCMIONk25/68BValuuBWFvgm8=; b=ImszcJ/Ax3kzyE35La1EiKq8QTeZesc8vintkQsnpTAVUZuZinZ8Bpr1IqJqnff0q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: by 2002:a05:600c:c8c:b0:4ba:761:c0c5 with SMTP id 5b1f17b1804b1-4bbeb8bd834mr56498845e9.5.1796408039090; Fri, 04 Dec 2026 10:13:59 -0800 (PST) Received: from artemis3.elfringham ([2a0a:ef40:ee3:3401:7071:3a81:cc99:9c2c]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4d174452809sm6915361f8f.53.2026.12.04.10.13.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2026 10:13:57 -0800 (PST) From: Andrew Goodbody Date: Fri, 04 Dec 2026 18:13:49 +0000 Subject: [PATCH v4 14/14] test: Ensure ext4 file system is truly clean on creation X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261204-qcheck_fix-v4-14-3cdf2e164297@linaro.org> References: <20261204-qcheck_fix-v4-0-3cdf2e164297@linaro.org> In-Reply-To: <20261204-qcheck_fix-v4-0-3cdf2e164297@linaro.org> To: u-boot@lists.u-boot-project.org, Kory Maincent , Linus Walleij , Ilias Apalodimas Cc: Andrew Goodbody , Tom Rini , Anshul Dalal , Alexey Charkov , Heinrich Schuchardt , Mattijs Korpershoek , Carlo Caione , Yao Zi , Michal Simek , Quentin Schulz , Marek Vasut X-Mailer: b4 0.16.0 X-BeenThere: u-boot@lists.u-boot-project.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: U-Boot discussion List-Archive: List-Post: List-Help: List-Subscribe: , X-Spam-Status: No, score=-19.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Force a run of fsck on the newly created ext4 file system to remove the orphaned file that is present despite being marked clean. If this is not done the integrity tests will fail as they will detect the presence of this orphaned file. Signed-off-by: Andrew Goodbody --- test/py/tests/fs_helper.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/py/tests/fs_helper.py b/test/py/tests/fs_helper.py index d6e0f5e65d7..7bfc076f05f 100644 --- a/test/py/tests/fs_helper.py +++ b/test/py/tests/fs_helper.py @@ -268,6 +268,12 @@ def mk_fs(config, fs_type, size, prefix, src_dir=None, fs_img=None, quiet=False) shell=True).decode() if 'metadata_csum' in sb_content: check_call(f'tune2fs -O ^metadata_csum {fs_img}', shell=True) + # Cannot use check_call here as it will return an exit code of 1 + # as it modifies the file system. The -f is needed as although the + # fs is marked clean, it is not really. + ret = call(f'fsck.ext4 -f -y {fs_img}', shell=True) + if ret not in (0, 1): + raise CalledProcessError(ret, f'fsck.ext4 -f -y {fs_img}') elif fs_lnxtype == 'vfat' and src_dir: flags = f"-smpQ{'' if quiet else 'v'}" check_call(f'mcopy -i {fs_img} {flags} {src_dir}/* ::/', -- 2.47.3