microsoft / azure-pipelines-agent

Azure Pipelines Agent 🚀
MIT License
1.7k stars 856 forks source link

[Question]: Azure DevOps Agent Service vs SMS Agent Host Service #4800

Open hedasp opened 1 month ago

hedasp commented 1 month ago

Describe your question

When upgrading the Agent Service to newer version on deployment target group, we faced an issue where ccmexec(SMS Agent Host Service) process was holding files in /externals folder even after Agent Service was stopped. typically files in /externals/tf/ and /externals/git/ Any insight on what these processes are and how to make sure they finish in time for the self-upgrade script to run successfully? As long as the process was active, the script couldn't rename/move the externals folder. Also, to re-run the _update.cmd script, we had to rename the /bin folder from versioned to just bin again.

Versions

Azure DevOps Agent 3.220.2->3.238.0 Windows Server 2022

Environment type (Please select at least one enviroment where you face this issue)

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Operation system

Windows 2022

Version controll system

Azure Repo

Azure DevOps Server Version (if applicable)

No response

kirill-ivlev commented 1 month ago

Hi @hedasp! thanks for reporting! We are working on more prioritized issues at the moment, but will get back to this one soon