ci/bare-metal: Restart a run on intermittent kernel lockups.

Since enabling SMP on db820c and cranking up how many tests we run, we've
been seeing lockups like this a couple of times a week.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9655>
This commit is contained in:
Eric Anholt 2021-03-17 09:19:18 -07:00 committed by Marge Bot
parent 5d2c9fd161
commit 2407952ec9

View File

@ -139,6 +139,12 @@ class CrosServoRun:
self.print_error("Detected cheza power management bus error, restarting run...")
return 2
# db820c sometimes wedges around iommu fault recovery
if re.search("watchdog: BUG: soft lockup - CPU.* stuck", line):
self.print_error(
"Detected kernel soft lockup, restarting run...")
return 2
result = re.search("bare-metal result: (\S*)", line)
if result:
if result.group(1) == "pass":