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

Specify allowed Macmini models#41219

Merged
auto-submit[bot] merged 4 commits into
mainfrom
zanderso-patch-5
Apr 14, 2023
Merged

Specify allowed Macmini models#41219
auto-submit[bot] merged 4 commits into
mainfrom
zanderso-patch-5

Conversation

@zanderso

Copy link
Copy Markdown
Contributor

This excludes Macmini7,1.

Fixes flutter/flutter#124877

@zanderso

Copy link
Copy Markdown
Contributor Author

It looks like a string is expected, not a map:

FormatException: Protobuf JSON decoding failed at: root["platform_properties"]["mac"]["properties"]["dimensions"]. Expected String value

@godofredoc

Copy link
Copy Markdown
Contributor

It looks like a string is expected, not a map:

FormatException: Protobuf JSON decoding failed at: root["platform_properties"]["mac"]["properties"]["dimensions"]. Expected String value

The error is coming from the .ci.yaml proto https://cs.opensource.google/flutter/cocoon/+/main:app_dart/lib/src/model/ci_yaml/target.dart;l=40, seems like some changes are going to be needed in the cocoon scheduler.

Comment thread .ci.yaml Outdated
xcode: 14a5294e # xcode 14.0 beta 5
dimensions:
mac_model: >-
["Macmini8,1", "Macmini9.1"]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It seems like mac_model: "Macmini8,1|Macmini9.1" would do the trick

Comment thread .ci.yaml Outdated
os: Mac-12
xcode: 14a5294e # xcode 14.0 beta 5
dimensions:
mac_model: "Macmini8,1|Macmini9.1"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
mac_model: "Macmini8,1|Macmini9.1"
mac_model: "Macmini8,1|Macmini9,1"

@godofredoc

Copy link
Copy Markdown
Contributor

Seems like things are working as expected:
image

@godofredoc godofredoc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the change!

@zanderso

Copy link
Copy Markdown
Contributor Author

👍🏻 No worries. It would be great if this could be self-service, but I think the documentation needs a lot of improvements before that's realistic.

@ricardoamador ricardoamador left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@zanderso zanderso added the autosubmit Merge PR when tree becomes green via auto submit App label Apr 14, 2023
@ricardoamador

Copy link
Copy Markdown
Contributor

@zanderso are you referring to the ciyaml readme? If so I can open a follow up task to add more detail.

@zanderso

zanderso commented Apr 14, 2023

Copy link
Copy Markdown
Contributor Author

@zanderso are you referring to the ciyaml readme? If so I can open a follow up task to add more detail.

Yeah, it would be great to get something like a schema for the file, what fields can go where, what their types and values can be, etc.. And of course what effects they actually have on CI.

@ricardoamador

ricardoamador commented Apr 14, 2023

Copy link
Copy Markdown
Contributor

Okay cool! I will open an infra ticket for that.

Created: flutter/flutter#124893 for tracking ci.yaml updates.

@jmagman

jmagman commented Apr 14, 2023

Copy link
Copy Markdown
Contributor

You could also remove the Macmini8,1 dimensions on this change. Example:
https://github.com/flutter/engine/blob/4ce42fed490418d13da5b5b48b8e36e583dc0ec5/.ci.yaml#L342

@jmagman

jmagman commented Apr 14, 2023

Copy link
Copy Markdown
Contributor

You could also remove the Macmini8,1 dimensions on this change. Example:

https://github.com/flutter/engine/blob/4ce42fed490418d13da5b5b48b8e36e583dc0ec5/.ci.yaml#L342

On it: #41223

engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 14, 2023
auto-submit Bot pushed a commit to flutter/flutter that referenced this pull request Apr 15, 2023
flutter-team-archive/engine@e9739bc...f794529

2023-04-14 magder@google.com Change v2 `mac_unopt` orchestrator builder to Linux (flutter-team-archive/engine#41184)
2023-04-14 zanderso@users.noreply.github.com Specify allowed Macmini models (flutter-team-archive/engine#41219)
2023-04-14 godofredoc@google.com Migrate mac_host_engine to engine v2 builds. (flutter-team-archive/engine#41149)
2023-04-14 magder@google.com Remove cores dimension from Mac Host clang-tidy (flutter-team-archive/engine#41214)
2023-04-14 magder@google.com Run mac_host_engine orchestrator on arm Macs (flutter-team-archive/engine#41185)

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 jacksongardner@google.com,rmistry@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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
exaby73 pushed a commit to NevercodeHQ/flutter that referenced this pull request Apr 17, 2023
…4900)

flutter-team-archive/engine@e9739bc...f794529

2023-04-14 magder@google.com Change v2 `mac_unopt` orchestrator builder to Linux (flutter-team-archive/engine#41184)
2023-04-14 zanderso@users.noreply.github.com Specify allowed Macmini models (flutter-team-archive/engine#41219)
2023-04-14 godofredoc@google.com Migrate mac_host_engine to engine v2 builds. (flutter-team-archive/engine#41149)
2023-04-14 magder@google.com Remove cores dimension from Mac Host clang-tidy (flutter-team-archive/engine#41214)
2023-04-14 magder@google.com Run mac_host_engine orchestrator on arm Macs (flutter-team-archive/engine#41185)

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 jacksongardner@google.com,rmistry@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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
auto-submit Bot pushed a commit that referenced this pull request May 2, 2023
…imension (#41223)

As of #41219 all the .ci.yaml builders will run on either Macmini8,1 (x64) or Macmini9,1 (arm).  Stop specifying `Macmini8,1` on individual builders and let the specified architecture be the deciding factor.

Reverts #41203
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

Development

Successfully merging this pull request may close these issues.

Do not Macmini 7,1 (Intel Iris 5100) to run engine tests

5 participants