[OE-core] [PATCH v3 3/3] selftest/containerimage.py: Add container IMAGE_FSTYPES test
Burton, Ross
ross.burton at intel.com
Thu Jan 26 10:26:08 UTC 2017
FAIL [40.619s]: test_expected_files
(oeqa.selftest.containerimage.ContainerImageTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/containerimage.py",
line 82, in test_expected_files
self.assertEqual(result.output.split('\n'), expected_files)
AssertionError: Lists differ: ['tar:
/home/pokybuild/yocto-autobuilder/yo[191 chars]now'] != ['./', './etc/',
'./etc/default/', './etc/d[262 chars]kg/']
First differing element 0:
tar:
/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/deploy/images/qemux86-64/container-test-image-qemux86.tar.bz2:
Cannot open: No such file or directory
./
Second list contains 16 additional elements.
First extra element 2:
./etc/default/
- ['tar: '
-
'/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/deploy/images/qemux86-64/container-test-image-qemux86.tar.bz2:
'
- 'Cannot open: No such file or directory',
- 'tar: Error is not recoverable: exiting now']
+ ['./',
+ './etc/',
+ './etc/default/',
+ './etc/default/postinst',
+ './etc/ld.so.cache',
+ './etc/timestamp',
+ './etc/version',
+ './run/',
+ './usr/',
+ './usr/bin/',
+ './usr/bin/theapp',
+ './var/',
+ './var/cache/',
+ './var/cache/ldconfig/',
+ './var/cache/ldconfig/aux-cache',
+ './var/cache/opkg/',
+ './var/lib/',
+ './var/lib/opkg/']
The test needs to handle tar failing, and appears to be confused as to
whether its building for qemux86 or qemux86-64 (see the path that tar tries
to list).
Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170126/46cd625d/attachment-0002.html>
More information about the Openembedded-core
mailing list