microsoft / azure-pipelines-agent

Azure Pipelines Agent 🚀
MIT License
1.73k stars 869 forks source link

[Question]: Azure Pipeline is failing with the error GLIBCXX_3.4.21' not found #4948

Open vguggilapu opened 3 months ago

vguggilapu commented 3 months ago

Describe your question

Azure Pipelines are failing to deploy the APIs with the below error Error: 2024-08-16T02:02:14.3424698Z /opt/azure_agent_build/_work/_tool/ArtifactTool/0.2.359/x64/artifacttool: /lib64/libstdc++.so.6: version GLIBCXX_3.4.21' not found (required by /opt/azure_agent_build/_work/_tool/ArtifactTool/0.2.359/x64/artifacttool) 2024-08-16T02:02:14.3430787Z ##[error]Error: An unexpected error occurred while trying to download the package. Exit code(1) and error(/opt/azure_agent_build/_work/_tool/ArtifactTool/0.2.359/x64/artifacttool: /lib64/libstdc++.so.6: versionGLIBCXX_3.4.20' not found (required by /opt/azure_agent_build/_work/_tool/ArtifactTool/0.2.359/x64/artifacttool) /opt/azure_agent_build/_work/_tool/ArtifactTool/0.2.359/x64/artifacttool: /lib64/libstdc++.so.6: version GLIBCXX_3.4.21' not found (required by /opt/azure_agent_build/_work/_tool/ArtifactTool/0.2.359/x64/artifacttool)) 2024-08-16T02:02:14.3432897Z ##[debug]Processed: ##vso[task.issue type=error;source=TaskInternal;correlationId=986f2df7-8455-4e40-b170-e4b3de50acdf;]Error: An unexpected error occurred while trying to download the package. Exit code(1) and error(/opt/azure_agent_build/_work/_tool/ArtifactTool/0.2.359/x64/artifacttool: /lib64/libstdc++.so.6: versionGLIBCXX_3.4.20' not found (required by /opt/azure_agent_build/_work/_tool/ArtifactTool/0.2.359/x64/artifacttool) /opt/azure_agent_build/_work/_tool/ArtifactTool/0.2.359/x64/artifacttool: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /opt/azure_agent_build/_work/_tool/ArtifactTool/0.2.359/x64/artifacttool)) 2024-08-16T02:02:14.3435043Z ##[debug]task result: Failed 2024-08-16T02:02:14.3435971Z ##[error]Packages failed to download

Versions

Azure dev ops version- 2.240.2

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

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Operation system

NAME="Red Hat Enterprise Linux Server" VERSION="7.9 (Maipo)" Linux

Version control system

No response

Azure DevOps Server Version (if applicable)

No response

aleksandrlevochkin commented 3 months ago

Hi @vguggilapu thanks for reporting this. Looks like there might be a compatibility issue between the version of RHEL and the version of the ArtifactTool util, I'll need to check that. Could you please clarify what version of the agent and what task you're using? Is this a regression for you?

vguggilapu commented 3 months ago

Hello, thank you for looking into it. Below are the details.

Agent Version - 3.241.0 The task I am using is Universal download

Universal Download