WaelHamze / dyn365-ce-vsts-tasks

VSTS Extension for Dynamics 365 Customer Engagement
https://marketplace.visualstudio.com/items?itemName=WaelHamze.xrm-ci-framework-build-tasks
GNU General Public License v3.0
115 stars 54 forks source link

Could not acquire Write lock in time 180000 milliseconds. #304

Open keepereg opened 3 months ago

keepereg commented 3 months ago

Hi all, we are getting the following error when trying to publish customizations:

Starting: MSCRMPublishCustomizations

Task : Publish Customizations Description : Publishes all customizations in a given PowerApps/CDS/Dynamics 365 environment Version : 12.0.2 Author : Wael Hamze Help : This task uses PublishAllXrmRequest

Script Path: C:\ADOBuildAgents\johntfsbd13-c_work_tool\MSCRMBuildTools\12.0.108\xRMCIFramework\9.0.0 Publishing Customizations

[error]Could not acquire Write lock in time 180000 milliseconds. Lock mode: Write. Lock name: OverrideLabelDictionaryCache.TryLookupEntry

Finishing: MSCRMPublishCustomizations

This has been working for ~3 years and only recently started failing intermittently. We opened a ticket with Microsoft, but they have said that it is an issue with the task, not devops and have basically said we're on our own. Any thoughts/suggestions appreciated.

Thanks