-
Notifications
You must be signed in to change notification settings - Fork 6k
Remove Linux orchestrator builds that only kick off one other build and wait #55186
Conversation
| recipe: engine_v2/builder | ||
| properties: | ||
| config_name: linux_android_emulator_skia | ||
| kvm: "1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copied from
| "kvm=1", |
| recipe: engine_v2/builder | ||
| properties: | ||
| config_name: linux_android_emulator_skia_34 | ||
| kvm: "1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copied from
| "kvm=1", |
.ci.yaml
Outdated
| recipe: engine_v2/engine_v2 | ||
| recipe: engine_v2/builder | ||
| properties: | ||
| cores: "32" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copied from
| "drone_dimensions": ["device_type=none", "os=Linux", "cores=32"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the magic "you get an emulator" right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, drone_dimensions in this case are properties that get passed to luci to decide which bots are eligible to run builds. If you open the "Infra" tab of a build you can see the input properties. For example

device_type=none means no physically tethered device (devicelab), os=Linux is self-explanatory, and cores=32 means the bot it runs on should have 32 cores.
Come to think of it though, I actually don't think the core=32 constraint is necessary for the clangd builder. It was introduced in #50901 and my guess is that it was copy/pasted from clang_tidy #43448.
Since this test runs really fast even on the default 8 core machine, I think we probably shouldn't use the more "valuable" 32-core bots (40 bots in the pool) vs the 8-core machines (240 in the pool). @matanlurey since this was a builder you created, wdyt?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, I definitely blindly copied this without thinking.
| - testing/skia_gold_client/** | ||
|
|
||
| - name: Linux linux_android_emulator_skia_tests | ||
| bringup: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested that this one works by removing bringup: true in an intermediate commit.
jtmcdole
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
.ci.yaml
Outdated
| recipe: engine_v2/engine_v2 | ||
| recipe: engine_v2/builder | ||
| properties: | ||
| cores: "32" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the magic "you get an emulator" right?
| "test_dependencies": [ | ||
| { | ||
| "dependency": "android_virtual_device", | ||
| "version": "android_35_google_apis_x64.textpb" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this file encode the "35" nature in some way? "ci/android_emulator_skia_debug_x64" is duplicate, but "ci/android_emulator_skia_debug_x64/API35" is more descriptive
It took me having to copy these two files and diff them locally to spot the difference
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I completely blindly copied one file to the other, the only difference is that I removed two levels of nesting:
engine/ci/builders/linux_android_emulator_skia_34.json
Lines 1 to 2 in 38e37ce
| { | |
| "builds": [ |
Like this:
595cdc2?diff=split&w=1
Can you file an issue if you'd like it changed? Someone from the Android team should think that through for future bumps https://github.com/flutter/engine/pull/54186/files#diff-ee89d2cc6e90e32301d49469c8a095fc1f92a33526471b2f71f13fea468fa225L77
zanderso
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm w/ Linux clangd on the default 8 core machine.
…155549) flutter/engine@61f0a3f...9bb0ece 2024-09-23 [email protected] Remove Linux orchestrator builds that only kick off one other build and wait (flutter/engine#55186) 2024-09-23 [email protected] Roll Skia from a402d3c60c16 to c20cce6273fb (1 revision) (flutter/engine#55359) 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 [email protected],[email protected],[email protected] 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
…lutter#155549) flutter/engine@61f0a3f...9bb0ece 2024-09-23 [email protected] Remove Linux orchestrator builds that only kick off one other build and wait (flutter/engine#55186) 2024-09-23 [email protected] Roll Skia from a402d3c60c16 to c20cce6273fb (1 revision) (flutter/engine#55359) 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 [email protected],[email protected],[email protected] 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
…lutter#155549) flutter/engine@61f0a3f...9bb0ece 2024-09-23 [email protected] Remove Linux orchestrator builds that only kick off one other build and wait (flutter/engine#55186) 2024-09-23 [email protected] Roll Skia from a402d3c60c16 to c20cce6273fb (1 revision) (flutter/engine#55359) 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 [email protected],[email protected],[email protected] 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
…lutter#155549) flutter/engine@61f0a3f...9bb0ece 2024-09-23 [email protected] Remove Linux orchestrator builds that only kick off one other build and wait (flutter/engine#55186) 2024-09-23 [email protected] Roll Skia from a402d3c60c16 to c20cce6273fb (1 revision) (flutter/engine#55359) 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 [email protected],[email protected],[email protected] 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
…lutter#155549) flutter/engine@61f0a3f...9bb0ece 2024-09-23 [email protected] Remove Linux orchestrator builds that only kick off one other build and wait (flutter/engine#55186) 2024-09-23 [email protected] Roll Skia from a402d3c60c16 to c20cce6273fb (1 revision) (flutter/engine#55359) 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 [email protected],[email protected],[email protected] 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
"Orchestrator" builders are top-level builds that can perform some caching, kick off "drone" sub-builds, and then do things with those build artifacts like run tests, or "generators" that do work on those artifacts. See more details in https://flutter.dev/go/engine-build-definition-language.
Some orchestrators in
ci/buildersonly kick off one sub-build. This is suboptimal because:This PR:
ci/builders/standalonewhich are run as individual builds, and removes the orchestrator.engine_v2/engine_v2(orchestrator) toengine_v2/builder(standalone).drone_dimensionsfrom the orchestrator build json into .ci.yaml.Linux clangdLinux linux_android_emulator_skia_tests_34Part of flutter/flutter#155041
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.