Bug 11328

Summary: tests: test_lic_files_chksum_presence uses a variable not always provided by Bitbake
Product: [Yocto Project Subprojects] Patchwork/Patchtest Reporter: Daniela Plascencia <daniela.plascencia>
Component: Patchtest TestsuiteAssignee: Daniela Plascencia <daniela.plascencia>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: leonardo.sandoval.gonzalez
Version: 2.3   
Target Milestone: 2.5 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on: 10804, 10805    
Bug Blocks:    

Description Daniela Plascencia 2017-04-10 20:52:12 UTC
The test expects 'bitbake -e' to return a variable (LIC_FILES_CHKSUM) or raise an ERROR when it is not present on a new recipe. The latter doesn't happen as bitbake will build any recipe without a license file checksum specified, meaning the test is not reliable and it should be modified using tinfoil to avoid further issues.
Comment 1 Daniela Plascencia 2017-08-24 19:58:34 UTC
I think this issue might be solved already as we are using Tinfoil now. Have to double check if this still applies or if it's already corrected.
Comment 2 Daniela Plascencia 2017-09-08 21:01:39 UTC
This is not an issue anymore on master-next; the code was changed and this test case uses tinfoil instead of bitbake directly, meaning the variable in the description is not present anymore. 
I'll change the status to "IN PROGRESS REVIEW" as the branch that solves this (and many other issues) is not yet merged on master.
Comment 3 Daniela Plascencia 2017-10-02 15:38:38 UTC
As mentioned before, this is not an issue anymore, but we are still testing. Moving this to 2.5 M1, it should be solved before M1 ends.
Comment 4 Daniela Plascencia 2017-10-20 20:44:37 UTC
Latest changes on master solve this issue.

http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe/log/
Comment 5 Daniela Plascencia 2017-10-20 20:46:55 UTC
Forgot to change the status to Resolved Fixed.