Skip to content

Devicelab tasks flaking due to insufficient storage #135035

@jonahwilliams

Description

@jonahwilliams

Is there an existing issue for this?

Type of Request

bug

Infrastructure Environment

Devicelab

What is happening?

Many Device lab tasks are flaking due to insufficient storage errors, see: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8769511480680570273/+/u/run_opacity_peephole_grid_of_alpha_savelayers_perf__e2e_summary/test_stdout

[2023-09-19 09:05:37.901796] [STDOUT] stderr: 
[2023-09-19 09:05:37.901814] [STDOUT] stderr:            adb: failed to install /opt/s/w/ir/x/w/recipe_cleanup/tmp8szcrs63/flutter sdk/dev/benchmarks/macrobenchmarks/build/app/outputs/flutter-apk/app-profile.apk: Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE: Package couldn't be installed in /data/app/com.example.macrobenchmarks-1: Creating application package com.example.macrobenchmarks failed]
[2023-09-19 09:05:37.901836] [STDOUT] stdout: [        ] Warning: Failed to install APK.
[2023-09-19 09:05:37.902070] [STDOUT] stderr: [        ] Application failed to start on attempt: 2
[2023-09-19 09:05:37.902695] [STDOUT] stdout: [        ] Stopping app 'app-profile.apk' on Moto G 4.
[2023-09-19 09:05:37.902745] [STDOUT] stdout: [        ] executing: /opt/s/w/ir/cache/android/sdk/platform-tools/adb -s ZY223HK9P7 shell am force-stop com.example.macrobenchmarks
[2023-09-19 09:05:38.788481] [STDOUT] stdout: [ +885 ms] executing: /opt/s/w/ir/cache/android/sdk/platform-tools/adb -s ZY223HK9P7 shell pm list packages com.example.macrobenchmarks
[2023-09-19 09:05:39.733880] [STDOUT] stdout: [ +945 ms] Installing APK.
[2023-09-19 09:05:39.734219] [STDOUT] stdout: [        ] Installing build/app/outputs/flutter-apk/app-profile.apk...
[2023-09-19 09:05:39.734266] [STDOUT] stdout: [        ] executing: /opt/s/w/ir/cache/android/sdk/platform-tools/adb -s ZY223HK9P7 install -t -r /opt/s/w/ir/x/w/recipe_cleanup/tmp8szcrs63/flutter sdk/dev/benchmarks/macrobenchmarks/build/app/outputs/flutter-apk/app-profile.apk
[2023-09-19 09:05:54.183736] [STDOUT] stdout: [+14448 ms] Performing Streamed Install
[2023-09-19 09:05:54.183857] [STDOUT] stdout: 
[2023-09-19 09:05:54.183881] [STDOUT] stdout:             adb: failed to install /opt/s/w/ir/x/w/recipe_cleanup/tmp8szcrs63/flutter sdk/dev/benchmarks/macrobenchmarks/build/app/outputs/flutter-apk/app-profile.apk: Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE: Package couldn't be installed in /data/app/com.example.macrobenchmarks-1: Creating application package com.example.macrobenchmarks failed]
[2023-09-19 09:05:54.183906] [STDOUT] stdout: [        ] Installing build/app/outputs/flutter-apk/app-profile.apk... (completed in 14.4s)
[2023-09-19 09:05:54.183982] [STDOUT] stderr: [        ] Error: ADB exited with exit code 1
[2023-09-19 09:05:54.184001] [STDOUT] stderr: [        ] Performing Streamed Install
[2023-09-19 09:05:54.184018] [STDOUT] stderr: 
[2023-09-19 09:05:54.184037] [STDOUT] stderr:            adb: failed to install /opt/s/w/ir/x/w/recipe_cleanup/tmp8szcrs63/flutter sdk/dev/benchmarks/macrobenchmarks/build/app/outputs/flutter-apk/app-profile.apk: Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE: Package couldn't be installed in /data/app/com.example.macrobenchmarks-1: Creating application package com.example.macrobenchmarks failed]
[2023-09-19 09:05:54.184073] [STDOUT] stdout: [        ] Warning: Failed to install APK.
[2023-09-19 09:05:54.184351] [STDOUT] stderr: [        ] Application failed to start on 

Steps to reproduce

No response

Expected results

No response

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listinfra: device labInfrastructure device lab problems

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions