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

dotnet watch - Failure in DeleteSubfolder test with polling #46454

Open
carlossanlop opened this issue Jan 31, 2025 · 0 comments
Open

dotnet watch - Failure in DeleteSubfolder test with polling #46454

carlossanlop opened this issue Jan 31, 2025 · 0 comments
Labels
Area-Watch Known Build Error untriaged Request triage from a team member

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Jan 31, 2025

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=935673
Build error leg or test failing: dotnet-watch.Tests.dll.3.WorkItemExecution
Pull request: #46424

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": ["Failed Microsoft.DotNet.Watch.UnitTests.FileWatcherTests.DeleteSubfolder(usePolling: True)", "AssertEx.cs:line 214"]
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
  Failed Microsoft.DotNet.Watch.UnitTests.FileWatcherTests.DeleteSubfolder(usePolling: True) [1 s]
  Error Message:
   Expected:
ChangedPath { Path = /datadisks/disk1/work/AAD30945/t/dotnetSdkTests.zJuHi6EW/True/subdir, Kind = Delete },
ChangedPath { Path = /datadisks/disk1/work/AAD30945/t/dotnetSdkTests.zJuHi6EW/True/subdir/foo1, Kind = Delete },
ChangedPath { Path = /datadisks/disk1/work/AAD30945/t/dotnetSdkTests.zJuHi6EW/True/subdir/foo2, Kind = Delete },
ChangedPath { Path = /datadisks/disk1/work/AAD30945/t/dotnetSdkTests.zJuHi6EW/True/subdir/foo3, Kind = Delete }
Actual:
ChangedPath { Path = /datadisks/disk1/work/AAD30945/t/dotnetSdkTests.zJuHi6EW/True/subdir, Kind = Update },
ChangedPath { Path = /datadisks/disk1/work/AAD30945/t/dotnetSdkTests.zJuHi6EW/True/subdir, Kind = Delete },
ChangedPath { Path = /datadisks/disk1/work/AAD30945/t/dotnetSdkTests.zJuHi6EW/True/subdir/foo1, Kind = Delete },
ChangedPath { Path = /datadisks/disk1/work/AAD30945/t/dotnetSdkTests.zJuHi6EW/True/subdir/foo3, Kind = Delete }

  Stack Trace:
     at Microsoft.DotNet.Watch.UnitTests.AssertEx.Fail(String message) in /_/test/dotnet-watch.Tests/Utilities/AssertEx.cs:line 214
   at Microsoft.DotNet.Watch.UnitTests.AssertEx.SequenceEqual[T](IEnumerable`1 expected, IEnumerable`1 actual, IEqualityComparer`1 comparer, String message, String itemSeparator, Func`2 itemInspector) in /_/test/dotnet-watch.Tests/Utilities/AssertEx.cs:line 169
   at Microsoft.DotNet.Watch.UnitTests.FileWatcherTests.TestOperation(String dir, ChangedPath[] expectedChanges, Boolean usePolling, Action operation) in /_/test/dotnet-watch.Tests/FileWatcherTests.cs:line 63
   at Microsoft.DotNet.Watch.UnitTests.FileWatcherTests.DeleteSubfolder(Boolean usePolling) in /_/test/dotnet-watch.Tests/FileWatcherTests.cs:line 353
--- End of stack trace from previous location ---
  Standard Output Messages:
 Observed new Delete: '/datadisks/disk1/work/AAD30945/t/dotnetSdkTests.zJuHi6EW/True/subdir/foo1' (1 out of 4)
 Observed new Update: '/datadisks/disk1/work/AAD30945/t/dotnetSdkTests.zJuHi6EW/True/subdir' (2 out of 4)
 Observed new Delete: '/datadisks/disk1/work/AAD30945/t/dotnetSdkTests.zJuHi6EW/True/subdir' (3 out of 4)
 Observed new Delete: '/datadisks/disk1/work/AAD30945/t/dotnetSdkTests.zJuHi6EW/True/subdir/foo3' (4 out of 4)

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Watch Known Build Error untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

1 participant