dotnet / aspire

An opinionated, cloud ready stack for building observable, production ready, distributed applications in .NET
https://learn.microsoft.com/dotnet/aspire
MIT License
3.55k stars 389 forks source link

Failing test `Aspire.Hosting.Redis.Tests.RedisFunctionalTests.WithDataVolumeShouldPersistStateBetweenUsages` #4863

Open radical opened 1 month ago

radical commented 1 month ago

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=737846

  Failed Aspire.Hosting.Redis.Tests.RedisFunctionalTests.WithDataVolumeShouldPersistStateBetweenUsages [41 s]
  Error Message:

StackExchange.Redis.RedisTimeoutException : The message timed out in the backlog attempting to send because no connection became available, command=SET, timeout: 5000, inst: 0, qu: 0, qs: 0, aw: False, bw: CheckingForTimeout, rs: ComputeResult, ws: Idle, in: 0, in-pipe: 1214, out-pipe: 0, last-in: 0, cur-in: 23, sync-ops: 0, async-ops: 1, serverEndpoint: localhost:33901, conn-sec: 10.3, aoc: 0, mc: 1/1/0, mgr: 9 of 10 available, clientName: bb829516c000000(SE.Redis-v2.8.0.27420), IOCP: (Busy=0,Free=1000,Min=1,Max=1000), WORKER: (Busy=3,Free=32764,Min=4,Max=32767), POOL: (Threads=7,QueuedItems=4,CompletedItems=802,Timers=7), v: 2.8.0.27420 (Please take a look at this article for some common client-side issues that can cause timeouts: https://stackexchange.github.io/StackExchange.Redis/Timeouts)

  Stack Trace:
     at Aspire.Hosting.Redis.Tests.RedisFunctionalTests.WithDataVolumeShouldPersistStateBetweenUsages() in /_/tests/Aspire.Hosting.Redis.Tests/RedisFunctionalTests.cs:line 87
--- End of stack trace from previous location ---

cc @sebastienros @eerhardt

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "RedisTimeoutException : The message timed out in the backlog attempting to send because no connection became available",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=737846 Error message validated: [RedisTimeoutException : The message timed out in the backlog attempting to send because no connection became available] Result validation: :white_check_mark: Known issue matched with the provided build. Validation performed at: 7/15/2024 10:21:39 PM UTC

Report

Build Definition Test Pull Request
768737 dotnet/aspire Aspire.Hosting.Valkey.Tests.ValkeyFunctionalTests.WithDataShouldPersistStateBetweenUsages(useVolume: True) dotnet/aspire#5200
766230 dotnet/aspire Aspire.Hosting.Redis.Tests.RedisFunctionalTests.WithDataVolumeShouldPersistStateBetweenUsages dotnet/aspire#5180
761872 dotnet/aspire Aspire.Hosting.Redis.Tests.RedisFunctionalTests.WithDataVolumeShouldPersistStateBetweenUsages dotnet/aspire#5054
754476 dotnet/aspire Aspire.Hosting.Redis.Tests.RedisFunctionalTests.WithDataVolumeShouldPersistStateBetweenUsages dotnet/aspire#5064

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 4
eerhardt commented 1 month ago

Do we know why the connection never became available? Did DCP fail somewhere?

radical commented 1 month ago

This is from the log file - https://gist.github.com/radical/783aa3a0f77ff67eb41eb541ad57f5db .