All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: <ross.burton@arm.com>, <openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH 2/2] oeqa/selftest/sdk: add install tests for all SDK_ARCHIVE_TYPE variants
Date: Thu, 03 Dec 2026 19:39:53 +0100	[thread overview]
Message-ID: <DNBBFEU117CW.2B6X2A0BW5SSI@bootlin.com> (raw)
In-Reply-To: <20261202224846.576290-2-ross.burton@arm.com>

On Wed Dec 2, 2026 at 11:48 PM CET, Ross Burton via openembedded-core wrote:
> Add tests to verify that the SDK installs correctly with each of the
> archive types. The test is minimal: success is defined as the SDK
> installing and an environment script being present.
>
> The 7zip type has to be conditional on meta-oe being present, as 7zip is
> in that layer.
>
> Also check that the required host tools are present, so hosts with a
> minimal set of tools don't fail.
>
> Signed-off-by: Ross Burton <ross.burton@arm.com>
> ---

Hi Ross,

Thanks for your patch.

>  meta/lib/oeqa/selftest/cases/sdk.py | 43 ++++++++++++++++++++++++++++-
>  1 file changed, 42 insertions(+), 1 deletion(-)
>
> diff --git a/meta/lib/oeqa/selftest/cases/sdk.py b/meta/lib/oeqa/selftest/cases/sdk.py
> index ee1e4ca4200..cb31d8ec365 100644
> --- a/meta/lib/oeqa/selftest/cases/sdk.py
> +++ b/meta/lib/oeqa/selftest/cases/sdk.py
> @@ -13,7 +13,7 @@ import select
...
> +
> +    def test_sdk_install_7z(self):
> +        if "openembedded-layer" not in get_bb_var('BBFILE_COLLECTIONS').split():

I'm sorry, BBFILE_COLLECTIONS just got removed :)

This leads to:

2026-12-03 15:07:05,671 - oe-selftest - INFO - sdk.SDKInstallTests.test_sdk_install_7z (subunit.RemotedTestCase)
2026-12-03 15:07:05,672 - oe-selftest - INFO -  ... ERROR

Stderr:
NOTE: Reconnecting to bitbake server...
2026-12-03 15:07:05,672 - oe-selftest - INFO - 2: 25/32 223/848 (0.77s) (1 failed) (sdk.SDKInstallTests.test_sdk_install_7z)
2026-12-03 15:07:05,673 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/sdk.py", line 147, in test_sdk_install_7z
    if "openembedded-layer" not in get_bb_var('BBFILE_COLLECTIONS').split():
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'split'

https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/5402

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


  reply	other threads:[~2026-12-03 18:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02 22:48 [PATCH 1/2] populate_sdk_base: fix typo in error message Ross Burton
2026-12-02 22:48 ` [PATCH 2/2] oeqa/selftest/sdk: add install tests for all SDK_ARCHIVE_TYPE variants Ross Burton
2026-12-03 18:39   ` Mathieu Dubois-Briand [this message]
2026-12-04 13:11     ` [OE-core] " Ross Burton

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=DNBBFEU117CW.2B6X2A0BW5SSI@bootlin.com \
    --to=mathieu.dubois-briand@bootlin.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@arm.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.