You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
at Microsoft.AspNetCore.Server.Kestrel.InMemory.FunctionalTests.KestrelMetricsTests.Http2Connection_ServerShutdown_Abort() in /_/src/Servers/Kestrel/test/InMemory.FunctionalTests/KestrelMetricsTests.cs:line 838
Logs
Details
Unavailable: dev.azure.com DNS resolution failed during the automated run and one bounded recheck. The GitHub Build Analysis check retained the test identity, error, stack, and platform, but not the complete Helix log or timeline attempt history.
Content from an automated Copilot CI-flakiness triage run.
Failure
The HTTP/2 shutdown metrics test completed server shutdown but observed no kestrel.connection.duration measurement, failing the PR's final-head Windows build.
Possible cause
The test snapshots MetricCollector immediately after shutdown, while comparable HTTP/2 metrics tests wait for WaitForMeasurementsAsync(minCount: 1) before asserting. The likely cause is an observation race between shutdown completion and metric-listener delivery, but the inaccessible Azure timeline prevents confirmation of the exact attempt and recovery sequence.
Activity
github-actions commentedon Nov 13, 2026
Triage Summary
Area:
area-networking(Kestrel in-memory functional test,KestrelMetricsTests)Type:
Task(flaky test failure; test maintenance)Potential Duplicates
Notes
src/Servers/Kestrel/test/InMemory.FunctionalTests/KestrelMetricsTests.cs.