diff mbox series

oeqa selftest pokybleeding.py: change from mtd-utils-selftest to pseudo

Message ID 20250508151928.1560286-1-mikko.rapeli@linaro.org
State New
Headers show
Series oeqa selftest pokybleeding.py: change from mtd-utils-selftest to pseudo | expand

Commit Message

Mikko Rapeli May 8, 2025, 3:19 p.m. UTC
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

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
---
 meta/lib/oeqa/selftest/cases/pokybleeding.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

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")