# silence means that the device has died and we should try it again
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['FG_RED']}"
- f"No log output for {max_idle_time_min} minutes; "
- "assuming device has died, retrying"
- f"{CONSOLE_LOG['RESET']}"
- )
raise MesaCITimeoutError(
+ f"{CONSOLE_LOG['BOLD']}"
+ f"{CONSOLE_LOG['FG_YELLOW']}"
f"LAVA job {job.job_id} does not respond for {max_idle_time_min} "
- "minutes. Retry.",
+ "minutes. Retry."
+ f"{CONSOLE_LOG['RESET']}",
timeout_duration=max_idle_time,
)