Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Batch job submissions that fail with Batch.AWSBatchException are not retried #911

Closed
asjohnston-asf opened this issue Mar 22, 2022 · 0 comments · Fixed by #912
Closed

Batch job submissions that fail with Batch.AWSBatchException are not retried #911

asjohnston-asf opened this issue Mar 22, 2022 · 0 comments · Fixed by #912
Labels
bug Something isn't working

Comments

@asjohnston-asf
Copy link
Member

This is a rare case of a transient error from the AWS Batch API not being correctly retried.

Job 713ee4d5-73cd-4cdd-b1a6-e18d2ef8839b received the following error when the step function attempted to submit the INSAR_GAMMA job to AWS Batch:

{
  "resourceType": "batch",
  "resource": "submitJob.sync",
  "error": "Batch.AWSBatchException",
  "cause": "null (Service: AWSBatch; Status Code: 500; Error Code: AuthorizerConfigurationException; Request ID: 9db2e8a7-90d7-43fc-95e2-80842395bb3b; Proxy: null)"
}

The step function is configured to only retry Batch.ServerException:
https://github.com/ASFHyP3/hyp3/blob/develop/apps/step-function.json.j2#L115

In this particular case the step function failed to complete since there was no batch log file to be processed by the JobFailed step. From the user's perspective, the job will appear in a permanent RUNNING status.

@asjohnston-asf asjohnston-asf added the bug Something isn't working label Mar 22, 2022
@asjohnston-asf asjohnston-asf linked a pull request Mar 22, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant