From c6276d8e577fc7790d116d6c3e4e76883f4a32c2 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 7 Nov 2023 11:56:53 +0000 Subject: oeqa/selftest/sstatetests: Fix intermitttent errors and improve performance You could reproduce an error in this test with: bitbake core-image-minimal bitbake tzcode-native -c cleansstate oe-selftest -r sstatetests.SStatePrintdiff.test_image_minimal_vs_base_do_configure since tzcode-native isn't needed once tzdata is available and isn't rebuilt by "bitbake core-image-minimal" if it is missig. tzdata is allarch so if tzdata is built on an x86 host, a aarch64 build machine would never build tzcode-native with this set of calls. Add a --runall option to the initial bitbake invocation to force these things to be created if they're missing. This explains why some failures were occurring on the infrastructure. With that issue fixed, drop the hash mode change since I believe this fixes that issue. That restriction was hurting performance, this should allow sstate reuse for the test and improve the speed of it. (From OE-Core rev: 8f03ac39e7fe21f3d6eca35b12b203a73a15285d) Signed-off-by: Richard Purdie --- meta-selftest/classes/base-do-configure-modified.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-selftest') diff --git a/meta-selftest/classes/base-do-configure-modified.bbclass b/meta-selftest/classes/base-do-configure-modified.bbclass index 3f96827a42..9175bb8ad9 100644 --- a/meta-selftest/classes/base-do-configure-modified.bbclass +++ b/meta-selftest/classes/base-do-configure-modified.bbclass @@ -1,3 +1,3 @@ base_do_configure:append () { - echo "this changes base_do_configure() definiton" + echo "this changes base_do_configure() definiton " } -- cgit v1.2.3-54-g00ecf