Bug 1433

Summary: HOB build kept reporting run_buildstats failed
Product: [Build System, Metadata & Runtime] Hob Reporter: Jessica <jessica.zhang>
Component: hobAssignee: Joshua Lock - Disabled <josh>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, jiajun.xu, poky.bs.watcher, poky.watcher
Version: unspecified   
Target Milestone: 1.1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Jessica 2011-08-31 14:50:30 UTC
Now whenever run a hob build, user will see the following error 
"Execution of event handler 'run_buildstats' failed

but still the build will successful.
Comment 1 Joshua Lock - Disabled 2011-09-02 16:18:41 UTC
Seems like the buildstats.bbclass handler doesn't play well with hob, a short investigation didn't lead me to any useful leads. The exception raised which causes the message in hob is:

'NoneType' object has no attribute 'startswith'
Comment 2 Joshua Lock - Disabled 2011-09-02 16:42:43 UTC
Bug 1499 filed to track the underlying issue for post 1.1, in the 1.1 timeframe we will mask this error.
Comment 3 Joshua Lock - Disabled 2011-09-06 08:06:08 UTC
Workaround implemented in http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=38653d64d2580fbe99441cf12b5abca6e563c621