diff options
| author | Mikko Rapeli <mikko.rapeli@linaro.org> | 2025-05-08 18:19:28 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-05-12 17:06:07 +0100 |
| commit | 36dcd01badf2ec80c9e7cb279f99ab79d6059630 (patch) | |
| tree | b7d8f6b747ba4541d3700a882018fc811d15f9c7 /meta | |
| parent | 2859d5fb9d3a1e17a8953400f83758fc04df44ca (diff) | |
| download | poky-36dcd01badf2ec80c9e7cb279f99ab79d6059630.tar.gz | |
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>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/pokybleeding.py | 6 |
1 files 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): | |||
| 15 | with a single scm in SRC_URI and for recipe with two scm's in SRC_URI. | 15 | with a single scm in SRC_URI and for recipe with two scm's in SRC_URI. |
| 16 | """ | 16 | """ |
| 17 | 17 | ||
| 18 | self.assertNotEqual( get_bb_var('SRCREV', 'mtd-utils-selftest'), "AUTOINC") | 18 | self.assertNotEqual( get_bb_var('SRCREV', 'pseudo'), "AUTOINC") |
| 19 | 19 | ||
| 20 | self.assertNotEqual( get_bb_var('SRCREV', 'hello-rs'), "AUTOINC") | 20 | self.assertNotEqual( get_bb_var('SRCREV', 'hello-rs'), "AUTOINC") |
| 21 | self.assertNotEqual( get_bb_var('SRCREV_hello-lib', 'hello-rs'), "AUTOINC") | 21 | self.assertNotEqual( get_bb_var('SRCREV_hello-lib', 'hello-rs'), "AUTOINC") |
| 22 | 22 | ||
| 23 | features = ''' | 23 | features = ''' |
| 24 | INHERIT += "poky-bleeding" | 24 | INHERIT += "poky-bleeding" |
| 25 | POKY_AUTOREV_RECIPES = "hello-rs mtd-utils-selftest" | 25 | POKY_AUTOREV_RECIPES = "hello-rs pseudo" |
| 26 | ''' | 26 | ''' |
| 27 | self.write_config(features) | 27 | self.write_config(features) |
| 28 | 28 | ||
| 29 | self.assertEqual( get_bb_var('SRCREV', 'mtd-utils-selftest'), "AUTOINC") | 29 | self.assertEqual( get_bb_var('SRCREV', 'pseudo'), "AUTOINC") |
| 30 | 30 | ||
| 31 | self.assertEqual( get_bb_var('SRCREV', 'hello-rs'), "AUTOINC") | 31 | self.assertEqual( get_bb_var('SRCREV', 'hello-rs'), "AUTOINC") |
| 32 | self.assertEqual( get_bb_var('SRCREV_hello-lib', 'hello-rs'), "AUTOINC") | 32 | self.assertEqual( get_bb_var('SRCREV_hello-lib', 'hello-rs'), "AUTOINC") |
