Closed RIashfaqahmed closed 7 months ago
We've not seen this before, did the script work when run again?
When I re-run Deploy Azure TRE workflow, it worked and not raised this error again.
Believe this is due to https://github.com/microsoft/AzureTRE-Deployment/pull/74/files#diff-5a2b3ccde8a4255fb43032fe938e96b572e2bee154824cab96b2027cb6a405c9R222 and need to ensure applied everywhere.
A fix for this has been applied to the main branch, closing
When deploying TRE, if an ACR is being created for the first time, the sleep time is not sufficient to wait until the ACR is fully created and ready for login.
for i in ***1..3***; do az acr login --name "***" && ec=0 && break || ec=\$? && sleep 10 done Error: Process completed with exit code 2.