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

CoreSimulator folder permissions issue on some Mac machines #4199

Open
3 tasks
ivanpovazan opened this issue Oct 1, 2024 · 1 comment
Open
3 tasks

CoreSimulator folder permissions issue on some Mac machines #4199

ivanpovazan opened this issue Oct 1, 2024 · 1 comment

Comments

@ivanpovazan
Copy link
Member

ivanpovazan commented Oct 1, 2024

Build

https://dev.azure.com/dnceng-public/public/_build/results?buildId=822026

Build leg reported

E2E Apple - Simulator Commands Helix Tests Build_Debug

Pull Request

dotnet/xharness#1282

Known issue core information

Fill out the known issue JSON section by following the step by step documentation on how to create a known issue

{
  "ErrorPattern": "permission to save the file.*in the folder.*CoreSimulator",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

@dotnet/dnceng

Release Note Category

  • Feature changes/additions
  • Bug fixes
  • Internal Infrastructure Improvements

Release Note Description

Additional information about the issue reported

Build error leg or test failing:

  • Failed job: E2E Apple - Simulator Commands Helix Tests Build_Debug
  • Failed test: System.Numerics.Vectors.Tests

When testing simulator commands on some machines we get:

[08:21:48] dbug: Running /Applications/Xcode_14.3.app/Contents/Developer/usr/bin/simctl boot 4B1F47EA-7853-45DF-B459-37A3E6BCABF8
[08:21:49] dbug: An error was encountered processing the command (domain=NSCocoaErrorDomain, code=513):
[08:21:49] dbug: You don’t have permission to save the file “4B1F47EA-7853-45DF-B459-37A3E6BCABF8” in the folder “CoreSimulator”.
[08:21:49] dbug: You don’t have permission.
[08:21:49] dbug: To view or change permissions, select the item in the Finder and choose File > Get Info.
[08:21:49] dbug: Underlying error (domain=NSPOSIXErrorDomain, code=13):
[08:21:49] dbug: The operation couldn’t be completed. Permission denied
[08:21:49] dbug: Permission denied
[08:21:49] dbug: Process simctl exited with 1

Full log for context as it repeats the permission denied throughout the sequence: https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-xharness-refs-pull-1282-merge-6620621afd364a37b1/System.Numerics.Vectors.Tests.Attempt.3/1/console.fd153acd.log?helixlogtype=result

Additional info

This was occurring before as reported in: #1878

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=822026
Error message validated: [permission to save the file.*in the folder.*CoreSimulator]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 10/1/2024 2:44:39 PM UTC

Report

Build Definition Test Pull Request
863362 dotnet/xharness System.Numerics.Vectors.Tests.WorkItemExecution
861029 dotnet/xharness System.Numerics.Vectors.Tests.WorkItemExecution dotnet/xharness#1318
851333 dotnet/xharness System.Numerics.Vectors.Tests.WorkItemExecution dotnet/xharness#1302
848879 dotnet/xharness System.Numerics.Vectors.Tests.WorkItemExecution dotnet/xharness#1300
845387 dotnet/xharness System.Numerics.Vectors.Tests.WorkItemExecution dotnet/xharness#1298

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 1 5
@ivanpovazan
Copy link
Member Author

ivanpovazan commented Oct 1, 2024

This is happening on:

  • dci-mac-build-250
  • dci-mac-build-240
  • dci-mac-build-225

Can someone please log onto the machines from above and check/set the right folder permissions.

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

No branches or pull requests

1 participant