microsoft / azure-pipelines-tasks

Tasks for Azure Pipelines
https://aka.ms/tfbuild
MIT License
3.42k stars 2.58k forks source link

Universal Packages should support arm64 machines #17075

Open connor4312 opened 1 year ago

connor4312 commented 1 year ago

Required Information

Question, Bug, or Feature?
Type: Bug

Enter Task Name: Universal Packages require an x64 agent

Environment

Issue Description

When you attempt to use the UniversalPackages task on an arm64 build agent, you receive the following error:

Universal Packages require an x64 agent

Pipeline run: https://dev.azure.com/monacotools/Monaco/_build/results?buildId=189938&view=logs&j=8543520d-b3a8-560f-feb2-87a87b592692

Task logs

Starting: UniversalPackages
==============================================================================
Task         : Universal packages
Description  : Download or publish Universal Packages
Version      : 0.208.1
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks
==============================================================================
##[error]Failed to get artifact tool. Universal Packages require an x64 agent.
Finishing: UniversalPackages

Troubleshooting

N/A

Error logs

##[error]Failed to get artifact tool. Universal Packages require an x64 agent.
minirulo commented 1 year ago

Hi! I am facing the same issue for an ARM64 host in my Azure Pipelines. Are there any news from Microsoft on this issue? Anyhow, did you find a work around for that? Thanks!

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days

connor4312 commented 1 year ago

Not stale

github-actions[bot] commented 8 months ago

This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days

connor4312 commented 8 months ago

Not stale

stephan-vivie-rb commented 8 months ago

Facing the same issue, we are using self hosted Azure DevOps build agents that are using Mac Mini's with M1 processors. Previously we ran the macOS x64 Azure Pipeline agent using Rosetta. We swapped to the arm64 binary of the Azure Pipeline agent.

Now the UniversalPackages and DownloadPackage tasks are longer work because the ArtifactTool is no not supported on arm64

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days

connor4312 commented 2 weeks ago

Not stale