Skip to content

Test failure: System.IO.Tests.FileSystemWatcherTests_netstandard17/EndInit_ResumesPausedEnableRaisingEvents(setBeforeBeginInit: True) #24181

Closed

Description

Opened on behalf of @Sunny-pu

The test System.IO.Tests.FileSystemWatcherTests_netstandard17/EndInit_ResumesPausedEnableRaisingEvents(setBeforeBeginInit: True) has failed.

Deleted event did not occur as expected\r
Expected: True\r
Actual: False

    Stack Trace:

       at System.IO.Tests.FileSystemWatcherTest.ExecuteAndVerifyEvents($FileSystemWatcher watcher, $WatcherChangeTypes expectedEvents, Action action, Boolean assertExpected, String[] expectedPaths, Int32 timeout) in E:\A\_work\398\s\corefx\src\System.IO.FileSystem.Watcher\tests\Utility\FileSystemWatcherTest.cs:line 244
   at System.IO.Tests.FileSystemWatcherTest.ExpectEvent($FileSystemWatcher watcher, $WatcherChangeTypes expectedEvents, Action action, Action cleanup, String[] expectedPaths, Int32 attempts, Int32 timeout) in E:\A\_work\398\s\corefx\src\System.IO.FileSystem.Watcher\tests\Utility\FileSystemWatcherTest.cs:line 183
   at System.IO.Tests.FileSystemWatcherTest.ExpectEvent($FileSystemWatcher watcher, $WatcherChangeTypes expectedEvents, Action action, Action cleanup) in E:\A\_work\398\s\corefx\src\System.IO.FileSystem.Watcher\tests\Utility\FileSystemWatcherTest.cs:line 132
   at System.IO.Tests.FileSystemWatcherTests_netstandard17.EndInit_ResumesPausedEnableRaisingEvents(Boolean setBeforeBeginInit) in E:\A\_work\398\s\corefx\src\System.IO.FileSystem.Watcher\tests\FileSystemWatcher.cs:line 229
   at _$ILCT$.$ILT$ReflectionDynamicInvoke$.InvokeRetVI<System.Boolean>(Object thisPtr, IntPtr methodToCall, ArgSetupState argSetupState, Boolean targetIsThisCall)
   at System.InvokeUtils.CalliIntrinsics.Call(IntPtr dynamicInvokeHelperMethod, Object thisPtr, IntPtr methodToCall, ArgSetupState argSetupState, Boolean isTargetThisCall)
   at System.InvokeUtils.CallDynamicInvokeMethod(Object thisPtr, IntPtr methodToCall, Object thisPtrDynamicInvokeMethod, IntPtr dynamicInvokeHelperMethod, IntPtr dynamicInvokeHelperGenericDictionary, Object targetMethodOrDelegate, Object[] parameters, BinderBundle binderBundle, Boolean wrapInTargetInvocationException, Boolean invokeMethodHelperIsThisCall, Boolean methodToCallIsThisCall) in CallDynamicInvokeMethod:line 16707566

Build : Master - 20171120.01 (UWP ILC Tests)
Failing configurations:

  • Windows.10.Amd64.ClientRS3-x64
    • Release

Runfo Tracking Issue: Runtime test EndInit_ResumesPausedEnableRaisingEvents

Build Definition Kind Run Name

Build Result Summary

Day Hit Count Week Hit Count Month Hit Count
0 0 0

