Skip to content

[infra] feature request: inspect new luci summaries for infra failures (No Android devices detected) #166996

@jtmcdole

Description

@jtmcdole

Reduce the number of "flakey" or false-positive failure reports.

We now get summaries for luci jobs. We could summarize these to see if some of the most common infra failures are present (e.g. no phones).

[2025-04-10 18:41:46.864815] [STDOUT] stdout: [        ] x86_64
[2025-04-10 18:41:46.894630] [STDOUT] stdout: [  +29 ms] Setting "enable-linux-desktop" value to "true".
[2025-04-10 18:41:46.894657] [STDOUT] stdout: [        ] Setting "enable-macos-desktop" value to "true".
[2025-04-10 18:41:46.894745] [STDOUT] stdout: [        ] 
[2025-04-10 18:41:46.894764] [STDOUT] stdout:            You may need to restart any open editors for them to read new settings.
[2025-04-10 18:41:46.899373] [STDOUT] stdout: [   +4 ms] "flutter config" took 24ms.
[2025-04-10 18:41:46.899379] [STDOUT] stdout: [        ] Running 1 shutdown hook
[2025-04-10 18:41:46.899385] [STDOUT] stdout: [        ] Shutdown hooks complete
[2025-04-10 18:41:46.899420] [STDOUT] stdout: [        ] exiting with code 0
[2025-04-10 18:41:46.905969] [STDOUT] Executing "/opt/s/w/ir/cache/android/sdk/platform-tools/adb devices -l" in "/opt/s/w/ir/x/w/rc/tmpzhuc958y/flutter sdk/dev/devicelab" with environment {BOT: true, LANG: en_US.UTF-8}
[2025-04-10 18:41:46.911713] [STDOUT] stdout: List of devices attached
[2025-04-10 18:41:46.911756] [STDOUT] stdout: 
[2025-04-10 18:41:46.918458] [STDOUT] Executing "/opt/s/w/ir/cache/android/sdk/platform-tools/adb devices -l" in "/opt/s/w/ir/x/w/rc/tmpzhuc958y/flutter sdk/dev/integration_tests/android_semantics_testing" with environment {BOT: true, LANG: en_US.UTF-8}
[2025-04-10 18:41:46.925299] [STDOUT] stdout: List of devices attached
[2025-04-10 18:41:46.925330] [STDOUT] stdout: 
[2025-04-10 18:41:46.928907] [STDERR] Task failed: DeviceException: No Android devices detected
[2025-04-10 18:41:46.928926] [STDERR] 
[2025-04-10 18:41:46.928935] [STDERR] Stack trace:
[2025-04-10 18:41:46.940669] [STDERR] package:flutter_devicelab/framework/devices.dart 264:7     AndroidDeviceDiscovery.chooseWorkingDevice
[2025-04-10 18:41:46.940718] [STDERR] ===== asynchronous gap ===========================
[2025-04-10 18:41:46.940724] [STDERR] dart:async                                                 _CustomZone.registerBinaryCallback
[2025-04-10 18:41:46.940729] [STDERR] package:flutter_devicelab/framework/framework.dart 309:28  _TaskRunner._performTask.<fn>
[2025-04-10 18:41:46.940734] [STDERR] package:stack_trace                                        Chain.capture
[2025-04-10 18:41:46.940738] [STDERR] package:flutter_devicelab/framework/framework.dart 307:11  _TaskRunner._performTask
[2025-04-10 18:41:46.940744] [STDERR] package:flutter_devicelab/framework/framework.dart 200:43  _TaskRunner.run
[2025-04-10 18:41:46.940749] [STDERR] 
[2025-04-10 18:41:46.941056] [STDOUT] Checking for reboot
[2025-04-10 18:41:46.941738] [STDOUT] Executing "/opt/s/w/ir/cache/android/sdk/platform-tools/adb devices -l" in "/opt/s/w/ir/x/w/rc/tmpzhuc958y/flutter sdk/dev/devicelab" with environment {BOT: true, LANG: en_US.UTF-8}
[2025-04-10 18:41:46.946935] [STDOUT] stdout: List of devices attached
[2025-04-10 18:41:46.946984] [STDOUT] stdout: 
[android_semantics_integration_test] Process terminated with exit code 0.
Task result:
{
  "success": false,
  "reason": "Task failed: DeviceException: No Android devices detected"
}


═════════╡ ••• Finished task "android_semantics_integration_test" ••• ╞═════════



═══════╡ ••• Flaky status for "android_semantics_integration_test" ••• ╞════════

Consistently failed across all 3 executions.
flaky: false

Step failed (retcode: 1), exe: {cipdPackage: flutter/recipe_bundles/flutter.googlesource.com/recipes, cipdVersion: refs/heads/master, cmd: [luciexe]}, schedulingTimeout: 86400s, executionTimeout: 3600s, gracePeriod: 30s}

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listinfra: device labInfrastructure device lab problemsteam-infraOwned by Infrastructure teamtriaged-infraTriaged by Infrastructure team

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions