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

Chocolatey execution on hosted build agent takes quite a while #60

Open
gep13 opened this issue Jun 2, 2020 · 5 comments
Open

Chocolatey execution on hosted build agent takes quite a while #60

gep13 opened this issue Jun 2, 2020 · 5 comments

Comments

@gep13
Copy link
Member

gep13 commented Jun 2, 2020

It can take upwards of several minutes to run a Chocolatey command on a Hosted Azure Build Agent, and it can take over 6 minutes to force an installation of Chocolatey.

When running choco list -lo as an example, it seems to stall at the following point:

image

When forcing the installation of Chocolatey, it stalls at this point:

image

And then it succeeds:

image

Not sure exactly why these operations take so long, but think it is something on the build agent, rather than Chocolatey itself.

@flcdrg @ferventcoder any ideas on how to improve this?

@ferventcoder
Copy link

6 minutes?! My only guess is the download time? Do we know where it is stalling at?

@ferventcoder
Copy link

Oh - pending packages?! Yes, that is something that got a perf hit. Let me get you the PR and issue number - due to be released in Chocolatey v0.10.16.

@ferventcoder
Copy link

chocolatey/choco#1941

@gep13
Copy link
Member Author

gep13 commented Jun 3, 2020

@ferventcoder The 6 minutes for the installation is pretty much spent the whole time stuck at the line that is shown on the screenshot, I.e. restricting write permissions.

@ferventcoder
Copy link

I see. Were there already files in the folders? That could seriously impact that time

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

No branches or pull requests

2 participants