If I run: BB_SKIP_NETTESTS=yes bitbake-selftest I see: Unset BB_SKIP_NETTESTS to run network tests ....................................................................................................................................................................................................................................ssss........sssssssssssssss.........s.....s.......................................................................E Stdout: Looking for collection core... E Stdout: Looking for layerbranch openembedded-core... .... ====================================================================== ERROR: test_find_collection (layerindexlib.tests.restapi.LayerIndexWebRestApiTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/media/build1/poky/bitbake/lib/layerindexlib/tests/restapi.py", line 150, in test_find_collection _check(collection, result) File "/media/build1/poky/bitbake/lib/layerindexlib/tests/restapi.py", line 136, in _check result = self.layerindex.find_collection(collection) AttributeError: 'LayerIndexWebRestApiTest' object has no attribute 'layerindex' Stdout: Looking for collection core... ====================================================================== ERROR: test_find_layerbranch (layerindexlib.tests.restapi.LayerIndexWebRestApiTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/media/build1/poky/bitbake/lib/layerindexlib/tests/restapi.py", line 173, in test_find_layerbranch _check(collection, result) File "/media/build1/poky/bitbake/lib/layerindexlib/tests/restapi.py", line 156, in _check for index in self.layerindex.indexes: AttributeError: 'LayerIndexWebRestApiTest' object has no attribute 'layerindex' Stdout: Looking for layerbranch openembedded-core... ---------------------------------------------------------------------- Ran 348 tests in 20.443s whereas bitbake-selftest with the network tests enabled works just fine. We should fix this. I suspect its a bug Mark introduced with the new tests for the layerindex.
patch send to bitbake-devel list for review. changes also available at bitbake-contrib mgh/12928 branch
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=f61ef5b45417382ff94e9d389d8eeda490026d73