Skip to content

ResolveLinkTarget_Succeeds test fails locally #55488

Description

@stephentoub

These new tests are blocking a clean System.IO.FileSystem run for me locally.
cc: @carlossanlop, @jozkee

      System.IO.Tests.DirectoryInfo_SymbolicLinks.ResolveLinkTarget_Succeeds(pathToTarget: "\\\\SERVER\\share\\path", returnFinalTarget: True) [FAIL]
        System.IO.IOException : You can't access this shared folder because your organization's security policies block unauthenticated guest access. These policies help protect your PC from unsafe or malicious devices on the network. : 'C:\Users\stoub\AppData\Local\Temp\DirectoryInfo_SymbolicLinks_4pfumryt.guf\GetRandomLinkName_25_91424725.link'
        Stack Trace:
          D:\repos\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileSystem.Windows.cs(614,0): at System.IO.FileSystem.GetFinalLinkTarget(String linkPath, Boolean isDirectory)
          D:\repos\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileSystem.Windows.cs(432,0): at System.IO.FileSystem.ResolveLinkTarget(String linkPath, Boolean returnFinalTarget, Boolean isDirectory)
          D:\repos\runtime\src\libraries\System.IO.FileSystem\tests\Base\SymbolicLinks\BaseSymbolicLinks.FileSystemInfo.cs(24,0): at System.IO.Tests.BaseSymbolicLinks_FileSystemInfo.ResolveLinkTarget(String linkPath, Boolean returnFinalTarget)
          D:\repos\runtime\src\libraries\System.IO.FileSystem\tests\Base\SymbolicLinks\BaseSymbolicLinks.FileSystem.cs(168,0): at System.IO.Tests.BaseSymbolicLinks_FileSystem.ResolveLinkTarget_Succeeds(String pathToTarget, Boolean returnFinalTarget)
      System.IO.Tests.FileInfo_SymbolicLinks.ResolveLinkTarget_Succeeds(pathToTarget: "\\\\SERVER\\share\\path", returnFinalTarget: True) [FAIL]
        System.IO.IOException : You can't access this shared folder because your organization's security policies block unauthenticated guest access. These policies help protect your PC from unsafe or malicious devices on the network. : 'C:\Users\stoub\AppData\Local\Temp\FileInfo_SymbolicLinks_z3tlksdj.4go\GetRandomLinkName_25_cfd11915.link'
        Stack Trace:
          D:\repos\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileSystem.Windows.cs(614,0): at System.IO.FileSystem.GetFinalLinkTarget(String linkPath, Boolean isDirectory)
          D:\repos\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileSystem.Windows.cs(432,0): at System.IO.FileSystem.ResolveLinkTarget(String linkPath, Boolean returnFinalTarget, Boolean isDirectory)
          D:\repos\runtime\src\libraries\System.IO.FileSystem\tests\Base\SymbolicLinks\BaseSymbolicLinks.FileSystemInfo.cs(24,0): at System.IO.Tests.BaseSymbolicLinks_FileSystemInfo.ResolveLinkTarget(String linkPath, Boolean returnFinalTarget)
          D:\repos\runtime\src\libraries\System.IO.FileSystem\tests\Base\SymbolicLinks\BaseSymbolicLinks.FileSystem.cs(168,0): at System.IO.Tests.BaseSymbolicLinks_FileSystem.ResolveLinkTarget_Succeeds(String pathToTarget, Boolean returnFinalTarget)
      System.IO.Tests.File_SymbolicLinks.ResolveLinkTarget_Succeeds(pathToTarget: "\\\\SERVER\\share\\path", returnFinalTarget: True) [FAIL]
        System.IO.IOException : You can't access this shared folder because your organization's security policies block unauthenticated guest access. These policies help protect your PC from unsafe or malicious devices on the network. : 'C:\Users\stoub\AppData\Local\Temp\File_SymbolicLinks_cjlo0nte.tyy\GetRandomLinkName_25_ef8c373a.link'
        Stack Trace:
          D:\repos\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileSystem.Windows.cs(614,0): at System.IO.FileSystem.GetFinalLinkTarget(String linkPath, Boolean isDirectory)
          D:\repos\runtime\src\libraries\System.Private.CoreLib\src\System\IO\File.cs(1038,0): at System.IO.File.ResolveLinkTarget(String linkPath, Boolean returnFinalTarget)
          D:\repos\runtime\src\libraries\System.IO.FileSystem\tests\File\SymbolicLinks.cs(30,0): at System.IO.Tests.File_SymbolicLinks.ResolveLinkTarget(String linkPath, Boolean returnFinalTarget)          D:\repos\runtime\src\libraries\System.IO.FileSystem\tests\Base\SymbolicLinks\BaseSymbolicLinks.FileSystem.cs(168,0): at System.IO.Tests.BaseSymbolicLinks_FileSystem.ResolveLinkTarget_Succeeds(String pathToTarget, Boolean returnFinalTarget)
      System.IO.Tests.Directory_SymbolicLinks.ResolveLinkTarget_Succeeds(pathToTarget: "\\\\SERVER\\share\\path", returnFinalTarget: True) [FAIL]
        System.IO.IOException : You can't access this shared folder because your organization's security policies block unauthenticated guest access. These policies help protect your PC from unsafe or malicious devices on the network. : 'C:\Users\stoub\AppData\Local\Temp\Directory_SymbolicLinks_vtuthdg3.044\GetRandomLinkName_25_5b39834b.link'
        Stack Trace:
          D:\repos\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileSystem.Windows.cs(614,0): at System.IO.FileSystem.GetFinalLinkTarget(String linkPath, Boolean isDirectory)
          D:\repos\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileSystem.Windows.cs(432,0): at System.IO.FileSystem.ResolveLinkTarget(String linkPath, Boolean returnFinalTarget, Boolean isDirectory)
          D:\repos\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Directory.cs(358,0): at System.IO.Directory.ResolveLinkTarget(String linkPath, Boolean returnFinalTarget)
          D:\repos\runtime\src\libraries\System.IO.FileSystem\tests\Directory\SymbolicLinks.cs(30,0): at System.IO.Tests.Directory_SymbolicLinks.ResolveLinkTarget(String linkPath, Boolean returnFinalTarget)
          D:\repos\runtime\src\libraries\System.IO.FileSystem\tests\Base\SymbolicLinks\BaseSymbolicLinks.FileSystem.cs(168,0): at System.IO.Tests.BaseSymbolicLinks_FileSystem.ResolveLinkTarget_Succeeds(String pathToTarget, Boolean returnFinalTarget)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions