Skip to content

Mac presubmit queues are out of SLO #114656

Closed

Description

@CaseyHillers

I've had several PRs the past 2 weeks be out of SLO (stuck in queue for 2 hours). I don't send PRs during the peak hours, and I expect this is worse for those contributing during those hours.

Example PR: #114646 (first commit was queued for 2 hours)

Activity

  1. godofredoc commented on Nov 4, 2022

    @godofredoc
    Contributor

    2h is probably too much but a huge increase in execution|queue time is expected after #113539 where we are explicitly cleaning the local xcode cache

  2. godofredoc commented on Nov 4, 2022

    @godofredoc
    Contributor

    Setting as P1 seems like mac capacity is at 100% utilization from 6:00AM PST to 5:00PM PST.

    Next step we need to identify if this is normal usage or something strange is happening.

  3. godofredoc commented on Nov 4, 2022

    @godofredoc
    Contributor

    From the data it seems like we've always had peeks of 30M 100% utilization at ~9:00AM PST but we started to have 3+ peeks per day on 10/17/2022. Things got really bad on 10/24/2022 where we started with 100% utilization from 9:00 to 5:00

  4. keyonghan commented on Nov 4, 2022

    @keyonghan
    Contributor

    The local cache cleanup happened on 10/19 (#113729), the queue time (90th%) was <1min for 10/19-10/24.
    The queue time started increasing from 10/25
    10/25-10/26: 6.06 min
    10/26-10/27: 60.5 min
    10/17-10/28: 58.68 min
    10/28-11/04: 85.27 min

  5. keyonghan commented on Nov 4, 2022

    @keyonghan
    Contributor

    One correlated change per the timing is the quota increase (cl/483782210, which was landed 0n 10/25). @godofredoc Are you comfortable with a revert?

  6. godofredoc commented on Nov 4, 2022

    @godofredoc
    Contributor

    One correlated change per the timing is the quota increase (cl/483782210). @godofredoc Are you comfortable with a revert?
    That change is supposed to help. Can we take a look if the repo sync time has increased? if cold checkouts are >7m then please do not revert.

  7. godofredoc commented on Nov 4, 2022

    @godofredoc
    Contributor

    Ths is

    0/17-10/28: 58.68 min

    The local cache cleanup happened on 10/19 (#113729), the queue time (90th%) was <1min for 10/19-10/24.
    The queue time started increasing from 10/25
    10/25-10/26: 6.06 min
    10/26-10/27: 60.5 min
    10/17-10/28: 58.68 min
    10/28-11/04: 85.27 min

    Can you please post daily data for: 10/25, 10/27, 11/03?

  8. godofredoc commented on Nov 4, 2022

    @godofredoc
    Contributor

    That is expected, cl/483782210 fixes peek quota whith checkouts taking 40mins in try.

    5-7 mins is expected in cold checkouts if we are getting consistent 5-7 mins checkouts then that is a bug that need to be fixed.

  9. keyonghan commented on Nov 4, 2022

    @keyonghan
    Contributor

    Can you please post daily data for: 10/25, 10/27, 11/03?

    10/25: 6 min
    10/27: 58 min
    11/03: 100 min

  10. godofredoc commented on Nov 4, 2022

    @godofredoc
    Contributor

    Are these 90th percentiles? can we also get the 50th?

  11. keyonghan commented on Nov 4, 2022

    @keyonghan
    Contributor

    Here are the comparison between 90th and 50th, plus the build number:
    date. 90th 50th No. of builds
    10/24. 19 6 1605
    10/25. 6 0 1192
    10/26. 60 15 1983
    10/27. 58 21 2046
    11/03. 100 7 2493

    The queue time correlates with the No. of builds

  12. keyonghan commented on Nov 4, 2022

    @keyonghan
    Contributor

    When did you enable the Mac engine v2 builders?

  13. 11 remaining items

  14. keyonghan commented on Nov 23, 2022

    @keyonghan
    Contributor

    Queue time drops to 20mins for past two weeks. Moving to TD for further optimization track.

  15. removed their assignment
    on Nov 23, 2022
  16. github-actions commented on Mar 17, 2023

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  17. locked as resolved and limited conversation to collaborators on Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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