]> git.dujemihanovic.xyz Git - u-boot.git/commit
buildman: Handle exceptions in threads gracefully
authorSimon Glass <sjg@chromium.org>
Sun, 11 Apr 2021 04:27:27 +0000 (16:27 +1200)
committerSimon Glass <sjg@chromium.org>
Thu, 29 Apr 2021 10:23:39 +0000 (03:23 -0700)
commit8116c78ffddc71dec8f793339648a5239a5d9643
treeb46978981e5843ffb9f7b6754ed7d9788e80ccc0
parentab9b4f35e38bf9725a13d2e487d1d5962ab412bb
buildman: Handle exceptions in threads gracefully

There have been at least a few cases where an exception has occurred in a
thread and resulted in buildman hanging: running out of disk space and
getting a unicode error.

Handle these by collecting a list of exceptions, printing them out and
reporting failure if any are found. Add a test for this.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/builder.py
tools/buildman/builderthread.py
tools/buildman/control.py
tools/buildman/func_test.py