fix(ci-bot): don't try to get the children of the windows builder
The windows builder's failure console has funny characters (b'\xbb')
that don't parse with this script. They render fine on the website ("ยป")
but not here for some reason. Since it's a leaf job, skip trying to
parse the console to side step the issue.
Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
Change-Id: I2beb2819d3dcdba2290012e618dcf80ac44cfee8
diff --git a/script/status_reporting/ci_status_bot.py b/script/status_reporting/ci_status_bot.py
index 746f8ce..cb1cec3 100644
--- a/script/status_reporting/ci_status_bot.py
+++ b/script/status_reporting/ci_status_bot.py
@@ -77,7 +77,8 @@
for build in req.get("subBuilds", [])
]
# gateways don't, since they determine them dynamically
- if self.sub_builds == []:
+ # but the windows job doesn't parse. It's a leaf anyway so skip
+ if self.sub_builds == [] and self.name != "tf-a-windows-builder":
self.sub_builds = [
Build(self.session, name, name, num, self.level + 1)
for name, num in await self.get_builds_from_console_log()