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

SystemInfoResponse.SystemStatus is null, RetryAction in DockerContainerManager crashes #138

Open
sergichamila opened this issue Jun 17, 2024 · 0 comments

Comments

@sergichamila
Copy link

Describe the bug
SystemInfoResponse.SystemStatus is null, the RetryAction may crash.

image

Quick test project

image

Originally caught in Azure Devops pipeline:

11:33:11 [DBG]   Error Message:
11:33:11 [DBG]    Squadron.ContainerException : Error in StartContainer: squa_postgres_638542135903701024_16d6cd45d8ba73273cc959348c
11:33:11 [DBG] ---- System.ArgumentNullException : Value cannot be null. (Parameter 'values')
11:33:11 [DBG]   Stack Trace:
11:33:11 [DBG]      at Squadron.DockerContainerManager.StartContainerAsync()
11:33:11 [DBG]    at Squadron.DockerContainerManager.CreateAndStartContainerAsync()
11:33:11 [DBG]    at Squadron.ContainerResource`1.InitializeAsync()
11:33:11 [DBG]    at Squadron.PostgreSqlResource`1.InitializeAsync()
11:33:11 [DBG] --- End of stack trace from previous location ---
11:33:11 [DBG] ----- Inner Stack Trace -----
11:33:11 [DBG]    at System.String.JoinCore[T](ReadOnlySpan`1 separator, IEnumerable`1 values)
11:33:11 [DBG]    at System.String.Join[T](String separator, IEnumerable`1 values)
11:33:11 [DBG]    at Squadron.DockerContainerManager.RetryAction(Exception exception, TimeSpan t, Int32 retryCount, Context c)
11:33:11 [DBG]    at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
11:33:11 [DBG]    at Polly.AsyncPolicy.ExecuteAsync(Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
11:33:11 [DBG]    at Squadron.DockerContainerManager.StartContainerAsync()

Additional context
image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant