generic-poky/bitbake/lib/bb
Ed Bartosh ead0545626 bitbake: cooker: record events on cooker exit
Bitbake collects all events in special event queue when called with
-w option. However, it starts to write events to the eventlog only
after BuildStarted event is received. In some cases this event is
not received at all, e.g. when bitbake is run with --parse-only
command line option.

It makes sense to write all collected events when CookerExit event
received to make sure all events are written into the eventlog even
if BuildStarted event is not fired.

[YOCTO #10145]

(Bitbake rev: 57912de63fa83550c0ae658eb99b76e9cc91a8d1)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-08 00:33:47 +01:00
..
fetch2 bitbake: fetch2/npm: clarify comment 2016-09-08 00:33:46 +01:00
parse bitbake: cookerdata/ast: Fail gracefully if event handler function is not found 2016-09-02 18:09:49 +01:00
pysh bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
server bitbake: bitbake: implement idle timeout for xmlrpc server 2016-07-21 07:48:52 +01:00
tests bitbake: tests: add unit tests for the usehead url parameter 2016-08-20 16:08:59 +01:00
ui bitbake: toaster: keep layer name in variable history path 2016-09-08 00:33:47 +01:00
COW.py bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
__init__.py bitbake: bitbake: Update version to 1.31.1 2016-08-18 10:06:27 +01:00
build.py bitbake: build/runqueue: Add noextra stamp file parameter to fix multiconfig builds 2016-09-02 18:09:49 +01:00
cache.py bitbake: cache: allow parsing a recipe with a custom config datastore 2016-09-02 18:09:48 +01:00
cache_extra.py bitbake: bitbake: cooker: get extra information from recipe cache 2013-09-22 12:19:44 +01:00
checksum.py bitbake: lib/bb/checksum: avoid exception on broken symlinks 2016-07-29 09:53:32 +01:00
codeparser.py bitbake: codeparser: Use hashlib for hashing, not hash() 2016-06-03 13:48:33 +01:00
command.py bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
compat.py bitbake: compat/server/utils: Jettison pre python 2.7.3 workarounds 2013-06-14 17:26:30 +01:00
cooker.py bitbake: cooker: record events on cooker exit 2016-09-08 00:33:47 +01:00
cookerdata.py bitbake: cookerdata/ast: Fail gracefully if event handler function is not found 2016-09-02 18:09:49 +01:00
daemonize.py bitbake: daemonize/prserv/tests/fetch: Convert file() -> open() 2016-05-13 13:41:32 +01:00
data.py bitbake: Implement support for per-task exports 2016-05-19 09:05:20 +01:00
data_smart.py bitbake: data_smart/utils: Add 'd' to the context used for better_eval in python expansion 2016-06-13 12:16:10 +01:00
event.py bitbake: cooker: add BuildInit event 2016-08-11 00:09:26 +01:00
exceptions.py bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
main.py bitbake: bitbake: implement idle timeout for xmlrpc server 2016-07-21 07:48:52 +01:00
methodpool.py bitbake: event/utils/methodpool: Add a cache of compiled code objects 2015-12-22 00:02:05 +00:00
monitordisk.py bitbake: bitbake: Update logger.warn() -> logger.warning() 2016-05-11 10:34:30 +01:00
msg.py bitbake: knotty: add quiet output mode 2016-07-08 09:57:27 +01:00
namedtuple_with_abc.py bitbake: lib/bb/*.py: Typo fixes/grammar/comment fixes, nothing functional. 2014-08-25 08:57:45 +01:00
persist_data.py bitbake: persist_data: Fix py3 update stack overflow 2016-08-11 00:07:08 +01:00
process.py bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
progress.py bitbake: lib/bb/progress: avoid possibility of start event being reported twice 2016-07-26 08:10:35 +01:00
providers.py bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
runqueue.py bitbake: build/runqueue: Add noextra stamp file parameter to fix multiconfig builds 2016-09-02 18:09:49 +01:00
shell.py Introduce new param caches_array into Cache impl. 2011-06-07 22:39:52 +01:00
siggen.py bitbake: siggen: Fix file variable typo in compare_sigfiles 2016-08-20 16:11:29 +01:00
taskdata.py bitbake: taskdata/runqueue: Rewrite without use of ID indirection 2016-06-15 08:35:07 +01:00
tinfoil.py bitbake: tinfoil: add a parse_recipe_file function 2016-09-02 18:09:49 +01:00
utils.py bitbake: lib/bb/utils: edit_metadata() comment tweaks 2016-09-08 00:33:46 +01:00