-
Notifications
You must be signed in to change notification settings - Fork 452
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
[tests] Flaky failures withApplication orchestrator dependency check returned an error: The operation has timed out
#5195
Comments
This is being hit in multiple tests, like Aspire.Hosting.Redis.Tests.RedisFunctionalTests.WithDataBindMountShouldPersistStateBetweenUsages. |
There doesn't seem to be any output from the dcp-info command. Multiple tests failed in the linked test run. aspire/src/Aspire.Hosting/Dcp/DcpDependencyCheck.cs Lines 34 to 36 in 4938cb3
Could this be due to the process exiting quickly causing us to miss some output? |
cc @eerhardt @sebastienros @karolz-ms related - #4640 |
Is the dependency check timeout set to default value (which is 25 seconds) during test runs? If so, as a first step I would bump it up to 180 i.e. 3 minutes. This can be done via startup parameters, or, probably more conveniently, via an environment variable https://github.com/dotnet/aspire/blob/main/src/Aspire.Hosting/Dcp/DcpOptions.cs#L155 If that does not help, we can tweak the dependency check logic further. |
Prompted by dotnet#5195 showing frequent dcp-info timeouts. Based on dotnet#5195 (comment) , bump the timeout to 3 minutes from the default 25 seconds. Issue: dotnet#5195
…5204) Prompted by #5195 showing frequent dcp-info timeouts. Based on #5195 (comment) , bump the timeout to 3 minutes from the default 25 seconds. Issue: #5195
The timeout bump seems to have helped this. Closing it for now. |
I just saw this on the 8.2 branch:
|
Test on main failed with this error.
https://dev.azure.com/dnceng-public/public/_build/results?buildId=837103&view=results |
Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=765658
Build error leg or test failing: Aspire.Hosting.Testing.Tests.TestingBuilderTests.SetsCorrectContentRoot(genericEntryPoint: False)
Pull request: #5129
Error Message
Fill the error message using step by step known issues guidance.
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=765658
Error message validated:
[Application orchestrator dependency check returned an error: The operation has timed out
]Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 8/6/2024 4:24:19 AM UTC
Report
Summary
The text was updated successfully, but these errors were encountered: