mbox series

[0/4] buildman: Deal with unicode errors and thread exceptions

Message ID 20210411042728.3549261-1-sjg@chromium.org
Headers show
Series buildman: Deal with unicode errors and thread exceptions | expand


Simon Glass April 11, 2021, 4:27 a.m. UTC
This series corrects the recent problems with gitlab reporting a unicode
exception during a build, for example here:


Since exceptions in threads can cause buildman to hang, the series adds
support for dealing with these more gracefully, in case it happens again.

Simon Glass (4):
  buildman: Tidy up a few comments
  buildman: Use common code to send an result
  buildman: Handle exceptions in threads gracefully
  buildman: Use bytes for the environment

 tools/buildman/builder.py       | 22 +++++++++++----
 tools/buildman/builderthread.py | 50 +++++++++++++++++++++++----------
 tools/buildman/control.py       | 18 ++++++++----
 tools/buildman/func_test.py     | 40 ++++++++++++++++++++++++--
 tools/buildman/toolchain.py     | 24 ++++++++++------
 5 files changed, 119 insertions(+), 35 deletions(-)