PowerShellGallery icon indicating copy to clipboard operation
PowerShellGallery copied to clipboard

Very slow downloads of modules where need to download the Az modules from the PowerShell Gallery

Open rco-imp-software opened this issue 8 months ago • 14 comments

Prerequisites

  • [x] Write a descriptive title.
  • [x] Make sure you are able to repro it on the latest version
  • [x] Search the existing issues.

Steps to reproduce

  • Running the AzurePowerShell@5 task in Azure DevOps using a Azure PowerShell version that IS NOT installed on the agents.

Expected behavior

Download takes 2-5 minutes

Actual behavior

Download taking upwards of 50 minutes

Error details

No error - Just taking far too long

Environment data

N/A

Version

5.257.0

Visuals

Image Image

rco-imp-software avatar Jul 22 '25 09:07 rco-imp-software

I am experiencing the same issue, essentially blocking our deployments to production - see my related issue here - #318

ssmith80 avatar Jul 22 '25 09:07 ssmith80

Same here, having serious problems downloading and installing Az modules on MS hosted build agents, self-hosted build agents, can also reproduce the issue on my own workstation

majaniemi avatar Jul 22 '25 10:07 majaniemi

We also experience the same issue! Somehow our tasks took 1-2minutes yesterday and now take up to 40minutes to complete 🐌 Also our docker image builds are affected, when just doing a installation of the Az module.

lukasbbuehler avatar Jul 22 '25 11:07 lukasbbuehler

Thanks for reporting we have a mitigation in place as of roughly 6 hours ago.

alerickson avatar Jul 22 '25 20:07 alerickson

Okay, thank you for letting us know. Feels like it has been better today - Will come back if this becomes a problem again

rco-imp-software avatar Jul 23 '25 13:07 rco-imp-software

It seems in the space of a week, this has started happening again for us. Whilst it is not taking AS long as it was, sometimes we are now getting failures. Please can this be addressed as soon as possible.

rco-imp-software avatar Jul 29 '25 13:07 rco-imp-software

We are also seeing a big slow down, again effecting our deployments. Are there plans in place to make this service perform reliably?

ssmith80 avatar Jul 29 '25 14:07 ssmith80

Yes, there is a deployment underway, but it hasn't made it to production yet due to some other issues. We'll try to get this out before this time next week, since this seems to get worse around this time each week. I'll report back at the end of the week with updates.

alerickson avatar Jul 29 '25 16:07 alerickson

Thanks for the update, I look forward to it!

ssmith80 avatar Jul 29 '25 16:07 ssmith80

Deployment has been out for almost 48 hours. Please let us know if this issue persists!

alerickson avatar Aug 01 '25 18:08 alerickson

Hi @alerickson - unfortunately we have hit the same problem again, it's taking an age to download modules

ssmith80 avatar Sep 02 '25 15:09 ssmith80

Az module is taking forever to install and in some cases causing our pipelines to expire.

theDarkDuke avatar Sep 02 '25 18:09 theDarkDuke

This should be mitigated now, we're working on a long-term solution for this issue and pre-emptive mitigation steps. Please continue to comment when this issue occurs. Thank you!

alerickson avatar Sep 02 '25 21:09 alerickson

Az Module is again taking forever to download and causing deployment pipelines to timeout... why is this an ongoing issue?

theDarkDuke avatar Sep 11 '25 21:09 theDarkDuke