microsoft / azure-pipelines-agent

Azure Pipelines Agent 🚀
MIT License
1.72k stars 864 forks source link

What ARM platforms / OSes are supported? #3379

Closed xpp12345 closed 3 years ago

xpp12345 commented 3 years ago

Hi, can anyone tell me what arm OS and platforms are supported and give a list?

we tried vsts-agent-linux-arm64-2.184.2.tar.gz on centos 1810 arm64 and installed all prerequisites as the guide. finally we failed to start pipeagent as following error: NoDependency

Is it supported or what steps we are missing? Thank you

andy-mishechkin commented 3 years ago

Hello, @xpp12345 As far as I understood, you tried to install agent to CentOS. All agent builds, include RHEL\CentOS you can find here: https://github.com/microsoft/azure-pipelines-agent/releases. I also note that Azure DevOps agent installation to RHEL 6/7 and CentOS is not such simple as it written in documentation and requires some additional components and environment modification. You can find here about details: https://github.com/dotnet/core/blob/main/Documentation/build-and-install-rhel6-prerequisites.md#making-the-libraries-available-for-a-net-core-application. And CentOS official repository contains Git 1.8 version, but Azure DeVops requires Git 2.0 min. version for working. You can build required Git form source code or using more simple approach: https://computingforgeeks.com/how-to-install-latest-version-of-git-git-2-x-on-centos-7/ Please see details about it here: https://git-scm.com/download/linux

Thank you.

dexterlea commented 3 years ago

Hi, @andy-mishechkin Thanks for your detailed info. I've followed instruction listed on this link to install prerequites https://github.com/dotnet/core/blob/main/Documentation/build-and-install-rhel6-prerequisites.md#making-the-libraries-available-for-a-net-core-application. I successfully installed vsts-agent-linux-arm64-2.170.1.tar.gz on below system. image-20210422150934984 However, error ./bin/System.Net.Http.Native.so: /lib64/libcurl.so.4: no version information available (required by ./bin/System.Net.Http.Native.so) still exited. image-20210422152044943 And I think this will cause incomplete 'CURL' communications between Azure DevOps Server and Agent. I've googled a lot and still didn't get a solution. Can you please help?

Thanks, Best Regards.

andy-mishechkin commented 3 years ago

Hello, @dexterlea I see, your agent version 2.170.1. Now is the last version 2.185.1 (https://github.com/microsoft/azure-pipelines-agent/releases) Would you please update your agent first ? I have no this issue in CentOS 7 with agent 2.184.2 (but, honestly it's on x64 platform) - all works fine. image Thank you

dexterlea commented 3 years ago

Hi @andy-mishechkin Below is my OS release info. image I've tried the newest agent release. However, libcurl.so.4: no version information available still exists. image I've followed instruction listed below, image image image Thank you

andy-mishechkin commented 3 years ago

Hello, @dexterlea Here is the similar situation (but related to Ubuntu): https://stackoverflow.com/questions/30017397/error-curl-usr-local-lib-libcurl-so-4-no-version-information-available-requ May you try this approach for resolving the issue ?

Thank you!

dexterlea commented 3 years ago

Hi @andy-mishechkin

Thanks for your advice, I've tried this link before. It didn't work for me. I've successfully installed agent on centos 7.6 aarch64 platform (with a lot of undocumented prerequisites done) and it works fine for now. However, I just don't know what undicovered impacts would be caused by this libcurl.so.4: no version information available issue.

Thanks anyway!

andy-mishechkin commented 3 years ago

Sounds good. I think we can close this ticket. If you face with any issues with your Azure DevOps agent - please feel free to reopen.