| Summary: | Some wic unittests fail | ||
|---|---|---|---|
| Product: | [QA/Testing] Runtime Testing | Reporter: | Lucian Musat <georgex.l.musat> |
| Component: | general | Assignee: | Ed Bartosh <eduard.bartosh> |
| Status: | VERIFIED FIXED | QA Contact: | Lucian Musat <georgex.l.musat> |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | alexandru.c.georgescu, costin.c.constantin, sgw |
| Version: | 1.9 | ||
| Target Milestone: | 1.9 M1 | ||
| Hardware: | x86 | ||
| OS: | x86_64 | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | New (Never tested) |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Lucian Musat
2015-05-07 11:36:11 UTC
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. |