The wic selftests are failing on the autobuilder due to inability to find parted-native. (https://autobuilder.yoctoproject.org/main/builders/nightly-oe-selftest/builds/206/steps/Running%20oe-selftest/logs/stdio) For example, FAIL: test04_build_image_name (oeqa.selftest.wic.Wic) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/decorators.py", line 106, in wrapped_f return func(*args) File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/wic.py", line 79, in test04_build_image_name self.assertEqual(0, runCmd("wic create directdisk " File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/commands.py", line 105, in runCmd raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, result.output)) AssertionError: Command 'wic create directdisk --image-name core-image-minimal' returned non-zero exit status 1: Error: A native program parted required to build the image was not found (see details above). Please bake it with 'bitbake parted-native' and try again.
Richard, didn't you/Ed discuss a patch that was to blame for this?
Reverting master commit e5b9c2a9f2b9ad354d246b20d7252957dd5ebb42 did not solve the problem (this commit e5b9... changes the method name from setUp to SetUpLocal). Also, the class method setUpClass is being executed, which means that wic dependencies (including parted-native) are being run correctly. Still looking into the root cause.
I sent the patch which was created by Ross Burton. Patch on the ML now: http://lists.openembedded.org/pipermail/openembedded-core/2015-October/111704.html If this patch is applied, the following patch MUST be applied against meta-yocto-bsp, otherwise an exception will occur: https://lists.yoctoproject.org/pipermail/poky/2015-October/010259.html Each patch goes to a different mailing list (first one goes to oe-core, second to poky), that is why I am explicitly indicating the need for the second patch.
selftest is all green as of oe-core ad33259b507914bfc8de92d1df12e0974157900e.
Verified on master: 505a82673ac2487df5ea343a6422c2fc47018831 All wic test cases are passing on autobuilder.