Skip to content

Removing cpu from Mac tests in .ci.yaml still runs only on x64 machines #112117

@jmagman

Description

@jmagman

After #109889 I expected Mac hostonly tests to run on either arm or x64 depending on capacity. However the cpu dimension is still set to x86

Example:

flutter/.ci.yaml

Lines 2473 to 2484 in d98c263

- name: Mac dart_plugin_registry_test
recipe: devicelab/devicelab_drone
timeout: 60
properties:
dependencies: >-
[
{"dependency": "xcode", "version": "14a5294e"},
{"dependency": "gems", "version": "v3.3.14"}
]
tags: >
["devicelab", "hostonly"]
task_name: dart_plugin_registry_test

flutter/.ci.yaml

Lines 73 to 79 in d98c263

mac:
properties:
dependencies: >-
[]
os: Mac-12
device_type: none
xcode: 14a5294e # xcode 14.0 beta 5

When it ran it still has "cpu": "x86" set:
https://ci.chromium.org/ui/p/flutter/builders/prod/Mac%20dart_plugin_registry_test/7264/overview

And the swarming task only shows x64 bots as able to run it:
https://chromium-swarm.appspot.com/task?id=5d7adb0db77c1a10&o=true&w=true
https://chromium-swarm.appspot.com/botlist?c=id&c=task&c=cpu&c=os&c=status&d=asc&f=pool%3Aluci.flutter.prod&f=os%3AMac-12&f=cpu%3Ax86&f=device_type%3Anone&s=id

Is there a cpu default set in infra somewhere?

@keyonghan

Metadata

Metadata

Assignees

No one assigned

    Labels

    team-infraOwned by Infrastructure team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions