xrm-ci-framework icon indicating copy to clipboard operation
xrm-ci-framework copied to clipboard

Export Solution Task takes longes time than expected

Open bipinshan opened this issue 4 years ago • 5 comments

HI,

I have only added 3 entities with minimal components in the solution. When I run the pipeling it is taking more tha 30 minutes to export the solution and it is still running.

Please help! Capture_ExportSolution

bipinshan avatar Jun 08 '20 08:06 bipinshan

Same issue as mine i think #278. I'm currently trying to execute the same logic on my custom build server.

01xOfFoo avatar Jun 09 '20 05:06 01xOfFoo

@bipinshan @mkellenbenz how long does it take to export from the UI? And how long is it taking from build server?

Are you using hosted or private agents?

WaelHamze avatar Jun 09 '20 05:06 WaelHamze

Hi Wael,

It took around 3 minutes from UI to export the same solution.

I am using default hosted agent only which is populated automatically when we create new pipeline in Azure devops.

bipinshan avatar Jun 09 '20 06:06 bipinshan

Increasing the timeout somehow solved the issue on one of my test projects.

I've run it multiple times now consistently working. Maybe MSFT did something...

01xOfFoo avatar Jun 09 '20 21:06 01xOfFoo

There is a lengthy thread https://github.com/WaelHamze/dyn365-ce-vsts-tasks/issues/183 in the task repo on this. Lately it seems the 1st Export of the day often hangs regardless of the timeout. After cancelling, the second one runs fine. There is an laternative PowerShell script posted on that thread that attempts to work around this and seems to band-aid the problem.

mattp65 avatar Jun 12 '20 03:06 mattp65