Skip to content

Tree closed on widget inspector test failure #128425

@zanderso

Description

@zanderso

Starting with a seemingly unrelated commit 6848110, this test started failing on the tree and on framework PRs (like this engine roll #128255).

Since it started failing early in the morning, I'll guess that it's due to today's random test order seed.

https://ci.chromium.org/ui/p/flutter/builders/prod/Windows%20framework_tests_widgets/11264/overview

03:41 +4995 ~77: C:/b/s/w/ir/x/w/flutter/packages/flutter/test/widgets/widget_inspector_test.dart: ext.flutter.inspector.getParentChain
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following TestFailure was thrown running a test:
Expected: <Instance of 'DiagnosticsNode'>
  Actual: <null>
   Which: is not an instance of 'DiagnosticsNode'

When the exception was thrown, this was the stack:
#4      _TestWidgetInspectorService.runTests.<anonymous closure> (file:///C:/b/s/w/ir/x/w/flutter/packages/flutter/test/widgets/widget_inspector_test.dart:2164:9)
<asynchronous suspension>
<asynchronous suspension>
(elided one frame from package:stack_trace)

This was caught by the test expectation on the following line:
  file:///C:/b/s/w/ir/x/w/flutter/packages/flutter/test/widgets/widget_inspector_test.dart line 2164
The test description was:
  ext.flutter.inspector.getParentChain
════════════════════════════════════════════════════════════════════════════════════════════════════
03:41 +4995 ~77 -1: C:/b/s/w/ir/x/w/flutter/packages/flutter/test/widgets/two_dimensional_viewport_test.dart: RenderTwoDimensionalViewport hitTestChildren (variant: TargetPlatform.android)
03:41 +4995 ~77 -1: C:/b/s/w/ir/x/w/flutter/packages/flutter/test/widgets/widget_inspector_test.dart: ext.flutter.inspector.getParentChain [E]
  Test failed. See exception logs above.
  The test description was: ext.flutter.inspector.getParentChain

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Critical issues such as a build break or regressionframeworkflutter/packages/flutter repository. See also f: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions