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

gh-130292: Allow for empty simulator list when running iOS testbed #130388

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

freakboy3742
Copy link
Contributor

@freakboy3742 freakboy3742 commented Feb 21, 2025

On a completely clean Xcode install (such as those provided by CI platforms), the iOS test simulator set can be empty. The iOS simulator management tooling will return error code 1, rather than an empty list of simulators in this case. This prevents the testbed from starting.

This PR catches the return code of 1 and returns an empty list of simulators, so that the simulator detection part of the testbed script can operate as intended on a CI configuration.

@freakboy3742 freakboy3742 changed the title gh-130292 gh-130292: Allow for empty simulator list when running iOS testbed Feb 21, 2025
@freakboy3742
Copy link
Contributor Author

!buildbot iOS

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @freakboy3742 for commit 273833d 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F130388%2Fmerge

The command will test the builders whose names match following regular expression: iOS

The builders matched are:

  • iOS ARM64 Simulator PR

@freakboy3742
Copy link
Contributor Author

This will fail iOS CI because of #130384. That failure is unrelated to this change.

@freakboy3742 freakboy3742 added OS-ios needs backport to 3.13 bugs and security fixes labels Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants