Repository navigation
Quarantine intermittent pool instrumentation checkout theory - #5020
Conversation
Co-authored-by: Copilot App <[email protected]>
Quarantine evidence, category validation and incomplete discovery checkpoint - 2026-11-07Exact identities and category-only scopeConfirmed intermittent case: The one method-level The Channel case passed in both relevant CI runs; it is not individually claimed Actual failure and passing controlBoth builds use main SHA
Both observations have exactly the same full test/case identity, an ungrouped Reason for quarantine: the test's concurrent checkout worker received a null Configuration and unique task mappingFor both runs, server run metadata identifies:
Public timeline records uniquely match those stage-qualified identifiers:
Meaningful comparison: distinct agent allocations, but identical image/SKU, Reconciled relevant-run coverageAuthenticated MCP enumerated all results in five bounded pages per relevant run
Counts match server run statistics. For each run the duplicate Passed statistic Failure discovery used authenticated build-result MCP for builds Inspected interval, inventory and unfinished evidenceCompleted-build finish-time interval: Six bounded continued MCP pages enumerated 604 distinct completed builds:
Results: 141 Succeeded, 229 Failed, 222 PartiallySucceeded and 12 Canceled. Broader per-test coverage is incomplete. Result discovery covered six builds Unconfirmed observations retained without category changes:
The reclaimed-connection metrics candidate is already covered by open #5016. Local category validation and exact commandsAll commands ran only in this automation's isolated worktree. dotnet test src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj --no-restore -c Release --list-tests --filter "FullyQualifiedName~DbConnectionPoolInstrumentationTest&category=flaky" -v:qInitial attempt failed with NETSDK1004: this worktree lacked project.assets.json dotnet restore src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj -v:qPassed. Repeating the discovery command then passed, selecting exactly dotnet test src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj --no-build --no-restore -c Release --list-tests --filter "FullyQualifiedName~DbConnectionPoolInstrumentationTest&category!=failing&category!=flaky&category!=interactive" -v:qPassed: 26 other class cases per framework remain in ordinary discovery; dotnet test src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj --no-build --no-restore -c Release --filter "FullyQualifiedName~DbConnectionPoolInstrumentationTest.ConcurrentCheckoutAndReturn_SettlesAllGaugesToZero&category=flaky" -v:q --logger "trx;LogFilePrefix=pool-instrumentation-quarantine" --results-directory 'C:\Users\mdaigle\.copilot\session-state\845e3c16-70ca-4291-9f3b-9f6f453c8476\files\validation' --blame-hang-timeout 2mPassed: net462 2 passed / 0 failed / 0 skipped; net10.0 2 passed / 0 failed /
Related records, release assignment and checkpoint
Latest inspected main's Maintainer-action blocker: the required Checkpoint: NOT ADVANCED. The 604-build inventory is complete, but the |
There was a problem hiding this comment.
🔵 Needs a closer look
Required review policies lack an established trusted source, and the missing PR identifier prevents checking current reviewer feedback.
No open issues 🎉
What changed in this PR
Quarantines the existing concurrent pool checkout-and-return instrumentation theory using the flaky category. This changes test selection only; it does not repair the intermittent failure.
Changes:
- Applies the method-level trait to both WaitHandle and Channel cases; only WaitHandle is confirmed intermittent.
- Leaves test logic, assertions, data, neighboring tests, and product code unchanged.
| File | Description |
|---|---|
src/Microsoft.Data.SqlClient/tests/UnitTests/ConnectionPool/DbConnectionPoolInstrumentationTest.cs |
Adds [Trait("category", "flaky")] to ConcurrentCheckoutAndReturn_SettlesAllGaugesToZero. |
Review effort: Balanced
🤖 This pull request was created by a fully automated workflow.
Description
Add one
[Trait("category", "flaky")]to the existing pool instrumentation theory. Test bodies, assertions, data and other categories are unchanged; no product, API, documentation, dependency or pipeline changes.Affected identities:
WaitHandle is confirmed intermittent on main revision
5aaa9ef090135a9a462f31d2e7945d97baa9e65b, CI-SqlClient / Windows Server 2022 / net462 x64 native SNI / Release / Project:The same case passed and failed on the same source and image/configuration, on different agent allocations. Failure is
Assert.NotNullin a concurrent checkout worker; fake connections rule out a SQL outage. This is quarantine, not repair or a stability claim. The method trait routes both cases on net462/net10.0; Channel is not individually claimed intermittent and the rest of the class stays ordinary.Issues
No issue is closed. #4980 and #5016 are unrelated pending quarantines; #4996 and #5006 are merged quarantines. #5000 is the separate simulator fix/probation proposal. Fixes and probation are outside this automation's scope.
Testing
Local Windows x64 / Release / Project; not the CI image. After restoring missing assets, quarantine discovery selected 2 cases per framework, ordinary discovery retained 26 other cases per framework, and actual execution had 2 passed, 0 failed, 0 skipped per framework.
git diff --checkpassed. Complete collapsed evidence record. The 604-build inventory is complete for 2026-10-24T14:03:04.032Z–2026-11-07T14:03:04.032Z, but broader per-test processing is incomplete; checkpoint not advanced. No validation build was manually queued.Main still targets
8.0.0-preview1; under the explicit one-time exception this PR is unassigned, not moved to another milestone. Any required milestone-check failure needs maintainer action.Guidelines
Please review the contribution guidelines before submitting a pull request: