Skip to content

buildman: Deal with unicode errors and thread exceptions

Simon Glass u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4buildman: Tidy up a few commentstools/buildman/builderthread.py tools/buildman/control.py tools/buildman/func_test.py+20 -50 replies
1/4buildman: Tidy up a few comments+0 -00 replies
2/4buildman: Use common code to send an resulttools/buildman/builderthread.py+13 -80 replies
2/4buildman: Use common code to send an result+0 -00 replies
3/4buildman: Handle exceptions in threads gracefullytools/buildman/builder.py tools/buildman/builderthread.py tools/buildman/control.py +1 more+56 -110 replies
3/4buildman: Handle exceptions in threads gracefully+0 -00 replies
4/4buildman: Use bytes for the environmenttools/buildman/builderthread.py tools/buildman/func_test.py tools/buildman/toolchain.py+30 -110 replies
4/4buildman: Use bytes for the environment+0 -00 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/4] buildman: Deal with unicode errors and thread exceptions

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(-)
Signature · 1 line
2.31.1.295.g9ea45b61b8-goog