Can't use rd on \_work\_temp\... on Windows 10 Pro
See original GitHub issueI’m having this problem with running on a self hosted Windows 10 x64 machine. I am not sure why the rd command fails maybe was something to do with either current wd or else some other related process that is launched during the runner. I’m attaching the config file for the workflow as well and the build log.
main.yml.txt Win10GithubRunnerfailure.txt
##[debug]Removed matchers: 'checkout-git'
node:child_process:397
ex = new Error('Command failed: ' + cmd + '\n' + stderr);
^
Error: Command failed: rd /s /q "C:\actions-runner\_work\_temp\1b19991b-e599-4929-8de9-b9fedb87a66c"
The process cannot access the file because it is being used by another process.
at ChildProcess.exithandler (node:child_process:397:12)
at ChildProcess.emit (node:events:390:28)
at maybeClose (node:internal/child_process:1064:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) {
killed: false,
code: 32,
signal: null,
cmd: 'rd /s /q "C:\\actions-runner\\_work\\_temp\\1b19991b-e599-4929-8de9-b9fedb87a66c"',
stdout: '',
stderr: 'The process cannot access the file because it is being used by another process.\r\n'
}
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: Run actions/checkout@v3
Issue Analytics
- State:
- Created a year ago
- Reactions:6
- Comments:5
Top Results From Across the Web
Windows 10 PRO: can't access using remote desktop after
Windows 10 PRO : can't access using remote desktop after upgrading from Windows 8.1 PRO which supported it just fine.
Read more >Windows 10 Pro RDP not working anymore. Pc not listed on ...
The client is using Remote Desktop to take over his pc what has Always worked fine. Since the pc is not responding to...
Read more >Remote desktop can't connect to the remote computer for one ...
Remote desktop can't connect to the remote computer for one of the reasons ... In my client's network, we have 3 windows 10...
Read more >Enable Remote Desktop on your PC | Microsoft Learn
You can use Remote Desktop to connect to Windows 10 Pro and Enterprise, Windows 8.1 and 8 Enterprise and Pro, Windows 7 Professional, ......
Read more >Cannot RDP into Loacal Win 10 PC - Microsoft Q&A
Using a Win 10 Notebook I cannot RDP into a local Win 10 Desktop. The notebook can ping the IP of the desktop....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
anyone have solution for v3 ? v2 seems way slow for 5GB repo !
For anyone else who finds this in the future, use
actions/checkout@v2
instead and it’ll work. It still has that same error in the logs but it doesn’t stop the action completing and it seems to be successful.