OverlappingExtensions_AllMatchTypes_Comprehensive failing on Assert.DoesNotContain · Issue #128907 · dotnet/runtime · GitHub
Skip to content

OverlappingExtensions_AllMatchTypes_Comprehensive failing on Assert.DoesNotContain #128907

Closed

Description

@elinor-fung
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

Build Repository Test Pull Request
1595439 dotnet/runtime System.IO.Tests.Enumeration.MatchTypesTests_Directory_GetFiles.OverlappingExtensions_AllMatchTypes_Comprehensive #133831
1589052 dotnet/runtime System.IO.Tests.Enumeration.MatchTypesTests_Directory_GetFiles.OverlappingExtensions_AllMatchTypes_Comprehensive #130407
1587471 dotnet/runtime System.IO.Tests.Enumeration.MatchTypesTests_Directory_GetFiles.OverlappingExtensions_AllMatchTypes_Comprehensive #133425
1586491 dotnet/runtime System.IO.Tests.Enumeration.MatchTypesTests_DirectoryInfo_GetFiles.OverlappingExtensions_AllMatchTypes_Comprehensive #130050
1581856 dotnet/runtime System.IO.Tests.Enumeration.MatchTypesTests_Directory_GetFiles.OverlappingExtensions_AllMatchTypes_Comprehensive #132965
1580473 dotnet/runtime System.IO.Tests.Enumeration.MatchTypesTests_DirectoryInfo_GetFiles.OverlappingExtensions_AllMatchTypes_Comprehensive #133111
1579855 dotnet/runtime System.IO.Tests.Enumeration.MatchTypesTests_DirectoryInfo_GetFiles.OverlappingExtensions_AllMatchTypes_Comprehensive
1577496 dotnet/runtime System.IO.Tests.Enumeration.MatchTypesTests_DirectoryInfo_GetFiles.OverlappingExtensions_AllMatchTypes_Comprehensive #132932
1577137 dotnet/runtime System.IO.Tests.Enumeration.MatchTypesTests_Directory_GetFiles.OverlappingExtensions_AllMatchTypes_Comprehensive
1575788 dotnet/runtime System.IO.Tests.Enumeration.MatchTypesTests_DirectoryInfo_GetFiles.OverlappingExtensions_AllMatchTypes_Comprehensive #130849
1574216 dotnet/runtime System.IO.Tests.Enumeration.MatchTypesTests_DirectoryInfo_GetFiles.OverlappingExtensions_AllMatchTypes_Comprehensive #132881
1573798 dotnet/runtime System.IO.Tests.Enumeration.MatchTypesTests_Directory_GetFiles.OverlappingExtensions_AllMatchTypes_Comprehensive #132923
1573125 dotnet/runtime System.IO.Tests.Enumeration.MatchTypesTests_DirectoryInfo_GetFiles.OverlappingExtensions_AllMatchTypes_Comprehensive #132861
1566044 dotnet/runtime System.IO.Tests.Enumeration.MatchTypesTests_DirectoryInfo_GetFiles.OverlappingExtensions_AllMatchTypes_Comprehensive #131655
1566016 dotnet/runtime System.IO.Tests.Enumeration.MatchTypesTests_Directory_GetFiles.OverlappingExtensions_AllMatchTypes_Comprehensive #132725
1565907 dotnet/runtime System.IO.Tests.Enumeration.MatchTypesTests_DirectoryInfo_GetFiles.OverlappingExtensions_AllMatchTypes_Comprehensive #131474
1563629 dotnet/runtime System.IO.Tests.Enumeration.MatchTypesTests_DirectoryInfo_GetFiles.OverlappingExtensions_AllMatchTypes_Comprehensive
1563062 dotnet/runtime System.IO.Tests.Enumeration.MatchTypesTests_DirectoryInfo_GetFiles.OverlappingExtensions_AllMatchTypes_Comprehensive
1559981 dotnet/runtime WasmTestOnChrome-ST-System.IO.FileSystem.Tests.WorkItemExecution
1559387 dotnet/runtime System.IO.Tests.Enumeration.MatchTypesTests_DirectoryInfo_GetFiles.OverlappingExtensions_AllMatchTypes_Comprehensive #131265
1559111 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-18.WorkItemExecution #131866
1555424 dotnet/runtime System.IO.Tests.Enumeration.MatchTypesTests_DirectoryInfo_GetFiles.OverlappingExtensions_AllMatchTypes_Comprehensive #132396
1555007 dotnet/runtime System.IO.Tests.Enumeration.MatchTypesTests_DirectoryInfo_GetFiles.OverlappingExtensions_AllMatchTypes_Comprehensive

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
1 4 23

Activity

  1. added
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    Known Build ErrorUse this to report build issues in the .NET Helix tab
    on Jun 2, 2026
  2. dotnet-policy-service commented on Jun 2, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @dotnet/area-system-io
    See info in area-owners.md if you want to be subscribed.

  3. adamsitnik commented on Jul 14, 2026

    @adamsitnik
    Member

    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

  4. added this to the 11.0.0 milestone on Jul 14, 2026
  5. jozkee commented on Sep 14, 2026

    @jozkee
    Member

    This appears to be a flaky assertion rather than a regression.

    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.

  6. modified the milestones: 11.0.0, Future on Sep 14, 2026
  7. added
    test-bugProblem in test source code (most likely)
    on Sep 14, 2026
  8. added a commit that references this issue on Sep 15, 2026
    1612dc0
  9. modified the milestones: Future, 12.0.0 on Sep 15, 2026
  10. added a commit that references this issue on Sep 18, 2026
    5509343
  11. locked and limited conversation to collaborators on Oct 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Known Build ErrorUse this to report build issues in the .NET Helix tabarea-System.IOblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'test-bugProblem in test source code (most likely)

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions