dotnet / dotnet/aspnetcore

Quarantine Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests.RedisHubLifetimeManagerTests.ClientDisconnectsWithoutCompleting [Content truncated due to length]

Open
#65,995 1 comment 0 reactions 0 assignees View on GitHub
area-signalr test-failure
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 5h
Merged PRs (30d)
276

Description

## Failing Test(s)

`Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests.RedisHubLifetimeManagerTests.ClientDisconnectsWithoutCompletingClientResultOnSecondServer`

## Error Message

```text
Assert.Throws() Failure: Exception type was not an exact match
Expected: typeof(Microsoft.AspNetCore.SignalR.HubException)
Actual: typeof(System.IO.IOException)
---- System.IO.IOException : Connection '0e9a7dbd-bed3-4098-ad6f-cc14559a158e' does not exist.
```

## Stacktrace

```text
at System.Threading.Tasks.Extensions.TaskExtensions.TimeoutAfter[T](Task`1 task, TimeSpan timeout, String filePath, Int32 lineNumber) in /_/src/Shared/TaskExtensions.cs:line 88
at Microsoft.AspNetCore.SignalR.Specification.Tests.ScaleoutHubLifetimeManagerTests`1.ClientDisconnectsWithoutCompletingClientResultOnSecondServer() in /_/src/SignalR/server/Specification.Tests/src/ScaleoutHubLifetimeManagerTests.cs:line 575
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
at Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisHubLifetimeManager`1.InvokeConnectionAsync[T](String connectionId, String methodName, Object[] args, CancellationToken cancellationToken) in /_/src/SignalR/server/StackExchangeRedis/src/RedisHubLifetimeManager.cs:line 403
```

## Logs

```text
2026-03-26T01:56:17.4723166Z [xUnit.net 00:00:03.46] Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests.RedisHubLifetimeManagerTests.ClientDisconnectsWithoutCompletingClientResultOnSecondServer [FAIL]
2026-03-26T01:56:17.4794639Z [xUnit.net 00:00:03.46] Assert.Throws() Failure: Exception type was not an exact match
2026-03-26T01:56:17.4809263Z [xUnit.net 00:00:03.47] Expected: typeof(Microsoft.AspNetCore.SignalR.HubException)
2026-03-26T01:56:17.4877220Z [xUnit.net 00:00:03.47] Actual: typeof(System.IO.IOException)
2026-03-26T01:56:17.4877317Z [xUnit.net 00:00:03.47] ---- System.IO.IOException : Connection '0e9a7dbd-bed3-4098-ad6f-cc14559a158e' does not exist.
2026-03-26T01:56:17.4877345Z [xUnit.net 00:00:03.47] Stack Trace:
2026-03-26T01:56:17.4938185Z [xUnit.net 00:00:03.47] /_/src/Shared/TaskExtensions.cs(88,0): at System.Threading.Tasks.Extensions.TaskExtensions.TimeoutAfter[T](Task`1 task, TimeSpan timeout, String filePath, Int32 lineNumber)
2026-03-26T01:56:17.4938277Z [xUnit.net 00:00:03.47] /_/src/SignalR/server/Specification.Tests/src/ScaleoutHubLifetimeManagerTests.cs(575,0): at Microsoft.AspNetCore.SignalR.Specification.Tests.ScaleoutHubLifetimeManagerTests`1.ClientDisconnectsWithoutCompletingClientResultOnSecondServer()
2026-03-26T01:56:17.4938445Z [xUnit.net 00:00:03.48] --- End of stack trace from previous location ---
2026-03-26T01:56:17.4938473Z [xUnit.net 00:00:03.48] ----- Inner Stack Trace -----
2026-03-26T01:56:17.4938665Z [xUnit.net 00:00:03.48] /_/src/SignalR/server/StackExchangeRedis/src/RedisHubLifetimeManager.cs(403,0): at Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisHubLifetimeManager`1.InvokeConnectionAsync[T](String connectionId, String methodName, Object[] args, CancellationToken cancellationToken)
2026-03-26T01:56:17.5679480Z Error Message:
2026-03-26T01:56:17.5679571Z Assert.Throws() Failure: Exception type was not an exact match
2026-03-26T01:56:17.5679602Z Expected: typeof(Microsoft.AspNetCore.SignalR.HubException)
2026-03-26T01:56:17.5679630Z Actual: typeof(System.IO.IOException)
2026-03-26T01:56:17.5687827Z ---- System.IO.IOException : Connection '0e9a7dbd-bed3-4098-ad6f-cc14559a158e' does not exist.
2026-03-26T01:56:17.5687884Z Stack Trace:
2026-03-26T01:56:17.5687914Z at System.Threading.Tasks.Extensions.TaskExtensions.TimeoutAfter[T](Task`1 task, TimeSpan timeout, String filePath, Int32 lineNumber) in /_/src/Shared/TaskExtensions.cs:line 88
2026-03-26T01:56:17.5687941Z at Microsoft.AspNetCore.SignalR.Specification.Tests.ScaleoutHubLifetimeManagerTests`1.ClientDisconnectsWithoutCompletingClientResultOnSecondServer() in /_/src/SignalR/server/Specification.Tests/src/ScaleoutHubLifetimeManagerTests.cs:line 575
2026-03-26T01:56:17.5687989Z --- End of stack trace from previous location ---
2026-03-26T01:56:17.5688015Z ----- Inner Stack Trace -----
2026-03-26T01:56:17.5688040Z at Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisHubLifetimeManager`1.InvokeConnectionAsync[T](String connectionId, String methodName, Object[] args, CancellationToken cancellationToken) in /_/src/SignalR/server/StackExchangeRedis/src/RedisHubLifetimeManager.cs:line 403
```

## Build

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

> [!NOTE]
>
> 🔒 Integrity filter blocked 9 items
>
> The following items were blocked because they don't meet the GitHub integrity level.
>
> - [#65928](https://github.com/dotnet/aspnetcore/pull/65928) `pull_request_read`: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
> - [#65869](https://github.com/dotnet/aspnetcore/pull/65869) `pull_request_read`: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
> - [#65893](https://github.com/dotnet/aspnetcore/pull/65893) `pull_request_read`: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
> - [#65815](https://github.com/dotnet/aspnetcore/pull/65815) `pull_request_read`: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
> - dotnet/aspnetcore#65994 `list_issues`: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
> - dotnet/aspnetcore#65993 `list_issues`: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
> - dotnet/aspnetcore#65992 `list_issues`: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
> - dotnet/aspnetcore#65988 `list_issues`: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
> - dotnet/aspnetcore#65986 `list_issues`: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
>
> To allow these resources, lower `min-integrity` in your GitHub frontmatter:
>
> ```yaml
> tools:
> github:
> min-integrity: approved # merged | approved | unapproved | none
> ```
>
>

> Generated by [Daily Test Quarantine Management](https://github.com/dotnet/aspnetcore/actions/runs/23641578777) · [◷](https://github.com/search?q=repo%3Adotnet%2Faspnetcore+is%3Aissue+%22gh-aw-workflow-call-id%3A+dotnet%2Faspnetcore%2Ftest-quarantine%22&type=issues)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.