Skip to content

gh-144418: Increase Android testbed emulator RAM to 4 GB#148054

Open
mhsmith wants to merge 7 commits intopython:mainfrom
mhsmith:android-ram
Open

gh-144418: Increase Android testbed emulator RAM to 4 GB#148054
mhsmith wants to merge 7 commits intopython:mainfrom
mhsmith:android-ram

Conversation

@mhsmith
Copy link
Copy Markdown
Member

@mhsmith mhsmith commented Apr 3, 2026

@mhsmith mhsmith added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Apr 3, 2026
@mhsmith
Copy link
Copy Markdown
Member Author

mhsmith commented Apr 3, 2026

!buildbot android

@bedevere-bot

This comment was marked as outdated.

@mhsmith
Copy link
Copy Markdown
Member Author

mhsmith commented Apr 4, 2026

!buildbot aarch64 Android

@bedevere-bot

This comment was marked as outdated.

@mhsmith
Copy link
Copy Markdown
Member Author

mhsmith commented Apr 4, 2026

Testing this has completely broken the aarch64 buildbot in a similar way to #142387, so I've taken it offline until I have a chance to fix it.

@mhsmith
Copy link
Copy Markdown
Member Author

mhsmith commented Apr 4, 2026

Specifically, I deleted the existing emulator, and it failed to recreate because it got stuck in a loop of "EGLContext creation failed" crashes. However, the problem isn't specific to this PR; it also happens on the main branch now that the old emulator is gone.

I'll fix this next week, but I don't think it needs to hold up this PR. It works on GitHub Actions, which was its main purpose, and on the x86_64 buildbot. And I've tested it locally on an aarch64 macOS machine, including all of the following cases:

  • Emulator doesn't exist
  • Emulator exists and its RAM size needs to change
  • Emulator exists and its RAM size doesn't need to change

The RAM size can be displayed using the following command:

./android.py test --managed maxVersion -v -- -c 'print([line for line in open("/proc/meminfo") if "MemTotal" in line][0])'

@mhsmith mhsmith marked this pull request as ready for review April 4, 2026 22:08
@mhsmith mhsmith requested a review from freakboy3742 as a code owner April 4, 2026 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Android testbed emulator needs more RAM

2 participants