Build configuration is applied to bitbake build command but removed before calling runqemu. Thus disabling KVM support on aarc64 host was not effective. Note that this pattern is used in a lot of tests. KVM gets enabled via CI scripts.
Signed-off-by: Mikko Rapeli <[email protected]> --- meta/lib/oeqa/selftest/cases/wic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/cases/wic.py b/meta/lib/oeqa/selftest/cases/wic.py index 972fffe6f8..5e475f9e3f 100644 --- a/meta/lib/oeqa/selftest/cases/wic.py +++ b/meta/lib/oeqa/selftest/cases/wic.py @@ -1374,7 +1374,6 @@ IMAGE_CLASSES:remove = 'testimage' self.append_config(config) bitbake('core-image-base u-boot') runqemu_params = get_bb_var('TEST_RUNQEMUPARAMS', 'core-image-base') or "" - self.remove_config(config) with runqemu('core-image-base', ssh=False, runqemuparams='%s nographic' % (runqemu_params), image_fstype='wic') as qemu: @@ -1387,6 +1386,7 @@ IMAGE_CLASSES:remove = 'testimage' cmd = "cat /boot/loader/entries/boot.conf" status, output = qemu.run_serial(cmd) self.assertEqual(1, status, 'Failed to run command "%s": %s' % (cmd, output)) + self.remove_config(config) @skipIfNotArch(['i586', 'i686', 'x86_64']) @OETestTag("runqemu") -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#206280): https://lists.openembedded.org/g/openembedded-core/message/206280 Mute This Topic: https://lists.openembedded.org/mt/109186931/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
