Skip to content

gradle_desugar_classes_test flaking #170269

Open
@gaaclarke

Description

@gaaclarke

example: https://ci.chromium.org/ui/p/flutter/builders/try/Linux%20gradle_desugar_classes_test/40083/overview

[2025-06-09 09:36:01.805733] [STDOUT] stdout: Running Gradle task 'assembleDebug'...                          
[2025-06-09 09:36:01.807383] [STDOUT] stderr: 
[2025-06-09 09:36:01.808152] [STDOUT] stderr: FAILURE: Build failed with an exception.
[2025-06-09 09:36:01.808266] [STDOUT] stderr: 
[2025-06-09 09:36:01.808299] [STDOUT] stderr: * Where:
[2025-06-09 09:36:01.810493] [STDOUT] stderr: Build file '/b/s/w/ir/x/t/flutter_devicelab_gradle_plugin_test.KONQCY/hello/android/build.gradle.kts' line: 19
[2025-06-09 09:36:01.810592] [STDOUT] stderr: 
[2025-06-09 09:36:01.810623] [STDOUT] stderr: * What went wrong:
[2025-06-09 09:36:01.810648] [STDOUT] stderr: A problem occurred configuring project ':app'.
[2025-06-09 09:36:01.810677] [STDOUT] stderr: > [CXX1101] NDK at /b/s/w/ir/cache/android/sdk/ndk/27.0.12077973 did not have a source.properties file
[2025-06-09 09:36:01.810700] [STDOUT] stderr: 
[2025-06-09 09:36:01.810727] [STDOUT] stderr: * Try:
[2025-06-09 09:36:01.810749] [STDOUT] stderr: > Run with --stacktrace option to get the stack trace.
[2025-06-09 09:36:01.810775] [STDOUT] stderr: > Run with --info or --debug option to get more log output.
[2025-06-09 09:36:01.810797] [STDOUT] stderr: > Run with --scan to get full insights.
[2025-06-09 09:36:01.810818] [STDOUT] stderr: > Get more help at https://help.gradle.org/.
[2025-06-09 09:36:01.810843] [STDOUT] stderr: 
[2025-06-09 09:36:01.810864] [STDOUT] stderr: BUILD FAILED in 13s
[2025-06-09 09:36:02.100702] [STDOUT] stdout: Running Gradle task 'assembleDebug'...                             14.3s
[2025-06-09 09:36:02.108613] [STDOUT] stdout: 
[2025-06-09 09:36:02.110502] [STDOUT] stdout: ┌─ Flutter Fix ───────────────────────────────────────────────────────────────┐
[2025-06-09 09:36:02.110630] [STDOUT] stdout: │     [!] This is likely due to a malformed download of the NDK.              │
[2025-06-09 09:36:02.110669] [STDOUT] stdout: │     This can be fixed by deleting the local NDK copy at:                    │
[2025-06-09 09:36:02.110853] [STDOUT] stdout: │     /b/s/w/ir/cache/android/sdk/ndk/27.0.12077973                           │
[2025-06-09 09:36:02.110910] [STDOUT] stdout: │     and allowing the Android Gradle Plugin to automatically re-download it. │
[2025-06-09 09:36:02.110939] [STDOUT] stdout: │                                                                             │
[2025-06-09 09:36:02.111191] [STDOUT] stdout: └─────────────────────────────────────────────────────────────────────────────┘

4/25 last runs had this problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: flakeTests that sometimes, but not always, incorrectly passteam-toolOwned by Flutter Tool team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions