On the latests weekly testrun we have some automated wic tests failing. Commit: b2b59b14ecfe13ba794d92f97d1403d6503c7407 AB Link: http://autobuilder.yoctoproject.org/pub/nightly/20150505-2 Image type: core-image-sato-sdk ====================================================================== FAIL: test04_build_image_name (oeqa.selftest.wic.Wic) Test wic create directdisk --image-name core-image-minimal ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/wic.py", line 57, in test04_build_image_name self.assertEqual(0, runCmd("wic create directdisk " File "/home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/commands.py", line 103, 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: Please build syslinux first Checking basic build environment... Done. Creating image(s)... ====================================================================== FAIL: test05_build_artifacts (oeqa.selftest.wic.Wic) Test wic create directdisk providing all artifacts. ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/wic.py", line 63, in test05_build_artifacts self.assertEqual(0, runCmd("wic create directdisk " File "/home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/commands.py", line 103, in runCmd raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, result.output)) AssertionError: Command 'wic create directdisk -b tmp/sysroots/qemux86/usr/share -k tmp/deploy/images/qemux86 -n tmp/sysroots/x86_64-linux -r tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/rootfs' returned non-zero exit status 1: --roofs-dir (-r) not found, exiting Lava link: http://yocto-lava.rb.intel.com/dashboard/streams/anonymous/oe-selftest-fedora/bundles/151b3500b8bc048f6da7c47e1b9b11fa3474caf7/d1de5eb1-5fee-4cbd-a394-bf0050ca2d71/?sort=-result#table
Should be fixed by this http://lists.openembedded.org/pipermail/openembedded-core/2015-May/105197.html
My patch is in master now: http://cgit.openembedded.org/openembedded-core/commit/?id=379c9bb7ffae5b40c5450e968cdde600b6edd3f3
Ran again on commit 1b0c03d99b5dff3346f429b978415e2ff0dd0905 and test04_build_image_name worked fine but test05_build_artifacts still failed. Traceback (most recent call last): File "/home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/wic.py", line 69, in test05_build_artifacts self.assertEqual(0, runCmd("wic create directdisk " File "/home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/commands.py", line 104, in runCmd raise AssertionError("Command '%s' returned non-zero exit status %d: %s" % (command, result.status, result.output)) AssertionError: Command 'wic create directdisk -b tmp/sysroots/qemux86/usr/share -k tmp/deploy/images/qemux86 -n tmp/sysroots/x86_64-linux -r tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/rootfs' returned non-zero exit status 1: --roofs-dir (-r) not found, exiting Link: http://yocto-lava.rb.intel.com/dashboard/streams/anonymous/oe-selftest-ubuntu/bundles/e404d315aad7fd28ab358eac5f8a450c8ed29487/9715adff-d542-400f-8348-179e82ae0831/?sort=-result#table
Hi Ed, I had a look on the autobuilder and found there is something wrong (not 100% sure, still investigating) with the config there. However, after having a look on meta/lib/oeqa/selftest/wic.py in my opinion, the test that failed here "test05_build_artifacts" needs to search dynamically for the machine name, and the machine's architecture bitbake runs on. The reason why the test failed is because the config. on autobuilder was for MACHINE ??= "qemux86-64" Costin
Costin, thank you for the hint. Should be fixed by this: http://lists.openembedded.org/pipermail/openembedded-core/2015-June/106131.html Please, review.
The fix is in master now: http://cgit.openembedded.org/openembedded-core/commit/?id=dda85cd420d47d97b0d0b0f294b37cd6066c541c
The wic tests work fine now. Setting as verified.