Bug 11014

Summary: package_qa_check_dbg tries to call a dict as a function
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Mark Charlebois <charlebm>
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher, poky.bs.watcher, poky.watcher, stephano
Version: 2.2   
Target Milestone: 2.3 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
stack trace
none
Patch to fix the issue none

Description Mark Charlebois 2017-02-04 01:11:59 UTC
Created attachment 3624 [details]
stack trace

package_qa_check_dbg(..., messages) is passed messages which is a dict and the attempts to call it lie a function:

See the attached stacktrace

all of the other package_qa_XXX(..., messages) functions do:

package_qa_add_message(messages, ...)
Comment 1 Mark Charlebois 2017-02-04 01:12:37 UTC
This also affects all versions after 2.2 possibly versions before as well.
Comment 2 Mark Charlebois 2017-02-04 01:18:48 UTC
Created attachment 3625 [details]
Patch to fix the issue
Comment 3 Stephano Cetola 2017-02-16 15:29:38 UTC
Fixed in commit 7f3e6d7ce94659447e1b1cdcb2440305581c8cbb