flutter / flutter/devtools

Flaky test: "memory eval and browse"

Open
#6,592 0 comments 0 reactions 0 assignees View on GitHub
integration tests P1 screen: memory test flake
Dominant language
Dart
Stars
1.7k
Forks
404
Avg merge
6d 17h
Merged PRs (30d)
18

Description

I've seen this test failing on PRs lately:

```
Unhandled exception:
Exception: Test 'memory eval and browse' failed: ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞═════════════════
The following assertion was thrown running a test:
The finder "Found 0 widgets with text "Any": []" (used in a call
to "tap()") could not find any matching widgets.

When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 297:3 throw_
packages/flutter_test/src/test_text_input_key_handler.dart.js 8582:19 [_getElementPoint]
packages/flutter_test/src/test_text_input_key_handler.dart.js 8554:38 getCenter
packages/flutter_test/src/test_text_input_key_handler.dart.js 8275:30 tap
eval_and_browse_test.dart.js 123:31 action
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54 runBody
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 127:5 _async
eval_and_browse_test.dart.js 118:24 action
eval_and_browse_test.dart.js 129:15 tapAndPump
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54 runBody
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 127:5 _async
eval_and_browse_test.dart.js 116:20 tapAndPump
eval_and_browse_test.dart.js 237:20 _inboundReferencesAreListed
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 45:50
dart-sdk/lib/async/zone.dart 1[407](https://github.com/flutter/devtools/actions/runs/6640182681/job/18052728554#step:4:408):47 _rootRunUnary
dart-sdk/lib/async/zone.dart 1308:19 runUnary
dart-sdk/lib/async/future_impl.dart 162:18 handleValue
dart-sdk/lib/async/future_impl.dart 846:44 handleValueCallback
dart-sdk/lib/async/future_impl.dart 875:13 _propagateToListeners
dart-sdk/lib/async/future_impl.dart 647:5 [_completeWithValue]
dart-sdk/lib/async/future_impl.dart 721:7
dart-sdk/lib/async/zone.dart 1399:13 _rootRun
dart-sdk/lib/async/zone.dart 1301:19 run
dart-sdk/lib/async/zone.dart 1209:7 runGuarded
dart-sdk/lib/async/zone.dart 1249:23 callback
dart-sdk/lib/async/schedule_microtask.dart 40:11 _microtaskLoop
dart-sdk/lib/async/schedule_microtask.dart 49:5 _startMicrotaskLoop
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 181:7

The test description was:
memory eval and browse
═════════════════════════════════════════════════════════════════
.
```

Example:

https://github.com/flutter/devtools/actions/runs/6640182681/job/18052728554

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.