This series corrects the recent problems with gitlab reporting a unicode exception during a build, for example here:
https://source.denx.de/u-boot/custodians/u-boot-usb/-/jobs/249514 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(-) -- 2.31.1.295.g9ea45b61b8-goog