microsoft / vso-agent

Visual Studio Team Services and TFS agent for Mac OSX and Linux
MIT License
131 stars 57 forks source link

Release defination failing after upgrade a task #317

Closed Ajay-MS closed 7 years ago

Ajay-MS commented 8 years ago

Using coreclr agent 2.104.2 and running it as Network service, I am facing issue while I upgrade task to different version. Under _task directory agent creates a temp and fails to delete it casing next BD and RD to fail.

2016-09-12T07:28:21.5400321Z ##[section]Starting: Release
2016-09-12T07:28:21.5500319Z Current agent version: '2.104.2'
2016-09-12T07:28:21.7717188Z Downloading task: AzureRMWebAppDeployment
2016-09-12T07:28:25.7511317Z ##[warning]Failed to delete temporary directory 'C:\coreclrAgents\8\_work\_tasks\_temp_761593a8-ba5f-4a2a-8f8b-5a1ae607f68e'. One or more errors occurred. (One or more errors occurred. (Access to the path 'C:\coreclrAgents\8\_work\_tasks\_temp_761593a8-ba5f-4a2a-8f8b-5a1ae607f68e\bb2d3ff8-e17c-4bbd-a3a8-581e3db27d8f.zip' is denied.)) (Access to the path 'C:\coreclrAgents\8\_work\_tasks\_temp_761593a8-ba5f-4a2a-8f8b-5a1ae607f68e\bb2d3ff8-e17c-4bbd-a3a8-581e3db27d8f.zip' is denied.)
2016-09-12T07:28:25.7566270Z ##[error]Access to the path 'C:\coreclrAgents\8\_work\_tasks\_temp_761593a8-ba5f-4a2a-8f8b-5a1ae607f68e' is denied.
2016-09-12T07:28:25.7601430Z ##[section]Finishing: Release
bryanmacfarlane commented 7 years ago

Deprecated. Replacement is here: https://github.com/Microsoft/vsts-agent