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
{{ message }}
Repository navigation
OverlappingExtensions_AllMatchTypes_Comprehensive failing on Assert.DoesNotContain #128907
Build: 🔎https://dev.azure.com/dnceng-public/public/_build/results?buildId=1441860 Error message validated:[Assert.DoesNotContain() Failure: Filter matched in collection OverlappingExtensions_AllMatchTypes_Comprehensive [FAIL]] Result validation: ❌ Known issue did not match with the provided build. Validation performed at: 6/2/2026 5:02:10 PM UTC
Known issue validation
Build: 🔎https://dev.azure.com/dnceng-public/public/_build/results?buildId=1441860 Error message validated:[Assert.DoesNotContain() Failure: Filter matched in collection OverlappingExtensions_AllMatchTypes_Comprehensive] Result validation: ✅ Known issue matched with the provided build. Validation performed at: 6/2/2026 5:03:23 PM UTC
I can see that #122947 was merged on Jan 26 and #123695 was merged on Feb 3 and this test failure was reported on Feb 10 in #124210 for the first time. And it reproduces quite frequently now.
@jozkee@jeffhandley I am moving it to 11 to make sure we spend some time investigating to ensure there is no regression similar to #130134
Assert.DoesNotContain(win32Paths, p =>p.Contains("foo"));
It checks the entire absolute path. In one failure, the randomized directory was /tmp/#MatchTypesTests_Directory_GetFiles_foopzs3q..., so every result contained foo. The assertion should compare the filenames or the exact expected paths.
Activity
dotnet-policy-service commentedon Jun 2, 2026
Tagging subscribers to this area: @dotnet/area-system-io
See info in area-owners.md if you want to be subscribed.
MihuBot commentedon Jun 2, 2026
I'm a bot. Here are possible related and/or duplicate issues (I may be wrong):
adamsitnik commentedon Jul 14, 2026
I can see that #122947 was merged on Jan 26 and #123695 was merged on Feb 3 and this test failure was reported on Feb 10 in #124210 for the first time. And it reproduces quite frequently now.
@jozkee @jeffhandley I am moving it to 11 to make sure we spend some time investigating to ensure there is no regression similar to #130134
jozkee commentedon Sep 14, 2026
This appears to be a flaky assertion rather than a regression.
runtime/src/libraries/System.Runtime/tests/System.IO.FileSystem.Tests/Enumeration/MatchTypesTests.cs
Line 584 in 1db0d83
It checks the entire absolute path. In one failure, the randomized directory was
/tmp/#MatchTypesTests_Directory_GetFiles_foopzs3q..., so every result contained foo. The assertion should compare the filenames or the exact expected paths.Fix flaky assertion in OverlappingExtensions_AllMatchTypes_Comprehens…
Fix flaky assertion in OverlappingExtensions_AllMatchTypes_Comprehens…