Bug 15786 - buildstats: Track down rare UnboundLocalError
Summary: buildstats: Track down rare UnboundLocalError
Status: RESOLVED WONTFIX
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 5.3
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2025-03-05 19:42 UTC by Randy MacLeod
Modified: 2026-03-04 23:10 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randy MacLeod 2025-03-05 19:42:00 UTC
This commit:
   https://git.yoctoproject.org/poky/commit/?id=2bd54942917d8ed51d85cc291162002eac7bd133

is a work-around in that we don't understand why, in rare cases,
BUILDNAME can seemingly be None outside of heartbeat events.

This type of error also came up when I  was working with Sakib on 

https://git.openembedded.org/openembedded-core/commit/?id=26d82f92e5ed2ebdde158d66b86eaf248f56892a

This could be hard to reproduce but it would be good to get to the root cause of the problem.
Comment 1 Randy MacLeod 2026-03-04 23:10:17 UTC
Not worth tracking. 

If this you see this error, please explain what you were doing and 
re-open this defect.