Repository navigation
[test-quarantine] Unquarantine NavigationLock and CanNavigateToQueryStringPageWithNoQuery - #67354
github-actions[bot] wants to merge 1 commit into
Conversation
…ations_HistoryNavigation and CanNavigateToQueryStringPageWithNoQuery These tests have been passing reliably in CI for 60+ days: - NavigationLock_OverlappingNavigations... (issue #61080, quarantined 2026-03-25, 88 days, 30/30 builds passing) - CanNavigateToQueryStringPageWithNoQuery (issue #66195, quarantined 2026-04-08, 74 days, 30/30 builds passing) Co-authored-by: Copilot <[email protected]>
|
Closing this automated unquarantine — it's based on the wrong pipeline and misses real failures. The tests in |
…#67356) * Fix test-quarantine unquarantine matching and re-quarantine detection The test-quarantine workflow (run 27903471243) produced two classes of incorrect output, confirmed against live AzDO/Helix pipeline data: 1. Bad unquarantines (PRs #67354, #67355). The agent matched tests by bare leaf method name instead of fully-qualified name, so it borrowed another test's pass statistics: - #67355 unquarantined HelloWorldTests.HelloWorld using pass-stats from the unrelated StartupTests.HelloWorld. - #67354 unquarantined the subclass override ServerExecutionTests.ServerRoutingTest.NavigationLock_... using the passing base class Tests.RoutingTest.NavigationLock_..., even though the actual quarantined subclass was failing on main. 2. Missed re-quarantine (PR #67349 / issue #67348). TestServerTests. LongPollingWorks was re-quarantined as a brand-new Case A quarantine (new issue) instead of a Case B re-quarantine reusing original issue #65702, because (a) Case B only triggered within a 14-day window and this test was unquarantined 62 days earlier, and (b) the original issue is titled/labeled "Known Build Error", which a title search for a "Quarantine ..."-prefixed issue would miss. Fixes in test-quarantine.md: - Unquarantine matching: group AzDO rows by exact full automatedTestName; compute pass rate and require real passing run evidence only from rows whose fully-qualified identity (namespace + concrete declaring class + method) matches the attribute in source, with explicit handling for subclass overrides, inherited base methods, parameterized/theory rows, and the IIS multi-assembly prefix exception. Fail closed on zero rows. - Re-quarantine (Case B): detect previously-unquarantined tests per-test (not per-file) by walking the file's QuarantinedTest history newest to oldest and stopping at the most recent commit that changes this exact test's attribute; removed the 14-day window; evaluate Case B before Case A (with an explicit "does not match Case B" gate on Case A); derive the original tracking issue from the issue URL removed by the unquarantine commit (reusable regardless of label, open or closed); fall back to Case A when no valid numeric issue URL is present. Recompiled test-quarantine.lock.yml with gh aw v0.79.8. Co-authored-by: Copilot <[email protected]> * Address PR review feedback: rename-safe history, exact test-name grouping, set-based run evidence Responds to the automated review on #67356: - Case B history walk and the 60-day attribute-age check now pass `--follow` so renamed/moved test files keep their full quarantine history. The walk uses `git log --follow -p` to read each commit's patch inline (with the file's historical path), instead of a separate `git show <sha> -- <current path>` that returns an empty diff for any commit predating a rename. The original-issue lookup reads the same `-p` patch. - Step 2.1 aggregation groups by the exact, full `automatedTestName` (the verbatim AzDO string, including theory/parameter arguments), deferring `{DeclaringClass}.{Method}` normalization to Step 2.3 — this removes the description inconsistency between the two steps. - The unquarantine "real run evidence" gate now evaluates the set of rows that resolve to the test's source identity (matching {DeclaringClass}.{Method}, including allowed IIS multi-assembly variants and inherited concrete-subclass rows) rather than a single exact name. A 0-pass/0-fail variant (e.g. a [ConditionalFact]-skipped IIS variant) no longer disqualifies a candidate as long as at least one row in the set passed and none failed; fail closed only when the whole resolved set is 0 pass / 0 fail. Step 2.3's "must pass" wording is softened to "zero failures" to stay consistent. Recompiled test-quarantine.lock.yml. Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
Unquarantine two tests from
TestSubclasses.csthat have been consistently passing in CI:NavigationLock_OverlappingNavigationsCancelExistingNavigations_HistoryNavigationCanNavigateToQueryStringPageWithNoQueryBoth tests have been reliably passing for well over 60 days with 100% pass rate.
Closes #61080
Closes #66195