microsoft / vso-agent

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

Failed to extract zip (first step) #332

Closed f-roche closed 4 years ago

f-roche commented 5 years ago

Hi all,

I recently installed vso-agent on a fresh new Ubuntu 18.04 VM and added this VM as a new agent of our on-premise TFS 2015. Everything went well during intallation and registration of the agent, I can see it in the TFS 2015 agent pool panel (agent is enabled and available/green). But when I trigger a new build, here is the output of the build in the VM:

2018-08-02T13:49:03.772Z: Agent Started.
2018-08-02T13:51:10.978Z: Running job: Build
2018-08-02T13:51:11.660Z: Job Completed: Build
##[Error] 2018-08-02T13:51:11.661Z: Error: Failed to extract zip: /home/USER/myagent/_work/tasks/CmdLine/1.0.20.zip
2018-08-02T13:51:12.812Z: Job Finished: Build

The /home/USER/myagent/_work/tasks/CmdLine/ folder is empty, is it a permission issue? I granted all permissions to the _work folder but the issue remains. And gzip is installed so it is not related to a missing dependency I suppose.

Any other ideas?

Thanks