Repository navigation
Skip Vulkan impeller_unittests on macOS - #196282
Conversation
| # and already runs on Linux. | ||
| '--gtest_filter=-*OpenGLES:*OpenGLESSDF:*Vulkan*', | ||
| ] | ||
| # Impeller tests are only supported on macOS for now. |
There was a problem hiding this comment.
This comment is stale flutter-team-archive/engine#50558
There was a problem hiding this comment.
Code Review
This pull request updates run_tests.py to skip Vulkan tests in mac_impeller_unittests_flags since Vulkan runs on Linux using SwiftShader. It also removes the --enable_vulkan_validation flag. A review comment suggests further cleaning up the environment setup by removing the unused Vulkan validation environment update.
gaaclarke
left a comment
There was a problem hiding this comment.
This looks good, can you link to the linux runs in the description?
If I'm not mistaken we might also be removing release build tests with this PR too since they were macos only. Can we add those to linux? It's probably worth keeping those.
Done.
Good call, I'll add them. |
|
CI had a failure that stopped further tests from running. We need to investigate to determine the root cause. SHA at time of execution: 8d8ece3. Possible causes:
A blank commit, or merging to head, will be required to resume running CI for this PR. Error Details: Stack trace: |
8d8ece3 to
5e763d9
Compare
|
friendly reminder: It looks like you may have addressed my feedback but didn't hit the "Rerequest review" button. When you want me to take another look please hit that button =) Maybe I'm imagining it but I think some teams don't do that? |
I would have, just needed to get out of a wall of meetings and back to Real Work. 😛 |
|
autosubmit label was removed for flutter/flutter/196282, because - The status or check suite Google testing has failed. Please fix the issues identified (or deflake) before re-applying this label. |
Vulkan on the Mac bots is SwiftShader with the validation layer, the same configuration the Linux impeller tests already run for every Vulkan test. It is 76 of the 108 CPU-minutes of impeller_unittests on mac_host_debug_unopt_arm64. Keep Metal, the macOS-only coverage. impeller_unittests on mac_host_debug_unopt_arm64 goes from 13.6 to about 4 minutes, and proportionally on the debug, profile, and release host test builders.
3f6874a to
ba0bbcf
Compare
|
Rebased onto #196314 |
flutter/flutter@d8bd864...2f09f96 2026-11-17 [email protected] Analyze every flutter create template, and fix the package_ffi lint (flutter/flutter#196165) 2026-11-17 [email protected] Roll Dart SDK from 50debf3c9757 to 26e38955d9d4 (3 revisions) (flutter/flutter#196772) 2026-11-17 [email protected] Manual roll ICU from b09986242cfb to d3c612f44146 (1 revision) (flutter/flutter#196713) 2026-11-17 [email protected] Roll Skia from 4f6b3a8d8565 to 503a380ebecc (19 revisions) (flutter/flutter#196768) 2026-11-17 [email protected] iOS: Don't mock UIView animations in keyboard spring animation test (flutter/flutter#196755) 2026-11-17 [email protected] [flutter_tools] Preserve index.html across --web-content-hash transitions (flutter/flutter#196491) 2026-11-17 [email protected] Fix TextStyle background color fade-out when lerping to null (flutter/flutter#196153) 2026-11-17 [email protected] Update desktop engine TESTOWNERS (flutter/flutter#196732) 2026-11-17 [email protected] [flutter_tools] Do not copy app-only build type properties onto library plugins (flutter/flutter#196692) 2026-11-17 [email protected] [flutter_tools] Remove service and runner ambient context getters (flutter/flutter#196571) 2026-11-17 [email protected] Bump customer tests (flutter/flutter#196740) 2026-11-17 [email protected] Take customer_testing_flame out of bringup (flutter/flutter#196570) 2026-11-17 [email protected] [devicelab] Read AssetManifest.bin from the APK in flavors_test (flutter/flutter#196736) 2026-11-17 [email protected] [flutter_tools] Fix flaky tool_tests_general by moving spawnUri tests to integration shard (flutter/flutter#195999) 2026-11-17 [email protected] Roll Dart SDK from 3e069c6fdbde to 50debf3c9757 (2 revisions) (flutter/flutter#196706) 2026-11-16 [email protected] [web] Record build finish synchronously in renderScene and fix dropped frame timings (flutter/flutter#195947) 2026-11-16 [email protected] Do not reveal obscured character when input is rejected by inputFormatters (flutter/flutter#195022) 2026-11-16 [email protected] Cla draft follow up: add waiting for response (flutter/flutter#196686) 2026-11-16 [email protected] Roll pub packages (flutter/flutter#196684) 2026-11-16 [email protected] Roll Packages from 015df97 to 4c6a7d3 (8 revisions) (flutter/flutter#196681) 2026-11-16 [email protected] Skip Vulkan impeller_unittests on macOS (flutter/flutter#196282) 2026-11-16 [email protected] Move the task runners out of Flutter Engine (flutter/flutter#196267) 2026-11-16 [email protected] [FGP] Add Flutter assets after AGP's asset merge so dotfiles are pack… (flutter/flutter#196465) 2026-11-16 [email protected] iOS: Add Obj-C model for platform view composition params (flutter/flutter#196498) 2026-11-16 [email protected] [Windows] Normalize Shift key messages with a non-standard scan code (flutter/flutter#193675) 2026-11-16 [email protected] Roll Skia from 118eaff3deb4 to 4f6b3a8d8565 (3 revisions) (flutter/flutter#196672) 2026-11-16 [email protected] Roll Dart SDK from c91e8b6674e2 to 3e069c6fdbde (4 revisions) (flutter/flutter#196669) If this roll has caused a breakage, revert this CL and set the roller to dry run mode using the controls here: https://autoroll.skia.org/r/flutter-packages Please CC [email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
The branch was rebased onto master (752015c), which dropped its three merges of master. Those merges held the conflict resolutions and the regenerated lock files and converter output, and the conflicts of the replayed commits were resolved in favour of the replayed commit. So the commits below this one are not expected to build on this base. This commit restores what the merges held and adds what master's 94 commits since need. Its tree is the tree of a merge of the same master into the branch as it was before the rebase, and that tree was checked: gn_to_bazel's tests (301) and --check, check_build_configs.sh, check_generated_bazel_files.sh, bazel_ci_test.py (23), engine_build_configs (84), bazel_tools (46), buildifier, tools/gn_test.py (7), ci/pylint.sh, ci/format.sh (its Python step through yapf directly), the analyzer over dev/bots and flutter_tools, dev/bots' tests (51) and the tool test files the branch touches (391 tests); Bazel analysis of ci_host_debug, of host_release_test, of //:tool_tests //:dart_tests, and of every Linux build under its own configuration (47). Nothing was compiled or run under Bazel on it. In it: - deps.lock.bzl for master's DEPS (the Skia, Dart and ICU rolls) and pub.lock.bzl for its pubspec.lock; the converter's output: builds.json, configs.bazelrc, ci/builders/BUILD.bazel and six generated BUILD.bazel files, lib/gpu's and shell/platform/darwin/ios's among them for the sources master added. - What the merges had ported: flutter#196282 (a Mac's impeller_unittests without the Vulkan variants, and --use-glfw-swiftshader in linux_host_engine_test.json) in bazel_mapping.dart, its test and wrapped_gn_builds.md. - New with this base: two calls in the tool tests the branch added get the arguments flutter#196572 made required (isLocalEngineBuilder for Cache, featureFlags for FlutterTesterDevice). The merge was clean as text; the analyzer found them. - Upstream's side of hunks both sides had changed: dev/bots (run_command.dart, utils.dart and run_command_test.dart, after flutter#196479), and the tool's test/runner.dart without the 559 lines flutter#196123 removed, which the replay of the branch's own change to that file had put back.
The branch was rebased onto master (752015c), which dropped its three merges of master. Those merges held the conflict resolutions and the regenerated lock files and converter output, and the conflicts of the replayed commits were resolved in favour of the replayed commit. So the commits below this one are not expected to build on this base. This commit restores what the merges held and adds what master's 94 commits since need. Its tree is the tree of a merge of the same master into the branch as it was before the rebase, and that tree was checked: gn_to_bazel's tests (301) and --check, check_build_configs.sh, check_generated_bazel_files.sh, bazel_ci_test.py (23), engine_build_configs (84), bazel_tools (46), buildifier, tools/gn_test.py (7), ci/pylint.sh, ci/format.sh (its Python step through yapf directly), the analyzer over dev/bots and flutter_tools, dev/bots' tests (51) and the tool test files the branch touches (391 tests); Bazel analysis of ci_host_debug, of host_release_test, of //:tool_tests //:dart_tests, and of every Linux build under its own configuration (47). Nothing was compiled or run under Bazel on it. In it: - deps.lock.bzl for master's DEPS (the Skia, Dart and ICU rolls) and pub.lock.bzl for its pubspec.lock; the converter's output: builds.json, configs.bazelrc, ci/builders/BUILD.bazel and six generated BUILD.bazel files, lib/gpu's and shell/platform/darwin/ios's among them for the sources master added. - What the merges had ported: flutter#196282 (a Mac's impeller_unittests without the Vulkan variants, and --use-glfw-swiftshader in linux_host_engine_test.json) in bazel_mapping.dart, its test and wrapped_gn_builds.md. - New with this base: two calls in the tool tests the branch added get the arguments flutter#196572 made required (isLocalEngineBuilder for Cache, featureFlags for FlutterTesterDevice). The merge was clean as text; the analyzer found them. - Upstream's side of hunks both sides had changed: dev/bots (run_command.dart, utils.dart and run_command_test.dart, after flutter#196479), and the tool's test/runner.dart without the 559 lines flutter#196123 removed, which the replay of the branch's own change to that file had put back.
The branch was rebased onto master (752015c), which dropped its three merges of master. Those merges held the conflict resolutions and the regenerated lock files and converter output, and the conflicts of the replayed commits were resolved in favour of the replayed commit. So the commits below this one are not expected to build on this base. This commit restores what the merges held and adds what master's 94 commits since need. Its tree is the tree of a merge of the same master into the branch as it was before the rebase, and that tree was checked: gn_to_bazel's tests (301) and --check, check_build_configs.sh, check_generated_bazel_files.sh, bazel_ci_test.py (23), engine_build_configs (84), bazel_tools (46), buildifier, tools/gn_test.py (7), ci/pylint.sh, ci/format.sh (its Python step through yapf directly), the analyzer over dev/bots and flutter_tools, dev/bots' tests (51) and the tool test files the branch touches (391 tests); Bazel analysis of ci_host_debug, of host_release_test, of //:tool_tests //:dart_tests, and of every Linux build under its own configuration (47). Nothing was compiled or run under Bazel on it. In it: - deps.lock.bzl for master's DEPS (the Skia, Dart and ICU rolls) and pub.lock.bzl for its pubspec.lock; the converter's output: builds.json, configs.bazelrc, ci/builders/BUILD.bazel and six generated BUILD.bazel files, lib/gpu's and shell/platform/darwin/ios's among them for the sources master added. - What the merges had ported: flutter#196282 (a Mac's impeller_unittests without the Vulkan variants, and --use-glfw-swiftshader in linux_host_engine_test.json) in bazel_mapping.dart, its test and wrapped_gn_builds.md. - New with this base: two calls in the tool tests the branch added get the arguments flutter#196572 made required (isLocalEngineBuilder for Cache, featureFlags for FlutterTesterDevice). The merge was clean as text; the analyzer found them. - Upstream's side of hunks both sides had changed: dev/bots (run_command.dart, utils.dart and run_command_test.dart, after flutter#196479), and the tool's test/runner.dart without the 559 lines flutter#196123 removed, which the replay of the branch's own change to that file had put back.
Skip the Vulkan
impeller_unittestson macOS. Vulkan there is SwiftShader with validation, the same configurationLinux linux_unopthas run for every Vulkan test since flutter-team-archive/engine#50558. Metal is the macOS-only coverage and still runs.Example Linux run: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8665483521497042033/+/u/test:_Host_Tests_for_host_debug_unopt_impeller_tests__2_/stdout
Linux only ran
impeller_unittestsin the debug unopt build, so to keep optimized Vulkan coverage,ci/host_profile_testandci/host_release_testnow run them too.Vulkan is ~76 of the ~108 CPU-min in this step, so
impeller_unittestsdrops from ~13.6 min to ~4 min on each Mac host builder:With #196278 as well,
impeller_unittestsonmac_host_debug_unopt_arm64goes from 13.6 to about 2 minutes.Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.
If this change needs to override an active code freeze, provide a comment explaining why. The code freeze workflow can be overridden by code reviewers. See pinned issues for any active code freezes with guidance.
Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the
gemini-code-assistbot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.