Skip to content

System.IO.FileSystem.Watcher.Tests crashing on MacCatalyst #65601

@runfoapp

Description

@runfoapp

Seems to be in FileSystemWatcher_Directory_Create_InNestedDirectory:

Test collection for System.IO.Tests.Directory_Create_Tests
2022-02-18 09:37:11.786663-0800  localhost System.IO.FileSystem.Watcher.Tests[3577]: 	[PASS] System.IO.Tests.Directory_Create_Tests.FileSystemWatcher_Directory_PathNotExists
2022-02-18 09:37:11.793323-0800  localhost fseventsd[81]: (libsystem_info.dylib) Created Activity ID: 0x234d6, Description: Resolve user group list
2022-02-18 09:37:11.805998-0800  localhost System.IO.FileSystem.Watcher.Tests[3577]: 
Unhandled Exception:
Xunit.Sdk.ContainsException: Assert.Contains() Failure
Not found: /var/folders/62/ftpn5pv523j8xsdw56s9jnp40000gs/T/Directory_Create_Tests_hsm4w3hg.os4/FileSystemWatcher_Directory_Create_InNestedDirectory_53_bb03705a/dir1
In value:  String[] ["/var/folders/62/ftpn5pv523j8xsdw56s9jnp40000gs/T/D"...]
   at Xunit.Assert.Contains[String](String expected, IEnumerable`1 collection, IEqualityComparer`1 comparer) in /_/src/xunit.assert/Asserts/CollectionAsserts.cs:line 245
   at Xunit.Assert.Contains[String](String expected, IEnumerable`1 collection) in /_/src/xunit.assert/Asserts/CollectionAsserts.cs:line 226
   at System.IO.Tests.FileSystemWatcherTest.<>c__DisplayClass9_0.<WatchCreated>b__0(Object o, FileSystemEventArgs e)
   at System.IO.FileSystemWatcher.InvokeOn(FileSystemEventArgs e, FileSystemEventHandler handler)
   at System.IO.FileSystemWatcher.NotifyFileSystemEventArgs(WatcherChangeTypes changeType, ReadOnlySpan`1 name)
   at System.IO.FileSystemWatcher.RunningInstance.Process<…>
2022-02-18 09:37:11.806440-0800  localhost System.IO.FileSystem.Watcher.Tests[3577]: (CoreAnalytics) [com.apple.CoreAnalytics:client] Entering exit handler.
2022-02-18 09:37:11.806442-0800  localhost System.IO.FileSystem.Watcher.Tests[3577]: (CoreAnalytics) [com.apple.CoreAnalytics:client] Exiting exit handler.

Runfo Tracking Issue: System.IO.FileSystem.Watcher.Tests crashing on MacCatalyst

Build Definition Kind Run Name Console Core Dump Test Results Run Client
1713622 runtime-extra-platforms PR 67861 net7.0-MacCatalyst-Release-arm64-Mono_Release-OSX.1100.Arm64.Open console.log runclient.py
1711428 runtime-extra-platforms PR 67861 net7.0-MacCatalyst-Release-arm64-Mono_Release-OSX.1100.Arm64.Open console.log runclient.py

Build Result Summary

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions