Skip to content

Fixing issue #5151

Fixing issue #5151 #2

Triggered via dynamic June 4, 2025 11:54
Status Failure
Total duration 1m 8s
Artifacts 1

copilot

on: dynamic
Fit to window
Zoom out
Zoom in

Annotations

5 errors
copilot
Process completed with exit code 1.
copilot
An error occurred trying to start process '/agent/externals/node20_1/bin/node' with working directory '/agent/_work/1/s'. No such file or directory\n \nStage C, Job AC\n2025-03-05T06:29:06.4968152Z Found tool in cache: node 20.18.0 x64\n```\n\nWe are trying to create a repro, but so far no luck. This is not happening on MS hosted agents.\n\nCould you give us some hint what could be the root cause? Why is nodejs 20.1 needed to run `- script: echo $PATH`? Is it used by the system itself? What could cause it sometimes not being present?\n\nI can add more info if needed.\n\nThank for any help!\n\n\n### Versions\n\nCurrent agent version: '4.251.0'\nAgent running as: 'AzDevOps'\nImage: ubuntu-latest\n\n### Environment type (Please select at least one enviroment where you face this issue)\n\n- [ ] Self-Hosted\n- [ ] Microsoft Hosted\n- [x] VMSS Pool\n- [ ] Container\n\n### Azure DevOps Server type\n\ndev.azure.com (formerly visualstudio.com)\n\n### Azure DevOps Server Version (if applicable)\n\n_No response_\n\n### Operation system\n\n_No response_\n\n### Version controll system\n\nGit\n\n### Relevant log output\n\n```shell\n2025-03-11T00:16:33.8605603Z ##[section]Starting: Node.js info\n2025-03-11T00:16:33.8621208Z ==============================================================================\n2025-03-11T00:16:33.8621756Z Task : Command line\n2025-03-11T00:16:33.8622069Z Description : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows\n2025-03-11T00:16:33.8622609Z Version : 2.250.1\n2025-03-11T00:16:33.8622928Z Author : Microsoft Corporation\n2025-03-11T00:16:33.8623299Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line\n2025-03-11T00:16:33.8623801Z ==============================================================================\n2025-03-11T00:16:34.0871007Z ##[error]An error occurred trying to start process '/agent/externals/node20_1/bin/node' with working directory '/agent/_work/1/s'. No such file or directory\n2025-03-11T00:16:34.0890327Z ##[section]Finishing: Node.js info\n\n\n2025-03-11T00:16:34.0936432Z ##[section]Starting: Install Node.js\n2025-03-11T00:16:34.0945645Z ==============================================================================\n2025-03-11T00:16:34.0945964Z Task : Use Node.js ecosystem\n2025-03-11T00:16:34.0946154Z Description : Set up a Node.js environment and add it to the PATH, additionally providing proxy support\n2025-03-11T00:16:34.0946482Z Version : 1.248.1\n2025-03-11T00:16:34.0946659Z Author : Microsoft Corporation\n2025-03-11T00:16:34.0946875Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks\n2025-03-11T00:16:34.0947120Z ==============================================================================\n2025-03-11T00:16:34.2777399Z ##[error]An error occurred trying to start process '/agent/externals/node20_1/bin/node' with working directory '/agent/_work/1/s'. No such file or directory\n2025-03-11T00:16:34.2787536Z ##[section]Finishing: Install Node.js\n```\n## Comments on the Issue (you are @copilot in this section)\n\n<comments>\n<comment_new>\n<comment_id>2792152251</comment_id>\n<author>@tarunramsinghani</author>\n@ecl1ps, can you please help with what is agent version you are using ? and the OS and configuration(ram, storage etc) of the agent machine ? As it seems like something on OS is stopping the node process from getting started. I dont believe the cause is that the file is missing as mentoined in the initial comment as agent ships with node20_1. \n</comment_new>\n\n<comment_new>\n<comment_id>2808997522</comment_id>\n<author>@tarunramsinghani</author>\nHmmm the disk space seems okay in this case. Would it be possible to collect and share diagnostics logs when this reproes again. To enable and collection diagnostic logs for agent please check this - [Configure verbose logs](https://learn.microsoft.com/en-us/azure/devops/pipelines/troubleshooting/review-logs?view=azure-devops&amp;tabs=windows-agent#configure-verbose-logs)\n</comment_new>\n\n<comment_new>\n<com
copilot
An error occurred trying to start process '/agent/externals/node20_1/bin/node' with working directory '/agent/_work/1/s'. No such file or directory
copilot
An error occurred trying to start process '/agent/externals/node20_1/bin/node' with working directory '/agent/_work/1/s'. No such file or directory
copilot
An error occurred trying to start process '/agent/externals/node20_1/bin/node' with working directory '/agent/_work/1/s'. No such file or directory

Artifacts

Produced during runtime
Name Size Digest
results Expired
298 Bytes
sha256:bc44aebc3f579a76f77fb251c180009ae7f17e713165a1bb2dac40680410e533