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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 52C0DC636D6 for ; Thu, 9 Feb 2023 16:53:01 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2D5E385F3A; Thu, 9 Feb 2023 17:52:59 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=baylibre-com.20210112.gappssmtp.com header.i=@baylibre-com.20210112.gappssmtp.com header.b="dAan/OJz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 15A5385890; Thu, 9 Feb 2023 17:52:56 +0100 (CET) Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B28E485F4F for ; Thu, 9 Feb 2023 17:52:43 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=souajih@baylibre.com Received: by mail-wr1-x431.google.com with SMTP id o18so2430016wrj.3 for ; Thu, 09 Feb 2023 08:52:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=YkOxC8xmQiv0GARZdmgh5COK7FX4ecuoVOI+GgH7ViM=; b=dAan/OJzPlZTBzERobq+zw4VgpxMZCkvgXZpKq2Il9gyUhWn3a7fkSGP69M+Os/Csg Qt6llBGEyxHgOUhD5aFPDboF3HTvn1ZpHe2nxiqhTSZ+n+Kb3sfKpqdevHhbIozs9Fn7 DTWvQPJR+pH1h8b1XbXs1/EWGfsD3QelhMVXSZvjn2uSets/acJHNhTYTnW5JOGMQFbu 4hSEr5jS+oEbLbrz7TsWFlB7P4Ot1cZzqb0q4IE+JIat+bniMEJjEvsZG3ZZ6ZDmiy3J Ou6xvLPDEaWXbm8TG9BoWam++tfXB1uE3KLKs/BnvpI4k/BGaSuhs/jM1kzVrfiZdVBo mNzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=YkOxC8xmQiv0GARZdmgh5COK7FX4ecuoVOI+GgH7ViM=; b=WJZ4iWV4gvVhIKlk/pQFIeiOHIhNnv5w0yDTQ0ympW4HZGaGPXWWQGxpKv1zOaZNmD KAcG5+rAF11N6wTUvbPYA+3gIrFmYzgxIhOCdddK/5Kgb0DS30kmVZChp/QXvE5iXafP gMgaLpbJL6LUc4iHGYxYsl5bmswHmNdYT6Z3eGJEcjsDgxGQnkkLKVB0jhO14hBDdBoX CoKq+ZKTdXGTkXDTvII5dK7TW7huh4dyTcH5gk4NRgM3iSIo+PE/8U8C1adVvIgMG6+z 8U5KsEgjCODcW2be0L08rFpAK3c9YH8D4ePrNhGINZQt329tZs+FcOMCLFI2N6w6jfZ8 t21Q== X-Gm-Message-State: AO0yUKUWGlHw0xGiAkDfDHgwdtienTW8vRIlkEGlLnxuStnnar5wMgQX cP3QPKxC7jP6FVS4DsEHF2lEuA== X-Google-Smtp-Source: AK7set8YbKdjtCwRL3HQTENQwVaI+0wNZZ7/YMiFIyjH3bnfpLaXmX+bWcMCEwCYT9paaYkiAU1UQQ== X-Received: by 2002:a5d:5604:0:b0:2bf:ae11:c40c with SMTP id l4-20020a5d5604000000b002bfae11c40cmr12403341wrv.32.1675961563208; Thu, 09 Feb 2023 08:52:43 -0800 (PST) Received: from [10.2.3.222] (lfbn-nic-1-295-18.w90-116.abo.wanadoo.fr. [90.116.132.18]) by smtp.gmail.com with ESMTPSA id p14-20020a1c544e000000b003db06493ee7sm5699369wmi.47.2023.02.09.08.52.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Feb 2023 08:52:42 -0800 (PST) Message-ID: <39d459ad-fd6c-8d3d-0184-0d24de1f47ca@baylibre.com> Date: Thu, 9 Feb 2023 17:52:42 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v3 18/19] test/py: android: extend abootimg test Content-Language: en-US To: Tom Rini Cc: sjg@chromium.org, u-boot@lists.denx.de, sean.anderson@seco.com, r.stratiienko@gmail.com, mkorpershoek@baylibre.com, glaroque@baylibre.com, khilman@baylibre.com References: <20230205235021.355410-1-souajih@baylibre.com> <20230205235021.355410-19-souajih@baylibre.com> From: Safae Ouajih In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean On 07/02/2023 20:02, Tom Rini wrote: > On Mon, Feb 06, 2023 at 12:50:20AM +0100, Safae Ouajih wrote: > >> test_abootimg is extended to include the testing of boot images >> version 4. For this, boot.img and vendor_boot.img have been >> generated using mkbootimg tool with setting the header >> version to 4. >> >> This tests: >> - Getting the header version using abootimg >> - Extracting the load address of the dtb >> - Extracting the dtb start address in RAM >> >> Running test: >> $ ./test/py/test.py --bd sandbox --build -k test_abootimg >> >> Signed-off-by: Safae Ouajih >> Reviewed-by: Simon Glass >> --- >> test/py/tests/test_android/test_abootimg.py | 136 ++++++++++++++++++-- >> 1 file changed, 123 insertions(+), 13 deletions(-) > Alright, so I don't know where the failure starts, exactly. And to make > testing this easier, there's currently the > trini/u-boot-gitlab-ci-runner:jammy-20230126-07Feb2023 container you can > use to replicate my problem. The problem is that while this test passes > in CI, with GCC, with Clang it fails, consistently: > https://source.denx.de/u-boot/u-boot/-/jobs/572239#L284 > and I'm not quite sure why. I hope that building sandbox with clang and > also just trying these features out interactively will fail too, and so > debugging this will be less of a problem. > Hi Tom, I will try to reproduce this fail and fix it on a v4. Thank you for reporting, BRs, Safae