Skip to content

Error message improvements

Paul Eggleton bitbake-devel 1 version Applied

Status from this message: Merged to master, thanks. Some good improvements in there.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/8bitbake/knotty: don't count errors as warnings in summarybitbake/lib/bb/ui/knotty.py+1 -10 replies
2/8bitbake/fetch2: improve error formatting for fetcher errorsbitbake/lib/bb/build.py bitbake/lib/bb/fetch2/__init__.py+8 -50 replies
3/8bitbake/runqueue: avoid "failed" in task summary if nothing didbitbake/lib/bb/runqueue.py+5 -10 replies
4/8bitbake/fetch2: correctly decode exit signal/statusbitbake/lib/bb/fetch2/__init__.py+7 -40 replies
5/8bitbake/knotty: avoid printing full task log when error already printedbitbake/lib/bb/build.py bitbake/lib/bb/ui/knotty.py+16 -40 replies
6/8bitbake/fetch2: reduce output for fetch failuresbitbake/lib/bb/fetch2/__init__.py+6 -10 replies
7/8bitbake/cooker: avoid printing stack trace for -b match errorbitbake/lib/bb/cooker.py+11 -60 replies
8/8bitbake/knotty: print task failure summarybitbake/lib/bb/cooker.py bitbake/lib/bb/ui/knotty.py+22 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] Error message improvements

A number of fixes to improve the readability of error messages, primarily for fetch errors, but will improve error output in other situations as well.

(This supersedes the set of patches I sent a couple of days ago.)

The changes (against Poky, but apply cleanly with -p2 against bitbake master) are available in the git repository at:
git://git.yoctoproject.org/poky-contrib paule/errorhandling
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=paule/errorhandling

Paul Eggleton (8):
bitbake/knotty: don't count errors as warnings in summary bitbake/fetch2: improve error formatting for fetcher errors bitbake/runqueue: avoid "failed" in task summary if nothing did bitbake/fetch2: correctly decode exit signal/status bitbake/knotty: avoid printing full task log when error already
printed
bitbake/fetch2: reduce output for fetch failures bitbake/cooker: avoid printing stack trace for -b match error bitbake/knotty: print task failure summary

 bitbake/lib/bb/build.py           |   20 ++++++++++++++++----
 bitbake/lib/bb/cooker.py          |   21 +++++++++++----------
 bitbake/lib/bb/fetch2/__init__.py |   29 ++++++++++++++++++++---------
 bitbake/lib/bb/runqueue.py        |    6 +++++-
 bitbake/lib/bb/ui/knotty.py       |   28 ++++++++++++++++++++++++----
 5 files changed, 76 insertions(+), 28 deletions(-)
Signature · 1 line
1.7.5.4