Skip to content

Instantly share code, notes, and snippets.

@yjbanov
Created November 12, 2020 17:24
Show Gist options
  • Save yjbanov/99b2696d5c73a96c23255a662d191ef7 to your computer and use it in GitHub Desktop.
Save yjbanov/99b2696d5c73a96c23255a662d191ef7 to your computer and use it in GitHub Desktop.
felt integration test errors
$ ENGINE_PATH=/home/yjbanov/code/flutter/engine felt test --integration-tests-only
INFO: Major version for Chrome Driver 84
INFO: chrome version in use Google Chrome 86.0.4240.183
downloading file from https://chromedriver.storage.googleapis.com/86.0.4240.22/chromedriver_linux64.zip
INFO: Driver started
Starting ChromeDriver 86.0.4240.22 (398b0743353ff36fb1b82468f63a3a93b4e2e89e-refs/branch-heads/4240@{#378}) on port 4444
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
+ [[ '' = false ]]
+ [[ -z '' ]]
+ echo 'Cloning Flutter repo to local machine.'
Cloning Flutter repo to local machine.
+ [[ -z /home/yjbanov/code/flutter/engine ]]
+ cd /home/yjbanov/code/flutter/engine/src/flutter
+ ENGINE_BRANCH_NAME=
+ versionregex='^v[[:digit:]]+\.'
+ releasecandidateregex='^flutter-[[:digit:]]+\.[[:digit:]]+-candidate\.[[:digit:]]+$'
+ ON_RELEASE_BRANCH=false
+ echo 'Engine on branch '
Engine on branch
+ [[ '' =~ ^v[[:digit:]]+\. ]]
+ [[ '' =~ ^flutter-[[:digit:]]+\.[[:digit:]]+-candidate\.[[:digit:]]+$ ]]
++ git log -1 --date=local --format=%cd
+ LATEST_COMMIT_TIME_ENGINE='Thu Nov 12 08:41:11 2020'
+ echo 'Latest commit time on engine found as Thu Nov 12 08:41:11 2020'
Latest commit time on engine found as Thu Nov 12 08:41:11 2020
+ FLUTTER_CLONE_REPO_PATH=/home/yjbanov/code/flutter/engine/src/flutter/.dart_tool
+ [[ -z /home/yjbanov/code/flutter/engine/src/flutter/.dart_tool ]]
+ cd /home/yjbanov/code/flutter/engine/src/flutter/.dart_tool
+ git clone https://github.com/flutter/flutter.git
Cloning into 'flutter'...
remote: Enumerating objects: 18, done.
remote: Counting objects: 100% (18/18), done.
remote: Compressing objects: 100% (18/18), done.
remote: Total 276669 (delta 4), reused 0 (delta 0), pack-reused 276651
Receiving objects: 100% (276669/276669), 120.00 MiB | 8.68 MiB/s, done.
Resolving deltas: 100% (214217/214217), done.
+ cd flutter
++ cut -d ' ' -f2
++ grep '*'
++ git branch
+ FRAMEWORK_BRANCH_NAME=master
+ [[ false = true ]]
++ git log '--before=Thu Nov 12 08:41:11 2020' -n 1
++ grep commit
++ cut -d ' ' -f2
+ COMMIT_NO=15d2d8a8750c2733871f7f8ae558c268efd32fc0
+ echo 'Using the flutter/flutter commit 15d2d8a8750c2733871f7f8ae558c268efd32fc0'
Using the flutter/flutter commit 15d2d8a8750c2733871f7f8ae558c268efd32fc0
+ git reset --hard 15d2d8a8750c2733871f7f8ae558c268efd32fc0
HEAD is now at 15d2d8a875 Roll Engine from c5c7e83b9e53 to d97a81c88983 (6 revisions) (#70333)
Downloading Dart SDK from Flutter engine d97a81c8898304bcad8b33adb773965e83aa68be...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 177M 100 177M 0 0 8086k 0 0:00:22 0:00:22 --:--:-- 7579k
Building flutter tool...
╔════════════════════════════════════════════════════════════════════════════╗
║ A new version of Flutter is available! ║
║ ║
║ To update to the latest version, run "flutter upgrade". ║
╚════════════════════════════════════════════════════════════════════════════╝
Setting "enable-web" value to "true".
You may need to restart any open editors for them to read new settings.
Downloading Material fonts... 734ms
Downloading Gradle Wrapper... 243ms
Downloading package sky_engine... 678ms
Downloading flutter_patched_sdk tools... 1,861ms
Downloading flutter_patched_sdk_product tools... 1,565ms
Downloading linux-x64 tools... 3.8s
Downloading linux-x64/font-subset tools... 632ms
Running "flutter pub get" in regular_integration_tests... 298ms
INFO: Test target_platform_ios_integration.dart is skipped since it is blocked for chrome-linux
INFO: Test target_platform_macos_integration.dart is skipped since it is blocked for chrome-linux
INFO: Test target_platform_android_integration.dart is skipped since it is blocked for chrome-linux
Downloading Web SDK... 4.8s
Running "flutter pub get" in regular_integration_tests... 305ms
Launching test_driver/url_strategy_integration.dart on Web Server in profile mode...
Compiling test_driver/url_strategy_integration.dart for the Web... 18.4s
test_driver/url_strategy_integration.dart is being served at http://localhost:45285
The web-server device requires the Dart Debug Chrome extension for debugging. Consider using the Chrome or Edge devices for an improved
development workflow.
Application finished.
[INFO]: http://localhost:45285/main.dart.js 7808:16 "00:00 +0: Can customize url strategy"
result {"result":"true","failureDetails":[]}
All tests passed.
Running "flutter pub get" in regular_integration_tests... 323ms
Launching test_driver/url_strategy_integration.dart on Web Server in profile mode...
Compiling test_driver/url_strategy_integration.dart for the Web... 18.0s
test_driver/url_strategy_integration.dart is being served at http://localhost:40193
The web-server device requires the Dart Debug Chrome extension for debugging. Consider using the Chrome or Edge devices for an improved
development workflow.
Application finished.
result {"result":"true","failureDetails":[]}
All tests passed.
Running "flutter pub get" in regular_integration_tests... 327ms
Launching test_driver/treeshaking_integration.dart on Web Server in profile mode...
Compiling test_driver/treeshaking_integration.dart for the Web... 18.9s
test_driver/treeshaking_integration.dart is being served at http://localhost:38281
The web-server device requires the Dart Debug Chrome extension for debugging. Consider using the Chrome or Edge devices for an improved
development workflow.
Application finished.
[INFO]: http://localhost:38281/main.dart.js 7808:16 "00:00 +0: debug+Fill+Properties for widgets is tree shaken"
All tests passed.
Running "flutter pub get" in regular_integration_tests... 322ms
Launching test_driver/treeshaking_integration.dart on Web Server in profile mode...
Compiling test_driver/treeshaking_integration.dart for the Web... 18.3s
test_driver/treeshaking_integration.dart is being served at http://localhost:41261
The web-server device requires the Dart Debug Chrome extension for debugging. Consider using the Chrome or Edge devices for an improved
development workflow.
Application finished.
[INFO]: http://localhost:41261/main.dart.js 5896:16 "00:00 +0: debug+Fill+Properties for widgets is tree shaken"
All tests passed.
Running "flutter pub get" in regular_integration_tests... 322ms
Launching test_driver/scroll_wheel_integration.dart on Web Server in debug mode...
../../../.dart_tool/flutter/packages/flutter_test/lib/src/window.dart:158:66: Warning: Operand of null-aware operation '!' has type 'Locale'
which excludes null.
- 'Locale' is from 'dart:ui'.
ui.Locale get locale => _localeTestValue ?? platformDispatcher.locale!;
^
../../../.dart_tool/flutter/packages/flutter_test/lib/src/window.dart:173:74: Warning: Operand of null-aware operation '!' has type
'List<Locale>' which excludes null.
- 'List' is from 'dart:core'.
- 'Locale' is from 'dart:ui'.
List<ui.Locale> get locales => _localesTestValue ?? platformDispatcher.locales!;
^
Syncing files to device Web Server... 13.1s
test_driver/scroll_wheel_integration.dart is being served at http://localhost:43189
The web-server device requires the Dart Debug Chrome extension for debugging. Consider using the Chrome or Edge devices for an improved
development workflow.
Application finished.
Running "flutter pub get" in regular_integration_tests... 332ms
Launching test_driver/scroll_wheel_integration.dart on Web Server in profile mode...
Compiling test_driver/scroll_wheel_integration.dart for the Web... 19.3s
test_driver/scroll_wheel_integration.dart is being served at http://localhost:42935
The web-server device requires the Dart Debug Chrome extension for debugging. Consider using the Chrome or Edge devices for an improved
development workflow.
Application finished.
Running "flutter pub get" in regular_integration_tests... 323ms
Launching test_driver/scroll_wheel_integration.dart on Web Server in debug mode...
../../../.dart_tool/flutter/packages/flutter_test/lib/src/window.dart:158:66: Warning: Operand of null-aware operation '!' has type 'Locale'
which excludes null.
- 'Locale' is from 'dart:ui'.
ui.Locale get locale => _localeTestValue ?? platformDispatcher.locale!;
^
../../../.dart_tool/flutter/packages/flutter_test/lib/src/window.dart:173:74: Warning: Operand of null-aware operation '!' has type
'List<Locale>' which excludes null.
- 'List' is from 'dart:core'.
- 'Locale' is from 'dart:ui'.
List<ui.Locale> get locales => _localesTestValue ?? platformDispatcher.locales!;
^
Syncing files to device Web Server... 13.1s
test_driver/scroll_wheel_integration.dart is being served at http://localhost:40077
The web-server device requires the Dart Debug Chrome extension for debugging. Consider using the Chrome or Edge devices for an improved
development workflow.
Application finished.
Running "flutter pub get" in regular_integration_tests... 331ms
Launching test_driver/scroll_wheel_integration.dart on Web Server in profile mode...
Compiling test_driver/scroll_wheel_integration.dart for the Web... 18.9s
test_driver/scroll_wheel_integration.dart is being served at http://localhost:43677
The web-server device requires the Dart Debug Chrome extension for debugging. Consider using the Chrome or Edge devices for an improved
development workflow.
Application finished.
Running "flutter pub get" in regular_integration_tests... 326ms
Launching test_driver/platform_messages_integration.dart on Web Server in debug mode...
../../../.dart_tool/flutter/packages/flutter_test/lib/src/window.dart:158:66: Warning: Operand of null-aware operation '!' has type 'Locale'
which excludes null.
- 'Locale' is from 'dart:ui'.
ui.Locale get locale => _localeTestValue ?? platformDispatcher.locale!;
^
../../../.dart_tool/flutter/packages/flutter_test/lib/src/window.dart:173:74: Warning: Operand of null-aware operation '!' has type
'List<Locale>' which excludes null.
- 'List' is from 'dart:core'.
- 'Locale' is from 'dart:ui'.
List<ui.Locale> get locales => _localesTestValue ?? platformDispatcher.locales!;
^
Syncing files to device Web Server... 12.8s
test_driver/platform_messages_integration.dart is being served at http://localhost:42121
The web-server device requires the Dart Debug Chrome extension for debugging. Consider using the Chrome or Edge devices for an improved
development workflow.
Application finished.
[INFO]: http://localhost:42121/dart_sdk.js 26818:14 "00:00 +0: platform message for Clipboard.setData reply with future"
[INFO]: http://localhost:42121/dart_sdk.js 26818:14 "00:00 +0 ~1: Should create and dispose view embedder"
[INFO]: http://localhost:42121/dart_sdk.js 26818:14 "00:00 +1 ~1: (tearDownAll)"
[INFO]: http://localhost:42121/dart_sdk.js 26818:14 "Warning: integration_test test plugin was not detected."
[INFO]: http://localhost:42121/dart_sdk.js 26818:14 "00:00 +2 ~1: All tests passed!"
All tests passed.
Running "flutter pub get" in regular_integration_tests... 330ms
Launching test_driver/platform_messages_integration.dart on Web Server in profile mode...
Compiling test_driver/platform_messages_integration.dart for the Web... 20.0s
test_driver/platform_messages_integration.dart is being served at http://localhost:34331
The web-server device requires the Dart Debug Chrome extension for debugging. Consider using the Chrome or Edge devices for an improved
development workflow.
Application finished.
[INFO]: http://localhost:34331/main.dart.js 7994:16 "00:00 +0: platform message for Clipboard.setData reply with future"
[INFO]: http://localhost:34331/main.dart.js 7994:16 "00:00 +0 ~1: Should create and dispose view embedder"
All tests passed.
Running "flutter pub get" in regular_integration_tests... 327ms
Launching test_driver/platform_messages_integration.dart on Web Server in debug mode...
../../../.dart_tool/flutter/packages/flutter_test/lib/src/window.dart:158:66: Warning: Operand of null-aware operation '!' has type 'Locale'
which excludes null.
- 'Locale' is from 'dart:ui'.
ui.Locale get locale => _localeTestValue ?? platformDispatcher.locale!;
^
../../../.dart_tool/flutter/packages/flutter_test/lib/src/window.dart:173:74: Warning: Operand of null-aware operation '!' has type
'List<Locale>' which excludes null.
- 'List' is from 'dart:core'.
- 'Locale' is from 'dart:ui'.
List<ui.Locale> get locales => _localesTestValue ?? platformDispatcher.locales!;
^
Syncing files to device Web Server... 13.2s
test_driver/platform_messages_integration.dart is being served at http://localhost:38457
The web-server device requires the Dart Debug Chrome extension for debugging. Consider using the Chrome or Edge devices for an improved
development workflow.
Application finished.
[INFO]: http://localhost:38457/dart_sdk.js 26818:14 "00:00 +0: platform message for Clipboard.setData reply with future"
[INFO]: http://localhost:38457/dart_sdk.js 26818:14 "00:00 +0 ~1: Should create and dispose view embedder"
[INFO]: http://localhost:38457/dart_sdk.js 26818:14 "00:00 +1 ~1: (tearDownAll)"
[INFO]: http://localhost:38457/dart_sdk.js 26818:14 "Warning: integration_test test plugin was not detected."
[INFO]: http://localhost:38457/dart_sdk.js 26818:14 "00:00 +2 ~1: All tests passed!"
All tests passed.
Running "flutter pub get" in regular_integration_tests... 331ms
Launching test_driver/platform_messages_integration.dart on Web Server in profile mode...
Compiling test_driver/platform_messages_integration.dart for the Web... 19.7s
test_driver/platform_messages_integration.dart is being served at http://localhost:38809
The web-server device requires the Dart Debug Chrome extension for debugging. Consider using the Chrome or Edge devices for an improved
development workflow.
Application finished.
[INFO]: http://localhost:38809/main.dart.js 5952:16 "00:00 +0: platform message for Clipboard.setData reply with future"
[INFO]: http://localhost:38809/main.dart.js 5952:16 "00:00 +0 ~1: Should create and dispose view embedder"
[INFO]: http://localhost:38809/main.dart.js 5952:16 "00:00 +1 ~1: (tearDownAll)"
All tests passed.
Running "flutter pub get" in regular_integration_tests... 334ms
Launching test_driver/profile_diagnostics_integration.dart on Web Server in debug mode...
../../../.dart_tool/flutter/packages/flutter_test/lib/src/window.dart:158:66: Warning: Operand of null-aware operation '!' has type 'Locale'
which excludes null.
- 'Locale' is from 'dart:ui'.
ui.Locale get locale => _localeTestValue ?? platformDispatcher.locale!;
^
../../../.dart_tool/flutter/packages/flutter_test/lib/src/window.dart:173:74: Warning: Operand of null-aware operation '!' has type
'List<Locale>' which excludes null.
- 'List' is from 'dart:core'.
- 'Locale' is from 'dart:ui'.
List<ui.Locale> get locales => _localesTestValue ?? platformDispatcher.locales!;
^
Syncing files to device Web Server... 13.1s
test_driver/profile_diagnostics_integration.dart is being served at http://localhost:34315
The web-server device requires the Dart Debug Chrome extension for debugging. Consider using the Chrome or Edge devices for an improved
development workflow.
Application finished.
All tests passed.
Running "flutter pub get" in regular_integration_tests... 332ms
Launching test_driver/profile_diagnostics_integration.dart on Web Server in profile mode...
Compiling test_driver/profile_diagnostics_integration.dart for the Web... 14.8s
test_driver/profile_diagnostics_integration.dart is being served at http://localhost:35847
The web-server device requires the Dart Debug Chrome extension for debugging. Consider using the Chrome or Edge devices for an improved
development workflow.
Application finished.
[INFO]: http://localhost:35847/main.dart.js 7173:16 "00:00 +0: App build method exception should form valid FlutterErrorDetails"
All tests passed.
Running "flutter pub get" in regular_integration_tests... 331ms
Launching test_driver/profile_diagnostics_integration.dart on Web Server in debug mode...
../../../.dart_tool/flutter/packages/flutter_test/lib/src/window.dart:158:66: Warning: Operand of null-aware operation '!' has type 'Locale'
which excludes null.
- 'Locale' is from 'dart:ui'.
ui.Locale get locale => _localeTestValue ?? platformDispatcher.locale!;
^
../../../.dart_tool/flutter/packages/flutter_test/lib/src/window.dart:173:74: Warning: Operand of null-aware operation '!' has type
'List<Locale>' which excludes null.
- 'List' is from 'dart:core'.
- 'Locale' is from 'dart:ui'.
List<ui.Locale> get locales => _localesTestValue ?? platformDispatcher.locales!;
^
Syncing files to device Web Server... 12.8s
test_driver/profile_diagnostics_integration.dart is being served at http://localhost:41845
The web-server device requires the Dart Debug Chrome extension for debugging. Consider using the Chrome or Edge devices for an improved
development workflow.
Application finished.
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "00:00 +0: App build method exception should form valid FlutterErrorDetails"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "(The following exception is now available via WidgetTester.takeException:)"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "The following TypeErrorImpl was thrown building MyApp(dirty, state: MyAppState#cf515):"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "Expected a value of type 'int', but got one of type 'String'"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 ""
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "The relevant error-causing widget was:"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 " MyApp"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 " file:///home/yjbanov/code/flutter/engine/src/flutter/e2etests/web/regular_integration_tests/lib/profile_diagnostics_main.dart:8:10"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 ""
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "When the exception was thrown, this was the stack:"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 216:49 throw_"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 64:3 castError"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 442:10 cast"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/types.dart 423:9 as"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "packages/regular_integration_tests/profile_diagnostics_main.dart.js 87:25 build"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "packages/flutter/src/widgets/widget_span.dart.js 49015:25 build"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "packages/flutter/src/widgets/widget_span.dart.js 26041:22 performRebuild"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "packages/flutter/src/widgets/widget_span.dart.js 49051:13 performRebuild"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "packages/flutter/src/widgets/widget_span.dart.js 25191:12 rebuild"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "packages/flutter/src/widgets/widget_span.dart.js 26030:12 [_firstBuild]"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "packages/flutter/src/widgets/widget_span.dart.js 49044:25 [_firstBuild]"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "packages/flutter/src/widgets/widget_span.dart.js 26026:24 mount"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "packages/flutter/src/widgets/widget_span.dart.js 24776:16 inflateWidget"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "packages/flutter/src/widgets/widget_span.dart.js 24632:27 updateChild"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "packages/flutter/src/widgets/widget_span.dart.js 51762:33 [_rebuild]"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "packages/flutter/src/widgets/widget_span.dart.js 51749:24 update"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "packages/flutter/src/widgets/widget_span.dart.js 51755:16 performRebuild"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "packages/flutter/src/widgets/widget_span.dart.js 25191:12 rebuild"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "packages/flutter/src/widgets/widget_span.dart.js 48636:48 buildScope"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "packages/flutter/src/widgets/widget_span.dart.js 51499:77 drawFrame"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "packages/flutter/src/rendering/layer.dart.js 6021:12 [_handlePersistentFrameCallback]"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "packages/flutter/src/scheduler/binding.dart.js 766:9 [_invokeFrameCallback]"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "packages/flutter/src/scheduler/binding.dart.js 734:37 handleDrawFrame"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "packages/flutter_test/src/_matchers_web.dart.js 4362:57 handleDrawFrame"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "packages/flutter/src/scheduler/binding.dart.js 689:12 [_handleDrawFrame]"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "lib/_engine/engine/platform_dispatcher.dart 892:13 invoke"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "lib/_engine/engine/platform_dispatcher.dart 145:5 invokeOnDrawFrame"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "lib/_engine/engine.dart 244:45 \u003Cfn>"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "packages/stack_trace/src/stack_zone_specification.dart.js 161:98 \u003Cfn>"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "packages/stack_trace/src/stack_zone_specification.dart.js 229:16 [_run]"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "packages/stack_trace/src/stack_zone_specification.dart.js 161:80 \u003Cfn>"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "dart-sdk/lib/async/zone.dart 1206:13 _rootRunUnary"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "dart-sdk/lib/async/zone.dart 1100:19 runUnary"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "dart-sdk/lib/async/zone.dart 1005:7 runUnaryGuarded"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "dart-sdk/lib/async/zone.dart 1042:26 \u003Cfn>"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 ""
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "════════════════════════════════════════════════════════════════════════════════════════════════════"
[INFO]: http://localhost:41845/dart_sdk.js 26818:14 "(If WidgetTester.takeException is called, the above exception will be ignored. If it is not, then the above exception will be dumped when another exception is caught by the framework or when the test ends, whichever happens first, and then the test will fail due to having not caught or expected the exception.)"
All tests passed.
Running "flutter pub get" in regular_integration_tests... 319ms
Launching test_driver/profile_diagnostics_integration.dart on Web Server in profile mode...
Compiling test_driver/profile_diagnostics_integration.dart for the Web... 14.6s
test_driver/profile_diagnostics_integration.dart is being served at http://localhost:41363
The web-server device requires the Dart Debug Chrome extension for debugging. Consider using the Chrome or Edge devices for an improved
development workflow.
Application finished.
[INFO]: http://localhost:41363/main.dart.js 5747:16 "00:00 +0: App build method exception should form valid FlutterErrorDetails"
[INFO]: http://localhost:41363/main.dart.js 5747:16 "(The following exception is now available via WidgetTester.takeException:)"
[INFO]: http://localhost:41363/main.dart.js 5747:16 "TypeError: \"ABC\": type 'JSString' is not a subtype of type 'int'"
[INFO]: http://localhost:41363/main.dart.js 5747:16 " at Object.wrapException (http://localhost:41363/main.dart.js:3321:17)"
[INFO]: http://localhost:41363/main.dart.js 5747:16 " at Object._asIntS (http://localhost:41363/main.dart.js:4759:15)"
[INFO]: http://localhost:41363/main.dart.js 5747:16 " at StatefulElement.build$0 (http://localhost:41363/main.dart.js:48678:17)"
[INFO]: http://localhost:41363/main.dart.js 5747:16 " at StatefulElement.performRebuild$0 (http://localhost:41363/main.dart.js:48572:23)"
[INFO]: http://localhost:41363/main.dart.js 5747:16 " at StatefulElement.performRebuild$0 (http://localhost:41363/main.dart.js:48693:12)"
[INFO]: http://localhost:41363/main.dart.js 5747:16 " at StatefulElement.rebuild$0 (http://localhost:41363/main.dart.js:48501:12)"
[INFO]: http://localhost:41363/main.dart.js 5747:16 " at StatefulElement._firstBuild$0 (http://localhost:41363/main.dart.js:48563:12)"
[INFO]: http://localhost:41363/main.dart.js 5747:16 " at StatefulElement._firstBuild$0 (http://localhost:41363/main.dart.js:48688:12)"
[INFO]: http://localhost:41363/main.dart.js 5747:16 " at StatefulElement.mount$2 (http://localhost:41363/main.dart.js:48560:12)"
[INFO]: http://localhost:41363/main.dart.js 5747:16 " at RenderObjectToWidgetElement.inflateWidget$2 (http://localhost:41363/main.dart.js:48386:16)"
[INFO]: http://localhost:41363/main.dart.js 5747:16 "(If WidgetTester.takeException is called, the above exception will be ignored. If it is not, then the above exception will be dumped when another exception is caught by the framework or when the test ends, whichever happens first, and then the test will fail due to having not caught or expected the exception.)"
All tests passed.
Running "flutter pub get" in regular_integration_tests... 330ms
Launching test_driver/image_loading_integration.dart on Web Server in debug mode...
../../../.dart_tool/flutter/packages/flutter_test/lib/src/window.dart:158:66: Warning: Operand of null-aware operation '!' has type 'Locale'
which excludes null.
- 'Locale' is from 'dart:ui'.
ui.Locale get locale => _localeTestValue ?? platformDispatcher.locale!;
^
../../../.dart_tool/flutter/packages/flutter_test/lib/src/window.dart:173:74: Warning: Operand of null-aware operation '!' has type
'List<Locale>' which excludes null.
- 'List' is from 'dart:core'.
- 'Locale' is from 'dart:ui'.
List<ui.Locale> get locales => _localesTestValue ?? platformDispatcher.locales!;
^
Syncing files to device Web Server... 13.2s
test_driver/image_loading_integration.dart is being served at http://localhost:33501
The web-server device requires the Dart Debug Chrome extension for debugging. Consider using the Chrome or Edge devices for an improved
development workflow.
Application finished.
[INFO]: http://localhost:33501/dart_sdk.js 26818:14 "00:00 +0: Image loads asset variant based on device pixel ratio"
[INFO]: http://localhost:33501/dart_sdk.js 26818:14 "00:00 +1: (tearDownAll)"
[INFO]: http://localhost:33501/dart_sdk.js 26818:14 "Warning: integration_test test plugin was not detected."
[INFO]: http://localhost:33501/dart_sdk.js 26818:14 "00:00 +2: All tests passed!"
All tests passed.
Running "flutter pub get" in regular_integration_tests... 323ms
Launching test_driver/image_loading_integration.dart on Web Server in profile mode...
Compiling test_driver/image_loading_integration.dart for the Web... 18.7s
test_driver/image_loading_integration.dart is being served at http://localhost:43409
The web-server device requires the Dart Debug Chrome extension for debugging. Consider using the Chrome or Edge devices for an improved
development workflow.
Application finished.
[INFO]: http://localhost:43409/main.dart.js 7885:16 "00:00 +0: Image loads asset variant based on device pixel ratio"
All tests passed.
Running "flutter pub get" in regular_integration_tests... 327ms
Launching test_driver/text_editing_integration.dart on Web Server in profile mode...
Compiling test_driver/text_editing_integration.dart for the Web... 20.4s
test_driver/text_editing_integration.dart is being served at http://localhost:35923
The web-server device requires the Dart Debug Chrome extension for debugging. Consider using the Chrome or Edge devices for an improved
development workflow.
Application finished.
[INFO]: http://localhost:35923/main.dart.js 7994:16 "00:00 +0: Focused text field creates a native input element"
result {"result":"true","failureDetails":[]}
All tests passed.
Running "flutter pub get" in regular_integration_tests... 327ms
Launching test_driver/text_editing_integration.dart on Web Server in profile mode...
Compiling test_driver/text_editing_integration.dart for the Web... 19.7s
test_driver/text_editing_integration.dart is being served at http://localhost:41897
The web-server device requires the Dart Debug Chrome extension for debugging. Consider using the Chrome or Edge devices for an improved
development workflow.
Application finished.
[INFO]: http://localhost:41897/main.dart.js 5952:16 "00:00 +0: Focused text field creates a native input element"
ERROR: Golden file focused_text_field-chrome.png did not match the image generated by the test.
(0.9937% of pixels were different. Maximum allowed rate is: 0.5000%).
You can view the test report in your browser by opening:
/home/yjbanov/code/flutter/engine/src/flutter/lib/web_ui/.dart_tool/test_results/focused_text_field-chrome.report.html
To update the golden file call matchGoldenFile('focused_text_field-chrome.png', write: true).
Golden file: /home/yjbanov/code/flutter/engine/src/flutter/lib/web_ui/.dart_tool/test_results/focused_text_field-chrome.expected.png
Actual file: /home/yjbanov/code/flutter/engine/src/flutter/lib/web_ui/.dart_tool/test_results/focused_text_field-chrome.actual.png
result {"result":"false","failureDetails":["{\"methodName\":\"Focused text field creates a native input element\",\"details\":\"\"}"]}
Failure Details:
Failure in method: Focused text field creates a native input element
end of failure 1
ERROR: Failed to run test. Exited with exit code 1. To run text_editing_integration.dart locally use the following command:
flutter drive --target=test_driver/text_editing_integration.dart -d web-server --profile --browser-name=chrome --local-engine=host_debug_unopt --web-renderer=canvaskit
INFO: 20 tests run. 0 passed and 0 failed.
Unhandled exception:
Bad state: ERROR: pubspec.yaml file not found in the test project in the directory /home/yjbanov/code/flutter/engine/src/flutter/e2etests/web/.dart_tool.
#0 IntegrationTestsManager._validateTestDirectory (file:///home/yjbanov/code/flutter/engine/src/flutter/lib/web_ui/dev/integration_tests_manager.dart:288:7)
#1 IntegrationTestsManager._validateAndRunTests (file:///home/yjbanov/code/flutter/engine/src/flutter/lib/web_ui/dev/integration_tests_manager.dart:107:5)
#2 IntegrationTestsManager._runTests (file:///home/yjbanov/code/flutter/engine/src/flutter/lib/web_ui/dev/integration_tests_manager.dart:93:50)
<asynchronous suspension>
#3 IntegrationTestsManager.runTests (file:///home/yjbanov/code/flutter/engine/src/flutter/lib/web_ui/dev/integration_tests_manager.dart:37:20)
<asynchronous suspension>
#4 TestCommand.runIntegrationTests (file:///home/yjbanov/code/flutter/engine/src/flutter/lib/web_ui/dev/test_runner.dart:178:10)
<asynchronous suspension>
#5 TestCommand.run (file:///home/yjbanov/code/flutter/engine/src/flutter/lib/web_ui/dev/test_runner.dart:153:16)
#6 CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#7 CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:112:25)
#8 new Future.sync (dart:async/future.dart:223:31)
#9 CommandRunner.run (package:args/command_runner.dart:112:14)
#10 main (file:///home/yjbanov/code/flutter/engine/src/flutter/lib/web_ui/dev/felt.dart:39:39)
#11 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:309:32)
#12 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment