Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

analytics_test.dart failing on the Flutter customer test registry #8761

Open
kenzieschmoll opened this issue Jan 16, 2025 · 0 comments
Open
Labels
P3 issues we think are valid but not important testing

Comments

@kenzieschmoll
Copy link
Member

Example failure:

00:04 +33 -1: /b/s/w/ir/x/t/flutter_customer_testing.flutter_devtools.TYUQGO/tests/packages/devtools_app/test/shared/analytics/analytics_test.dart: createStackTraceForAnalytics for stack trace with DevTools stack frames near the top [E]
|   Expected: '/b/s/w/ir/x/w/rc/tmp6qd7qvz0/hosted/pub.dev/vm_service-14.3.0/lib/src/vm_service.dart 95:18 |  28240\n'
|               '/b/s/w/ir/x/w/rc/tmp6qd7qvz0/hosted/pub.dev/vm_service-14.3.0/lib/src/dart_io_extensions.dart 63:12 |  28301\n'
|               '/b/s/w/ir/x/w/rc/tmp6qd7qvz0/hosted/pub.dev/vm_service-14.3.0/lib/src/dart_io_extensions.dart 61:25 |  28300\n'
|               '/b/s/w/ir/x/w/devtools/packages/devtools_app/lib/src/screens/network/network_service.dart 104:34 |  28297\n'
|               '/b/s/w/ir/x/w/devtools/packages/devtools_app_shared/lib/src/service/service_utils.dart 82:25 |  9696\n'
|               'org-dartlang-sdk:///dart-sdk/lib/_internal/wasm/lib/async_patch.dart 103:30 |  2140'
|     Actual: '../../../../../w/rc/tmp6qd7qvz0/hosted/pub.dev/vm_service-14.3.0/lib/src/vm_service.dart 95:18 |  28240\n'
|               '../../../../../w/rc/tmp6qd7qvz0/hosted/pub.dev/vm_service-14.3.0/lib/src/dart_io_extensions.dart 63:12 |  28301\n'
|               '../../../../../w/rc/tmp6qd7qvz0/hosted/pub.dev/vm_service-14.3.0/lib/src/dart_io_extensions.dart 61:25 |  28300\n'
|               '../../../../../w/devtools/packages/devtools_app/lib/src/screens/network/network_service.dart 104:34 |  28297\n'
|               '../../../../../w/devtools/packages/devtools_app_shared/lib/src/service/service_utils.dart 82:25 |  9696\n'
|               'org-dartlang-sdk:///dart-sdk/lib/_internal/wasm/lib/async_patch.dart 103:30 |  2140'
|      Which: is different.
|             Expected: /b/s/w/ir/ ...
|               Actual: ../../../. ...
|                       ^
|              Differ at offset 0
|
|   package:matcher                                 expect
|   test/shared/analytics/analytics_test.dart 21:7  main.<fn>.<fn>

Something must be different with how Trace.parse is behaving in the DevTools CI test environment and the Flutter Customer Test environment.

The devtools customer tests were disabled in flutter/tests#442.

@kenzieschmoll kenzieschmoll added testing P3 issues we think are valid but not important labels Jan 16, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
P3 issues we think are valid but not important testing
Projects
None yet
Development

No branches or pull requests

1 participant