-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
GetFolderPath_Windows tests ~all fail on Nano #21430
Comments
On Nano, what we return (directly from |
Same as https://github.com/dotnet/corefx/issues/19221 , |
Here's what I get for each folder. Environment.GetFolderPath (from ShGetKnownFolderPath) is mostly blank, sometimes reasonable. ShGetFolderPath (what the test checks) is either blank or just the user profile folder. Desktop for both of these is the 3rd column
|
@JeremyKuhne fyi. |
Do we want to fix it in 2.0? |
This issue failed again, detail: https://mc.dot.net/#/product/netcore/master/source/official~2Fcorefx~2Fmaster~2F/type/test~2Ffunctional~2Fportable~2Fcli~2F/build/20170519.01/workItem/System.Runtime.Extensions.Tests/analysis/xunit/System.Tests.EnvironmentTests~2FGetFolderPath_Windows(folder:%20CommonStartMenu) Message: Stack Trace: |
Likely have to use Environment variables - they cover all the major ones: documents, appdata, etc. |
@ViktorHofer This is broken again in the 1709 nanoserver image Repro:
Actual result:
Expected result (Windows VM on a Mac):
|
cc @danmosemsft |
@TravisEz13 are you saying this worked before? As based on my experiments at the top of the page, it never produced anything useful. I am not sure why I noted "seems to be fixed" as I see the test is still disabled for Nano. We should probably keep this open to try to find another method (env vars) since clearly folks need it. I will check with Nano folks about the API. |
@danmosemsft I'm not saying it worked before. I was basing the "again" part on the "seems to be fixed" statement. |
@TravisEz13 ah right. I have an email out... |
Please reenable when fixing it (disabled on nano server) or leave so comment why it is ok to be disabled when fixing/closing this:
Reopening it while investigation is pending |
Any updates on this? |
@OnurGumus nobody has looked at it. We would welcome a PR 😃 |
We are running into this in #68580 (comment) as well. Will disable this test when |
https://mc.dot.net/#/product/netcore/master/source/official~2Fcorefx~2Fmaster~2F/type/test~2Ffunctional~2Fcli~2F/build/20170428.02/workItem/System.Runtime.Extensions.Tests
eg
need fixing.
The text was updated successfully, but these errors were encountered: