Skip to content

only API 33 fails always: FATAL | Not enough space to create userdata partition #455

Description

@tenzap

My job is failing only with API 33 (I run from API 26 to 35).

There is adb: device 'emulator-5554' not found like in #404, so maybe this is related.

However, before that we can see:

  FATAL        | Not enough space to create userdata partition. Available: 7966.75 MB at /home/runner/.android/avd/test.avd, need 9830.40 MB.

So that may be the root cause of the issue.

Full log:

025-11-23T09:35:59.8045438Z ##[group]Run reactivecircus/android-emulator-runner@v2
2025-11-23T09:35:59.8045744Z with:
2025-11-23T09:35:59.8046130Z   api-level: 33
2025-11-23T09:35:59.8046376Z   target: google_apis
2025-11-23T09:35:59.8046572Z   arch: x86_64
2025-11-23T09:35:59.8046757Z   ram-size: 3072M
2025-11-23T09:35:59.8046961Z   profile: pixel_2
2025-11-23T09:35:59.8047151Z   heap-size: 512M
2025-11-23T09:35:59.8047328Z   disk-size: 8G
2025-11-23T09:35:59.8047521Z   sdcard-path-or-size: 200M
2025-11-23T09:35:59.8047748Z   enable-hw-keyboard: true
2025-11-23T09:35:59.8047964Z   emulator-boot-timeout: 900
2025-11-23T09:35:59.8048262Z   script: API_LEVEL=33 fastlane connectedCheck_with_screenrecord
2025-11-23T09:35:59.8048573Z   cores: 2
2025-11-23T09:35:59.8048733Z   avd-name: test
2025-11-23T09:35:59.8048926Z   force-avd-creation: true
2025-11-23T09:35:59.8049140Z   emulator-port: 5554
2025-11-23T09:35:59.8049541Z   emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim
2025-11-23T09:35:59.8049954Z   disable-animations: true
2025-11-23T09:35:59.8050178Z   disable-spellchecker: false
2025-11-23T09:35:59.8050414Z   disable-linux-hw-accel: auto
2025-11-23T09:35:59.8050636Z   channel: stable
2025-11-23T09:35:59.8050809Z env:
2025-11-23T09:35:59.8050980Z   GRADLE_COMMON_ARGS: 
2025-11-23T09:35:59.8051183Z   QEMU_AUDIO_DRV: none
2025-11-23T09:35:59.8051372Z   with_avd_cache: false
2025-11-23T09:35:59.8051619Z   NDK_VERSION: 27.3.13750724
2025-11-23T09:35:59.8051837Z   CMAKE_VERSION: 3.22.1
2025-11-23T09:35:59.8052039Z   ANDROID_CMAKE_IS_LOCAL_DOWNLOAD: 1
2025-11-23T09:35:59.8052395Z   JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.17-10/x64
2025-11-23T09:35:59.8052851Z   JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.17-10/x64
2025-11-23T09:35:59.8053235Z   GRADLE_ACTION_ID: gradle/actions/setup-gradle
2025-11-23T09:35:59.8053521Z   GRADLE_BUILD_ACTION_SETUP_COMPLETED: true
2025-11-23T09:35:59.8053798Z   GRADLE_BUILD_ACTION_CACHE_RESTORED: true
2025-11-23T09:35:59.8054204Z   DEVELOCITY_INJECTION_INIT_SCRIPT_NAME: gradle-actions.inject-develocity.init.gradle
2025-11-23T09:35:59.8054647Z   DEVELOCITY_AUTO_INJECTION_CUSTOM_VALUE: gradle-actions
2025-11-23T09:35:59.8054950Z   GITHUB_DEPENDENCY_GRAPH_ENABLED: false
2025-11-23T09:35:59.8055195Z ##[endgroup]
2025-11-23T09:35:59.8581027Z ##[group]Configure emulator
2025-11-23T09:35:59.8585686Z API level: 33
2025-11-23T09:35:59.8586550Z System image API level: 33
2025-11-23T09:35:59.8587312Z target: google_apis
2025-11-23T09:35:59.8587975Z CPU architecture: x86_64
2025-11-23T09:35:59.8588592Z Hardware profile: pixel_2
2025-11-23T09:35:59.8589012Z Cores: 2
2025-11-23T09:35:59.8589331Z RAM size: 3072M
2025-11-23T09:35:59.8589714Z Heap size: 512M
2025-11-23T09:35:59.8591339Z SD card path or size: 200M
2025-11-23T09:35:59.8592261Z Disk size: 8G
2025-11-23T09:35:59.8592815Z AVD name: test
2025-11-23T09:35:59.8593674Z force avd creation: true
2025-11-23T09:35:59.8594139Z Emulator boot timeout: 900
2025-11-23T09:35:59.8596033Z emulator port: 5554
2025-11-23T09:35:59.8596602Z emulator options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim
2025-11-23T09:35:59.8597771Z disable animations: true
2025-11-23T09:35:59.8598411Z disable spellchecker: false
2025-11-23T09:35:59.8599256Z disable Linux hardware acceleration: false
2025-11-23T09:35:59.8600810Z enable hardware keyboard: true
2025-11-23T09:35:59.8601802Z Channel: 0 (stable)
2025-11-23T09:35:59.8603949Z Script:
2025-11-23T09:35:59.8605203Z API_LEVEL=33 fastlane connectedCheck_with_screenrecord
2025-11-23T09:35:59.8606102Z Pre emulator launch script:
2025-11-23T09:35:59.8606980Z ##[endgroup]
2025-11-23T09:35:59.8609351Z ##[group]Install Android SDK
2025-11-23T09:35:59.8738285Z [command]/usr/bin/sh -c \yes | sdkmanager --licenses > /dev/null
2025-11-23T09:36:05.4017914Z Installing latest build tools, platform tools, and platform.
2025-11-23T09:36:05.4038498Z [command]/usr/bin/sh -c \sdkmanager --install 'build-tools;35.0.0' platform-tools 'platforms;android-33'> /dev/null
2025-11-23T09:36:10.6568238Z Installing latest emulator.
2025-11-23T09:36:10.6588981Z [command]/usr/bin/sh -c \sdkmanager --install emulator --channel=0 > /dev/null
2025-11-23T09:36:18.2814598Z Installing system images.
2025-11-23T09:36:18.2832258Z [command]/usr/bin/sh -c \sdkmanager --install 'system-images;android-33;google_apis;x86_64' --channel=0 > /dev/null
2025-11-23T09:37:01.3419535Z ##[endgroup]
2025-11-23T09:37:01.3421937Z ##[group]Create AVD
2025-11-23T09:37:01.3425536Z Creating AVD.
2025-11-23T09:37:01.3453358Z [command]/usr/bin/sh -c \echo no | avdmanager create avd --force -n test --abi 'google_apis/x86_64' --package 'system-images;android-33;google_apis;x86_64' --device 'pixel_2' --sdcard '200M'
2025-11-23T09:37:02.1972269Z Loading local repository...                                                     
2025-11-23T09:37:02.1974585Z [=========                              ] 25% Loading local repository...       
2025-11-23T09:37:02.1975191Z [=========                              ] 25% Fetch remote repository...        
2025-11-23T09:37:02.1975731Z [=======================================] 100% Fetch remote repository...       
2025-11-23T09:37:02.8861350Z [command]/usr/bin/sh -c \printf 'hw.cpu.ncore=2\nhw.ramSize=3072M\nhw.heapSize=512M\nhw.keyboard=yes\ndisk.dataPartition.size=8G\n' >> /home/runner/.android/avd/test.avd/config.ini
2025-11-23T09:37:02.8881617Z ##[endgroup]
2025-11-23T09:37:02.8884110Z ##[group]Launch Emulator
2025-11-23T09:37:02.8884512Z Starting emulator.
2025-11-23T09:37:02.8900139Z [command]/usr/bin/sh -c \/usr/local/lib/android/sdk/emulator/emulator -port 5554 -avd test -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim &
2025-11-23T09:37:02.9313781Z INFO         | Android emulator version 36.2.12.0 (build_id 14214601) (CL:N/A)
2025-11-23T09:37:02.9314539Z INFO         | Graphics backend: gfxstream
2025-11-23T09:37:02.9315181Z INFO         | Found systemPath /usr/local/lib/android/sdk/system-images/android-33/google_apis/x86_64/
2025-11-23T09:37:03.0385281Z INFO         | Increasing RAM size to 2048MB
2025-11-23T09:37:03.0386226Z ##############################################################################
2025-11-23T09:37:03.0386814Z ##                        WARNING - ACTION REQUIRED                         ##
2025-11-23T09:37:03.0387477Z ##  Consider using the '-metrics-collection' flag to help improve the       ##
2025-11-23T09:37:03.0387992Z ##  emulator by sending anonymized usage data. Or use the '-no-metrics'     ##
2025-11-23T09:37:03.0388469Z ##  flag to bypass this warning and turn off the metrics collection.        ##
2025-11-23T09:37:03.0388931Z ##  In a future release this warning will turn into a one-time blocking     ##
2025-11-23T09:37:03.0389407Z ##  prompt to ask for explicit user input regarding metrics collection.     ##
2025-11-23T09:37:03.0389772Z ##                                                                          ##
2025-11-23T09:37:03.0390167Z ##  Please see '-help-metrics-collection' for more details. You can use     ##
2025-11-23T09:37:03.0390643Z ##  '-metrics-to-file' or '-metrics-to-console' flags to see what type of   ##
2025-11-23T09:37:03.0391109Z ##  data is being collected by emulator as part of usage statistics.        ##
2025-11-23T09:37:03.0391472Z ##############################################################################
2025-11-23T09:37:03.0392299Z INFO         | Guest GLES Driver: Auto (ext controls)
2025-11-23T09:37:03.0392688Z library_mode swiftshader_indirect gpu mode swiftshader_indirect
2025-11-23T09:37:03.0393068Z INFO         | Checking system compatibility:
2025-11-23T09:37:03.0393369Z INFO         |   Checking: hasSufficientDiskSpace
2025-11-23T09:37:03.0393716Z INFO         |      Ok: Disk space requirements to run avd: `test` are met
2025-11-23T09:37:03.0394057Z INFO         |   Checking: hasSufficientHwGpu
2025-11-23T09:37:03.0394385Z INFO         |      Ok: Hardware GPU compatibility checks are not required
2025-11-23T09:37:03.0394898Z INFO         |   Checking: hasSufficientSystem
2025-11-23T09:37:03.0395232Z INFO         |      Ok: System requirements to run avd: `test` are met
2025-11-23T09:37:03.0395834Z FATAL        | Not enough space to create userdata partition. Available: 7969.86 MB at /home/runner/.android/avd/test.avd, need 9830.40 MB.
2025-11-23T09:37:03.0432733Z [command]/usr/local/lib/android/sdk/platform-tools/adb -s emulator-5554 shell getprop sys.boot_completed
2025-11-23T09:37:03.2322290Z * daemon not running; starting now at tcp:5037
2025-11-23T09:37:06.3397922Z * daemon started successfully
2025-11-23T09:37:06.3399944Z adb: device 'emulator-5554' not found
2025-11-23T09:37:06.3409585Z The process '/usr/local/lib/android/sdk/platform-tools/adb' failed with exit code 1
2025-11-23T09:37:08.3459256Z [command]/usr/local/lib/android/sdk/platform-tools/adb -s emulator-5554 shell getprop sys.boot_completed
2025-11-23T09:37:08.3488835Z adb: device 'emulator-5554' not found
2025-11-23T09:37:08.3494907Z The process '/usr/local/lib/android/sdk/platform-tools/adb' failed with exit code 1

--- CUT ---

2025-11-23T09:52:09.7373015Z [command]/usr/local/lib/android/sdk/platform-tools/adb -s emulator-5554 shell getprop sys.boot_completed
2025-11-23T09:52:09.7403043Z adb: device 'emulator-5554' not found
2025-11-23T09:52:09.7407609Z The process '/usr/local/lib/android/sdk/platform-tools/adb' failed with exit code 1
2025-11-23T09:52:09.7408649Z ##[endgroup]
2025-11-23T09:52:09.7410395Z ##[group]Terminate Emulator
2025-11-23T09:52:09.7422461Z [command]/usr/local/lib/android/sdk/platform-tools/adb -s emulator-5554 emu kill
2025-11-23T09:52:09.7446227Z error: could not connect to TCP port 5554: Connection refused
2025-11-23T09:52:09.7449889Z The process '/usr/local/lib/android/sdk/platform-tools/adb' failed with exit code 1
2025-11-23T09:52:09.7450668Z ##[endgroup]
2025-11-23T09:52:09.7457582Z ##[error]Timeout waiting for emulator to boot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions