Skip to content

dotnet watch - Failure in DeleteSubfolder test with polling #46454

Open
@carlossanlop

Description

@carlossanlop

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions