oeqa/selftest/pokybleeding: change from mtd-utils-selftest to pseudo

Test recipe git repo URL is checked for newer commits and
mtd-utils-selftest check is sometimes failing due to server
errors. Use pseudo which uses Yocto Project in git servers
which should be reliable.

Fixes: [YOCTO #15855]

build/build-st-17692/tmp/hosttools"; export HOME="/srv/pokybuild"; git -c gc.autoDetach=false -c core.pager=cat -c safe.bareRepository=all -c clone.defaultRemoteName=origin ls-remote git://git.infradead.org/mtd-utils.git  failed with exit code 128, output:
fatal: read error: Connection reset by peer

(From meta-yocto rev: a82be5486058c2e5a1e286dba17c33444889c982)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Mikko Rapeli 2025-05-08 18:19:28 +03:00 committed by Richard Purdie
parent 2859d5fb9d
commit 36dcd01bad

View File

@ -15,18 +15,18 @@ class PokyBleeding(OESelftestTestCase):
with a single scm in SRC_URI and for recipe with two scm's in SRC_URI.
"""
self.assertNotEqual( get_bb_var('SRCREV', 'mtd-utils-selftest'), "AUTOINC")
self.assertNotEqual( get_bb_var('SRCREV', 'pseudo'), "AUTOINC")
self.assertNotEqual( get_bb_var('SRCREV', 'hello-rs'), "AUTOINC")
self.assertNotEqual( get_bb_var('SRCREV_hello-lib', 'hello-rs'), "AUTOINC")
features = '''
INHERIT += "poky-bleeding"
POKY_AUTOREV_RECIPES = "hello-rs mtd-utils-selftest"
POKY_AUTOREV_RECIPES = "hello-rs pseudo"
'''
self.write_config(features)
self.assertEqual( get_bb_var('SRCREV', 'mtd-utils-selftest'), "AUTOINC")
self.assertEqual( get_bb_var('SRCREV', 'pseudo'), "AUTOINC")
self.assertEqual( get_bb_var('SRCREV', 'hello-rs'), "AUTOINC")
self.assertEqual( get_bb_var('SRCREV_hello-lib', 'hello-rs'), "AUTOINC")