Running oe-selftest with poky-tiny distro, the following check fails: ----snip---- ====================================================================== FAIL [4.177s]: test_devtool_update_recipe_local_patch_gz (oeqa.selftest.devtool.DevtoolTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-poky-tiny/build/meta/lib/oeqa/selftest/devtool.py", line 964, in test_devtool_update_recipe_local_patch_gz recipefile = get_bb_var('FILE', testrecipe) File "/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-poky-tiny/build/meta/lib/oeqa/utils/commands.py", line 195, in get_bb_var return get_bb_vars([var], target, postconfig)[var] File "/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-poky-tiny/build/meta/lib/oeqa/utils/commands.py", line 157, in get_bb_vars bbenv = get_bb_env(target, postconfig=postconfig) File "/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-poky-tiny/build/meta/lib/oeqa/utils/commands.py", line 151, in get_bb_env return bitbake("-e %s" % target, postconfig=postconfig).output File "/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-poky-tiny/build/meta/lib/oeqa/utils/commands.py", line 143, in bitbake return runCmd(cmd, ignore_status, timeout, **options) File "/home/ab/autobuilder/yocto-worker/nightly-oe-selftest-poky-tiny/build/meta/lib/oeqa/utils/commands.py", line 121, in runCmd raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, result.output)) AssertionError: Command 'bitbake -e devtool-test-patch-gz' returned non-zero exit status 1: NOTE: Started PRServer with DBfile: /home/ab/autobuilder/yocto-worker/nightly-oe-selftest-poky-tiny/build/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 42072, PID: 24089 Loading cache...done. Loaded 1320 entries from dependency cache. NOTE: Resolving any missing task queue dependencies ERROR: Nothing PROVIDES 'libxres' (but /home/ab/autobuilder/yocto-worker/nightly-oe-selftest-poky-tiny/build/meta-selftest/recipes-test/devtool/devtool-test-patch-gz.bb DEPENDS on or otherwise requires it) ERROR: libxres was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES) ----snip---- The reason is that the recipe being used has a x11 distro feature dependency and poky-tiny distro features does not contain the latter.
being review at http://lists.openembedded.org/pipermail/openembedded-core/2017-April/135122.html
patch merged into master: e3c3d0956255c8ead64b180db08cf6a627d882b9
Created attachment 3732 [details] oe-selftest
Running oe-selftest with poky-tiny distro, work with successfully testimage: core-image-sato-core2-32.wic Build Configuration: BB_VERSION = "1.33.3" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "i686-poky-linux" MACHINE = "intel-core2-32" DISTRO = "poky" DISTRO_VERSION = "2.2+snapshot-20170417" TUNE_FEATURES = "m32 core2" COMMIT: eff56e4f0d59b1d965a68e4f009b7f07717b7edd STEPS: git clone git://git.yoctoproject.org/poky" b)In poky directory checkout on the desired commit: $ git checkout <commit-id> 3. Source the environment, from poky directory $ cd ~/poky $ source oe-init-build-env 4. Edit local.conf. PATH 5. In ~poky/build directory, in command line, type the following commands: $ bitbake rpm psplash run-postinsts $ bitbake package-index NOTE: After finishing the tasks, copy the image manifest (core-image-sato-sdk-genericx86.manifest) and the testdata.json (core-image-sato-sdk-genericx86.testdata.json) from autobuilder at the following path: "~poky/build/tmp/deploy/images/genericx86/" ( if "/tmp/deploy/images/genericx86" does not exist create new directories with this path) $ bitbake core-image-sato-sdk -c testimage $ oe-selftest --run-all EXPECTED OUTCOME: oe-selftest --run-all with successfully ACTUAL OUTCOME: oe-selftest --run-all work with successfully RESULTS IN ATTACHMENT