Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Switch some mac_unopt tests from intel to arm hosts #55882

Merged
merged 6 commits into from
Oct 28, 2024
Merged

Conversation

zanderso
Copy link
Member

No description provided.

Copy link
Member

@gaaclarke gaaclarke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to do this, like is there a prevalence of x64 machines in the pool and moving to arm64 will create a new bottleneck?

@@ -505,7 +505,8 @@ def make_test(name, flags=None, extra_env=None):
# flutter_desktop_darwin_unittests uses global state that isn't handled
# correctly by gtest-parallel.
# https://github.com/flutter/flutter/issues/104789
if not os.path.basename(build_dir).startswith('host_debug'):
variant = os.path.basename(build_dir)
if not variant.startswith('host_debug') and 'arm64' not in variant:
# Test is disabled for flaking in debug runs:
# https://github.com/flutter/flutter/issues/127441
run_engine_executable(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So these are effectively not run by CI anymore right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup. I don't have time to do this, but the right thing to do would be to split off the desktop unit tests to continue running on an intel machine.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or make them run on arm64. Is there an issue for why they can't run on arm64?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ran them locally on an arm64 machine in debug builds (without gtest-parallel) 5 times and they seem to work.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reproduced the error by forking this PR (weird the old result wasn't still available): flutter/flutter#157205

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a fix in review for these tests: #55990

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gaaclarke I see that PR landed. Is it possible to remove one or both of these guards now?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm testing it here: #55968

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zanderso It passed, you are good to rip out that change to run_tests.py

@zanderso
Copy link
Member Author

Do we want to do this, like is there a prevalence of x64 machines in the pool and moving to arm64 will create a new bottleneck?

There are about equal numbers. It might create a bottleneck, but I suspect that long queue times are a better trade-off than flaky tests.

@zanderso
Copy link
Member Author

I'm going to shift this to a draft while some internal retries are investigated.

@zanderso zanderso marked this pull request as draft October 23, 2024 20:52
@zanderso zanderso marked this pull request as ready for review October 28, 2024 15:46
@chinmaygarde chinmaygarde added the autosubmit Merge PR when tree becomes green via auto submit App label Oct 28, 2024
@auto-submit auto-submit bot merged commit 1af2217 into main Oct 28, 2024
32 checks passed
@auto-submit auto-submit bot deleted the zanderso-patch-5 branch October 28, 2024 18:06
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 28, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 28, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 28, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Oct 28, 2024
…157751)

flutter/engine@70671ba...ed587dc

2024-10-28 skia-flutter-autoroll@skia.org Roll Dart SDK from 69b50768d733 to c9180e9de9e8 (1 revision) (flutter/engine#56180)
2024-10-28 jonahwilliams@google.com [Impeller] fix initial layout for loadOp load and incorrect usage of host visible textures. (flutter/engine#56148)
2024-10-28 skia-flutter-autoroll@skia.org Roll Skia from 21035cd95b68 to bdd225968dab (1 revision) (flutter/engine#56178)
2024-10-28 chris@bracken.jp iOS/macOS: migrate darwin/common to ARC (flutter/engine#56155)
2024-10-28 98614782+auto-submit[bot]@users.noreply.github.com Reverts "Pin local_engine mac builds to arm64 (#56172)" (flutter/engine#56179)
2024-10-28 chris@bracken.jp Migrate PlatformViewIOS to ARC (flutter/engine#55672)
2024-10-28 skia-flutter-autoroll@skia.org Roll Skia from 35ad4e89212f to 21035cd95b68 (1 revision) (flutter/engine#56176)
2024-10-28 aam@google.com Roll buildroot to pick up revert of debugging gen_snapshot prints (flutter/engine#56175)
2024-10-28 zanderso@users.noreply.github.com Pin local_engine mac builds to arm64 (flutter/engine#56172)
2024-10-28 zanderso@users.noreply.github.com Switch some mac_unopt tests from intel to arm hosts (flutter/engine#55882)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC codefu@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: 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
nick9822 pushed a commit to nick9822/flutter that referenced this pull request Dec 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants