It may be case that LIC_FILES_CHECKSUM is not on the incoming series, so we need to check if these is either on a inherit class or an include. This extra check would avoid false positives. The basic case was covered on Bug https://bugzilla.yoctoproject.org/show_bug.cgi?id=9872
To be more precise, this bug is affecting two test cases: test_metadata_lic_files_checksum test_metadata_src_uri
Tinfoil would be the ideal way to get variable values but for the moment system is launching a bitbake -e process. Only one test missing (SRC_URI) at the moment.
BB metadata related tests cases are being tested [1,2,3] [1] http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe/tree/tests/test_metadata_lic_files_chksum.py?h=metadata-checks [2] http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe/tree/tests/test_metadata_src_uri.py?h=metadata-checks [3] http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe/tree/tests/test_metadata_summary.py?h=metadata-checks
*** Bug 10058 has been marked as a duplicate of this bug. ***
In case any future issue is found on the related tests, new bugs must be filed.