[BUG]: Node20 warnings now showing on RHEL 7
pbcahill opened this issue · comments
What happened?
Since build agent version v3.232.0. we have been seeing these warnings in many different pipeline tasks when running on our RHEL 7 servers that do not support node20 (see below logs).
It is not breaking pipelines, but we are getting a lot of questions/confusion about it across our enterprise from teams not understanding why their pipelines are showing all these warnings littered throughout their various pipeline steps.
Are those warnings intentional? Is there any way to mask them? Or should we revert to an agent version older that v3.232.0 and disable auto updating?
Versions
Agent version >= 3.232.0
OS = RHEL 7.9
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
2024-03-07T18:27:41.7240238Z /data/adoagent/AADevTest/agent2/externals/node20_1/bin/node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /data/adoagent/AADevTest/agent2/externals/node20_1/bin/node)
2024-03-07T18:27:41.7240531Z /data/adoagent/AADevTest/agent2/externals/node20_1/bin/node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /data/adoagent/AADevTest/agent2/externals/node20_1/bin/node)
2024-03-07T18:27:41.7240884Z /data/adoagent/AADevTest/agent2/externals/node20_1/bin/node: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /data/adoagent/AADevTest/agent2/externals/node20_1/bin/node)
2024-03-07T18:27:41.7241180Z /data/adoagent/AADevTest/agent2/externals/node20_1/bin/node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /data/adoagent/AADevTest/agent2/externals/node20_1/bin/node)
2024-03-07T18:27:41.7241517Z /data/adoagent/AADevTest/agent2/externals/node20_1/bin/node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /data/adoagent/AADevTest/agent2/externals/node20_1/bin/node)
2024-03-07T18:27:41.7241797Z /data/adoagent/AADevTest/agent2/externals/node20_1/bin/node: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /data/adoagent/AADevTest/agent2/externals/node20_1/bin/node)
2024-03-07T18:27:41.7349765Z ##[warning]The agent operating system doesn't support Node20. Using Node16 instead. Please upgrade the operating system of the agent to remain compatible with future updates of tasks: https://github.com/nodesource/distributions
Hi @pbcahill!
You are seeing this warning because we are migrating our tasks to node20, but RHEL7 is not supporting it. To provide backward capability agent fallbacks to node16.
Hi @kirill-ivlev ok I see. Yeah at first we weren't clear what was telling it to use node20 and where the node20 in the externals dir was coming from. As we were looking into the various pipeline and server-side configurations.