Skip to content

Conversation

@StanFromIreland
Copy link
Member

@StanFromIreland StanFromIreland commented Oct 29, 2025

@StanFromIreland
Copy link
Member Author

Hmmm, iOS failure seems unrelated:

ios-simulator/Apple/iOS/Frameworks/arm64-iphonesimulator /Users/runner/work/cpython/cpython/cross-build/iOS-testbed.1761746479481
  Cloning testbed project:
    Cloning /Users/runner/work/cpython/cpython/Apple/testbed... done
    Installing simulator framework... done
  Successfully cloned testbed: /Users/runner/work/cpython/cpython/cross-build/iOS-testbed.1761746479481
  > /opt/homebrew/opt/[email protected]/bin/python3.14 /Users/runner/work/cpython/cpython/cross-build/iOS-testbed.1761746479481 run --verbose --simulator 'iPhone 16e,OS=18.5' -- test --fast-ci --single-process --no-randomize --timeout=-1 --dont-add-python-opts
  Updating test plan... done.
  Running test on iPhone 16e,OS=18.5
  Building test project...
  Command line invocation:
      /Applications/Xcode_16.4.app/Contents/Developer/usr/bin/xcodebuild build-for-testing -project /Users/runner/work/cpython/cpython/cross-build/iOS-testbed.1761746479481/iOSTestbed.xcodeproj -scheme iOSTestbed -destination "platform=iOS Simulator,name=iPhone 16e,OS=18.5" -derivedDataPath /Users/runner/work/cpython/cpython/cross-build/iOS-testbed.1761746479481/DerivedData
  
  2025-10-29 14:02:24.170 xcodebuild[28440:77325] Writing error result bundle to /var/folders/xc/cl1fyykn2pj4ryhdw6r1mqtc0000gn/T/ResultBundle_2025-29-10_14-02-0024.xcresult
  xcodebuild: error: Unable to find a device matching the provided destination specifier:
  		{ platform:iOS Simulator, OS:18.5, name:iPhone 16e }
  
  	The requested device could not be found because no available devices matched the request.
  
  	Available destinations for the "iOSTestbed" scheme:
  		{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:a4d03d1902bd67af9d4ffa129a188d430f552ec1, name:My Mac }
  		{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
  		{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
  Traceback (most recent call last):
    File "<frozen runpy>", line 198, in _run_module_as_main
    File "<frozen runpy>", line 88, in _run_code
    File "/Users/runner/work/cpython/cpython/cross-build/iOS-testbed.1761746479481/__main__.py", line 429, in <module>
      main()
      ~~~~^^
    File "/Users/runner/work/cpython/cpython/cross-build/iOS-testbed.1761746479481/__main__.py", line 405, in main
      run_testbed(
      ~~~~~~~~~~~^
          platform=context.platform,
          ^^^^^^^^^^^^^^^^^^^^^^^^^^
      ...<2 lines>...
          args=test_args,
          ^^^^^^^^^^^^^^^
      )
      ^
    File "/Users/runner/work/cpython/cpython/cross-build/iOS-testbed.1761746479481/__main__.py", line 277, in run_testbed
      xcode_test(
      ~~~~~~~~~~^
          location,
          ^^^^^^^^^
      ...<2 lines>...
          verbose=verbose,
          ^^^^^^^^^^^^^^^^
      )
      ^
    File "/Users/runner/work/cpython/cpython/cross-build/iOS-testbed.1761746479481/__main__.py", line 77, in xcode_test
      subprocess.run(
      ~~~~~~~~~~~~~~^
          ["xcodebuild", "build-for-testing"] + args + verbosity_args,
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          check=True,
          ^^^^^^^^^^^
      )
      ^
    File "/opt/homebrew/Cellar/[email protected]/3.14.0/Frameworks/Python.framework/Versions/3.14/lib/python3.14/subprocess.py", line 577, in run
      raise CalledProcessError(retcode, process.args,
                               output=stdout, stderr=stderr)
  subprocess.CalledProcessError: Command '['xcodebuild', 'build-for-testing', '-project', '/Users/runner/work/cpython/cpython/cross-build/iOS-testbed.1761746479481/iOSTestbed.xcodeproj', '-scheme', 'iOSTestbed', '-destination', 'platform=iOS Simulator,name=iPhone 16e,OS=18.5', '-derivedDataPath', '/Users/runner/work/cpython/cpython/cross-build/iOS-testbed.1761746479481/DerivedData']' returned non-zero exit status 70.

@StanFromIreland
Copy link
Member Author

StanFromIreland commented Oct 29, 2025

cc @freakboy3742 for above.

@pablogsal pablogsal merged commit c74793c into python:main Oct 29, 2025
85 of 87 checks passed
@StanFromIreland StanFromIreland deleted the profiling-test branch October 29, 2025 16:26
@freakboy3742
Copy link
Contributor

cc @freakboy3742 for above.

Ok... I'm giving up software, and switching to goat farming.

That error log says that the GitHub Actions image doesn't have any iOS simulators installed.

I can only assume there was maybe a bad machine in the Actions fleet, or some other transient glitch - because I can't think of any other situation that would lead to that.

I guess we keep an eye on the problem, and if it happens again, we log it with GitHub...

@StanFromIreland
Copy link
Member Author

I guess we keep an eye on the problem, and if it happens again, we log it with GitHub...

FYI I've seen it happen at least three times today:-(

Interestingly the test this PR fixes also failed in a CI run, which means that GitHub has inconsistent machines (permissions in this case).

@freakboy3742
Copy link
Contributor

FYI I've seen it happen at least three times today:-(

Ugh...

Can you put your hands on logs easily? Seems like something that I should be report upstream to GitHub...

@StanFromIreland
Copy link
Member Author

Pinged you on Discord.

@freakboy3742
Copy link
Contributor

Issue logged with GitHub: actions/runner-images#13228

StanFromIreland added a commit to StanFromIreland/cpython that referenced this pull request Dec 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants