Skip to content

Linux tool_tests_commands is 2.00% flaky #186136

Description

@fluttergithubbot

The post-submit test builder Linux tool_tests_commands had a flaky ratio 2.00% for the past (up to) 100 commits, which is above our 2.00% threshold.

One recent flaky example for a same commit: https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20tool_tests_commands/27936
Commit: c7d2982

Flaky builds:
https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20tool_tests_commands/27936
https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20tool_tests_commands/27882

Recent test runs:
https://flutter-dashboard.appspot.com/#/build?taskFilter=Linux%20tool_tests_commands

Please follow https://github.com/flutter/flutter/blob/master/docs/infra/Reducing-Test-Flakiness.md#fixing-flaky-tests to fix the flakiness and enable the test back after validating the fix (internal dashboard to validate: go/flutter_test_flakiness).

Activity

  1. added
    P0Critical issues such as a build break or regression
    c: flakeTests that sometimes, but not always, incorrectly pass
    team-toolOwned by Flutter Tool team
    on May 6, 2026
  2. Piinks commented on May 11, 2026

    @Piinks
    Contributor

    Runtime ~35 minutes, currently suppressed on the dashboard. One of these was a timeout, while the other:

    06:40 +178 ~1: /b/s/w/ir/x/w/flutter/packages/flutter_tools/test/commands.shard/hermetic/widget_preview/preview_manifest/preview_manifest_workspace_test.dart: PreviewManifest - Workspace can handle the addition of new workspace projects before the workspace pubspec is updated
    PathNotFoundException: Cannot open file, path = '/b/s/w/ir/x/t/flutter_tools.LBMTRE/rootWTXTRF/.dart_tool/package_config.json' (OS Error: No such file or directory, errno = 2)
    #0      _checkForErrorResponse (dart:io/common.dart:58:9)
    #1      _File.open.<anonymous closure> (dart:io/file_impl.dart:438:7)
    #2      _rootRunUnary (dart:async/zone_root.dart:48:47)
    #3      _CustomZone.runUnary (dart:async/zone.dart:733:19)
    <asynchronous suspension>
    #4      _FileStreamConsumer.addStream.<anonymous closure> (dart:io/file_impl.dart:223:15)
    <asynchronous suspension>
    
    06:40 +177 ~1 -1: /b/s/w/ir/x/w/flutter/packages/flutter_tools/test/commands.shard/hermetic/widget_preview/preview_manifest/preview_manifest_workspace_test.dart: PreviewManifest - Workspace can handle workspace entries that do not exist
    06:40 +177 ~1 -1: /b/s/w/ir/x/w/flutter/packages/flutter_tools/test/commands.shard/hermetic/widget_preview/preview_manifest/preview_manifest_workspace_test.dart: PreviewManifest - Workspace can handle the addition of new workspace projects before the workspace pubspec is updated [E]
      PathNotFoundException: Cannot open file, path = '/b/s/w/ir/x/t/flutter_tools.LBMTRE/rootWTXTRF/.dart_tool/package_config.json' (OS Error: No such file or directory, errno = 2)
      dart:io  _FileStreamConsumer.addStream.<fn>
      
      This test failed after it had already completed.
      Make sure to use a matching library which informs the test runner
      of pending async work.
      dart:io  _FileStreamConsumer.addStream.<fn>
    
  3. fluttergithubbot commented on May 20, 2026

    @fluttergithubbot
    ContributorAuthor

    [prod pool] flaky ratio for the past (up to) 100 commits between 2026-05-09 and 2026-05-19 is 1.01%. Flaky number: 1; total number: 99.
    One recent flaky example for a same commit: https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20tool_tests_commands/28045
    Commit: 4f1439c
    Flaky builds:
    https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20tool_tests_commands/28045

    Recent test runs:
    https://flutter-dashboard.appspot.com/#/build?taskFilter=Linux%20tool_tests_commands

  4. fluttergithubbot commented on May 27, 2026

    @fluttergithubbot
    ContributorAuthor

    [prod pool] flaky ratio for the past (up to) 100 commits between 2026-05-16 and 2026-05-25 is 0.00%. Flaky number: 0; total number: 99.

  5. github-actions commented on Jul 14, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  6. locked as resolved and limited conversation to collaborators on Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P0Critical issues such as a build break or regressionc: 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