If xmlrunner is enabled and a test fails, the log (results-oe-selftest.log) will mark test as PASSED. Steps to reproduce this: 1. Install xmlrunner (unittest-xml-reporting) 2. Checkout poky to 0ce888c4dc76b6e7ec09beb6ad74b85a87a54f7c revision 3. Add meta-selftest to bblayers.conf 4. Run 'oe-selftest -r sstatetests.SStateTests.test_sstate_sametune_samesigs' 5. results-oe-selftest.log will have the test as PASSED even as you saw it FAIL
The revision is incorrect, it should be: f431f766a0c5cd2c4545deff5c56e9918117d325
I verified it fails, when oe-selftest writes to the log it writes a mistaken result.
review sent, can be seen at: https://patchwork.openembedded.org/patch/137058/ and at: http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=besquive/bug-11012 Mariano, would you check it?
merged in master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=476696030492b09a5985f948e38db8304cadd512
Tested in GDC local AB and is working correctly, all the logs generated are consistent.