-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
First run of az-cli is slow #10110
Comments
HI @lanni-energinet , Thank you for bringing this issue to us, we are investigating on this issue and we will update you on this issue after our findings. |
i've attached a proposed implementation on the PR can you take a look |
Can we in any way assist in the resolution of this issue. We are wasting a lot of time and money on this |
@lanni-energinet , We are considering your workflow and doing changes . we're facing the some issue , we'll get back to you Asap. THANK YOU ! |
It would be awesome if this could get fixed so az cli would run nice and quick. |
@kishorekumar-anchala Any progress to report? |
Feeling this pain too. Basically every one of our jobs begin with |
@kishorekumar-anchala Any progress to report? |
HI @lanni-energinet , By implementing this we're getting permission error . it would be helpful if you provide repro steps . thank you for your support !
|
Can you test this PR: #11173 |
thank you @lanni-energinet , Tried it but bad luck , getting the same error . |
Sorry about that. I overlooked that the install scripts was running as I've updated the PR and tests are now passing. |
Hi @lanni-energinet - I tested the changes , working good . Thanks you for your support in implementing the request. PR will be in review. I will update you once it merged . |
Description
For quite some time we have been impacted by poor performance due to the nature of az-cli's command and module caching on it's first run. It would seem that az-cli was not written with ephemeral runners in mind, and it doesn't look like they could change this easily. Hence why we are opening this issue here.
We can see that the issue is fixed on windows images as a simple warmup has been implemented
runner-images/images/windows/scripts/build/Install-AzureCli.ps1
Line 22 in c5c9a7c
Can you please implement a simple warm up like on the windows runners?
From a sample of our logs we have measured the following impact
Minimum 2 s
Maximum 31 s
Average 5 s
We estimate wasting roughly 6500 minutes per month which is more than 10% of our of total usage
Platforms affected
Runner images affected
Image version and build link
https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20240609.1
Is it regression?
no
Expected behavior
A build-in warmup in the ubuntu image creation similar to the windows image
Actual behavior
No warmup
Repro steps
None needed
The text was updated successfully, but these errors were encountered: