ci/lava: Highlight job retrying message

It should be clear to the developer that the job was not successful in
the first run.

Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16323>
This commit is contained in:
Guilherme Gallo 2022-06-30 18:49:26 -03:00 committed by Marge Bot
parent 868daded22
commit f09aab08e9
1 changed files with 3 additions and 0 deletions

View File

@ -374,8 +374,11 @@ def fetch_logs(job, max_idle_time, log_follower) -> None:
if datetime.now() - job.last_log_time > max_idle_time:
max_idle_time_min = max_idle_time.total_seconds() / 60
print_log(
f"{CONSOLE_LOG['BOLD']}"
f"{CONSOLE_LOG['COLOR_RED']}"
f"No log output for {max_idle_time_min} minutes; "
"assuming device has died, retrying"
f"{CONSOLE_LOG['RESET']}"
)
raise MesaCITimeoutError(