-
Notifications
You must be signed in to change notification settings - Fork 126
Run iOS simulator install as root #1379
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
Conversation
Integration test with FLAKINESS (succeeded after retry)Requested by @a-maurice on commit d916083
Add flaky tests to go/fpl-cpp-flake-tracker |
| device_os = available_versions[-1] | ||
|
|
||
| args = ["xcodes", "runtimes", "install", "%s %s" % (apple_platform, device_os)] | ||
| args = ["sudo", "xcodes", "runtimes", "install", "%s %s" % (apple_platform, device_os)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update the info log message below to say it uses sudo; that way, if a user is running this on their machine, they won't be surprised by the password prompt.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It prints out the args array, so the sudo should be included in the message
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess that's fine, though not quite as user-friendly as it could be. :P
| device_os = available_versions[-1] | ||
|
|
||
| args = ["xcodes", "runtimes", "install", "%s %s" % (apple_platform, device_os)] | ||
| args = ["sudo", "xcodes", "runtimes", "install", "%s %s" % (apple_platform, device_os)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess that's fine, though not quite as user-friendly as it could be. :P
|
BTW the time this failed was when I ran "full" tests so you might need to do that... |
Description
The xcodes install can fail when not run as root, so do so.
Testing
Type of Change
Place an
xthe applicable box:Notes
Release Notessection ofrelease_build_files/readme.md.