Bug 9884 - Better configuration on whether toaster event files are written or not
Summary: Better configuration on whether toaster event files are written or not
Status: RESOLVED FIXED
Alias: None
Product: AutoBuilder
Classification: Infrastructure
Component: autobuilder (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: High normal
Target Milestone: 2.2 M2
Assignee: Bill Randle
QA Contact: Libertad
URL:
Whiteboard:
: 8230 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-07-06 15:36 UTC by Joshua Lock
Modified: 2016-07-19 15:50 UTC (History)
6 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 Joshua Lock 2016-07-06 15:36:41 UTC
We have observed bitbake_eventlog.json being generated in unexpected places during autobuilder builds.

* document when we expect event logs to be generated
* ensure the current code only generates event logs when we expect them to
* make generation of event logs more readily configurable — both when and where
Comment 1 Bill Randle 2016-07-06 17:37:09 UTC
When the event log is needed, it needs to go elsewhere than the top level build directory.

Need to also allow enabling or disabling of toaster build logging globally.

A suggested default is for toaster build logging be "off" for now. We
may choose to enable it at some point.
Comment 2 Joshua Lock 2016-07-13 21:29:01 UTC
*** Bug 8230 has been marked as a duplicate of this bug. ***
Comment 3 Bill Randle 2016-07-14 17:09:26 UTC
The patches (1) make generation of the eventlog optional, by having a user selection in the Forced Build web pages, (2) places the eventlog in build/tmp/log, instead of build and (3) adds a timestamp to the eventlog filename since multiple event logs can be generated during a multi-image buildset and otherwise only the last one would otherwise be saved.

Patch set sent to yocto mailing list.
Comment 4 Bill Randle 2016-07-19 15:50:39 UTC
Merged to master on 7/19/16 by Beth.