ci/fastboot: Consistently restart the run on intermittent conditions.

Not currently on my list of intermittent issues, but let's be
resilient hopefully.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11308>
This commit is contained in:
Emma Anholt 2021-06-10 13:48:45 -07:00 committed by Marge Bot
parent fe70badfc3
commit 6cfd1298e1
1 changed files with 3 additions and 2 deletions

View File

@ -57,10 +57,11 @@ class FastbootRun:
break
if re.search("data abort", line):
return 1
self.print_error("Detected crash during boot, restarting run...")
return 2
if not fastboot_ready:
self.print_error("Failed to get to fastboot prompt")
self.print_error("Failed to get to fastboot prompt, restarting run...")
return 2
if self.logged_system(self.fastboot) != 0: