Skip to content

Flutter_tools test/commands.shard/permeable/upgrade_test.dart suite depends on test execution order #189919

Closed

Description

@jason-simmons

This test is failing when run with today's randomized order seed (--test-randomize-ordering-seed=20260723)

Example:
https://ci.chromium.org/ui/p/flutter/builders/try/Linux%20tool_tests_commands/68752/overview

11:45 +878 ~5 -1: /b/s/w/ir/x/w/flutter/packages/flutter_tools/test/commands.shard/permeable/upgrade_test.dart: UpgradeCommandRunner runs upgrade Doesn't throw on known tag, beta branch, no force [E]
  Null check operator used on a null value
  test/commands.shard/permeable/upgrade_test.dart 742:53  main.<fn>.<fn>.<fn>
  
11:45 +878 ~5 -1: /b/s/w/ir/x/w/flutter/packages/flutter_tools/test/commands.shard/permeable/upgrade_test.dart: UpgradeCommandRunner runs upgrade does not throw on unknown tag, official branch, force
11:45 +878 ~5 -2: /b/s/w/ir/x/w/flutter/packages/flutter_tools/test/commands.shard/permeable/upgrade_test.dart: UpgradeCommandRunner runs upgrade does not throw on unknown tag, official branch, force [E]
  Null check operator used on a null value
  test/commands.shard/permeable/upgrade_test.dart 742:53  main.<fn>.<fn>.<fn>
  
11:45 +878 ~5 -2: /b/s/w/ir/x/w/flutter/packages/flutter_tools/test/commands.shard/permeable/upgrade_test.dart: UpgradeCommandRunner runs upgrade does not throw tool exit with uncommitted changes and force
11:45 +878 ~5 -3: /b/s/w/ir/x/w/flutter/packages/flutter_tools/test/commands.shard/permeable/upgrade_test.dart: UpgradeCommandRunner runs upgrade does not throw tool exit with uncommitted changes and force [E]
  Null check operator used on a null value
  test/commands.shard/permeable/upgrade_test.dart 742:53  main.<fn>.<fn>.<fn>
  
11:45 +878 ~5 -3: /b/s/w/ir/x/w/flutter/packages/flutter_tools/test/commands.shard/permeable/upgrade_test.dart: UpgradeCommandRunner runs upgrade full command upgrade continue prints welcome message
11:45 +878 ~5 -4: /b/s/w/ir/x/w/flutter/packages/flutter_tools/test/commands.shard/permeable/upgrade_test.dart: UpgradeCommandRunner runs upgrade full command upgrade continue prints welcome message [E]
  Null check operator used on a null value
  test/commands.shard/permeable/upgrade_test.dart 742:53  main.<fn>.<fn>.<fn>
  
  LateInitializationError: Local 'tempDir' has not been initialized.
  dart:_internal                                   LateError._throwLocalNotInitialized
  test/commands.shard/permeable/upgrade_test.dart  main.<fn>.<fn>.<fn>.<fn>

Activity

  1. github-actions commented on Aug 6, 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.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions