Skip to content

Flaky failures "Error: Unable to create sample for packages/flutter/lib/src/material/switch_list_tile.dart:79" on Flutter HHH #89243

@alexmarkov

Description

@alexmarkov

Flutter HEAD-HEAD-HEAD bot sometimes fails on "flutter analyze" step with the following error:

▌09:00:27▐ Sample code...
▌09:00:27▐ RUNNING: cd .; bin/cache/dart-sdk/bin/dart /b/s/w/ir/cache/builder/flutter/dev/bots/analyze_sample_code.dart
Found 365 snippet code blocks, 43 sample code sections, and 225 dartpad sections.
Unhandled exception:
packages/flutter/lib/src/material/switch_list_tile.dart:79: Error: Unable to create sample for packages/flutter/lib/src/material/switch_list_tile.dart:79 (using input from /b/s/w/ir/x/t/flutter_analyze_sample_code.IVDKPE/sample.packages.flutter.lib.src.material.switch_list_tile.79.input):

Cannot delete file, path = '/home/chrome-bot/.pub-cache/bin/snippets' (OS Error: No such file or directory, errno = 2)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ERROR: Last command exited with 255 (expected: zero).
Command: bin/cache/dart-sdk/bin/dart /b/s/w/ir/cache/builder/flutter/dev/bots/analyze_sample_code.dart
Relative working directory: .
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Logs:
https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket/8837374353113050129/+/u/flutter_analyze/stdout
https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket/8837595170234499361/+/u/flutter_analyze/stdout

/cc @gspencergoog

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions