Hi Mathieu,
I can't reproduce this issue.
I ran the related recipetool oe-selftest on Ubuntu 22.04 host, Ubuntu 24.04
host and Fedora 44 container. All succeeded.
To be more detailed, I ran 'oe-selftest -r
recipetool.RecipetoolAppendTests.test_recipetool_appendfile_add_bindir' on
Ubuntu 22 and Fedora 44, and 'oe-selftest -r recipetool' on Ubuntu 24.
I examined the error messages on autobuilder. The key part is:
upstream-stable-release-point.bbclass:18: SyntaxWarning: invalid escape
sequence '\\.'\n return '\\.'.join(stable_parts)\n
However, the actual codes are:
'\.'.join(stable_parts)
There seems to be an extra '\' there. Interestingly, even if I manually added
an extra '\' to the codes, the test ('oe-selftest -r
recipetool.RecipetoolAppendTests.test_recipetool_appendfile_add_bindir) still
passed.
Could you please help me check how to reproduce this issue?
For easier examination, I've copy pasted the autobuilder's error message below.
----- error message start -----
2026-05-13 20:22:13,764 - oe-selftest - INFO - 1: 40/96 487/686 (57.83s) (2
failed) (recipetool.RecipetoolAppendTests.test_recipetool_appendfile_add_bindir)
2026-05-13 20:22:13,764 - oe-selftest - INFO -
testtools.testresult.real._StringException: Traceback (most recent call last):
File
"/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/recipetool.py",
line 198, in test_recipetool_appendfile_add_bindir
self.assertNotIn('WARNING: ', output)
File "/usr/lib/python3.12/unittest/case.py", line 1159, in assertNotIn
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/lib/python3.12/unittest/case.py", line 715, in fail
raise self.failureException(msg)
AssertionError: 'WARNING: ' unexpectedly found in "NOTE: Reconnecting to
bitbake server...\nLoading cache...done.\nLoaded 0 entries from dependency
cache.\nParsing recipes...WARNING:
/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/layers/openembedded-core/meta/recipes-core/systemd/systemd-boot-native_259.5.bb:
/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/layers/openembedded-core/meta/classes-recipe/upstream-stable-release-point.bbclass:18:
SyntaxWarning: invalid escape sequence '\\.'\n return
'\\.'.join(stable_parts)\n\nWARNING:
/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/layers/openembedded-core/meta/recipes-core/systemd/systemd-boot_259.5.bb:
/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/layers/openembedded-core/meta/classes-recipe/upstream-stable-release-point.bbclass:18:
SyntaxWarning: invalid escape sequence '\\.'\n return
'\\.'.join(stable_parts)\n\nWARNING:
/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/layers/openembedded-core/meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb:
/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/layers/openembedded-core/meta/classes-recipe/upstream-stable-release-point.bbclass:18:
SyntaxWarning: invalid escape sequence '\\.'\n return
'\\.'.join(stable_parts)\n\nWARNING:
/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/layers/openembedded-core/meta/recipes-core/systemd/systemd_259.5.bb:
/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/layers/openembedded-core/meta/classes-recipe/upstream-stable-release-point.bbclass:18:
SyntaxWarning: invalid escape sequence '\\.'\n return
'\\.'.join(stable_parts)\n\nWARNING:
/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/layers/openembedded-core/meta/recipes-core/util-linux/util-linux-libuuid_2.41.3.bb:
/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/layers/openembedded-core/meta/classes-recipe/upstream-stable-release-point.bbclass:18:
SyntaxWarning: invalid escape sequence '\\.'\n return
'\\.'.join(stable_parts)\n\nWARNING:
/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/layers/openembedded-core/meta/recipes-core/util-linux/util-linux_2.41.3.bb:
/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/layers/openembedded-core/meta/classes-recipe/upstream-stable-release-point.bbclass:18:
SyntaxWarning: invalid escape sequence '\\.'\n return
'\\.'.join(stable_parts)\n\nWARNING:
/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/layers/openembedded-core/meta/recipes-kernel/kmod/kmod_34.2.bb:
/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/layers/openembedded-core/meta/classes-recipe/upstream-stable-release-point.bbclass:18:
SyntaxWarning: invalid escape sequence '\\.'\n return
'\\.'.join(stable_parts)\n\ndone.\nParsing of 1029 .bb files complete (0
cached, 1029 parsed). 2078 targets, 64 skipped, 1 masked, 0 errors.\n\nSummary:
There were 7 WARNING messages.\nNOTE: Writing append file
/tmp/recipetoolqa7po32_jr/recipes-core/netbase/netbase_6.5.bbappend\nNOTE:
Copying testfile to
/tmp/recipetoolqa7po32_jr/recipes-core/netbase/netbase/testfile"
---- error message end ----
Regards,
Qi
-----Original Message-----
From: Mathieu Dubois-Briand <[email protected]>
Sent: Thursday, May 14, 2026 6:39 PM
To: Chen, Qi <[email protected]>; [email protected]
Cc: [email protected]; MacLeod, Randy <[email protected]>
Subject: Re: [OE-core][PATCH V5 1/7] recipeutils: add optional stable_upgrade
parameter to get_recipe_upgrade_status
On Wed May 13, 2026 at 7:23 AM CEST, Chen Qi via lists.openembedded.org wrote:
> From: Chen Qi <[email protected]>
>
> We want the ability to do stable version upgrades for recipes.
> To this end, add an optional stable_upgrade parameter to the
> get_recipe_upgrade_status function, which defaults to False and when
> enabled will try to get the latest stable version of the recipe.
>
> The UPSTREAM_STABLE_RELEASE_REGEX is respected. If a recipe sets it,
> it will be used as the filter_regex. If it's not set explicitly, it
> means that there's no stable updates or the recipe hasn't been checked
> yet.
>
> Signed-off-by: Chen Qi <[email protected]>
> ---
Hi Chen,
Thanks for the new version.
We got several selftest fails on the autobuilder:
2026-05-13 20:05:23,677 - oe-selftest - INFO -
overlayfs.OverlayFSTests.test_mount_unit_not_set (subunit.RemotedTestCase)
2026-05-13 20:05:23,678 - oe-selftest - INFO - ... FAIL ...
ERROR:
/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-37462/meta-selftest/recipes-test/overlayfs-user/overlayfs-user.bb:
A recipe uses overlayfs class but there is no OVERLAYFS_MOUNT_POINT set in
your MACHINE configuration
ERROR: Parsing halted due to errors, see error messages above ...
2026-05-13 20:11:59,345 - oe-selftest - INFO -
overlayfs.OverlayFSTests.test_wrong_mount_unit_set (subunit.RemotedTestCase)
2026-05-13 20:11:59,345 - oe-selftest - INFO - ... FAIL ...
2026-05-13 20:22:13,763 - oe-selftest - INFO -
recipetool.RecipetoolAppendTests.test_recipetool_appendfile_add_bindir
(subunit.RemotedTestCase)
2026-05-13 20:22:13,764 - oe-selftest - INFO - ... FAIL ...
2026-05-13 20:23:11,171 - oe-selftest - INFO -
recipetool.RecipetoolAppendTests.test_recipetool_appendfile_add_machine
(subunit.RemotedTestCase)
2026-05-13 20:23:11,172 - oe-selftest - INFO - ... FAIL ...
2026-05-13 20:24:48,333 - oe-selftest - INFO -
recipetool.RecipetoolAppendTests.test_recipetool_appendfile_basic
(subunit.RemotedTestCase)
2026-05-13 20:24:48,334 - oe-selftest - INFO - ... FAIL ...
https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/3951
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/3850
https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/3718
Can you have a look at this issue?
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 (#237070):
https://lists.openembedded.org/g/openembedded-core/message/237070
Mute This Topic: https://lists.openembedded.org/mt/119293054/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-