Activity

  1. stephentoub commented on Jul 22, 2019

    @stephentoub
    Member

    We no longer run tests on a uapaot configuration.

  2. ViktorHofer commented on Nov 18, 2019

    @ViktorHofer
    Member

    This just happened on netcoreapp-OSX-Release-x64-OSX.1014.Amd64.Open: https://dnceng.visualstudio.com/public/_build/results?buildId=430712&view=ms.vss-test-web.build-test-results-tab&runId=13634674&paneView=debug&resultId=142346

    Deleted event did not occur as expected\nExpected: True\nActual: False
    
       at System.IO.Tests.FileSystemWatcherTest.ExecuteAndVerifyEvents(FileSystemWatcher watcher, WatcherChangeTypes expectedEvents, Action action, Boolean assertExpected, String[] expectedPaths, Int32 timeout) in /_/src/libraries/System.IO.FileSystem.Watcher/tests/Utility/FileSystemWatcherTest.cs:line 332
       at System.IO.Tests.FileSystemWatcherTest.ExpectEvent(FileSystemWatcher watcher, WatcherChangeTypes expectedEvents, Action action, Action cleanup, String[] expectedPaths, Int32 attempts, Int32 timeout) in /_/src/libraries/System.IO.FileSystem.Watcher/tests/Utility/FileSystemWatcherTest.cs:line 227
       at System.IO.Tests.FileSystemWatcherTest.ExpectEvent(FileSystemWatcher watcher, WatcherChangeTypes expectedEvents, Action action, Action cleanup) in /_/src/libraries/System.IO.FileSystem.Watcher/tests/Utility/FileSystemWatcherTest.cs:line 183
       at System.IO.Tests.FileSystemWatcherTests_netstandard17.EndInit_ResumesPausedEnableRaisingEvents(Boolean setBeforeBeginInit) in /_/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.cs:line 225
    
  3. ViktorHofer commented on Nov 18, 2019

    @ViktorHofer
    Member
  4. karelz commented on Jan 22, 2020

    @karelz
    Member

    UWP is not running in master anymore.

  5. transferred this issue fromdotnet/corefxon Jan 31, 2020
  6. added this to the 5.0 milestone on Jan 31, 2020
  7. ViktorHofer commented on Feb 13, 2020

    @ViktorHofer
    Member

    Reopening, just failed again: https://dnceng.visualstudio.com/public/_build/results?buildId=518227&view=ms.vss-test-web.build-test-results-tab&runId=16391864&resultId=150078&paneView=debug

    Configuration: netcoreapp5.0-OSX-Release-x64-Mono_release-OSX.1014.Amd64.Open

    Deleted event did not occur as expected\nExpected: True\nActual: False
       at System.IO.Tests.FileSystemWatcherTest.ExecuteAndVerifyEvents(FileSystemWatcher watcher, WatcherChangeTypes expectedEvents, Action action, Boolean assertExpected, String[] expectedPaths, Int32 timeout) in /_/src/libraries/System.IO.FileSystem.Watcher/tests/Utility/FileSystemWatcherTest.cs:line 328
       at System.IO.Tests.FileSystemWatcherTest.ExpectEvent(FileSystemWatcher watcher, WatcherChangeTypes expectedEvents, Action action, Action cleanup, String[] expectedPaths, Int32 attempts, Int32 timeout) in /_/src/libraries/System.IO.FileSystem.Watcher/tests/Utility/FileSystemWatcherTest.cs:line 227
       at System.IO.Tests.FileSystemWatcherTest.ExpectEvent(FileSystemWatcher watcher, WatcherChangeTypes expectedEvents, Action action, Action cleanup) in /_/src/libraries/System.IO.FileSystem.Watcher/tests/Utility/FileSystemWatcherTest.cs:line 182
       at System.IO.Tests.FileSystemWatcherTests_netstandard17.EndInit_ResumesPausedEnableRaisingEvents() in /_/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.cs:line 204
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) in /_/src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs:line 339
    
  8. ViktorHofer commented on Feb 13, 2020

    @ViktorHofer
    Member
  9. ericstj commented on Mar 13, 2020

    @ericstj
    Member

    Again here: https://dev.azure.com/dnceng/public/_build/results?buildId=557777&view=ms.vss-test-web.build-test-results-tab&runId=17587538&resultId=100000&paneView=attachments

    /private/tmp/helix/working/A7490916/w/AEB2094E/e /private/tmp/helix/working/A7490916/w/AEB2094E/e
      Discovering: System.IO.FileSystem.Watcher.Tests (method display = ClassAndMethod, method display options = None)
      Discovered:  System.IO.FileSystem.Watcher.Tests (found 151 of 184 test cases)
      Starting:    System.IO.FileSystem.Watcher.Tests (parallel test collections = on, max threads = 4)
        System.IO.Tests.FileSystemWatcherTests_netstandard17.EndInit_ResumesPausedEnableRaisingEvents(setBeforeBeginInit: True) [FAIL]
          Deleted event did not occur as expected
          Expected: True
          Actual:   False
          Stack Trace:
            /_/src/libraries/System.IO.FileSystem.Watcher/tests/Utility/FileSystemWatcherTest.cs(328,0): at System.IO.Tests.FileSystemWatcherTest.ExecuteAndVerifyEvents(FileSystemWatcher watcher, WatcherChangeTypes expectedEvents, Action action, Boolean assertExpected, String[] expectedPaths, Int32 timeout)
            /_/src/libraries/System.IO.FileSystem.Watcher/tests/Utility/FileSystemWatcherTest.cs(227,0): at System.IO.Tests.FileSystemWatcherTest.ExpectEvent(FileSystemWatcher watcher, WatcherChangeTypes expectedEvents, Action action, Action cleanup, String[] expectedPaths, Int32 attempts, Int32 timeout)
            /_/src/libraries/System.IO.FileSystem.Watcher/tests/Utility/FileSystemWatcherTest.cs(182,0): at System.IO.Tests.FileSystemWatcherTest.ExpectEvent(FileSystemWatcher watcher, WatcherChangeTypes expectedEvents, Action action, Action cleanup)
            /_/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.cs(225,0): at System.IO.Tests.FileSystemWatcherTests_netstandard17.EndInit_ResumesPausedEnableRaisingEvents(Boolean setBeforeBeginInit)
      Finished:    System.IO.FileSystem.Watcher.Tests
    === TEST EXECUTION SUMMARY ===
       System.IO.FileSystem.Watcher.Tests  Total: 273, Errors: 0, Failed: 1, Skipped: 0, Time: 22.876s
    /private/tmp/helix/working/A7490916/w/AEB2094E/e
    
  10. modified the milestones: 5.0.0, 6.0.0 on Jun 23, 2020
  11. 10 remaining items

  12. self-assigned this
    on Nov 30, 2020
  13. added
    disabled-test
    and removed
    blocking-clean-ci
    on Dec 4, 2020
  14. removed this from the 6.0.0 milestone on Apr 6, 2021
  15. safern commented on Apr 6, 2021

    @safern
    Member

    Reopening as the test is disabled.

  16. reopened this on Apr 6, 2021
  17. removed their assignment
    on Apr 6, 2021
  18. added this to the Future milestone on Jul 13, 2021
  19. ghost added
    in-pr
    on Apr 22, 2022
  20. ghost removed
    in-pr
    on Apr 23, 2022
  21. ghost locked as resolved and limited conversation to collaborators on May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.IOdisabled-test

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions