From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.114.1796323202851122464 for ; Thu, 03 Dec 2026 10:40:04 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=bv3AjUT/; spf=pass (domain: bootlin.com, ip: 185.171.202.116, mailfrom: mathieu.dubois-briand@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id AEF62C003C2 for ; Thu, 3 Dec 2026 18:40:11 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 12509604C0; Thu, 3 Dec 2026 18:40:00 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 7E47911EA1693; Thu, 03 Dec 2026 19:39:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1796323195; h=from:subject:date:message-id:to:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=wlTpS5pmc9ZNQboHesYSwN+Jkx9BzGm6oKuArb9DQ1w=; b=bv3AjUT/RzlayIJr4pZ+yODxOgNZQNbzMldt+JupYAZGKeTcnXe0/rPLJaj6I1m+4/b4KX 06F7Y4eZL0IiKHTtVViBCXxVyDBmRmwEKIJyMYyGHunJ9xhvfoAcy2EqCtuLtAZMd+5zY3 VhTHMi6uE2Jo+wlecHbm68wtKrnMz69n+qO9HoFVNHLIb4pt5rNKDIFleQv0/jZACDCve/ aXO2dofu7Uw8JS3y91EJR76sJtM8z3Zv1ABWAUjAvdPOpuJJ5LrDMD04240ASgm8WU94rD v1TTvmftt1M0rzJm657Q8CjOaV6WMbg6ffEkYIIlCAVU+mq3DZ2xl0vC9G6/qg== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 03 Dec 2026 19:39:53 +0100 Message-Id: Subject: Re: [OE-core] [PATCH 2/2] oeqa/selftest/sdk: add install tests for all SDK_ARCHIVE_TYPE variants From: "Mathieu Dubois-Briand" To: , X-Mailer: aerc 0.21.0-0-g5549850facc2 References: <20261202224846.576290-1-ross.burton@arm.com> <20261202224846.576290-2-ross.burton@arm.com> In-Reply-To: <20261202224846.576290-2-ross.burton@arm.com> X-Last-TLS-Session-Version: TLSv1.3 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Thu, 03 Dec 2026 18:40:05 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251914 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 > --- 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._S= tringException: Traceback (most recent call last): File "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openemb= edded-core/meta/lib/oeqa/selftest/cases/sdk.py", line 147, in test_sdk_inst= all_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 --=20 Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com