-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Description
Describe the bug
As i was trying to do PR #20031 i saw that lots of Redis test were not passing
To Reproduce
Clone the branch from #20031, run docker for windows
and run all tests from RedisEndToEnd.cs
Further technical details
masterbranch here- Happen on both
build.cmd -testandVs 16.6 Preview1
More details :
I can't make pass all the RedisEndToEnd tests from both build.cmd -test and VS2019 16.6 Preview1 :(
I even updates locally StackExchange.Redis to 2.1.0 that was release yesterday as it contains lots of error message enhancement/fix, still the same result.
Can someone reproduce or make them pass ?
Here is what i see :
I had to put a break point on the failing line : https://github.com/dotnet/aspnetcore/blob/master/src/SignalR/server/StackExchangeRedis/test/RedisEndToEnd.cs#L111

(Even using docker logs --follow <name> does no see anymore activity, until the container is destroy because it's starterd with --rm)
One example of error :
Message:
Microsoft.AspNetCore.SignalR.HubException : An unexpected error occurred invoking 'EchoUser' on the server. RedisConnectionException: No connection is available to service this operation: PUBLISH Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests.EchoHub:user:userA; UnableToConnect on 172.17.0.2:6379/Interactive, Initializing/NotStarted, last: NONE, origin: BeginConnectAsync, outstanding: 0, last-read: 37s ago, last-write: 37s ago, keep-alive: 60s, state: Connecting, mgr: 10 of 10 available, last-heartbeat: never, global: 0s ago, v: 2.0.593.37019; IOCP: (Busy=0,Free=1000,Min=16,Max=1000), WORKER: (Busy=5,Free=32762,Min=16,Max=32767), Local-CPU: n/a
Stack Trace:
HubConnection.InvokeCoreAsyncCore(String methodName, Type returnType, Object[] args, CancellationToken cancellationToken) line 776
ForceAsyncAwaiter`1.GetResult() line 64
HubConnection.InvokeCoreAsync(String methodName, Type returnType, Object[] args, CancellationToken cancellationToken) line 390
TaskExtensions.TimeoutAfter(Task task, TimeSpan timeout, String filePath, Int32 lineNumber) line 45
RedisEndToEndTests.CanSendAndReceiveUserMessagesFromMultipleConnectionsWithSameUser(HttpTransportType transportType, String protocolName) line 111
--- End of stack trace from previous location ---