2019-01-29 01:20:52,424 - oe-selftest - INFO - pkgdata.OePkgdataUtilTests.test_lookup_recipe (subunit.RemotedTestCase) 2019-01-29 01:20:52,425 - oe-selftest - INFO - ... FAIL 2019-01-29 01:20:52,425 - oe-selftest - INFO - 12: 8/21 102/338 (3.65s) (pkgdata.OePkgdataUtilTests.test_lookup_recipe) 2019-01-29 01:20:52,425 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last): File "/home/pokybuild/yocto-worker/oe-selftest/build/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f return func(*args, **kwargs) File "/home/pokybuild/yocto-worker/oe-selftest/build/meta/lib/oeqa/selftest/cases/pkgdata.py", line 60, in test_lookup_recipe self.assertEqual(result.output, 'zlib\nbusybox') File "/usr/lib64/python3.4/unittest/case.py", line 838, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib64/python3.4/unittest/case.py", line 1211, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib64/python3.4/unittest/case.py", line 683, in fail raise self.failureException(msg) AssertionError: 'zlib\nbusybox is in the RPROVIDES of target-sdk-provid[32 chars]ummy' != 'zlib\nbusybox' zlib + busybox- busybox is in the RPROVIDES of target-sdk-provides-dummy: - target-sdk-provides-dummy 2019-01-29 01:20:59,027 - oe-selftest - INFO - pkgdata.OePkgdataUtilTests.test_read_value (subunit.RemotedTestCase)
git://git.pokylinux.org/poky-contrib ChenQi/pkgdata-clean http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/pkgdata-clean
commit b68a42596d69b0fee1ef6f7181a823718b014094 Author: Chen Qi <Qi.Chen@windriver.com> Date: Wed Jan 30 10:56:24 2019 +0800 pkgdata.py: avoid target-sdk-dummy-provides to mess things up Sometimes we meet the following failure for the test_lookup_recipe test case. AssertionError: 'zlib\nbusybox is in the RPROVIDES of target-sdk-provid[32 chars]ummy' != 'zlib\nbusybox' zlib + busybox- busybox is in the RPROVIDES of target-sdk-provides-dummy: - target-sdk-provides-dummy This is because target-sdk-provides-dummy rprovides busybox. So clean things up to avoid failure. (From OE-Core rev: b3001770df6640549270361bfaa449cb3e79a0b7) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>