Skip to content

Commit

Permalink
Add new startup transient reason (#21842)
Browse files Browse the repository at this point in the history
## Summary & Motivation

## How I Tested These Changes
  • Loading branch information
gibsondan authored May 14, 2024
1 parent 0c7e398 commit 220ca85
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -731,6 +731,12 @@ def _is_transient_stop_reason(self, stopped_reason: str):
if "CannotPullContainerError" in stopped_reason and "i/o timeout" in stopped_reason:
return True

if (
"CannotPullContainerError" in stopped_reason
and "which reports content size of zero: invalid argument" in stopped_reason
):
return True

return False

def _is_transient_startup_failure(self, run, task):
Expand Down

0 comments on commit 220ca85

Please sign in to comment.