Skip to content

[6.0] Microsoft.Extensions.FileProviders.Physical.Tests failing to access a symlink used by PhysicalFilesWatcher #104823

Open

Description

@carlossanlop

Build Information

Build: https://dev.azure.com/dnceng-public/public/public%20Team/_build/results?buildId=737840
Build error leg or test failing: Libraries Test Run release coreclr windows x64 Debug - Microsoft.Extensions.FileProviders.Physical.Tests

Error Message

{
  "ErrorMessage" : [
    "System.UnauthorizedAccessException: Access to the path",
    "PhysicalFilesWatcher.cs"
  ],
  "BuildRetry" : false,
  "ExcludeConsoleLog" : false
}
===========================================================================================================

C:\h\w\BADD098E\w\B26B0998\e>"C:\h\w\BADD098E\p\dotnet.exe" exec --runtimeconfig Microsoft.Extensions.FileProviders.Physical.Tests.runtimeconfig.json --depsfile Microsoft.Extensions.FileProviders.Physical.Tests.deps.json xunit.console.dll Microsoft.Extensions.FileProviders.Physical.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing  
  Discovering: Microsoft.Extensions.FileProviders.Physical.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  Microsoft.Extensions.FileProviders.Physical.Tests (found 83 of 92 test cases)
  Starting:    Microsoft.Extensions.FileProviders.Physical.Tests (parallel test collections = on, max threads = 2)
Unhandled exception. System.UnauthorizedAccessException: Access to the path 'C:\h\w\BADD098E\t\x3dfgyya.35z\2visikrv.aco' is denied.
   at System.IO.FileSystem.GetFinalLinkTarget(String linkPath, Boolean isDirectory) in /_/src/libraries/System.Private.CoreLib/src/System/IO/FileSystem.Windows.cs:line 585
   at System.IO.FileSystem.ResolveLinkTarget(String linkPath, Boolean returnFinalTarget, Boolean isDirectory) in /_/src/libraries/System.Private.CoreLib/src/System/IO/FileSystem.Windows.cs:line 422
   at System.IO.FileSystemInfo.ResolveLinkTarget(Boolean returnFinalTarget) in /_/src/libraries/System.Private.CoreLib/src/System/IO/FileSystemInfo.cs:line 170
   at Microsoft.Extensions.FileProviders.Physical.FileSystemInfoHelper.GetFileLinkTargetLastWriteTimeUtc(FileInfo fileInfo) in /_/src/libraries/Microsoft.Extensions.FileProviders.Physical/src/Internal/FileSystemInfoHelper.cs:line 56
   at Microsoft.Extensions.FileProviders.Physical.PollingFileChangeToken.GetLastWriteTimeUtc() in /_/src/libraries/Microsoft.Extensions.FileProviders.Physical/src/PollingFileChangeToken.cs:line 57
   at Microsoft.Extensions.FileProviders.Physical.PollingFileChangeToken.get_HasChanged() in /_/src/libraries/Microsoft.Extensions.FileProviders.Physical/src/PollingFileChangeToken.cs:line 101
   at Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher.RaiseChangeEvents(Object state) in /_/src/libraries/Microsoft.Extensions.FileProviders.Physical/src/PhysicalFilesWatcher.cs:line 476
   at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool) in /_/src/libraries/System.Private.CoreLib/src/System/Threading/Timer.cs:line 673
   at System.Threading.TimerQueue.FireNextTimers() in /_/src/libraries/System.Private.CoreLib/src/System/Threading/Timer.cs:line 326
----- end Thu 07/11/2024 19:06:54.62 ----- exit code -532462766 ----------------------------------------------------------

Report

💡 View the full list of hits in the Build Insights portal

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

Activity

  1. added
    runtime-coreclr
    Known Build Error
    on Jul 12, 2024
  2. added
    untriaged
    on Jul 12, 2024
  3. dotnet-policy-service commented on Jul 12, 2024

    @dotnet-policy-service
    Contributor

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

  4. added and removed
    untriaged
    on Jul 18, 2024
  5. added this to the Future milestone on Jul 18, 2024
  6. dotnet-policy-service commented on Jul 18, 2024

    @dotnet-policy-service
    Contributor

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

  7. adamsitnik commented on Jul 18, 2024

    @adamsitnik
    Member

    We have not touched this area in 6.0, so it must be some kind of rare flakiness. I am moving it to future for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build Errorarch-x64area-Extensions-FileSystemos-windowsruntime-coreclrtest-failure

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions