Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ghost opened this issue Nov 20, 2017 · 15 comments · Fixed by #68368
Labels
area-System.IO disabled-test The test is disabled in source code against the issue
Milestone

Comments

@ghost
Copy link

ghost commented Nov 20, 2017

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
@stephentoub
Copy link
Member

We no longer run tests on a uapaot configuration.

@ViktorHofer
Copy link
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

@ViktorHofer ViktorHofer reopened this Nov 18, 2019
@ViktorHofer
Copy link
Member

cc @JeremyKuhne@carlossanlop

@karelz
Copy link
Member

karelz commented Jan 22, 2020

UWP is not running in master anymore.

@karelz karelz closed this as completed Jan 22, 2020
@msftgits msftgits transferred this issue from dotnet/corefx Jan 31, 2020
@msftgits msftgits added this to the 5.0 milestone Jan 31, 2020
@ViktorHofer
Copy link
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

@ViktorHofer
Copy link
Member

cc @JeremyKuhne @carlossanlop

@ericstj
Copy link
Member

ericstj commented Mar 13, 2020

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

@directhex directhex added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' intermittent labels Sep 24, 2020
@ViktorHofer
Copy link
Member

Converted to a runfo live tracking issue. Any concerns on disabling the test?

@carlossanlop
Copy link
Member

Go ahead and disable it, @ViktorHofer . I'll mark it for 6.0 for fixing.

@ViktorHofer
Copy link
Member

I'll wait another week to see if this only fails on macOS.

@lukas-lansky lukas-lansky self-assigned this Nov 30, 2020
@safern safern assigned safern and unassigned lukas-lansky Dec 1, 2020
@safern safern added disabled-test The test is disabled in source code against the issue and removed blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' labels Dec 4, 2020
@runfoapp runfoapp bot removed this from the 6.0.0 milestone Apr 6, 2021
@runfoapp runfoapp bot closed this as completed Apr 6, 2021
@safern
Copy link
Member

safern commented Apr 6, 2021

Reopening as the test is disabled.

@safern safern reopened this Apr 6, 2021
@safern safern removed their assignment Apr 6, 2021
@jeffhandley jeffhandley added this to the Future milestone Jul 13, 2021
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Apr 22, 2022
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Apr 23, 2022
@ghost ghost locked as resolved and limited conversation to collaborators May 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.IO disabled-test The test is disabled in source code against the issue
Projects
None yet