generic-poky/bitbake/lib/bb
Richard Purdie bfc21fd9b2 bitbake: server/process: Fix missing log messages issue
Currently if the server dies, its possible that log messages are never
displayed which is particularly problematic if one of those messages
is the exception and backtrace the server died with.

Rather than having the event queue exit as soon as the server disappears,
we should pop events from the queue until its empty before exiting.

This patch tweaks that code so that even if the server is dead and we're
going to exit, we return any events left in the pipe. This makes
debugging certain failures much easier.

(Bitbake rev: 29f6ade68fb2b506a23a7eb3a00cdcffa291b362)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-14 23:05:15 +01:00
..
fetch2 bitbake: fetch: Use OrderedDict for url parameters 2016-05-13 13:41:32 +01:00
parse bitbake: bitbake: Update logger.warn() -> logger.warning() 2016-05-11 10:34:30 +01:00
pysh bitbake: lib: fix no newline at end of file 2014-07-04 09:28:36 +01:00
server bitbake: server/process: Fix missing log messages issue 2016-05-14 23:05:15 +01:00
tests bitbake: fetch: Use OrderedDict for url parameters 2016-05-13 13:41:32 +01:00
ui bitbake: cooker/toasterui: Drop SEND_DEPENDS_TREE UI feature 2016-05-14 23:05:14 +01:00
COW.py Apply some 2to3 refactorings 2010-07-02 15:41:37 +01:00
__init__.py bitbake: bitbake: Update logger.warn() -> logger.warning() 2016-05-11 10:34:30 +01:00
build.py bitbake: bitbake: Update logger.warn() -> logger.warning() 2016-05-11 10:34:30 +01:00
cache.py bitbake: contrib/dump_cache.py, cache: Fix to use python 3 syntax 2016-05-13 13:41:32 +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: checksum: In FileChecksumCache don't follow directory symlinks 2016-03-30 12:01:29 +01:00
codeparser.py bitbake: bb/cache: drop some unused arguments 2016-02-18 07:41:15 +00:00
command.py bitbake: command: make setEventMask readonly 2016-03-07 17:23:04 +00: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/toasterui: Drop SEND_DEPENDS_TREE UI feature 2016-05-14 23:05:14 +01:00
cookerdata.py bitbake: cookerdata: Fix log messages and ensure we exit 2016-05-13 13:41:32 +01:00
daemonize.py bitbake: daemonize/prserv/tests/fetch: Convert file() -> open() 2016-05-13 13:41:32 +01:00
data.py bitbake: bitbake: Update logger.warn() -> logger.warning() 2016-05-11 10:34:30 +01:00
data_smart.py bitbake: bb.data_smart: use iter() for __len__ 2016-05-06 10:18:12 +01:00
event.py bitbake: event/msg: Pass formatted exceptions 2016-05-13 13:41:32 +01:00
exceptions.py bitbake/exceptions: Handle reports from the field of exception code failures 2012-05-25 11:15:12 +01:00
main.py bitbake: main: Ensure exceptions are correctly displayed 2016-05-13 13:41:33 +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: event/msg: Pass formatted exceptions 2016-05-13 13:41:32 +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: Return str instead of unicode for sqlite3 text queries 2016-04-06 10:29:47 +01:00
process.py bitbake: Fix default function parameter assignment to a list 2015-08-19 18:05:44 +01:00
providers.py bitbake: providers: Add PREFERRED_RPROVIDER support 2016-04-15 06:59:44 +01:00
runqueue.py bitbake: runqueue.py: always emit bb.event.DepTreeGenerated 2016-05-14 23:05:14 +01:00
shell.py Introduce new param caches_array into Cache impl. 2011-06-07 22:39:52 +01:00
siggen.py bitbake: bitbake: Update logger.warn() -> logger.warning() 2016-05-11 10:34:30 +01:00
taskdata.py bitbake: taskdata: Fix traceback issue with missing provider 2016-02-15 16:48:12 +00:00
tinfoil.py bitbake: tinfoil: remove logging handler at shutdown 2015-09-23 22:44:56 +01:00
utils.py bitbake: utils: Force bitbake to en_US.UTF-8 locale setting everywhere 2016-05-13 13:41:32 +01:00