Repository navigation
Description
System.IO.Tests.Enumeration.MatchTypesTests_Directory_GetFiles.OverlappingExtensions_AllMatchTypes_Comprehensive [FAIL]
Assert.DoesNotContain() Failure: Filter matched in collection
� (pos 0)
Collection: ["C:\\h\\w\\B1E60A3B\\t\\#MatchTypesTests_Directory_"���, "C:\\h\\w\\B1E60A3B\\t\\#MatchTypesTests_Directory_"���, "C:\\h\\w\\B1E60A3B\\t\\#MatchTypesTests_Directory_"���, "C:\\h\\w\\B1E60A3B\\t\\#MatchTypesTests_Directory_"���]
Stack Trace:
/_/src/libraries/System.Runtime/tests/System.IO.FileSystem.Tests/Enumeration/MatchTypesTests.cs(584,0): at System.IO.Tests.Enumeration.MatchTypesTests.OverlappingExtensions_AllMatchTypes_Comprehensive()
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
/_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs(36,0): at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
/_/src/libraries/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs(126,0): at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1441860
Build error leg or test failing: System.IO.Tests.Enumeration.MatchTypesTests_Directory_GetFiles.OverlappingExtensions_AllMatchTypes_Comprehensive
Pull request: #128796
Error Message
{
"ErrorMessage": ["Assert.DoesNotContain() Failure: Filter matched in collection", "OverlappingExtensions_AllMatchTypes_Comprehensive"],
"BuildRetry": false,
"ExcludeConsoleLog": false
}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 [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
Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 1 | 4 | 23 |
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…