From: Pierrick Bouvier <pierrick.bouvier@linaro.org>
To: "Alex Bennée" <alex.bennee@linaro.org>,
"Peter Maydell" <peter.maydell@linaro.org>
Cc: Richard Henderson <richard.henderson@linaro.org>,
qemu-devel@nongnu.org, qemu-arm@nongnu.org
Subject: Re: [PATCH v9 2/6] tests/functional/test_aarch64_rme: update image
Date: Fri, 15 Aug 2025 17:09:53 -0700 [thread overview]
Message-ID: <3d59d45f-79f1-4701-ad3b-402513ce4e72@linaro.org> (raw)
In-Reply-To: <87349s4kfz.fsf@draig.linaro.org>
On 8/15/25 9:29 AM, Alex Bennée wrote:
> Peter Maydell <peter.maydell@linaro.org> writes:
>
>> On Sun, 27 Jul 2025 at 08:42, Richard Henderson
>> <richard.henderson@linaro.org> wrote:
>>>
>>> From: Pierrick Bouvier <pierrick.bouvier@linaro.org>
>>>
>>> TF-A needs to be patched to enable support for FEAT_TCR2 and
>>> FEAT_SCTLR2. This new image contains updated firmware.
>>>
>>> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
>>> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
>>> Message-ID: <20250719035838.2284029-3-pierrick.bouvier@linaro.org>
>>
>> I see this test failing in local runs of 'make check-functional'
>> sometimes, complaining that it can't create the scratch/out/EFI
>> directory because it already exists:
>>
>> stderr:
>> Traceback (most recent call last):
>> File "/mnt/nvmedisk/linaro/qemu-from-laptop/qemu/tests/functional/test_aarch64_rme_sbsaref.py",
>> line 49, in test_aarch64_rme_sbsaref
>> os.mkdir(efi)
>
> os.makedirs(efi, exist_ok=True)
>
> would solve that.
>
Yes, probably safer to add that if we can't guarantee correctly that
scratch folder gets deleted everytime. I wrote the test assuming this
behaviour.
>> FileExistsError: [Errno 17] File exists:
>> '/mnt/nvmedisk/linaro/qemu-from-laptop/qemu/build/arm-clang/tests/functional/aarch64/test_aarch64_rme_sbsaref.Aarch64RMESbsaRefMachine.test_aarch64_rme_sbsaref/scratch/out/EFI'
>>
>> More information on
>> test_aarch64_rme_sbsaref.Aarch64RMESbsaRefMachine.test_aarch64_rme_sbsaref
>> could be found here:
>> /mnt/nvmedisk/linaro/qemu-from-laptop/qemu/build/arm-clang/tests/functional/aarch64/test_aarch64_rme_sbsaref.Aarch64RMESbsaRefMachine.test_aarch64_rme_sbsaref/base.log
>> /mnt/nvmedisk/linaro/qemu-from-laptop/qemu/build/arm-clang/tests/functional/aarch64/test_aarch64_rme_sbsaref.Aarch64RMESbsaRefMachine.test_aarch64_rme_sbsaref/console.log
>>
>> (test program exited with status code 1)
>>
>>
>> Is this something where we need to blow away any old output
>> directory for robustness ?
>
> Generally scratch is cleaned out once a test finishes (unless you
> preserve it via QEMU_TEST_KEEP_SCRATCH=1). But I guess there may be
> cases when it isn't cleaned out properly - does Ctrl-c get caught?
>
>>
>> thanks
>> -- PMM
>
next prev parent reply other threads:[~2025-08-16 0:11 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-27 7:41 [PATCH for-10.2 v9 0/6] target/arm: Add FEAT_MEC to max cpu Richard Henderson
2025-07-27 7:41 ` [PATCH v9 1/6] tests/functional/test_aarch64_device_passthrough: update image Richard Henderson
2025-07-27 7:41 ` [PATCH v9 2/6] tests/functional/test_aarch64_rme: " Richard Henderson
2025-07-28 10:05 ` Philippe Mathieu-Daudé
2025-08-15 16:08 ` Peter Maydell
2025-08-15 16:29 ` Alex Bennée
2025-08-16 0:09 ` Pierrick Bouvier [this message]
2025-08-28 8:27 ` Peter Maydell
2025-08-28 14:42 ` Pierrick Bouvier
2025-07-27 7:41 ` [PATCH v9 3/6] target/arm: Implement FEAT_SCTLR2 and enable with -cpu max Richard Henderson
2025-07-27 7:42 ` [PATCH v9 4/6] target/arm: Implement FEAT_TCR2 " Richard Henderson
2025-07-27 7:42 ` [PATCH v9 5/6] target/arm: Implement FEAT_MEC registers Richard Henderson
2025-08-18 13:36 ` Peter Maydell
2025-08-18 15:15 ` Peter Maydell
2025-07-27 7:42 ` [PATCH v9 6/6] target/arm: Enable FEAT_MEC in -cpu max Richard Henderson
2025-08-18 13:42 ` Peter Maydell
2025-08-18 22:32 ` Richard Henderson
2025-08-15 13:03 ` [PATCH for-10.2 v9 0/6] target/arm: Add FEAT_MEC to max cpu Peter Maydell
2025-08-18 13:44 ` Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3d59d45f-79f1-4701-ad3b-402513ce4e72@linaro.org \
--to=pierrick.bouvier@linaro.org \
--cc=alex.bennee@linaro.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).