Skip to content

System.Net.Http.Functional.Tests.HttpClientTest.GetStringAsync_CanBeCanceled CI failure #112304

Open
@stephentoub

Description

@stephentoub

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=945391
Build error leg or test failing: System.Net.Http.Functional.Tests.HttpClientTest.GetStringAsync_CanBeCanceled
Pull request: #112298

Error Message

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

{
  "ErrorMessage": "System.Net.Http.Functional.Tests.HttpClientTest.GetStringAsync_CanBeCanceled",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Exception Message

Assert.Equal() Failure: Values differ
Expected: System.Threading.CancellationToken
Actual:   System.Threading.CancellationToken
CallStack
   at System.Net.Http.Functional.Tests.HttpClientTest.<>c__DisplayClass26_0.<<GetStringAsync_CanBeCanceled>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task)
--- End of stack trace from previous location ---
   at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks)
   at System.Net.Test.Common.LoopbackServer.<>c__DisplayClass15_0.<<CreateClientAndServerAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options)
   at System.Net.Http.Functional.Tests.HttpClientTest.GetStringAsync_CanBeCanceled()
--- End of stack trace from previous location ---

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=945391
Error message validated: [System.Net.Http.Functional.Tests.HttpClientTest.GetStringAsync_CanBeCanceled]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 2/8/2025 3:02:54 PM UTC

Report

Build Definition Test Pull Request
1023185 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution #114148
1019111 dotnet/runtime WasmTestOnChrome-MT-System.Net.Http.Functional.Tests.WorkItemExecution #114762

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 1 2

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions