Skip to content

CoreSimulator folder permissions issue on some Mac machines #4199

Description

@ivanpovazan

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
1165776 dotnet/xharness System.Numerics.Vectors.Tests.WorkItemExecution
1164794 dotnet/xharness System.Numerics.Vectors.Tests.WorkItemExecution dotnet/xharness#1475
1163560 dotnet/xharness System.Numerics.Vectors.Tests.WorkItemExecution dotnet/xharness#1475
1158342 dotnet/xharness System.Numerics.Vectors.Tests.WorkItemExecution dotnet/xharness#1466
1158067 dotnet/xharness System.Numerics.Vectors.Tests.WorkItemExecution
1156453 dotnet/xharness System.Numerics.Vectors.Tests.WorkItemExecution dotnet/xharness#1465
1146463 dotnet/xharness System.Numerics.Vectors.Tests.WorkItemExecution dotnet/xharness#1469
1146322 dotnet/xharness System.Numerics.Vectors.Tests.WorkItemExecution dotnet/xharness#1468

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 1 8

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

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions