Repository navigation
Description
Build
https://dev.azure.com/dnceng-public/public/_build/results?buildId=1477557
Build leg reported
Build Libraries Test Run release coreclr windows x86 Release
Pull Request
Known issue core information
Fill out the known issue JSON section by following the step by step documentation on how to create a known issue
{
"ErrorPattern": [
"SendAsync_Success_ConnectionSetupActivityGraphRecorded",
"Unexpected EOF trying to read request header"
],
"BuildRetry": true,
"ExcludeConsoleLog": false
}Additional information about the issue reported
Sibling of dotnet/dnceng#5922.
Same loopback-server race in System.Net.Http.Functional.Tests.SocketsHttpHandler_DiagnosticsTest_*.SendAsync_Success_ConnectionSetupActivityGraphRecorded, but the HTTP/2 path surfaces a different inner exception than the HTTP/1.1 path, so the existing ErrorMessage-based matcher on #5922 only catches the Http11 variant.
Observed failure (PR #129727, build 1477557, Windows x86 Release):
System.AggregateException: One or more errors occurred. (Sequence contains no matching element) (Unexpected EOF trying to read request header)
---> System.InvalidOperationException: Sequence contains no matching element
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source, Func`2 predicate)
at System.Net.Http.Functional.Tests.DiagnosticsTest.<>c__DisplayClass17_0.<SendAsync_Success_ConnectionSetupActivityGraphRecorded>b__1(Uri uri)
...
---> (Inner Exception #1) System.IO.IOException: Unexpected EOF trying to read request header
at System.Net.Test.Common.LoopbackServer.Connection.ReadRequestHeaderBytesAsync()
at System.Net.Test.Common.LoopbackServer.Connection.ReadRequestDataAsync(Boolean readBody)
at System.Net.Http.Functional.Tests.DiagnosticsTest.<>c.<SendAsync_Success_ConnectionSetupActivityGraphRecorded>b__17_7(GenericLoopbackConnection connection)
Affected test variants on the reported build:
SocketsHttpHandler_DiagnosticsTest_Http2.SendAsync_Success_ConnectionSetupActivityGraphRecorded(useTls: False)SocketsHttpHandler_DiagnosticsTest_Http2.SendAsync_Success_ConnectionSetupActivityGraphRecorded(useTls: True)
The pattern is intentionally scoped (test method name + LoopbackServer EOF line, AND-matched in order) to avoid over-matching unrelated tests that also use LoopbackServer.ReadRequestHeaderBytesAsync and legitimately drop the client connection (cancellation, retry, connection-limit tests, etc.).
Note
This issue was filed with assistance from GitHub Copilot.
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1477557
Error message validated: [SendAsync_Success_ConnectionSetupActivityGraphRecorded Unexpected EOF trying to read request header]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 6/23/2026 9:32:19 PM UTC
Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 5 | 5 | 5 |
Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 4 | 162 | 162 |
Activity
dotnet-policy-service commentedon Jun 23, 2026
Tagging subscribers to this area: @karelz, @dotnet/ncl
See info in area-owners.md if you want to be subscribed.
lewing commentedon Jun 24, 2026
did some more digging and I think the regression was introduced in #128384 cc @jakobbotsch
lewing commentedon Jun 24, 2026
ConnectionSetupActivityGraphRecordedfailuresdotnet-policy-service commentedon Jun 24, 2026
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.
Add ActiveIssue for SendAsync_Success_ConnectionSetupActivityGraphRec…
Save async contexts for ValueTask methods (#129890)
Save async contexts for ValueTask methods (#129890)