Skip to content

Web tests flaky due to Chromium process failing to shutdown #132654

@yjbanov

Description

@yjbanov

Consolidating all issues auto-filed by the flake detector into this one. As of this writing, this issue is mostly tracking dart-lang/test#1104 as the suspected culprit.

In short, the issue seems to be that the test runner first "loads" the test, then "runs" the test. However, the timeout clock starts when it loads the test. Since the concurrency level is limited (and because Flutter takes screenshots, has to be set to 1), by the time it's the test's turn to run it's well into the 12-minute timeout limit, so it times out. The fix should be to only start the clock when the test starts running. The correct thing to do would be to count the time between "load" and "run" as zero. More details in the Dart issue.

Relevant Google-internal issue: b/294950828

Metadata

Metadata

Assignees

Labels

P0Critical issues such as a build break or regressiona: tests"flutter test", flutter_test, or one of our testsc: flakeTests that sometimes, but not always, incorrectly passplatform-webWeb applications specificallyteam-webOwned by Web platform teamtriaged-webTriaged by Web platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions