Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate devicelab from A02s's and MotoG4's to Mokey's #148085

Open
zanderso opened this issue May 9, 2024 · 6 comments
Open

Migrate devicelab from A02s's and MotoG4's to Mokey's #148085

zanderso opened this issue May 9, 2024 · 6 comments
Labels
team-infra Owned by Infrastructure team

Comments

@zanderso
Copy link
Member

zanderso commented May 9, 2024

  1. Move hosts that currently have A02s and MotoG4 attached from prod to staging.
    1. Send PSA about reduced capacity.
    2. Move half from prod to staging.
    3. Edit .ci.yaml to add bringup: true.
    4. Move the other half from prod to staging.
  2. Replace A02s's and MotoG4's on those hosts with Mokeys
    1. Ask Kent to do it by filing GitHub issues and emailing.
  3. Switch tests from running on A02s's and MotoG4s to running on Mokey's.
    1. All in one go.
  4. Move hosts with Mokey's from staging to prod.
    1. Move half of hosts with Mokeys from staging to prod
    2. Edit the .ci.yaml to remove bringup: true from the tests on Mokey
    3. Move the rest of the hosts with Mokeys from staging to prod
    4. Send PSA that migration is complete.

Yusuf wrote up this doc to describe where we'd like to get to for how devices are allocated in the lab across pools and devices: go/flutter-devicelab-testbed-matrix

Current allocation between try, staging, and prod pools can be queried in https://chromium-swarm.appspot.com/botlist.

We can move hosts between staging and prod by editing:
https://chrome-internal.googlesource.com/infradata/config/+/refs/heads/main/configs/chromium-swarm/starlark/bots/flutter.star. There are extra steps that I don't know to check in extra files that are generated from the .star files.

Kent: nguyenkent@

@zanderso zanderso added the team-infra Owned by Infrastructure team label May 9, 2024
@zanderso
Copy link
Member Author

zanderso commented May 9, 2024

Marking team-infra, but this will get sorted out between me, @jonahwilliams, and @kentnguyen99

@kentnguyen99
Copy link

kentnguyen99 commented May 9, 2024

@zanderso, Please let me know when your teams ready to switch the phone devices from A02s and MotoG4s to new Mokey's phone devices. And also, which phone model to switch out first, A02s or MotoG4s?

@jonahwilliams
Copy link
Member

Sounds like we have 20 devices so far. I think the sticky note on my desk claims we'll need 3X devices, so I'll flash the rest next week.

@jonahwilliams
Copy link
Member

@zanderso the box next to your desk is full of all of the flashed mokey devices that are ready for the devicelab

@kentnguyen99
Copy link

@jonahwilliams Just want to make correction. There are 18 Mokey devices in the Devicelab, one device won't charge and other device different model was missed up in the pile.

@zanderso
Copy link
Member Author

We don't currently have much running on the a02s's. After #148563 lands, they can all be swapped out for mokeys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-infra Owned by Infrastructure team
Projects
None yet
Development

No branches or pull requests

3 participants