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

Pool provider is sometimes slow #8879

Closed
2 of 10 tasks
Cheesebaron opened this issue Nov 23, 2023 · 19 comments
Closed
2 of 10 tasks

Pool provider is sometimes slow #8879

Cheesebaron opened this issue Nov 23, 2023 · 19 comments

Comments

@Cheesebaron
Copy link

Description

I wrote in the developer community here: https://developercommunity.visualstudio.com/t/macos-13-Pool-provider-seems-slow/10522135#T-ND10523938 Tong Wu told me to log a bug here.

We are often seeing this message in Azure Pipelines that pool provider is slow and often builds are stuck waiting for macOS-13 agents for upwards of 40 minutes. This is even though in our concurrent builds of 25 there are 20+ agents idling.

B08d8b538869245e8a404ad91fe1f8e82638361869593652200_20231121-190918-image

B52abe0c320e042a99e0721ab087a9e27638361869902303844_20231121-190949-image

B2ac2e44e8f194b4dbbe1f878190db146638361871388561460_20231121-191218-image

You can find some of the affected builds here:
https://trackman.visualstudio.com/Golf/_build/results?buildId=395103&view=results
https://trackman.visualstudio.com/Golf/_build/results?buildId=395072&view=results

It doesn't happen every time, but it happens several times on different pipelines during the day.

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 11
  • macOS 12
  • macOS 13
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

Agent name: 'Azure Pipelines 2'
Agent machine name: 'Mac-1700593125567'
Current agent version: '3.227.2'
Operating System
macOS
13.6
22G120
Runner Image
Image: macos-13
Version: 20231025.2
Included Software: https://github.com/actions/runner-images/blob/macos-13/20231025.2/images/macos/macos-13-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/macos-13%2F20231025.2
Runner Image Provisioner
2.0.312.1
Current image version: '20231025.2'

Is it regression?

yes

Expected behavior

Not having to wait upwards of 40 minutes for agent to become available

Actual behavior

Pool provider is slow and there is a long wait for agents

Repro steps

Just queue a macOS-13 vmpool build and observe

@vpolikarpov-akvelon
Copy link
Contributor

Hey @Cheesebaron. Thank you for reaching out, but there is nothing to do on the side of the runner images generation team. Please contact GitHub Support.

@Cheesebaron
Copy link
Author

Cheesebaron commented Nov 23, 2023

Nice to be sent from place to place to get support.

Can GitHub support help me with Azure Pipelines?

@unrateddi
Copy link

@Cheesebaron we are facing the same issue here and changed to macos-13-arm64 which seems to work fine. So, maybe you could try that, if that image works for your needs, until they resolve the issue.

@Cheesebaron
Copy link
Author

@Cheesebaron we are facing the same issue here and changed to macos-13-arm64 which seems to work fine. So, maybe you could try that, if that image works for your needs, until they resolve the issue.

image

These don't seem to be available in Azure DevOps pipelines

@unrateddi
Copy link

unrateddi commented Nov 25, 2023

@Cheesebaron that's weird. I have successfully run Azure Pipelines with that image. I even tried to run it now in case something changed.

https://github.com/actions/runner-images/blob/macos-13/20231025.2/images/macos/macos-13-arm64-Readme.md

Screenshot_20231125_113321

Screenshot_20231125_113631_edit_135028888371510

@Cheesebaron
Copy link
Author

Maybe your organization has access to a preview of some sorts?

@unrateddi
Copy link

@Cheesebaron hmm maybe, unfortunately I can't know it for sure.

@qwertylolman
Copy link

we are facing the same issue. since we were forced to use macos-13 to build xamarin apps and we also were forced to migrate to net7. furthermore, we cannot even build the flutter apps, because of xcode lack of support for macos-12. this issue is quite old, I started to face it maybe 2-3 months ago. when I started the migration to net7.

@mmrazik
Copy link

mmrazik commented Dec 1, 2023

Please note that the only supported images on Azure DevOps are the following: https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml#software

When it comes to MacOS 13 the only vm image available for Azure DevOps is macOS-13 (in beta).

Image

Anything else is strongly discouraged and it may stop working for you without prior notice.

@qwertylolman
Copy link

qwertylolman commented Dec 1, 2023

Please note that the only supported images on Azure DevOps are the following: https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml#software

When it comes to MacOS 13 the only vm image available for Azure DevOps is macOS-13 (in beta).

yeah, it's quite confusing that arm64 is not listed anywhere, but presented in the repository xD
https://github.com/actions/runner-images/blob/main/images/macos/macos-13-arm64-Readme.md

but, seems like this image doesn't have the issue. i've switched our flutter project. now it's building a bit faster and without delays. xamarin net7 projects, on the other hand, are having some strange freezes during the dotnet build step, we are currently investigating this as for now.

@Nathan-Molby
Copy link

#8971

@IainS1986
Copy link

Anything else is strongly discouraged and it may stop working for you without prior notice.

macos-13 stops working without prior notice (hence the ticket).

Is there anyone looking into this or can tell us if its an issue thats being worked on, 'macos-13 is beta' is not really an excuse that can last much longer...

@haavamoa
Copy link

Our release pipeline stopped working today due to macOS-13 providers not responding. This is blocking our planned .NET MAUI app release next week.

@cho-trackman
Copy link

This is painful:
image
image

@adminM365x34654676
Copy link

Same issue.....

@Cheesebaron
Copy link
Author

I've provided the feedback to the product team when I was at MVP Summit, they are aware of these issues.

@akrol95
Copy link

akrol95 commented Mar 20, 2024

We are affected by the same problem. I hope it will be solved soon.

@olokobayusuf
Copy link

Chiming in to say that this issue also affects us.

@jvanoeveren
Copy link

I'll also chime in and say that we are required to use macos-13 to build for iOS, due to the warning Apple is giving out in their review process that we need to be building for iOS SDK 17 by April 29 (shown below). This is because MacOS 12 uses XCode 14.2 by default, whereas MacOS 13 uses Xcode 15 which is the version we need. Sometimes I can get this VM pool to pick up right away, but most times it just hangs for a long time.

ITMS-90725: SDK version issue - This app was built with the iOS 16.2 SDK. Starting April 29, 2024, all iOS and iPadOS apps must be built with the iOS 17 SDK or later, included in Xcode 15 or later, in order to be uploaded to App Store Connect or submitted for distribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests