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

System.IO.IsolatedStorage.Tests.HelperTests.GetDataDirectory(scope: Machine) fails on Android #55693

Closed
danmoseley opened this issue Jul 14, 2021 · 1 comment
Assignees
Milestone

Comments

@danmoseley
Copy link
Member

This specific test needs to be permanently disabled for Android I think.

      <test name="System.IO.IsolatedStorage.Tests.HelperTests.GetDataDirectory(scope: Machine)" type="System.IO.IsolatedStorage.Tests.HelperTests" method="GetDataDirectory" time="0.0380145" result="Fail">
        <failure exception-type="System.IO.IOException">
          <message><![CDATA[System.IO.IOException : Read-only file system]]></message>
          <stack-trace><![CDATA[   at System.IO.FileSystem.CreateDirectory(String fullPath) in System.Private.CoreLib.dll:token 0x600553a+0x1a2
   at System.IO.Directory.CreateDirectory(String path) in System.Private.CoreLib.dll:token 0x60053e6+0x2d
   at System.Environment.GetFolderPathCore(SpecialFolder folder, SpecialFolderOption option) in System.Private.CoreLib.dll:token 0x60002b0+0x65
   at System.Environment.GetFolderPath(SpecialFolder folder, SpecialFolderOption option) in System.Private.CoreLib.dll:token 0x600029a+0x73
   at System.IO.IsolatedStorage.Helper.GetDataDirectory(IsolatedStorageScope scope) in /_/src/libraries/System.IO.IsolatedStorage/src/System/IO/IsolatedStorage/Helper.Win32Unix.cs:line 25
   at System.IO.IsolatedStorage.Tests.HelperTests.GetDataDirectory(IsolatedStorageScope scope) in /_/src/libraries/System.IO.IsolatedStorage/tests/System/IO/IsolatedStorage/HelperTests.cs:line 47
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) in System.Private.CoreLib.dll:token 0x6004b15+0x6a]]></stack-trace>
        </failure>
@ghost
Copy link

ghost commented Jul 14, 2021

Tagging subscribers to 'arch-android': @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.

Issue Details

This specific test needs to be permanently disabled for Android I think.

      <test name="System.IO.IsolatedStorage.Tests.HelperTests.GetDataDirectory(scope: Machine)" type="System.IO.IsolatedStorage.Tests.HelperTests" method="GetDataDirectory" time="0.0380145" result="Fail">
        <failure exception-type="System.IO.IOException">
          <message><![CDATA[System.IO.IOException : Read-only file system]]></message>
          <stack-trace><![CDATA[   at System.IO.FileSystem.CreateDirectory(String fullPath) in System.Private.CoreLib.dll:token 0x600553a+0x1a2
   at System.IO.Directory.CreateDirectory(String path) in System.Private.CoreLib.dll:token 0x60053e6+0x2d
   at System.Environment.GetFolderPathCore(SpecialFolder folder, SpecialFolderOption option) in System.Private.CoreLib.dll:token 0x60002b0+0x65
   at System.Environment.GetFolderPath(SpecialFolder folder, SpecialFolderOption option) in System.Private.CoreLib.dll:token 0x600029a+0x73
   at System.IO.IsolatedStorage.Helper.GetDataDirectory(IsolatedStorageScope scope) in /_/src/libraries/System.IO.IsolatedStorage/src/System/IO/IsolatedStorage/Helper.Win32Unix.cs:line 25
   at System.IO.IsolatedStorage.Tests.HelperTests.GetDataDirectory(IsolatedStorageScope scope) in /_/src/libraries/System.IO.IsolatedStorage/tests/System/IO/IsolatedStorage/HelperTests.cs:line 47
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) in System.Private.CoreLib.dll:token 0x6004b15+0x6a]]></stack-trace>
        </failure>
Author: danmoseley
Assignees: -
Labels:

area-System.IO, os-android

Milestone: -

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Jul 14, 2021
@steveisok steveisok removed the untriaged New issue has not been triaged by the area owner label Jul 14, 2021
@steveisok steveisok added this to the 6.0.0 milestone Jul 14, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Aug 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants