Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DockerInstall task fails on ARM (works for AMD64 and ARM64) #13198

Closed
winromulus opened this issue Jun 29, 2020 · 0 comments
Closed

DockerInstall task fails on ARM (works for AMD64 and ARM64) #13198

winromulus opened this issue Jun 29, 2020 · 0 comments

Comments

@winromulus
Copy link
Contributor

Note

Issues in this repo are for tracking bugs, feature requests and questions for the tasks in this repo

For a list:
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks

If you have an issue or request for the Azure Pipelines service, use developer community instead:

https://developercommunity.visualstudio.com/spaces/21/index.html )

Required Information

Entering this information will route you directly to the right team and expedite traction.

Question, Bug, or Feature?
Type: Bug

Enter Task Name: DockerInstall

list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks

Environment

Issue Description

DockerInstall task downloads docker-cli for the wrong architecture on ARM based agents. It pulls x86_x64 instead of arm.
It works correctly on arm64 and amd64.

Task logs

2020-06-29T14:20:13.7075220Z ##[section]Starting: Docker install
2020-06-29T14:20:13.7106031Z ==============================================================================
2020-06-29T14:20:13.7110056Z Task         : Docker CLI installer
2020-06-29T14:20:13.7112174Z Description  : Install Docker CLI on agent machine.
2020-06-29T14:20:13.7114059Z Version      : 0.171.0
2020-06-29T14:20:13.7115895Z Author       : Microsoft Corporation
2020-06-29T14:20:13.7117918Z Help         : https://aka.ms/azpipes-docker-installer-tsg
2020-06-29T14:20:13.7124026Z ==============================================================================
2020-06-29T14:20:14.6425124Z Downloading: https://download.docker.com/linux/static/stable/x86_64/docker-19.03.5.tgz
2020-06-29T14:20:18.9932279Z Extracting archive
2020-06-29T14:20:19.0110634Z [command]/bin/tar xzC /azp/agent/_work/_temp/e5a2aa74-9dc8-4f24-9f1e-93e351d4e2fb -f /azp/agent/_work/_temp/docker-d1f634cd-7d25-4e33-bd04-abebdcf72b01.tgz
2020-06-29T14:20:24.6989526Z Caching tool: docker-stable 19.3.5 arm
2020-06-29T14:20:26.1322573Z Prepending PATH environment variable with directory: /azp/agent/_work/_tool/docker-stable/19.3.5/arm
2020-06-29T14:20:26.1343364Z Verifying docker installation...
2020-06-29T14:20:26.1365200Z [command]/azp/agent/_work/_tool/docker-stable/19.3.5/arm/docker --version
2020-06-29T14:20:26.6369416Z /azp/agent/_work/_tool/docker-stable/19.3.5/arm/docker: 1: /azp/agent/_work/_tool/docker-stable/19.3.5/arm/docker: Syntax error: Unterminated quoted string
2020-06-29T14:20:26.6549447Z ##[error]Error: The process '/azp/agent/_work/_tool/docker-stable/19.3.5/arm/docker' failed with exit code 2
2020-06-29T14:20:26.6744861Z ##[section]Finishing: Docker install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants