Skip to content

Connections: detect and handle the Linux dead socket case #1482

Connections: detect and handle the Linux dead socket case

Connections: detect and handle the Linux dead socket case #1482

GitHub Actions / Test Results - Ubuntu failed Dec 5, 2023 in 0s

Test Results - Ubuntu ❌

Tests failed

❌ test-results/_fv-az740-515_2023-12-05_16_39_44.trx

2900 tests were completed in 128s with 2846 passed, 1 failed and 53 skipped.

Test suite Passed Failed Skipped Time
StackExchange.Redis.Tests 397✅ 627ms
StackExchange.Redis.Tests.AbortOnConnectFailTests 3✅ 1❌ 6s
StackExchange.Redis.Tests.AdhocTests 1✅ 131ms
StackExchange.Redis.Tests.AggressiveTests 5⚪ 5ms
StackExchange.Redis.Tests.AsyncTests 2✅ 4s
StackExchange.Redis.Tests.AzureMaintenanceEventTests 17✅ 149ms
StackExchange.Redis.Tests.BacklogTests 4✅ 7s
StackExchange.Redis.Tests.BasicOpsTests 23✅ 1⚪ 4s
StackExchange.Redis.Tests.BatchTests 2✅ 10ms
StackExchange.Redis.Tests.BitTests 2✅ 20ms
StackExchange.Redis.Tests.ChannelTests 37✅ 2ms
StackExchange.Redis.Tests.ClusterTests 78✅ 4⚪ 3s
StackExchange.Redis.Tests.CommandTests 5✅ 8ms
StackExchange.Redis.Tests.CommandTimeoutTests 1⚪ 1ms
StackExchange.Redis.Tests.ConfigTests 126✅ 21s
StackExchange.Redis.Tests.ConnectByIPTests 3✅ 4s
StackExchange.Redis.Tests.ConnectCustomConfigTests 17✅ 5s
StackExchange.Redis.Tests.ConnectFailTimeoutTests 1✅ 5s
StackExchange.Redis.Tests.ConnectingFailDetectionTests 5✅ 3s
StackExchange.Redis.Tests.ConnectionFailedErrorsTests 2✅ 4⚪ 4s
StackExchange.Redis.Tests.ConnectionShutdownTests 1⚪ 1ms
StackExchange.Redis.Tests.ConnectToUnexistingHostTests 5✅ 3s
StackExchange.Redis.Tests.ConstraintsTests 2✅ 25ms
StackExchange.Redis.Tests.CopyTests 3✅ 6ms
StackExchange.Redis.Tests.DatabaseTests 8✅ 24ms
StackExchange.Redis.Tests.DefaultOptionsTests 7✅ 4s
StackExchange.Redis.Tests.DefaultPortsTests 17✅ 28ms
StackExchange.Redis.Tests.DeprecatedTests 4✅ 6ms
StackExchange.Redis.Tests.EnvoyTests 1✅ 62ms
StackExchange.Redis.Tests.EventArgsTests 1✅ 113ms
StackExchange.Redis.Tests.ExceptionFactoryTests 19✅ 7s
StackExchange.Redis.Tests.ExecuteTests 2✅ 4ms
StackExchange.Redis.Tests.ExpiryTests 12✅ 40ms
StackExchange.Redis.Tests.FailoverTests 3✅ 1⚪ 4s
StackExchange.Redis.Tests.FeatureFlagTests 2✅ 0ms
StackExchange.Redis.Tests.FloatingPointTests 4✅ 15ms
StackExchange.Redis.Tests.FormatTests 47✅ 25ms
StackExchange.Redis.Tests.FSharpCompatTests 2✅ 180ms
StackExchange.Redis.Tests.GarbageCollectionTests 1✅ 2s
StackExchange.Redis.Tests.GeoTests 56✅ 152ms
StackExchange.Redis.Tests.HashTests 46✅ 654ms
StackExchange.Redis.Tests.HttpTunnelConnectTests 2⚪ 2ms
StackExchange.Redis.Tests.HyperLogLogTests 4✅ 5ms
StackExchange.Redis.Tests.InfoReplicationCheckTests 1⚪ 1ms
StackExchange.Redis.Tests.Issues.BgSaveResponseTests 1⚪ 1ms
StackExchange.Redis.Tests.Issues.DefaultDatabaseTests 4✅ 702ms
StackExchange.Redis.Tests.Issues.Issue10Tests 1✅ 736ms
StackExchange.Redis.Tests.Issues.Issue1101Tests 3✅ 5s
StackExchange.Redis.Tests.Issues.Issue1103Tests 7✅ 5s
StackExchange.Redis.Tests.Issues.Issue182Tests 2⚪ 2ms
StackExchange.Redis.Tests.Issues.Issue2164Tests 2✅ 7ms
StackExchange.Redis.Tests.Issues.Issue2176Tests 2✅ 768ms
StackExchange.Redis.Tests.Issues.Issue2392Tests 1✅ 4s
StackExchange.Redis.Tests.Issues.Issue2418 1✅ 108ms
StackExchange.Redis.Tests.Issues.Issue2507 1✅ 204ms
StackExchange.Redis.Tests.Issues.Issue25Tests 4✅ 1ms
StackExchange.Redis.Tests.Issues.Issue6Tests 1✅ 62ms
StackExchange.Redis.Tests.Issues.MassiveDeleteTests 1⚪ 1ms
StackExchange.Redis.Tests.Issues.SO10504853Tests 3✅ 5s
StackExchange.Redis.Tests.Issues.SO10825542Tests 1✅ 995ms
StackExchange.Redis.Tests.Issues.SO11766033Tests 2✅ 194ms
StackExchange.Redis.Tests.Issues.SO22786599Tests 1✅ 747ms
StackExchange.Redis.Tests.Issues.SO23949477Tests 1✅ 538ms
StackExchange.Redis.Tests.Issues.SO24807536Tests 1✅ 5s
StackExchange.Redis.Tests.Issues.SO25113323Tests 1✅ 5s
StackExchange.Redis.Tests.Issues.SO25567566Tests 1⚪ 1ms
StackExchange.Redis.Tests.KeyAndValueTests 3✅ 360ms
StackExchange.Redis.Tests.KeyPrefixedBatchTests 1✅ 63ms
StackExchange.Redis.Tests.KeyPrefixedDatabaseTests 180✅ 202ms
StackExchange.Redis.Tests.KeyPrefixedTests 174✅ 176ms
StackExchange.Redis.Tests.KeyPrefixedTransactionTests 16✅ 9ms
StackExchange.Redis.Tests.KeyTests 82✅ 16s
StackExchange.Redis.Tests.LatencyTests 4✅ 1s
StackExchange.Redis.Tests.LexTests 2✅ 7ms
StackExchange.Redis.Tests.ListTests 90✅ 341ms
StackExchange.Redis.Tests.LockingTests 13✅ 58ms
StackExchange.Redis.Tests.LoggerTests 2✅ 8ms
StackExchange.Redis.Tests.MassiveOpsTests 4✅ 2⚪ 36ms
StackExchange.Redis.Tests.MemoryTests 4✅ 11ms
StackExchange.Redis.Tests.MigrateTests 1⚪ 1ms
StackExchange.Redis.Tests.MultiAddTests 4✅ 19ms
StackExchange.Redis.Tests.MultiPrimaryTests 11✅ 5s
StackExchange.Redis.Tests.NamingTests 8✅ 47ms
StackExchange.Redis.Tests.OverloadCompatTests 5✅ 50ms
StackExchange.Redis.Tests.ParseTests 28✅ 34ms
StackExchange.Redis.Tests.PerformanceTests 1✅ 1⚪ 5ms
StackExchange.Redis.Tests.PreserveOrderTests 1✅ 6ms
StackExchange.Redis.Tests.ProfilingTests 2✅ 5⚪ 27ms
StackExchange.Redis.Tests.PubSubCommandTests 4✅ 21ms
StackExchange.Redis.Tests.PubSubMultiserverTests 12✅ 26s
StackExchange.Redis.Tests.PubSubTests 40✅ 6⚪ 9s
StackExchange.Redis.Tests.RawResultTests 5✅ 21ms
StackExchange.Redis.Tests.RealWorldTests 1✅ 5s
StackExchange.Redis.Tests.RedisFeaturesTests 1✅ 32ms
StackExchange.Redis.Tests.RedisResultTests 8✅ 40ms
StackExchange.Redis.Tests.RedisValueEquivalency 13✅ 32ms
StackExchange.Redis.Tests.RespProtocolTests 115✅ 85ms
StackExchange.Redis.Tests.Roles 3✅ 18ms
StackExchange.Redis.Tests.SanityChecks 1✅ 200ms
StackExchange.Redis.Tests.ScanTests 46✅ 598ms
StackExchange.Redis.Tests.ScriptingTests 106✅ 2⚪ 268ms
StackExchange.Redis.Tests.SecureTests 5✅ 23ms
StackExchange.Redis.Tests.SentinelFailoverTests 1✅ 17s
StackExchange.Redis.Tests.SentinelTests 22✅ 614ms
StackExchange.Redis.Tests.ServerSnapshotTests 6✅ 50ms
StackExchange.Redis.Tests.SetTests 32✅ 88ms
StackExchange.Redis.Tests.SocketTests 1⚪ 1ms
StackExchange.Redis.Tests.SortedSetTests 120✅ 215ms
StackExchange.Redis.Tests.SortedSetWhenTest 2✅ 3ms
StackExchange.Redis.Tests.SSDBTests 1⚪ 1ms
StackExchange.Redis.Tests.SSLTests 17✅ 7⚪ 9s
StackExchange.Redis.Tests.StreamTests 162✅ 349ms
StackExchange.Redis.Tests.StringTests 58✅ 113ms
StackExchange.Redis.Tests.SyncContextTests 10✅ 5s
StackExchange.Redis.Tests.TransactionTests 398✅ 2⚪ 531ms
StackExchange.Redis.Tests.TransientErrorTests 4✅ 2ms
StackExchange.Redis.Tests.ValueTests 2✅ 18ms
StackExchange.Redis.Tests.WithKeyPrefixTests 9✅ 6ms

❌ StackExchange.Redis.Tests.AbortOnConnectFailTests

❌ AbortOnConnectFailTests.DisconnectAndNoReconnectThrowsConnectionExceptionAsync(RESP2)
	StackExchange.Redis.RedisTimeoutException : Timeout performing PING (400ms), next: PING, inst: 14, qu: 0, qs: 1, aw: False, bw: Inactive, rs: ReadAsync, ws: Idle, in: 7, in-pipe: 0, out-pipe: 0, last-in: 420, cur-in: 0, sync-ops: 1, async-ops: 0, serverEndpoint: 127.0.0.1:6379, conn-sec: 1.32, aoc: 0, mc: 1/1/0, mgr: 10 of 10 available, clientName: fv-az740-515(SE.Redis-v2.7.10.4155), IOCP: (Busy=0,Free=1000,Min=4,Max=1000), WORKER: (Busy=5,Free=32762,Min=4,Max=32767), POOL: (Threads=6,QueuedItems=35,CompletedItems=627,Timers=49), v: 2.7.10.4155 (Please take a look at this article for some common client-side issues that can cause timeouts: https://stackexchange.github.io/StackExchange.Redis/Timeouts)
✅ AbortOnConnectFailTests.DisconnectAndReconnectThrowsConnectionExceptionSync(RESP2)
✅ AbortOnConnectFailTests.NeverEverConnectedNoBacklogThrowsConnectionNotAvailableAsync(RESP2)
✅ AbortOnConnectFailTests.NeverEverConnectedNoBacklogThrowsConnectionNotAvailableSync(RESP2)

Annotations

Check failure on line 0 in test-results/_fv-az740-515_2023-12-05_16_39_44.trx

See this annotation in the file changed.

@github-actions github-actions / Test Results - Ubuntu

StackExchange.Redis.Tests.AbortOnConnectFailTests ► AbortOnConnectFailTests.DisconnectAndNoReconnectThrowsConnectionExceptionAsync(RESP2)

Failed test found in:
  test-results/_fv-az740-515_2023-12-05_16_39_44.trx
Error:
  StackExchange.Redis.RedisTimeoutException : Timeout performing PING (400ms), next: PING, inst: 14, qu: 0, qs: 1, aw: False, bw: Inactive, rs: ReadAsync, ws: Idle, in: 7, in-pipe: 0, out-pipe: 0, last-in: 420, cur-in: 0, sync-ops: 1, async-ops: 0, serverEndpoint: 127.0.0.1:6379, conn-sec: 1.32, aoc: 0, mc: 1/1/0, mgr: 10 of 10 available, clientName: fv-az740-515(SE.Redis-v2.7.10.4155), IOCP: (Busy=0,Free=1000,Min=4,Max=1000), WORKER: (Busy=5,Free=32762,Min=4,Max=32767), POOL: (Threads=6,QueuedItems=35,CompletedItems=627,Timers=49), v: 2.7.10.4155 (Please take a look at this article for some common client-side issues that can cause timeouts: https://stackexchange.github.io/StackExchange.Redis/Timeouts)
Raw output
StackExchange.Redis.RedisTimeoutException : Timeout performing PING (400ms), next: PING, inst: 14, qu: 0, qs: 1, aw: False, bw: Inactive, rs: ReadAsync, ws: Idle, in: 7, in-pipe: 0, out-pipe: 0, last-in: 420, cur-in: 0, sync-ops: 1, async-ops: 0, serverEndpoint: 127.0.0.1:6379, conn-sec: 1.32, aoc: 0, mc: 1/1/0, mgr: 10 of 10 available, clientName: fv-az740-515(SE.Redis-v2.7.10.4155), IOCP: (Busy=0,Free=1000,Min=4,Max=1000), WORKER: (Busy=5,Free=32762,Min=4,Max=32767), POOL: (Threads=6,QueuedItems=35,CompletedItems=627,Timers=49), v: 2.7.10.4155 (Please take a look at this article for some common client-side issues that can cause timeouts: https://stackexchange.github.io/StackExchange.Redis/Timeouts)
   at StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor`1 processor, ServerEndPoint server, T defaultValue) in /_/src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2102
   at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor`1 processor, ServerEndPoint server, T defaultValue) in /_/src/StackExchange.Redis/RedisBase.cs:line 62
   at StackExchange.Redis.RedisBase.Ping(CommandFlags flags) in /_/src/StackExchange.Redis/RedisBase.cs:line 24
   at StackExchange.Redis.Tests.AbortOnConnectFailTests.DisconnectAndNoReconnectThrowsConnectionExceptionAsync() in /_/tests/StackExchange.Redis.Tests/AbortOnConnectFailTests.cs:line 70
--- End of stack trace from previous location ---