flutter / flutter/devtools

Flaky test: "memory eval and browse"

未关闭
#6,592 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
integration tests P1 screen: memory test flake
主要语言
Dart
星标
1.7k
派生
404
平均合并
6 天 17 小时
30 天内合并 PR
18

描述

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

贡献指南

打开贡献指南

调研方向

从 eval_and_browse_test.dart 和 "memory eval and browse" 测试开始,然后在 Flutter Web 测试环境中运行它。检查点击 "Any" widget 的操作,并将其与链接的 CI 失败进行比较。当测试在 CI 中运行时不再间歇性失败,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
dart
领域
testing-qa
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。