Repository navigation
Closed
Labels
area-System.IOblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'test-run-coreTest failures in .NET Core test runs
Milestone
Description
Affected test:
System.IO.Tests.FileSystemWatcherTests.FileSystemWatcher_Directory_Delete_MultipleFilters
Runfo failures in last 30 days as of 2022/9/23:
| Day | Run | OS |
|---|---|---|
| 9/22 | Rolling run 25951 (7.0) | net7.0-windows-Release-x86-CoreCLR_release-Windows.10.Amd64.Server2022.ES.Open |
| 9/20 | Rolling run 23975 | net7.0-windows-Release-x86-CoreCLR_release-Windows.10.Amd64.Server2022.ES.Open |
| 9/20 | PR 23345 | net7.0-windows-Debug-x64-CoreCLR_release-Windows.81.Amd64.Open |
| 9/14 | PR 17924 | net7.0-windows-Release-x86-CoreCLR_release-Windows.7.Amd64.Open |
| 9/8 | PR 8477 (7.0) | net7.0-windows-Release-x86-CoreCLR_release-Windows.10.Amd64.Server2022.ES.Open |
| 9/7 | PR 7334 (7.0) | net7.0-windows-Debug-x64-CoreCLR_release-Windows.10.Amd64.Server2022.ES.Open |
Kusto shows even more historical failures before September 2022:
- 1x September ... unclear why Runfo shows more failures -- digging into that
- 1x August
- 7x July
- 3x June (note: ignoring 3x unrelated failures on 6/10 in PR Add two new stages to prepare for our new custom type marshalling design. #70598)
cluster('engsrvprod.kusto.windows.net').database('engineeringdata').AzureDevOpsTests
| where TestName contains 'FileSystemWatcher_Directory_Delete_MultipleFilters'
| distinct JobId, WorkItemId, Message, StackTrace, TestName, Arguments, Outcome
| join kind=inner (cluster('engsrvprod.kusto.windows.net').database('engineeringdata').Jobs
//| where ((Branch == 'refs/heads/main') or (Branch == 'refs/heads/master') or (includePR and (Source startswith "pr/")))
| where Type startswith "test/functional/cli/"
and not(Properties contains "runtime-staging")
| summarize arg_max(Finished, Properties, Type, Branch, Source, Started, QueueName) by JobId
| project-rename JobType = Type) on JobId;Original report
Failed on an unrelated PR: #346
netcoreapp-Windows_NT-Debug-x64-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open
https://dev.azure.com/dnceng/public/_build/results?buildId=445065&view=ms.vss-test-web.build-test-results-tab&runId=14186298&paneView=debug&resultId=179779
Starting: System.IO.FileSystem.Watcher.Tests (parallel test collections = on, max threads = 2)
System.IO.Tests.FileSystemWatcherTests.FileSystemWatcher_Directory_Delete_MultipleFilters [FAIL]
System.IO.DirectoryNotFoundException : Could not find a part of the path 'C:\Windows\TEMP\FileSystemWatcherTests_spavgqsp.vm1\FileSystemWatcher_Directory_Delete_MultipleFilters_1021_397ed6d6\FileSystemWatcher_Directory_Delete_MultipleFilters_1022_a8b0b478'.
Stack Trace:
/_/src/libraries/System.IO.FileSystem/src/System/IO/FileSystem.Windows.cs(359,0): at System.IO.FileSystem.RemoveDirectoryInternal(String fullPath, Boolean topLevel, Boolean allowDirectoryNotEmpty)
/_/src/libraries/System.IO.FileSystem/src/System/IO/FileSystem.Windows.cs(184,0): at System.IO.FileSystem.RemoveDirectory(String fullPath, Boolean recursive)
/_/src/libraries/System.IO.FileSystem/src/System/IO/DirectoryInfo.cs(238,0): at System.IO.DirectoryInfo.Delete()
/_/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.unit.cs(1031,0): at System.IO.Tests.FileSystemWatcherTests.<>c__DisplayClass61_0.<FileSystemWatcher_Directory_Delete_MultipleFilters>b__0()
/_/src/libraries/System.IO.FileSystem.Watcher/tests/Utility/FileSystemWatcherTest.cs(296,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(197,0): at System.IO.Tests.FileSystemWatcherTest.ExpectEvent(FileSystemWatcher watcher, WatcherChangeTypes expectedEvents, Action action, Action cleanup, String expectedPath, Int32 attempts, Int32 timeout)
/_/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.unit.cs(1031,0): at System.IO.Tests.FileSystemWatcherTests.FileSystemWatcher_Directory_Delete_MultipleFilters()
Unhandled exception. Xunit.Sdk.ContainsException: Assert.Contains() Failure
Not found: C:\Windows\TEMP\FileSystemWatcherTests_spavgqsp.vm1\FileSystemWatcher_Directory_Delete_MultipleFilters_1021_397ed6d6\FileSystemWatcher_Directory_Delete_MultipleFilters_1023_97128ebf
In value: String[] ["C:\\Windows\\TEMP\\FileSystemWatcherTests_spavgqsp"...]
at Xunit.Assert.Contains[T](T expected, IEnumerable`1 collection, IEqualityComparer`1 comparer) in C:\Dev\xunit\xunit\src\xunit.assert\Asserts\CollectionAsserts.cs:line 114
at Xunit.Assert.Contains[T](T expected, IEnumerable`1 collection) in C:\Dev\xunit\xunit\src\xunit.assert\Asserts\CollectionAsserts.cs:line 96
at System.IO.Tests.FileSystemWatcherTest.<>c__DisplayClass10_0.<WatchDeleted>b__0(Object o, FileSystemEventArgs e) in /_/src/libraries/System.IO.FileSystem.Watcher/tests/Utility/FileSystemWatcherTest.cs:line 113
at System.IO.FileSystemWatcher.NotifyFileSystemEventArgs(WatcherChangeTypes changeType, ReadOnlySpan`1 name) in /_/src/libraries/System.IO.FileSystem.Watcher/src/System/IO/FileSystemWatcher.cs:line 453
at System.IO.FileSystemWatcher.ParseEventBufferAndNotifyForEach(Byte[] buffer) in /_/src/libraries/System.IO.FileSystem.Watcher/src/System/IO/FileSystemWatcher.Win32.cs:line 317
at System.IO.FileSystemWatcher.ReadDirectoryChangesCallback(UInt32 errorCode, UInt32 numBytes, AsyncReadState state) in /_/src/libraries/System.IO.FileSystem.Watcher/src/System/IO/FileSystemWatcher.Win32.cs:line 240
at System.IO.FileSystemWatcher.<>c.<StartRaisingEvents>b__84_0(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlappedPointer) in /_/src/libraries/System.IO.FileSystem.Watcher/src/System/IO/FileSystemWatcher.Win32.cs:line 63
at System.Threading.ThreadPoolBoundHandleOverlapped.CompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped) in /_/src/System.Private.CoreLib/src/System/Threading/ClrThreadPoolBoundHandleOverlapped.cs:line 50
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pNativeOverlapped) in /_/src/System.Private.CoreLib/src/System/Threading/Overlapped.cs:line 63
----- end Tue 12/03/2019 16:09:30.58 ----- exit code -532462766 ----------------------------------------------------------
cc @JeremyKuhne, @carlossanlop
Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 0 | 0 |
Metadata
Metadata
Assignees
Labels
area-System.IOblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'test-run-coreTest failures in .NET Core test runs
Activity
JeremyKuhne commentedon Mar 3, 2020
Triage: Closing. Please reopen if this gets hit in the runs again.
jkotas commentedon May 16, 2020
Hit again in #36597:
https://helix.dot.net/api/2019-06-17/jobs/068109ca-a58d-4550-b675-236f600d911f/workitems/System.IO.FileSystem.Watcher.Tests/console
ViktorHofer commentedon Oct 10, 2020
Hit again but on x86, not Nano:
dotnet.exe.876.dmp:
https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-43185-merge-9d968985260c47eabb/System.IO.FileSystem.Watcher.Tests/dotnet.exe.876.dmp?sv=2019-07-07&se=2020-10-30T02%3A28%3A46Z&sr=c&sp=rl&sig=KLeTePcQi43n%2Fa%2BObbo8DWx0zsuJoFWUYD0FJjQHerw%3D
console.7f00bdb8.log:
https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-43185-merge-9d968985260c47eabb/System.IO.FileSystem.Watcher.Tests/console.7f00bdb8.log?sv=2019-07-07&se=2020-10-30T02%3A28%3A46Z&sr=c&sp=rl&sig=KLeTePcQi43n%2Fa%2BObbo8DWx0zsuJoFWUYD0FJjQHerw%3D
Fix package publishing (dotnet#504)
Fix CLI behavior when doing `xharness` or `xharness help` (dotnet#504)
krwq commentedon Aug 18, 2022
This has also failed here: https://dev.azure.com/dnceng/public/_build/results?buildId=1949154&view=ms.vss-test-web.build-test-results-tab&runId=50175432&resultId=132805&paneView=debug
[-]FileSystemWatcher_Directory_Delete_MultipleFilters fails with DirectoryNotFoundException on Windows.Nano.1809.Amd64.Open[/-][+]FileSystemWatcher_Directory_Delete_MultipleFilters - DirectoryNotFoundException[/+]karelz commentedon Sep 23, 2022
It seems to happen 1x-2x per week, marking for re-triage and as blocking-clean-ci
(top post updated with frequency)