-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RunPipeline action failed #518
Comments
Is there enough disk space and memory on these self-hosted runners? |
Is there enough disk space and memory on these self-hosted runners? |
Yes, I checked because I had that problem earlier, and there is plenty of disk space (90 GB free) and 16 GB memory (3.4 GB used). |
How are they created? I use https://aka.ms/getbuildagent to create my agents (or actually a PS script) - and if they fail - I re-run the script, which removes the old agents and creates new ones. Hasn't failed for months though. |
Yes, I used that link to create the machine. But I can create a new one and see if it works better. |
How many agents did you select? |
I believe I have added one agent manually after I created the machine. But I am really unsure about the details since this was a while back. Now I'm even unsure if I actually used the template when I think more about it. I'll try to create a new machine and see if that solves the problem. |
In the template you can also specify the disk space I think.
|
Should be the same result with the template though |
BTW - I actually never remote desktop into the build machines, I never troubleshoot - I just recreate. |
We're having this exact issue, but with an on-prem action runner in a VM instead of Azure. |
I don't think I get more info than the text returned after the error. |
The container is created just fine and I can see the processes from the container in taskmanager, so it would appear it's running process isolation like the test container I created. |
Nevermind, appears it's working now! I enabled the Hyper-V role and then it worked. |
When running the build pipeline on a self hosted (azure) machine, this has happened multiple times. I have not been able to see the logic behind what is causing it. Sometimes it feels that it could be related to the version of BC in the container being built.
When I look in the Event Viewer of the build machine, I see the following event that seem to be related.
Handler for GET /v1.41/plugins/bc4925104438/json returned error: plugins are not supported on this platform
This is the error message from the Action:
RunPipeline action failed. Error: Docker Build failed with exit code 1 Stacktrace: at New-BcImage, C:\Users\vmadmin\AppData\Local\Temp\ac333ae3-13cb-442d-a689-8d7ec83db6d6\BcContainerHelper\ContainerHandling\New-NavImage.ps1: line 705 at New-BcContainer, C:\Users\vmadmin\AppData\Local\Temp\ac333ae3-13cb-442d-a689-8d7ec83db6d6\BcContainerHelper\ContainerHandling\New-NavContainer.ps1: line 605 at <ScriptBlock>, C:\Users\vmadmin\AppData\Local\Temp\ac333ae3-13cb-442d-a689-8d7ec83db6d6\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 693 at <ScriptBlock>, C:\Users\vmadmin\AppData\Local\Temp\ac333ae3-13cb-442d-a689-8d7ec83db6d6\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 915 at <ScriptBlock>, C:\Users\vmadmin\AppData\Local\Temp\ac333ae3-13cb-442d-a689-8d7ec83db6d6\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 845 at <ScriptBlock>, C:\Users\vmadmin\AppData\Local\Temp\ac333ae3-13cb-442d-a689-8d7ec83db6d6\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 827 at Run-AlPipeline, C:\Users\vmadmin\AppData\Local\Temp\ac333ae3-13cb-442d-a689-8d7ec83db6d6\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 789 at <ScriptBlock>, C:\actions-runner\_work\_actions\microsoft\AL-Go-Actions\v3.0\RunPipeline\RunPipeline.ps1: line 367 at <ScriptBlock>, C:\actions-runner\_work\_temp\d7794a38-2a94-4d82-8009-454534d84906.ps1: line 2 at <ScriptBlock>, <No file>: line 1
The text was updated successfully, but these errors were encountered: