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

FileSystemWatcher_SymbolicLink_IncludeSubdirectories_DoNotDereferenceChildLink failed (OSX) #70450

Open
jkotas opened this issue Jun 8, 2022 · 8 comments
Assignees
Labels
area-System.IO disabled-test The test is disabled in source code against the issue
Milestone

Comments

@jkotas
Copy link
Member

jkotas commented Jun 8, 2022

/private/tmp/helix/working/A58D0997/w/A9A20925/e /private/tmp/helix/working/A58D0997/w/A9A20925/e
  Discovering: System.IO.FileSystem.Watcher.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.IO.FileSystem.Watcher.Tests (found 168 of 210 test cases)
  Starting:    System.IO.FileSystem.Watcher.Tests (parallel test collections = on, max threads = 4)
    System.IO.Tests.Directory_Move_Tests.Directory_Move_Multiple_From_Watched_To_Unwatched_Mac(filesCount: 1) [SKIP]
      Unreliable on Monterey
    System.IO.Tests.File_Move_Tests.File_Move_Multiple_From_Watched_To_Unwatched_Mac(filesCount: 1) [SKIP]
      Unreliable on Monterey
    System.IO.Tests.File_Move_Tests.File_Move_Multiple_From_Watched_To_Unwatched_Mac(filesCount: 2) [SKIP]
      Unreliable on Monterey
    System.IO.Tests.Directory_Move_Tests.Directory_Move_Multiple_From_Watched_To_Unwatched_Mac(filesCount: 2) [SKIP]
      Unreliable on Monterey
    System.IO.Tests.Directory_Move_Tests.Directory_Move_Multiple_From_Watched_To_Unwatched_Mac(filesCount: 3) [SKIP]
      Unreliable on Monterey
    System.IO.Tests.File_Move_Tests.File_Move_Multiple_From_Watched_To_Unwatched_Mac(filesCount: 3) [SKIP]
      Unreliable on Monterey
    System.IO.Tests.SymbolicLink_Changed_Tests.FileSystemWatcher_SymbolicLink_IncludeSubdirectories_DoNotDereferenceChildLink [FAIL]
      Expected Event occurred
      Expected: False
      Actual:   True
      Stack Trace:
        /_/src/libraries/System.IO.FileSystem.Watcher/tests/Utility/FileSystemWatcherTest.cs(278,0): at System.IO.Tests.FileSystemWatcherTest.ExpectNoEvent(FileSystemWatcher watcher, WatcherChangeTypes unExpectedEvents, Action action, Action cleanup, String expectedPath, Int32 timeout)
        /_/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.SymbolicLink.cs(129,0): at System.IO.Tests.SymbolicLink_Changed_Tests.FileSystemWatcher_SymbolicLink_IncludeSubdirectories_DoNotDereferenceChildLink()
           at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
        /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodInvoker.cs(69,0): at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
  Finished:    System.IO.FileSystem.Watcher.Tests
=== TEST EXECUTION SUMMARY ===
   System.IO.FileSystem.Watcher.Tests  Total: 309, Errors: 0, Failed: 1, Skipped: 6, Time: 5.281s
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Jun 8, 2022
@ghost
Copy link

ghost commented Jun 8, 2022

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

Issue Details
/private/tmp/helix/working/A58D0997/w/A9A20925/e /private/tmp/helix/working/A58D0997/w/A9A20925/e
  Discovering: System.IO.FileSystem.Watcher.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.IO.FileSystem.Watcher.Tests (found 168 of 210 test cases)
  Starting:    System.IO.FileSystem.Watcher.Tests (parallel test collections = on, max threads = 4)
    System.IO.Tests.Directory_Move_Tests.Directory_Move_Multiple_From_Watched_To_Unwatched_Mac(filesCount: 1) [SKIP]
      Unreliable on Monterey
    System.IO.Tests.File_Move_Tests.File_Move_Multiple_From_Watched_To_Unwatched_Mac(filesCount: 1) [SKIP]
      Unreliable on Monterey
    System.IO.Tests.File_Move_Tests.File_Move_Multiple_From_Watched_To_Unwatched_Mac(filesCount: 2) [SKIP]
      Unreliable on Monterey
    System.IO.Tests.Directory_Move_Tests.Directory_Move_Multiple_From_Watched_To_Unwatched_Mac(filesCount: 2) [SKIP]
      Unreliable on Monterey
    System.IO.Tests.Directory_Move_Tests.Directory_Move_Multiple_From_Watched_To_Unwatched_Mac(filesCount: 3) [SKIP]
      Unreliable on Monterey
    System.IO.Tests.File_Move_Tests.File_Move_Multiple_From_Watched_To_Unwatched_Mac(filesCount: 3) [SKIP]
      Unreliable on Monterey
    System.IO.Tests.SymbolicLink_Changed_Tests.FileSystemWatcher_SymbolicLink_IncludeSubdirectories_DoNotDereferenceChildLink [FAIL]
      Expected Event occurred
      Expected: False
      Actual:   True
      Stack Trace:
        /_/src/libraries/System.IO.FileSystem.Watcher/tests/Utility/FileSystemWatcherTest.cs(278,0): at System.IO.Tests.FileSystemWatcherTest.ExpectNoEvent(FileSystemWatcher watcher, WatcherChangeTypes unExpectedEvents, Action action, Action cleanup, String expectedPath, Int32 timeout)
        /_/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.SymbolicLink.cs(129,0): at System.IO.Tests.SymbolicLink_Changed_Tests.FileSystemWatcher_SymbolicLink_IncludeSubdirectories_DoNotDereferenceChildLink()
           at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
        /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodInvoker.cs(69,0): at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
  Finished:    System.IO.FileSystem.Watcher.Tests
=== TEST EXECUTION SUMMARY ===
   System.IO.FileSystem.Watcher.Tests  Total: 309, Errors: 0, Failed: 1, Skipped: 6, Time: 5.281s
Author: jkotas
Assignees: -
Labels:

area-System.IO

Milestone: -

@danmoseley
Copy link
Member

It seems this test never passes? But, it should be running on Linux, so I wonder whether results (passes) are missing from the tables.

TestResults
| join kind=inner WorkItems on WorkItemId
| join kind=inner Jobs on JobId
| where Finished >= now(-6d)
//| where Result == "Fail"
| where Method == "FileSystemWatcher_SymbolicLink_IncludeSubdirectories_DoNotDereferenceChildLink"
| project 
  Pipeline = tostring(parse_json(Properties).DefinitionName),
  Pipeline_Configuration = tostring(parse_json(Properties).configuration),
  OS = QueueName,
  Arch = tostring(parse_json(Properties).architecture),
  Test = Type1,
  Result,
  Finished,
 // Duration,
  Method,
 // Build = tostring(parse_json(Properties).BuildNumber)
  Message, ConsoleUri
  | summarize count() by Pipeline, OS, Arch, Result, Method
Pipeline OS Arch Result Method count_
runtime osx.1200.amd64.open x64 Fail FileSystemWatcher_SymbolicLink_IncludeSubdirectories_DoNotDereferenceChildLink 15

@danmoseley
Copy link
Member

@jozkee it seems you added this test recently. Can you please fix or disable?

Also, would you expect these to run on Mac and Linux ? (CanCreateSymbolicLinks== true)

@jkotas jkotas added the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Jun 12, 2022
@jozkee jozkee added this to the 7.0.0 milestone Jun 22, 2022
@jozkee jozkee self-assigned this Jun 22, 2022
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Jun 22, 2022
@karelz
Copy link
Member

karelz commented Jun 29, 2022

Another occurrence on 1st attempt (retries solved it) in Rolling run 1849254 (6/28 AM) - Console log

@carlossanlop
Copy link
Member

Hit it in this infra change:
#71770

@jozkee jozkee 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 Jul 12, 2022
@jeffhandley jeffhandley modified the milestones: 7.0.0, Future Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.IO disabled-test The test is disabled in source code against the issue
Projects
None yet
Development

No branches or pull requests

7 participants