-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[6.0 & 7.0] "Access to the [hidden] path is denied" failure in Linux, Linux_musl, arm and arm64 #81391
Comments
Tagging subscribers to this area: @dotnet/area-extensions-configuration Issue DetailsMultiple tests failed in [6.0] CI build for Linux arm with Build: https://github.com/dotnet/runtime/pull/81291/checks?check_run_id=10939595157 Tests failed:
|
Tagging subscribers to this area: @dotnet/area-system-io Issue DetailsMultiple tests failed in [6.0] CI build for Linux arm with Build: https://github.com/dotnet/runtime/pull/81291/checks?check_run_id=10939595157 Tests failed:
|
Seems to affect
|
@dotnet/area-system-io @adamsitnik @jozkee can you please take a look at this 6.0 regression? Seems to be widespread. |
Seeing this in 7.0 as well, in this PR: #81424 |
Looking at the branch failures more closely, I noticed this other failure in VisualBasic.Core is related to some path that couldn't be accessed. It's also happening in arm64 Linux. #81544 |
Potentially related to #81619. |
I merged #81712 If we stop seeing the nuget failures in the next few days, we can close this. |
I merged the arm queues fix: #81712 But I'm still seeing the public builds failing with this issue related to UserSecrets problem in IsolatedStorage, as well as the VisualBasic one: https://github.com/dotnet/runtime/commits/release/7.0 @sbomer @hoyosjs @agocke do you think the problem is still ongoing due to using the floating versions in #81712? |
Sorry, I'm not familiar enough with these tests to say. But in general, I would say that if the tests aren't compatible with newer machine versions we should fix the tests. I'd try to reach out to the test owner for their expertise. |
I'm more inclined to think this is a problem for @dotnet/area-system-io since a hidden folder is inaccessible. Can you please take a look, @jozkee @adamsitnik? |
I think that the runtime/src/libraries/System.Private.CoreLib/src/System/Environment.GetFolderPathCore.Unix.cs Lines 63 to 81 in 35aa13e
When it fails, we fallback to use root But I can't confirm it because I don't have a Linux arm device. |
Also, it is likely that runtime/src/libraries/System.Private.CoreLib/src/System/IO/PersistedFiles.Unix.cs Lines 82 to 88 in c6d0daf
But the fact that the Passwd syscall performed thereafter also fails worries me. |
@dotnet/dnceng do you know why this may be the case? Also, is it expected that |
This is a long thread, can you specify something like a Helix job id (GUID), supply the console log to a test, or a link to a build where you're observing this problem? Makes replying much more precise. |
If you're talking about this : https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-81786-merge-3fd244949f0b4c47be/System.IO.IsolatedStorage.Tests/1/console.2b89f0ff.log Specifically this:
... it's because you need to change to use docker image |
Thanks, @MattGal, @carlossanlop. |
Multiple tests failed in [6.0] CI build for Linux arm with
System.UnauthorizedAccessException : Access to the path or '/.microsoft/usersecrets/17b982f6-3dd4-4f02-8d72-197e5d34e3f2' is denied.
or System.UnauthorizedAccessException : Access to the path '/.local/share' is denied. Not sure if it is infra issue or IO issue.Build: https://github.com/dotnet/runtime/pull/81291/checks?check_run_id=10939595157
Tests failed:
Sample Log:
Report
Summary
The text was updated successfully, but these errors were encountered: