Bug 1433 - HOB build kept reporting run_buildstats failed
Summary: HOB build kept reporting run_buildstats failed
Status: RESOLVED FIXED
Alias: None
Product: Hob
Classification: Build System, Metadata & Runtime
Component: hob (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.1
Assignee: Joshua Lock - Disabled
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-08-31 14:50 UTC by Jessica
Modified: 2011-09-06 08:06 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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