* [RFC wrynose][PATCH 0/5] yocto-check-layer runtime improvements
@ 2026-11-24 17:13 Jose Quaresma
2026-11-24 17:13 ` [RFC wrynose][PATCH 1/5] checklayer: Improve debug output Jose Quaresma
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: Jose Quaresma @ 2026-11-24 17:13 UTC (permalink / raw)
To: openembedded-core; +Cc: Jose Quaresma
Recently, features have been introduced that significantly reduce the
execution time of the yocto-check-layer on master.
This is done using the new argument "--run-tests" which can take the
values of: "bsp common distro" to achieve the same results as without
the argument at all. In my tests, using the argument reduces the time
required by half in a layer with 25 machines.
Otavio Salvador (3):
yocto-check-layer: Add --run-tests to select the tests to run
yocto-check-layer: Skip initial signatures unless test_signatures runs
checklayer: Share each world signature dump between the tests needing
it
Richard Purdie (1):
checklayer: Improve debug output
Vinicius Pedrosa (1):
yocto-check-layer: don't skip entries when dropping invalid layers
scripts/lib/checklayer/__init__.py | 31 +++++++++--------
scripts/lib/checklayer/cases/bsp.py | 15 +++++---
scripts/lib/checklayer/cases/common.py | 20 +++++++----
scripts/yocto-check-layer | 47 ++++++++++++++++----------
4 files changed, 70 insertions(+), 43 deletions(-)
--
2.56.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [RFC wrynose][PATCH 1/5] checklayer: Improve debug output
2026-11-24 17:13 [RFC wrynose][PATCH 0/5] yocto-check-layer runtime improvements Jose Quaresma
@ 2026-11-24 17:13 ` Jose Quaresma
2026-11-24 17:13 ` [RFC wrynose][PATCH 2/5] yocto-check-layer: don't skip entries when dropping invalid layers Jose Quaresma
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Jose Quaresma @ 2026-11-24 17:13 UTC (permalink / raw)
To: openembedded-core; +Cc: Richard Purdie, Jose Quaresma
From: Richard Purdie <richard.purdie@linuxfoundation.org>
When tasks don't match, the printdiff output alone can be misleading about
which tasks didn't match. Print the mismatches explicitly to aid debugging.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a2e37fab7c7f8aac4a5b1bcfb696a3fe263326bc)
Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
---
scripts/lib/checklayer/__init__.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/scripts/lib/checklayer/__init__.py b/scripts/lib/checklayer/__init__.py
index 274dc7578f..aa19a8e2ae 100644
--- a/scripts/lib/checklayer/__init__.py
+++ b/scripts/lib/checklayer/__init__.py
@@ -422,6 +422,9 @@ def compare_signatures(old_sigs, curr_sigs):
if not sig_diff:
return None
+ for task in sig_diff:
+ print("%s changed %s -> %s" % (task, sig_diff[task][0], sig_diff[task][1]))
+
# Beware, depgraph uses task=<pn>.<taskname> whereas get_signatures()
# uses <pn>:<taskname>. Need to convert sometimes. The output follows
# the convention from get_signatures() because that seems closer to
--
2.56.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [RFC wrynose][PATCH 2/5] yocto-check-layer: don't skip entries when dropping invalid layers
2026-11-24 17:13 [RFC wrynose][PATCH 0/5] yocto-check-layer runtime improvements Jose Quaresma
2026-11-24 17:13 ` [RFC wrynose][PATCH 1/5] checklayer: Improve debug output Jose Quaresma
@ 2026-11-24 17:13 ` Jose Quaresma
2026-11-24 17:13 ` [RFC wrynose][PATCH 3/5] yocto-check-layer: Add --run-tests to select the tests to run Jose Quaresma
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Jose Quaresma @ 2026-11-24 17:13 UTC (permalink / raw)
To: openembedded-core
Cc: Vinicius Pedrosa, Mathieu Dubois-Briand, Richard Purdie,
Jose Quaresma
From: Vinicius Pedrosa <vinicius.eduardo.pedrosa@gmail.com>
The "Detected layers" loop removes invalid entries from the list it's
iterating over. When two invalid layers are adjacent, removing the
first skips the second, leaving it in the list.
A skipped entry without conf/layer.conf makes the dependency pass fail
with KeyError: 'collections'. A skipped BSP+DISTRO entry isn't
reported. If no other layer is left to test, the script exits 0.
Move the filtering into validate_layers(), which builds a new list
containing only valid layers. Keep validation at its original position
and update dep_layers when it previously shared the same list, without
changing the existing dependency handling.
Signed-off-by: Vinicius Pedrosa <vinicius.eduardo.pedrosa@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6050ce9f129ad20ad395c35380855bafb79c530f)
Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
---
scripts/yocto-check-layer | 33 ++++++++++++++++++++-------------
1 file changed, 20 insertions(+), 13 deletions(-)
diff --git a/scripts/yocto-check-layer b/scripts/yocto-check-layer
index 8c8b4dbcad..ca4ada0f35 100755
--- a/scripts/yocto-check-layer
+++ b/scripts/yocto-check-layer
@@ -48,6 +48,22 @@ def dump_layer_debug(layer):
if collections:
logger.debug("%s collections: %s" % (layer["name"], ", ".join(collections)))
+def validate_layers(layers):
+ valid_layers = []
+ for layer in layers:
+ if layer['type'] == LayerType.ERROR_BSP_DISTRO:
+ logger.error("%s: Can't be DISTRO and BSP type at the same time."\
+ " Both conf/distro and conf/machine folders were found."\
+ % layer['name'])
+ elif layer['type'] == LayerType.ERROR_NO_LAYER_CONF:
+ logger.info("%s: Doesn't have conf/layer.conf file, so ignoring"\
+ % layer['name'])
+ else:
+ logger.info("%s: %s, %s" % (layer['name'], layer['type'],
+ layer['path']))
+ valid_layers.append(layer)
+ return valid_layers
+
def main():
parser = argparse.ArgumentParser(
description="Yocto Project layer checking tool",
@@ -125,19 +141,10 @@ def main():
return 1
logger.info("Detected layers:")
- for layer in layers:
- if layer['type'] == LayerType.ERROR_BSP_DISTRO:
- logger.error("%s: Can't be DISTRO and BSP type at the same time."\
- " Both conf/distro and conf/machine folders were found."\
- % layer['name'])
- layers.remove(layer)
- elif layer['type'] == LayerType.ERROR_NO_LAYER_CONF:
- logger.info("%s: Doesn't have conf/layer.conf file, so ignoring"\
- % layer['name'])
- layers.remove(layer)
- else:
- logger.info("%s: %s, %s" % (layer['name'], layer['type'],
- layer['path']))
+ layers = validate_layers(layers)
+ # Keep dep_layers in sync when it previously shared the layers list.
+ if not args.dependency:
+ dep_layers = layers
if not layers:
return 1
--
2.56.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [RFC wrynose][PATCH 3/5] yocto-check-layer: Add --run-tests to select the tests to run
2026-11-24 17:13 [RFC wrynose][PATCH 0/5] yocto-check-layer runtime improvements Jose Quaresma
2026-11-24 17:13 ` [RFC wrynose][PATCH 1/5] checklayer: Improve debug output Jose Quaresma
2026-11-24 17:13 ` [RFC wrynose][PATCH 2/5] yocto-check-layer: don't skip entries when dropping invalid layers Jose Quaresma
@ 2026-11-24 17:13 ` Jose Quaresma
2026-11-24 17:13 ` [RFC wrynose][PATCH 4/5] yocto-check-layer: Skip initial signatures unless test_signatures runs Jose Quaresma
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Jose Quaresma @ 2026-11-24 17:13 UTC (permalink / raw)
To: openembedded-core
Cc: Otavio Salvador, Luciano Dittgen, Richard Purdie, Jose Quaresma
From: Otavio Salvador <otavio@ossystems.com.br>
The common and distro tests ignore --machines, so a BSP layer checked in
several runs, one per group of machines, repeats them in each. Add
--run-tests, taking <module>[.<class>[.<name>]] as oe-test does, so the
common tests can run once and only the BSP ones in the others. A name
matching no test is an error rather than a run that checked nothing.
Tested on meta-freescale with "--run-tests common distro" and
"--run-tests bsp --machines imx8mm-ddr4-evk imx8mn-ddr4-evk".
Suggested-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
AI-Generated: Uses Claude Code (Claude Opus 5.5)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a72b58e99fcb3d873cabf0c29f07585fbd2de2e4)
Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
---
scripts/yocto-check-layer | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/scripts/yocto-check-layer b/scripts/yocto-check-layer
index ca4ada0f35..4634672162 100755
--- a/scripts/yocto-check-layer
+++ b/scripts/yocto-check-layer
@@ -32,14 +32,14 @@ CASES_PATHS = [os.path.join(os.path.abspath(os.path.dirname(__file__)),
'lib', 'checklayer', 'cases')]
logger = scriptutils.logger_create(PROGNAME, stream=sys.stdout)
-def test_layer(td, layer, test_software_layer_signatures):
+def test_layer(td, layer, test_software_layer_signatures, run_tests):
from checklayer.context import CheckLayerTestContext
logger.info("Starting to analyze: %s" % layer['name'])
logger.info('Distro: %s' % td['bbvars']["DISTRO"])
logger.info("----------------------------------------------------------------------")
tc = CheckLayerTestContext(td=td, logger=logger, layer=layer, test_software_layer_signatures=test_software_layer_signatures)
- tc.loadTests(CASES_PATHS)
+ tc.loadTests(CASES_PATHS, modules=run_tests, modules_required=run_tests)
return tc.runTests()
def dump_layer_debug(layer):
@@ -86,6 +86,8 @@ def main():
help='check that software layers do not change signatures (on by default)')
group.add_argument('--without-software-layer-signature-check', action='store_false', dest='test_software_layer_signatures',
help='disable signature checking for software layers')
+ parser.add_argument('--run-tests', nargs='+', metavar='TEST', default=[],
+ help='Tests to run, as <module>[.<class>[.<name>]] (default: all)')
parser.add_argument('-n', '--no-auto', help='Disable auto layer discovery',
action='store_true')
parser.add_argument('-d', '--debug', help='Enable debug output',
@@ -235,7 +237,7 @@ def main():
layers_tested = layers_tested + 1
continue
- result = test_layer(td, layer, args.test_software_layer_signatures)
+ result = test_layer(td, layer, args.test_software_layer_signatures, args.run_tests)
results[layer['name']] = result
results_status[layer['name']] = 'PASS' if results[layer['name']].wasSuccessful() else 'FAIL'
layers_tested = layers_tested + 1
--
2.56.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [RFC wrynose][PATCH 4/5] yocto-check-layer: Skip initial signatures unless test_signatures runs
2026-11-24 17:13 [RFC wrynose][PATCH 0/5] yocto-check-layer runtime improvements Jose Quaresma
` (2 preceding siblings ...)
2026-11-24 17:13 ` [RFC wrynose][PATCH 3/5] yocto-check-layer: Add --run-tests to select the tests to run Jose Quaresma
@ 2026-11-24 17:13 ` Jose Quaresma
2026-11-24 17:13 ` [RFC wrynose][PATCH 5/5] checklayer: Share each world signature dump between the tests needing it Jose Quaresma
2026-12-01 16:51 ` [OE-core] [RFC wrynose][PATCH 0/5] yocto-check-layer runtime improvements Yoann Congal
5 siblings, 0 replies; 7+ messages in thread
From: Jose Quaresma @ 2026-11-24 17:13 UTC (permalink / raw)
To: openembedded-core
Cc: Otavio Salvador, Luciano Dittgen, Richard Purdie, Jose Quaresma
From: Otavio Salvador <otavio@ossystems.com.br>
Only test_signatures compares against the world signatures dumped before
the layer is added, so a run without it, such as "--run-tests bsp", spent
a world parse on a dump it never used. Dump them only when --run-tests
selects common tests, as it does by default.
Tested on meta-freescale with "--run-tests bsp": no initial dump, same
results.
Suggested-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
AI-Generated: Uses Claude Code (Claude Opus 5.5)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 34c0e63b2d14ca1eeb30cf6cd087d5cb5327e19f)
Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
---
scripts/yocto-check-layer | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/scripts/yocto-check-layer b/scripts/yocto-check-layer
index 4634672162..4017b3a251 100755
--- a/scripts/yocto-check-layer
+++ b/scripts/yocto-check-layer
@@ -221,7 +221,9 @@ def main():
logger.info('Getting initial signatures ...')
td['builddir'] = builddir
try:
- td['sigs'], td['tunetasks'] = get_signatures(td['builddir'])
+ # Only test_signatures, a common test, compares against them
+ if not args.run_tests or 'common' in [t.split('.')[0] for t in args.run_tests]:
+ td['sigs'], td['tunetasks'] = get_signatures(td['builddir'])
except RuntimeError as e:
logger.info(str(e))
results[layer['name']] = None
--
2.56.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [RFC wrynose][PATCH 5/5] checklayer: Share each world signature dump between the tests needing it
2026-11-24 17:13 [RFC wrynose][PATCH 0/5] yocto-check-layer runtime improvements Jose Quaresma
` (3 preceding siblings ...)
2026-11-24 17:13 ` [RFC wrynose][PATCH 4/5] yocto-check-layer: Skip initial signatures unless test_signatures runs Jose Quaresma
@ 2026-11-24 17:13 ` Jose Quaresma
2026-12-01 16:51 ` [OE-core] [RFC wrynose][PATCH 0/5] yocto-check-layer runtime improvements Yoann Congal
5 siblings, 0 replies; 7+ messages in thread
From: Jose Quaresma @ 2026-11-24 17:13 UTC (permalink / raw)
To: openembedded-core
Cc: Otavio Salvador, Luciano Dittgen, Paul Barker, Richard Purdie,
Jose Quaresma
From: Otavio Salvador <otavio@ossystems.com.br>
test_signatures and test_world dump the same world signatures, with and
without -k, and so do test_machine_signatures and test_machine_world for
each machine; when the dump succeeds, the second only repeats a world
parse. Make get_signatures() always run bitbake with -k and return the
error along with the signatures, and dump once in setUpClass(): for the
common tests, and per machine for the BSP ones. test_world and
test_machine_world check the stored error, the signature tests use the
stored signatures.
Tested on meta-freescale with two machines: 5 world dumps instead of 8,
same results; a recipe breaking world on one machine fails
test_machine_world for that machine only, now listing all its errors.
Suggested-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
Suggested-by: Paul Barker <paul@pbarker.dev>
AI-Generated: Uses Claude Code (Claude Opus 5.5)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 530be0c29e906a312a61322e73e20309731c4569)
Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
---
scripts/lib/checklayer/__init__.py | 28 +++++++++++++-------------
scripts/lib/checklayer/cases/bsp.py | 15 +++++++++-----
scripts/lib/checklayer/cases/common.py | 20 +++++++++++-------
scripts/yocto-check-layer | 4 +++-
4 files changed, 40 insertions(+), 27 deletions(-)
diff --git a/scripts/lib/checklayer/__init__.py b/scripts/lib/checklayer/__init__.py
index aa19a8e2ae..9d79ae9cd0 100644
--- a/scripts/lib/checklayer/__init__.py
+++ b/scripts/lib/checklayer/__init__.py
@@ -287,7 +287,12 @@ def check_command(error_msg, cmd, cwd=None):
raise RuntimeError(msg)
return output
-def get_signatures(builddir, failsafe=False, machine=None, extravars=None):
+def get_signatures(builddir, machine=None, extravars=None):
+ '''
+ Returns the world signatures, the tasks of each tune and None, or the
+ error when some recipes failed, with the signatures of the others
+ (None when none were written).
+ '''
import re
# some recipes needs to be excluded like meta-world-pkgdata
@@ -304,25 +309,20 @@ def get_signatures(builddir, failsafe=False, machine=None, extravars=None):
cmd += ' '
if machine:
cmd += 'MACHINE=%s ' % machine
- cmd += 'bitbake '
- if failsafe:
- cmd += '-k '
- cmd += '-S lockedsigs world'
+ cmd += 'bitbake -k -S lockedsigs world'
sigs_file = os.path.join(builddir, 'locked-sigs.inc')
if os.path.exists(sigs_file):
os.unlink(sigs_file)
+ error = None
try:
check_command('Generating signatures failed. This might be due to some parse error and/or general layer incompatibilities.',
cmd, builddir)
except RuntimeError as ex:
- if failsafe and os.path.exists(sigs_file):
- # Ignore the error here. Most likely some recipes active
- # in a world build lack some dependencies. There is a
- # separate test_machine_world_build which exposes the
- # failure.
- pass
- else:
- raise
+ # Most likely some recipes active in a world build lack some
+ # dependencies: the caller decides whether that is fatal.
+ error = str(ex)
+ if not os.path.exists(sigs_file):
+ return (None, None, error)
sig_regex = re.compile(r"^(?P<task>[^:]*:[^:]*):(?P<hash>[^:]*) .$")
assignment_regex = re.compile(r"^\s*(?P<var>\S+)\s*\+?=")
@@ -362,7 +362,7 @@ def get_signatures(builddir, failsafe=False, machine=None, extravars=None):
if not sigs:
raise RuntimeError('Can\'t load signatures from %s' % sigs_file)
- return (sigs, tune2tasks)
+ return (sigs, tune2tasks, error)
def get_depgraph(targets=['world'], failsafe=False):
'''
diff --git a/scripts/lib/checklayer/cases/bsp.py b/scripts/lib/checklayer/cases/bsp.py
index b76163fb56..6bf04b5b00 100644
--- a/scripts/lib/checklayer/cases/bsp.py
+++ b/scripts/lib/checklayer/cases/bsp.py
@@ -14,6 +14,10 @@ class BSPCheckLayer(OECheckLayerTestCase):
if self.tc.layer['type'] not in (LayerType.BSP, LayerType.CORE):
raise unittest.SkipTest("BSPCheckLayer: Layer %s isn't BSP one." %\
self.tc.layer['name'])
+ # test_machine_world and test_machine_signatures share one world
+ # dump per machine
+ self.machine_sigs = {machine: get_signatures(self.td['builddir'], machine=machine)
+ for machine in self.td['machines'] or []}
def test_bsp_defines_machines(self):
self.assertTrue(self.tc.layer['conf']['machines'],
@@ -45,10 +49,9 @@ class BSPCheckLayer(OECheckLayerTestCase):
msg = []
for machine in self.td['machines']:
# In contrast to test_machine_signatures() below, errors are fatal here.
- try:
- get_signatures(self.td['builddir'], failsafe=False, machine=machine)
- except RuntimeError as ex:
- msg.append(str(ex))
+ error = self.machine_sigs[machine][2]
+ if error:
+ msg.append(error)
if msg:
msg.insert(0, 'The following machines broke a world build:')
self.fail('\n'.join(msg))
@@ -80,7 +83,9 @@ class BSPCheckLayer(OECheckLayerTestCase):
tunes = {}
# Preserve ordering of machines as chosen by the user.
for machine in self.td['machines']:
- curr_sigs, tune2tasks = get_signatures(self.td['builddir'], failsafe=True, machine=machine)
+ curr_sigs, tune2tasks, error = self.machine_sigs[machine]
+ if curr_sigs is None:
+ raise RuntimeError(error)
# Invert the tune -> [tasks] mapping.
tasks2tune = {}
for tune, tasks in tune2tasks.items():
diff --git a/scripts/lib/checklayer/cases/common.py b/scripts/lib/checklayer/cases/common.py
index d20559e163..812bb6e637 100644
--- a/scripts/lib/checklayer/cases/common.py
+++ b/scripts/lib/checklayer/cases/common.py
@@ -11,6 +11,11 @@ from checklayer import get_signatures, LayerType, check_command, compare_signatu
from checklayer.case import OECheckLayerTestCase
class CommonCheckLayer(OECheckLayerTestCase):
+ @classmethod
+ def setUpClass(cls):
+ # test_world and test_signatures share one world dump
+ cls.world_sigs, _, cls.world_error = get_signatures(cls.td['builddir'])
+
def test_readme(self):
"""
Test that the layer contains a valid README file and that is meets
@@ -98,7 +103,8 @@ class CommonCheckLayer(OECheckLayerTestCase):
are not actually buildable, so here we fail when "bitbake -S none world"
fails.
'''
- get_signatures(self.td['builddir'], failsafe=False)
+ if self.world_error:
+ raise RuntimeError(self.world_error)
def test_world_inherit_class(self):
'''
@@ -106,10 +112,9 @@ class CommonCheckLayer(OECheckLayerTestCase):
class, which can do additional per-recipe test cases.
'''
msg = []
- try:
- get_signatures(self.td['builddir'], failsafe=False, machine=None, extravars='BB_ENV_PASSTHROUGH_ADDITIONS="$BB_ENV_PASSTHROUGH_ADDITIONS INHERIT" INHERIT="yocto-check-layer"')
- except RuntimeError as ex:
- msg.append(str(ex))
+ _, _, error = get_signatures(self.td['builddir'], machine=None, extravars='BB_ENV_PASSTHROUGH_ADDITIONS="$BB_ENV_PASSTHROUGH_ADDITIONS INHERIT" INHERIT="yocto-check-layer"')
+ if error:
+ msg.append(error)
if msg:
msg.insert(0, 'Layer %s failed additional checks from yocto-check-layer.bbclass\nSee below log for specific recipe parsing errors:\n' % \
self.tc.layer['name'])
@@ -135,8 +140,9 @@ class CommonCheckLayer(OECheckLayerTestCase):
raise unittest.SkipTest("Not testing for signature changes in a software layer %s." \
% self.tc.layer['name'])
- curr_sigs, _ = get_signatures(self.td['builddir'], failsafe=True)
- msg = compare_signatures(self.td['sigs'], curr_sigs)
+ if self.world_sigs is None:
+ raise RuntimeError(self.world_error)
+ msg = compare_signatures(self.td['sigs'], self.world_sigs)
if msg is not None:
self.fail('Adding layer %s changed signatures.\n%s' % (self.tc.layer['name'], msg))
diff --git a/scripts/yocto-check-layer b/scripts/yocto-check-layer
index 4017b3a251..9b00bf5b8f 100755
--- a/scripts/yocto-check-layer
+++ b/scripts/yocto-check-layer
@@ -223,7 +223,9 @@ def main():
try:
# Only test_signatures, a common test, compares against them
if not args.run_tests or 'common' in [t.split('.')[0] for t in args.run_tests]:
- td['sigs'], td['tunetasks'] = get_signatures(td['builddir'])
+ td['sigs'], td['tunetasks'], error = get_signatures(td['builddir'])
+ if error:
+ raise RuntimeError(error)
except RuntimeError as e:
logger.info(str(e))
results[layer['name']] = None
--
2.56.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [OE-core] [RFC wrynose][PATCH 0/5] yocto-check-layer runtime improvements
2026-11-24 17:13 [RFC wrynose][PATCH 0/5] yocto-check-layer runtime improvements Jose Quaresma
` (4 preceding siblings ...)
2026-11-24 17:13 ` [RFC wrynose][PATCH 5/5] checklayer: Share each world signature dump between the tests needing it Jose Quaresma
@ 2026-12-01 16:51 ` Yoann Congal
5 siblings, 0 replies; 7+ messages in thread
From: Yoann Congal @ 2026-12-01 16:51 UTC (permalink / raw)
To: jose.quaresma, openembedded-core
On Tue Nov 24, 2026 at 6:13 PM CET, Jose Quaresma via openembedded-core wrote:
> Recently, features have been introduced that significantly reduce the
> execution time of the yocto-check-layer on master.
>
> This is done using the new argument "--run-tests" which can take the
> values of: "bsp common distro" to achieve the same results as without
> the argument at all. In my tests, using the argument reduces the time
> required by half in a layer with 25 machines.
>
> Otavio Salvador (3):
> yocto-check-layer: Add --run-tests to select the tests to run
> yocto-check-layer: Skip initial signatures unless test_signatures runs
> checklayer: Share each world signature dump between the tests needing
> it
>
> Richard Purdie (1):
> checklayer: Improve debug output
>
> Vinicius Pedrosa (1):
> yocto-check-layer: don't skip entries when dropping invalid layers
>
> scripts/lib/checklayer/__init__.py | 31 +++++++++--------
> scripts/lib/checklayer/cases/bsp.py | 15 +++++---
> scripts/lib/checklayer/cases/common.py | 20 +++++++----
> scripts/yocto-check-layer | 47 ++++++++++++++++----------
> 4 files changed, 70 insertions(+), 43 deletions(-)
Hello Jose,
The exception for feature inclusion aside, this must also be in
blacksail before being considered for wrynose.
Specificaly, commit a72b58e99fc (yocto-check-layer: Add --run-tests to
select the tests to run, 2026-10-19) is not on blacksail.
Could you send the equivalent series for blacksail? (some patches are
already there)
Regards,
--
Yoann Congal
Smile ECS
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2026-12-01 16:51 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-24 17:13 [RFC wrynose][PATCH 0/5] yocto-check-layer runtime improvements Jose Quaresma
2026-11-24 17:13 ` [RFC wrynose][PATCH 1/5] checklayer: Improve debug output Jose Quaresma
2026-11-24 17:13 ` [RFC wrynose][PATCH 2/5] yocto-check-layer: don't skip entries when dropping invalid layers Jose Quaresma
2026-11-24 17:13 ` [RFC wrynose][PATCH 3/5] yocto-check-layer: Add --run-tests to select the tests to run Jose Quaresma
2026-11-24 17:13 ` [RFC wrynose][PATCH 4/5] yocto-check-layer: Skip initial signatures unless test_signatures runs Jose Quaresma
2026-11-24 17:13 ` [RFC wrynose][PATCH 5/5] checklayer: Share each world signature dump between the tests needing it Jose Quaresma
2026-12-01 16:51 ` [OE-core] [RFC wrynose][PATCH 0/5] yocto-check-layer runtime improvements Yoann Congal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox