generic-poky/bitbake/lib/bb
Christopher Larson 7d27275ef8 bitbake: bb.build: in _exec_task, catch errors from TaskStarted
We don't always want a traceback when an exception is raised by the
TaskStarted event handler. Silently return if we get a SystemExit or
HandledException, and print the error and return for FuncFailed.

This is done via a separate try/catch block, to avoid firing TaskFailed if all
the TaskStarted event handlers didn't complete, otherwise the bitbake UIs get
unhappy.

(Bitbake rev: ca5b788280ad4303cc08a376e847cbbeda31970c)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-05 10:28:12 +01:00
..
fetch2 bitbake: fetch2: handle absolute paths in subdir 2016-09-22 11:18:11 +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: fetch2: handle absolute paths in subdir 2016-09-22 11:18:11 +01:00
ui bitbake: toaster: make error message more informative 2016-09-30 16:52:22 +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.2 2016-10-05 10:10:11 +01:00
build.py bitbake: bb.build: in _exec_task, catch errors from TaskStarted 2016-10-05 10:28:12 +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/providers: Only add target to world build if task exists 2016-09-22 11:18:11 +01:00
cookerdata.py bitbake: cookerdata.py: Catch BBHandledException, preventing a backtrace in an event 2016-09-21 21:58:06 +01:00
daemonize.py bitbake: daemonize/prserv/tests/fetch: Convert file() -> open() 2016-05-13 13:41:32 +01:00
data.py bitbake: data: Fix handling of vardepvalueexclude 2016-10-01 21:45:57 +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: event: prevent unclosed file warning in print_ui_queue 2016-10-05 10:25:34 +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: cooker/providers: Only add target to world build if task exists 2016-09-22 11:18:11 +01:00
runqueue.py bitbake: runqueue: Ensure worker failure is accounted for in task statistics 2016-09-30 16:52:21 +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