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:
parent
fe70badfc3
commit
6cfd1298e1
|
@ -57,10 +57,11 @@ class FastbootRun:
|
||||||
break
|
break
|
||||||
|
|
||||||
if re.search("data abort", line):
|
if re.search("data abort", line):
|
||||||
return 1
|
self.print_error("Detected crash during boot, restarting run...")
|
||||||
|
return 2
|
||||||
|
|
||||||
if not fastboot_ready:
|
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
|
return 2
|
||||||
|
|
||||||
if self.logged_system(self.fastboot) != 0:
|
if self.logged_system(self.fastboot) != 0:
|
||||||
|
|
Loading…
Reference in New Issue