Skip to content

[BUG]: x86_x64 node bundled with macOS arm64 package #5246

Open
@smardine

Description

@smardine

What happened?

With a self hosted agent running on a Mac mini arm64, I downloaded the macOS arm64 agent 4.255.0 from this url
it appear that the node executable in externals/node/bin/node and externals/node10/bin/node are x86_64 arch, whereas the ones in node16 and node20_1 are arm64:

to reproduce:
download the agent from the azure official link:
https://download.agent.dev.azure.com/agent/4.255.0/vsts-agent-osx-arm64-4.255.0.tar.gz

extract it in ~/Downloads

run
file ~/Downloads/vsts-agent-osx-arm64-4.255.0/externals/node/bin/node -> Mach-O 64-bit executable x86_64
file ~/Downloads/vsts-agent-osx-arm64-4.255.0/externals/node10/bin/node -> Mach-O 64-bit executable x86_64
file ~/Downloads/vsts-agent-osx-arm64-4.255.0/externals/node16/bin/node -> Mach-O 64-bit executable arm64
file ~/Downloads/vsts-agent-osx-arm64-4.255.0/externals/node20_1/bin/node -> Mach-O 64-bit executable arm64

Versions

agent version : 4.255.0
os Mac OS 15.5 arm64 (M4 and M2)

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

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

No response

Version controll system

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions