From: "Paul Barker" <paul@pbarker.dev>
To: "Babanpreet Singh" <bbnpreetsingh@gmail.com>,
<openembedded-core@lists.openembedded.org>
Cc: "Chris Laplante" <chris.laplante@agilent.com>,
"Peter Kjellerstedt" <peter.kjellerstedt@axis.com>,
"Richard Purdie" <richard.purdie@linuxfoundation.org>
Subject: Re: [PATCH] oeqa/selftest: clear SANITY_TESTED_DISTROS instead of failing
Date: Thu, 26 Nov 2026 14:48:36 +0000 [thread overview]
Message-ID: <DN584IMPJ2I4.1H8SGQSEPJQRA@pbarker.dev> (raw)
In-Reply-To: <20261114185520.6-1-bbnpreetsingh@gmail.com>
On Sat Nov 14, 2026 at 6:55 PM GMT, Babanpreet Singh wrote:
> oe-selftest refuses to run when SANITY_TESTED_DISTROS is set, and
> poky.conf sets it:
>
> Please unset SANITY_TESTED_DISTROS in order to run oe-selftest
>
> Clear it in the test build directory with :forcevariable, so a value
> set through an override goes too, and drop the check.
>
> [YOCTO #11933]
Hi,
We discussed this during the patch review call. This is a minimal fix
for the specific error message seen when SANITY_TESTED_DISTROS is set
when running oe-selftest, but it's not a complete fix for the issues we
have with oe-selftest repeatability.
Ideally, oe-selftest should construct a new build environment from
scratch and copy in only the specific configuration that it needs from
the users existing conf directory. Implementing that is probably
non-trivial as it requires understanding the selftest framework and
figuring out what the tests actually need in different contexts. There
are also open questions to resolve such as whether the user's site.conf
file should be used as-is, even if we're dropping most of what's in
their local.conf file.
That is obviously a bigger set of changes and needs discussion. In the
meantime we'd rather not take this patch as it would just mask actual
problems.
Apologies!
Best regards,
--
Paul Barker
prev parent reply other threads:[~2026-11-26 14:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-14 18:55 [PATCH] oeqa/selftest: clear SANITY_TESTED_DISTROS instead of failing Babanpreet Singh
2026-11-26 14:48 ` Paul Barker [this message]
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=DN584IMPJ2I4.1H8SGQSEPJQRA@pbarker.dev \
--to=paul@pbarker.dev \
--cc=bbnpreetsingh@gmail.com \
--cc=chris.laplante@agilent.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=peter.kjellerstedt@axis.com \
--cc=richard.purdie@linuxfoundation.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