From c1d28296a20a4b6ae538254a07db0558e48fcc3b Mon Sep 17 00:00:00 2001 From: Premek Vysoky Date: Mon, 21 Nov 2022 14:54:40 +0100 Subject: [PATCH] Enable retries for `APP_CRASH` results on iOS/AppleTV devices --- .../Sdk/tools/xharness-runner/xharness-event-processor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.DotNet.Helix/Sdk/tools/xharness-runner/xharness-event-processor.py b/src/Microsoft.DotNet.Helix/Sdk/tools/xharness-runner/xharness-event-processor.py index f9e34a5dc0e..258c9693408 100644 --- a/src/Microsoft.DotNet.Helix/Sdk/tools/xharness-runner/xharness-event-processor.py +++ b/src/Microsoft.DotNet.Helix/Sdk/tools/xharness-runner/xharness-event-processor.py @@ -125,8 +125,8 @@ def analyze_operation(command: str, platform: str, device: str, is_device: bool, global retry, reboot, android_connectivity_verified - # Apps crashing can be infra failures, retry except on Apple devices where retries can be costly due to small queue size - if exit_code == 80 and not (platform == "apple" and is_device): # APP_CRASH + # Apps crashing can be infra failures too (this is a gray zone) + if exit_code == 80: # APP_CRASH print(f' Application crashed - if persist, please investigate system logs from the run') retry = True reboot = True