Skip to content

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

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

Merged
merged 4 commits into from
Feb 25, 2025

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
Copy link
Contributor Author

!buildbot iOS

@bedevere-bot
Copy link

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

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 freakboy3742 merged commit 99088ab into python:main Feb 25, 2025
44 checks passed
@miss-islington-app
Copy link

Thanks @freakboy3742 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 25, 2025
…bed (pythonGH-130388)

Adds error handling when there are no pre-existing test simulators.
(cherry picked from commit 99088ab)

Co-authored-by: Russell Keith-Magee <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Feb 25, 2025

GH-130532 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Feb 25, 2025
@freakboy3742 freakboy3742 deleted the testbed-no-sim branch February 25, 2025 06:49
freakboy3742 added a commit that referenced this pull request Feb 25, 2025
…tbed (GH-130388) (#130532)

Adds error handling when there are no pre-existing test simulators.
(cherry picked from commit 99088ab)

Co-authored-by: Russell Keith-Magee <[email protected]>
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Feb 25, 2025
…bed (python#130388)

Adds error handling when there are no pre-existing test simulators.
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Feb 25, 2025
…OS testbed (pythonGH-130388) (python#130532)

Adds error handling when there are no pre-existing test simulators.
(cherry picked from commit 99088ab)

Co-authored-by: Russell Keith-Magee <[email protected]>
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Mar 16, 2025
…OS testbed (pythonGH-130388) (python#130532)

Adds error handling when there are no pre-existing test simulators.
(cherry picked from commit 99088ab)

Co-authored-by: Russell Keith-Magee <[email protected]>
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Mar 16, 2025
…OS testbed (pythonGH-130388) (python#130532)

Adds error handling when there are no pre-existing test simulators.
(cherry picked from commit 99088ab)

Co-authored-by: Russell Keith-Magee <[email protected]>
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Mar 16, 2025
…S testbed (pythonGH-130388) (python#130532)

Adds error handling when there are no pre-existing test simulators.
(cherry picked from commit 99088ab)

Co-authored-by: Russell Keith-Magee <[email protected]>
seehwan pushed a commit to seehwan/cpython that referenced this pull request Apr 16, 2025
…bed (python#130388)

Adds error handling when there are no pre-existing test simulators.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants