From 36dcd01badf2ec80c9e7cb279f99ab79d6059630 Mon Sep 17 00:00:00 2001 From: Mikko Rapeli Date: Thu, 8 May 2025 18:19:28 +0300 Subject: [PATCH] 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 Signed-off-by: Richard Purdie --- meta/lib/oeqa/selftest/cases/pokybleeding.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/lib/oeqa/selftest/cases/pokybleeding.py b/meta/lib/oeqa/selftest/cases/pokybleeding.py index dc12f761b9..d0940d680d 100644 --- a/meta/lib/oeqa/selftest/cases/pokybleeding.py +++ b/meta/lib/oeqa/selftest/cases/pokybleeding.py @@ -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")