Repository navigation
Quarantine intermittent certificate NIC connection test - #5021
Conversation
Co-authored-by: Copilot App <[email protected]>
Certificate quarantine evidence, category validation and incomplete discovery checkpoint - 2026-11-08Confirmed identity and category-only scope
The method-level trait applies on both Exact failure and passing controlsAll three records have the same unparameterized fully qualified identity above.
Each decisive record was individually read through the permitted public single-result REST Configuration and causal comparisonBoth jobs: The independent pass used agent The failure occurs in the test constructor's In the failing ordinary ManualTests task, this is the only failure: 46 passed, Unique job/task mappings and authenticated logsThe permitted run-metadata and build-timeline REST forms verified build identity,
All log reads used authenticated MCP with bounded ranges. The ordinary command uses Reconciled per-run coverageDeduplication is by
The first run's failure set contains three schema deadlocks and one already-quarantined Inspected interval, build inventory and unfinished workCompleted-build finish-time interval: Five bounded MCP pages (50, 50, 200, 200, 200 maximum items) returned
Results: 142 Succeeded, 224 PartiallySucceeded, 229 Failed, 11 Canceled. Actual result discovery/processing touched seven builds:
Broader per-test coverage is incomplete. Enumerating builds, successful jobs, Other candidates and exclusionsThe only newly confirmed, non-overlapping quarantine proposal is the certificate Fact.
Already covered: The run 3608229 schema identities are Category/build validation and execution limitationLocal Windows / Release / Project, .NET SDK 10.0.403; both target frameworks compiled. dotnet test 'src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj' --no-restore -c Release -f net462 --list-tests --filter 'FullyQualifiedName~CertificateTest&category=flaky' -v:qInitially failed, dotnet restore 'src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj' -v:qPassed. Used configured feeds/accounts, no account or repository switch. dotnet test 'src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj' --no-restore -c Release --list-tests --filter 'FullyQualifiedName~CertificateTest&category=flaky' -v:qPassed. Both net462 and net10.0 built; each lists exactly the quarantined Fact, dotnet test 'src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj' --no-build --no-restore -c Release --list-tests --filter 'FullyQualifiedName~CertificateTest&category!=failing&category!=flaky&category!=interactive' -v:q
dotnet test 'src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj' --no-build --no-restore -c Release --list-tests --filter 'FullyQualifiedName~Microsoft.Data.SqlClient.ManualTesting.Tests.CertificateTest.&category!=failing&category!=flaky&category!=interactive' -v:q
git diff --checkPassed. The broader first filter also lists similarly named neighboring classes. Local certificate integration execution was not run. There is no configured Retrieval errors, related PRs, publication policy and checkpointAuthenticated MCP initially returned Prior records were rechecked live: Live upstream main still declares Publication verification: tagging PR #5021 The required Validate milestone check Checkpoint: NOT ADVANCED. The 606-build inventory is complete, but the 599 |
There was a problem hiding this comment.
🟢 Approval recommended
There are no active review issues for the targeted flaky-test quarantine change.
No open issues 🎉
What changed in this PR
Quarantines CertificateTest.OpeningConnectionWithNicTest after an intermittent certificate-setup timeout, without changing test behavior or product code.
Changes:
- Adds
[Trait("category", "flaky")]to the single Fact on net462 and net10.0; intermittency is confirmed only on net462. - Preserves existing predicates, categories, test bodies, and neighboring certificate tests.
| File | Description |
|---|---|
| src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/ConnectionTestWithSSLCert/CertificateTest.cs | Marks the NIC connection Fact as flaky for quarantine selection. |
Review effort: Balanced
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5021 +/- ##
==========================================
- Coverage 68.74% 67.13% -1.61%
==========================================
Files 313 307 -6
Lines 45726 68934 +23208
==========================================
+ Hits 31434 46279 +14845
- Misses 14292 22655 +8363
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
🤖 This pull request was created by a fully automated workflow. ## Description Add only
[Trait("category", "flaky")]to this unparameterized Fact:Microsoft.Data.SqlClient.ManualTesting.Tests.CertificateTest.OpeningConnectionWithNicTestThe method trait applies on net462/net10.0; only net462 is claimed intermittent here. Other certificate tests, existing categories, predicates and test bodies stay unchanged. No product, API, dependency, documentation, pipeline, repair or probation changes. Both builds use main SHA5aaa9ef090135a9a462f31d2e7945d97baa9e65b, CI-SqlClient, Windows Server 2025 / SQL25 named instance / net462 / Release / Project / native SNI / x64 / Set 1, with identical image versions and different agent allocations. | Outcome | Build / exact result | Observed UTC | | --- | --- | --- | | Passed, independent job | 190082 / 3682495 / 101396 | 2026-11-07T00:02:53.333Z–00:03:27.263Z | | Failed | 190251 / 3685003 / 101376 | 2026-11-08T01:29:07.020Z–01:29:07.023Z | | Passed, same-job task retry | 190251 / 3685003 / 101442 | 2026-11-08T01:33:17.297Z–01:33:30.043Z | The sole failure in the ordinary task was the Fact's constructor timing out after 60 seconds in its test-owned certificate setup process. Exact passes in the retry and independent job support quarantine, not a repair or stability claim. The failed attempt did not reach the test body. Root cause remains unresolved. Complete collapsed evidence record. The 606-build inventory covers 2026-10-25T14:01:27Z–2026-11-08T14:01:27Z; broader per-test processing is incomplete and checkpoint not advanced. ## Issues Related discovery records: #5016 and #5020 previously recorded this Fact as unconfirmed, not an equivalent pending quarantine. Existing unrelated tagging proposals #4980, #5016 and #5020 are preserved. Fixes and all probation lifecycle work are outside this automation's scope. ## Testingpowershell dotnet test 'src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj' --no-restore -c Release --list-tests --filter 'FullyQualifiedName~CertificateTest&category=flaky' -v:qPassed: both net462/net10.0 built, each lists exactly the tagged Fact.powershell dotnet test 'src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTests.csproj' --no-build --no-restore -c Release --list-tests --filter 'FullyQualifiedName~Microsoft.Data.SqlClient.ManualTesting.Tests.CertificateTest.&category!=failing&category!=flaky&category!=interactive' -v:q git diff --checkPassed: exactly the two unchanged certificate Facts remain ordinary on each TFM; the tagged Fact is excluded. Initial NETSDK1004 was resolved with a successful configured-feed project restore. Local integration execution was not run: no session SQL configuration, and the fixture modifies machine certificates/restarts SQL Server on this shared host. Selection checks are not execution coverage; actual pre-change CI passes are linked above. No validation build was manually queued. - [x] Tests added or updated (category only) - [x] Public API changes documented (N/A; none) - [ ] Verified against customer repro (N/A; CI evidence) - [x] Ensure no breaking changes introduced Main still targets8.0.0-preview1; the explicit one-time exception excludes milestone #101, so this PR remains unassigned. Any required missing-milestone failure needs maintainer action, not a bypass. ## Guidelines Please review the contribution guidelines before submitting a pull request: - Contributing - Code of Conduct - Best Practices - Coding Style - Review Process