Skip to content

Free disk space before creating the emulator AVD - #14

Merged
sbokatuk merged 1 commit into
mainfrom
ci-emulator-disk-space
Jul 24, 2026
Merged

Free disk space before creating the emulator AVD#14
sbokatuk merged 1 commit into
mainfrom
ci-emulator-disk-space

Conversation

@sbokatuk

Copy link
Copy Markdown
Owner

The v8.1.2.5 release run died in the net10 emulator leg with a boot timeout. The real cause was several minutes earlier in the log:

FATAL | Not enough space to create userdata partition.
        Available: 5666.53 MB, need 7372.80 MB.

By the time the AVD is created the job has installed three .NET SDK bands, three Android workloads, three platform SDKs, a system image and the packed packages, and the runner has no room left. The net8 leg on the same commit passed 14/14, so nothing was wrong with the code - the legs just landed on different sides of the disk budget.

Reclaims ~10 GB of things this job never uses, the NDK first: no native code is compiled here (the .aar ships prebuilt .so files), so it is ~5 GB of dead weight sitting on the same volume as the AVD. Leaves /usr/share/dotnet and the rest of the Android SDK alone, and prints df before and after so the next disk regression is visible at a glance instead of surfacing as a boot timeout.

The v8.1.2.5 release run died in the net10 emulator leg with a boot timeout.
The real cause was several minutes earlier in the log:

    FATAL | Not enough space to create userdata partition.
            Available: 5666.53 MB, need 7372.80 MB.

By the time the AVD is created the job has installed three .NET SDK bands,
three Android workloads, three platform SDKs, a system image and the packed
packages, and the runner has no room left. The net8 leg on the same commit
passed 14/14, so nothing was wrong with the code - the legs just landed on
different sides of the disk budget.

Reclaims ~10 GB of things this job never uses, the NDK first: no native code
is compiled here (the .aar ships prebuilt .so files), so it is ~5 GB of dead
weight sitting on the same volume as the AVD. Leaves /usr/share/dotnet and
the rest of the Android SDK alone, and prints df before and after so the next
disk regression is visible at a glance instead of surfacing as a boot
timeout.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@sbokatuk
sbokatuk merged commit 9c691d5 into main Jul 24, 2026
1 check passed
@sbokatuk
sbokatuk deleted the ci-emulator-disk-space branch July 24, 2026 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant