dotnet / dotnet/aspnetcore

Quarantine HubConnectionTests.RefreshingAuth* (authentication refresh functional tests)

Open
#68,019 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.Client.FunctionalTests.HubConnectionTests.RefreshingAuthAddingClaimAllowsAuthorizedMethod`
- `Microsoft.AspNetCore.SignalR.Client.FunctionalTests.HubConnectionTests.RefreshingAuthRemovingClaimBlocksAuthorizedMethod`

## Failure Frequency

Each test failed 2 times over the past 30 days.

## Error Message

Helix logs have expired for the failing builds. The tests are SignalR functional integration tests that authenticate via HTTP tokens and test authorization behavior when the token's claims are modified mid-connection.

## Build

- `RefreshingAuthAddingClaimAllowsAuthorizedMethod`: Most recent failing build https://dev.azure.com/dnceng-public/public/_build/results?buildId=1522288
- `RefreshingAuthRemovingClaimBlocksAuthorizedMethod`: Most recent failing build https://dev.azure.com/dnceng-public/public/_build/results?buildId=1517711

> [!WARNING]
>
> Firewall blocked 1 domain
>
> The following domain was blocked by the firewall during workflow execution:
>
> - `awmgmcpg`
>> To allow these domains, add them to the `network.allowed` list in your workflow frontmatter:
>
> ```yaml
> network:
> allowed:
> - defaults
> - "awmgmcpg"
> ```
>
> See [Network Configuration](https://github.github.com/gh-aw/reference/network/) for more information.
>
>

> Generated by [Daily Test Quarantine Management](https://github.com/dotnet/aspnetcore/actions/runs/30154654518) · 558.6 AIC · ⌖ 6.78 AIC · ⊞ 1.8K · [◷](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

Research direction

Start with the two named HubConnectionTests.RefreshingAuth* functional integration tests and review the linked Helix builds, noting that their logs have expired. Reproduce the authentication-refresh scenarios involving modified claims and determine why they fail intermittently. Done means the tests reliably pass and no longer need quarantine.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
authentication, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.