Hi Mathieu,

thanks for your reply!

On Fri, Jan 09, 2026 at 09:09:04AM +0100, Mathieu Dubois-Briand wrote:
> On Wed Jan 7, 2026 at 10:26 AM CET, Richard Leitner via 
> lists.openembedded.org wrote:
> > Introduce a configuration variable named FIT_CONF_STRIP_EXT which
> > removes the file-type extension from the configuration node name.
> >
> > This feature enables us to give configuration nodes arbritary names
> > (based on the dtb file names). This is in my case needed to ensure
> > consistent configuration names which where previously (walnascar)
> > generated using a fitimage_emit_section_config:append() function.
> >
> > Signed-off-by: Richard Leitner <[email protected]>
> > ---
> 
> Hi Richard,
> 
> Thanks for your patch.
> 
> It looks like this is making some selftest fail:
> 
> 2026-01-08 18:18:47,312 - oe-selftest - INFO - 
> fitimage.FitImagePyTests.test_fitimage_py_conf_extra_mappings_unused_error 
> (subunit.RemotedTestCase)
> 2026-01-08 18:18:47,313 - oe-selftest - INFO -  ... ERROR
> ...
> 2026-01-08 18:18:47,313 - 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/fitimage.py",
>  line 1257, in test_fitimage_py_conf_extra_mappings_unused_error
>     self._test_fitimage_py(bb_vars_overrides)
>   File 
> "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/fitimage.py",
>  line 1203, in _test_fitimage_py
>     root_node.fitimage_emit_section_config(bb_vars['FIT_CONF_DEFAULT_DTB'], 
> bb_vars.get('FIT_CONF_MAPPINGS'))
>   File 
> "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/meta/lib/oe/fitimage.py",
>  line 498, in fitimage_emit_section_config
>     default_conf = self.configurations.sub_nodes[0].name
>                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
> IndexError: list index out of range
> 
> ...
> 2026-01-08 18:18:47,317 - oe-selftest - INFO - 
> fitimage.FitImagePyTests.test_fitimage_py_conf_mappings 
> (subunit.RemotedTestCase)
> 2026-01-08 18:18:47,317 - oe-selftest - INFO -  ... ERROR
> ...
> 2026-01-08 18:18:47,322 - oe-selftest - INFO - 
> fitimage.FitImagePyTests.test_fitimage_py_conf_mappings_unused_error 
> (subunit.RemotedTestCase)
> 2026-01-08 18:18:47,322 - oe-selftest - INFO -  ... ERROR
> ...
> 2026-01-08 18:18:47,327 - oe-selftest - INFO - 
> fitimage.FitImagePyTests.test_fitimage_py_conf_mappings_with_alias 
> (subunit.RemotedTestCase)
> 2026-01-08 18:18:47,327 - oe-selftest - INFO -  ... ERROR
> ...
> 2026-01-08 18:18:47,338 - oe-selftest - INFO - 
> fitimage.FitImagePyTests.test_fitimage_py_default_dtb 
> (subunit.RemotedTestCase)
> 2026-01-08 18:18:47,339 - oe-selftest - INFO -  ... ERROR
> 
> I did not copy all the errors, as they are all similar to the first one.
> 
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/2989
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/2880
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/3127
> 
> Can you have a look at these issues?

Oh. Sorry. Sure I will have a look at those and send an updated v2.

> 
> Note, I had merge conflicts on your patch, so maybe my resolution was
> incorrect. If that's the case, can you rebase on master before sending
> the new version?

Sure. I will rebase on master for v2.

Thanks again for your feedback!

regards;rl

> 
> Thanks,
> Mathieu
> 
> -- 
> Mathieu Dubois-Briand, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#229095): 
https://lists.openembedded.org/g/openembedded-core/message/229095
Mute This Topic: https://lists.openembedded.org/mt/117131503/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to