After trying to run oe-selftest the following error message was displayed: "2017-04-21 09:51:06,597 - selftest - ERROR - Please unset SANITY_TESTED_DISTROS in order to run oe-selftest" Rep (3/3). I added the var SANITY_TESTED_DISTROS = "" at conf/local.conf and after that I was able to run oe-selftest. == Build details == +++++++++++++++++++++++++++++++++++++++++++++++++++ poky: 7a0e795373653886452a7a2992ced10080711c26 meta-qt4: e120a2193be3982d55741fb9e51472db6ab9a5cd meta-qt3: f33b73a9563f2dfdfd0ee37b61d65d90197a456f Build Configuration: BB_VERSION = "1.34.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "centos-7" TARGET_SYS = "x86_64-poky-linux" MACHINE = "qemux86-64" DISTRO = "poky" DISTRO_VERSION = "2.3" TUNE_FEATURES = "m64 core2" TARGET_FPU = "" meta meta-selftest meta-poky meta-yocto-bsp meta-selftest = "HEAD:7a0e795373653886452a7a2992ced10080711c26" +++++++++++++++++++++++++++++++++++++++++++++++++++ Steps to reproduce it 1. Clone poky 2. Source the environment 3. Add meta-selftest to conf/bblayers.conf 4. Run oe-selftest, for example eSDK $ oe-selftest -r eSDK.oeSDKExtSelfTest.test_image_generation_binary_feeds eSDK.oeSDKExtSelfTest.test_install_libraries_headers Expected results oe-selftest should run successfully Actual results oe-selftest failed getting the following error message: "ERROR - Please unset SANITY_TESTED_DISTROS in order to run oe-selftest"
Yes, as bug 11292 says leaving that set can cause errors. You could argue that oe-selftest should be clearing this value instead of expecting the user to do it. Patches welcome.
Proposed patch on the list https://patchwork.openembedded.org/patch/139410/
New proposal to do not write config files, Bug 11429 is filed to track the proposal, making this bug dependent of that.
This is a duplication fro the bug 11933 *** This bug has been marked as a duplicate of bug 11933 ***